Package: src:python-openapi-core Version: 0.23.1-1 Severity: serious Tags: ftbfs forky sid User: [email protected] Usertags: aiohttp-3.14
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202606/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-openapi-core, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild debian/rules execute_after_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -rf docs_build make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild [... snipped ...] self = <test_paths_finders.TestOperationVariableServerDefaultServer object at 0x7f231397cb90> finder = <openapi_core.templating.paths.finders.APICallPathFinder object at 0x7f2303d004d0> spec = SchemaPath('') def test_returns_default_server(self, finder, spec): method = "get" full_url = "http://petstore.swagger.io/resource" result = finder.find(method, full_url) path = spec / "paths" / self.path_name operation = spec / "paths" / self.path_name / method server = SchemaPath.from_dict({"url": "/"}) path_result = TemplateResult(self.path_name, {}) server_result = TemplateResult("/", {}) > assert result == ( path, operation, server, path_result, server_result, ) E AssertionError: assert PathOperation...variables={})) == (SchemaPath('...variables={})) E E At index 2 diff: SchemaPath('') != SchemaPath('') E E Full diff: E + PathOperationServer(path=SchemaPath('paths#/resource'), operation=SchemaPath('paths#/resource#get'), server=SchemaPath(''), path_result=TemplateResult(pattern='/resource', variables={}), server_result=TemplateResult(pattern='/', variables={})) E - ( E - SchemaPath('paths#/resource'),... E E ...Full output truncated (11 lines hidden), use '-vv' to show finder = <openapi_core.templating.paths.finders.APICallPathFinder object at 0x7f2303d004d0> full_url = 'http://petstore.swagger.io/resource' method = 'get' operation = SchemaPath('paths#/resource#get') path = SchemaPath('paths#/resource') path_result = TemplateResult(pattern='/resource', variables={}) result = PathOperationServer(path=SchemaPath('paths#/resource'), operation=SchemaPath('paths#/resource#get'), server=SchemaPath...path_result=TemplateResult(pattern='/resource', variables={}), server_result=TemplateResult(pattern='/', variables={})) self = <test_paths_finders.TestOperationVariableServerDefaultServer object at 0x7f231397cb90> server = SchemaPath('') server_result = TemplateResult(pattern='/', variables={}) spec = SchemaPath('') tests/unit/templating/test_paths_finders.py:201: AssertionError _______ TestPathVariableServerDefaultServer.test_returns_default_server ________ self = <test_paths_finders.TestPathVariableServerDefaultServer object at 0x7f231397e0d0> finder = <openapi_core.templating.paths.finders.APICallPathFinder object at 0x7f2303d01610> spec = SchemaPath('') def test_returns_default_server(self, finder, spec): method = "get" full_url = "http://petstore.swagger.io/resource" result = finder.find(method, full_url) path = spec / "paths" / self.path_name operation = spec / "paths" / self.path_name / method server = SchemaPath.from_dict({"url": "/"}) path_result = TemplateResult(self.path_name, {}) server_result = TemplateResult("/", {}) > assert result == ( path, operation, server, path_result, server_result, ) E AssertionError: assert PathOperation...variables={})) == (SchemaPath('...variables={})) E E At index 2 diff: SchemaPath('') != SchemaPath('') E E Full diff: E + PathOperationServer(path=SchemaPath('paths#/resource'), operation=SchemaPath('paths#/resource#get'), server=SchemaPath(''), path_result=TemplateResult(pattern='/resource', variables={}), server_result=TemplateResult(pattern='/', variables={})) E - ( E - SchemaPath('paths#/resource'),... E E ...Full output truncated (11 lines hidden), use '-vv' to show finder = <openapi_core.templating.paths.finders.APICallPathFinder object at 0x7f2303d01610> full_url = 'http://petstore.swagger.io/resource' method = 'get' operation = SchemaPath('paths#/resource#get') path = SchemaPath('paths#/resource') path_result = TemplateResult(pattern='/resource', variables={}) result = PathOperationServer(path=SchemaPath('paths#/resource'), operation=SchemaPath('paths#/resource#get'), server=SchemaPath...path_result=TemplateResult(pattern='/resource', variables={}), server_result=TemplateResult(pattern='/', variables={})) self = <test_paths_finders.TestPathVariableServerDefaultServer object at 0x7f231397e0d0> server = SchemaPath('') server_result = TemplateResult(pattern='/', variables={}) spec = SchemaPath('') tests/unit/templating/test_paths_finders.py:201: AssertionError - generated xml file: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openapi-core/build/reports/junit.xml - ---------- coverage: platform linux, python 3.13.12-final-0 ---------- Name Stmts Miss Branch BrPart Cover Missing ----------------------------------------------------------------------------------------------------- openapi_core/__init__.py 54 0 0 0 100% openapi_core/app.py 263 11 90 9 94% 319, 323, 333-334, 342, 722, 762, 764, 790, 830, 832 openapi_core/casting/__init__.py 0 0 0 0 100% openapi_core/casting/schemas/__init__.py 25 0 0 0 100% openapi_core/casting/schemas/casters.py 149 20 46 12 83% 52-53, 56->64, 61-62, 65->73, 70-71, 101, 104, 135-137, 147, 151-154, 166, 169->186, 177, 184, 212-214, 242 openapi_core/casting/schemas/exceptions.py 9 0 0 0 100% openapi_core/casting/schemas/factories.py 13 0 0 0 100% openapi_core/configurations.py 26 0 0 0 100% openapi_core/contrib/__init__.py 0 0 0 0 100% openapi_core/contrib/aiohttp/__init__.py 3 0 0 0 100% openapi_core/contrib/aiohttp/requests.py 27 1 4 1 94% 19 openapi_core/contrib/aiohttp/responses.py 24 2 6 1 90% 21-22 openapi_core/contrib/django/__init__.py 3 0 0 0 100% openapi_core/contrib/django/decorators.py 39 2 4 2 91% 40, 47 openapi_core/contrib/django/handlers.py 36 0 2 0 100% openapi_core/contrib/django/integrations.py 20 0 2 0 100% openapi_core/contrib/django/middlewares.py 21 0 2 0 100% openapi_core/contrib/django/providers.py 12 4 4 1 56% 21-29 openapi_core/contrib/django/requests.py 48 1 10 1 97% 75 openapi_core/contrib/django/responses.py 30 0 4 0 100% openapi_core/contrib/falcon/__init__.py 6 0 0 0 100% openapi_core/contrib/falcon/handlers.py 45 0 2 0 100% openapi_core/contrib/falcon/integrations.py 44 2 4 2 92% 40, 83 openapi_core/contrib/falcon/middlewares.py 78 0 4 2 98% 202->204, 204->209 openapi_core/contrib/falcon/requests.py 61 3 10 3 92% 28, 30->32, 68-69 openapi_core/contrib/falcon/responses.py 105 26 40 6 67% 17, 31-34, 76, 87, 89, 91-108 openapi_core/contrib/falcon/util.py 22 0 6 0 100% openapi_core/contrib/falcon/views.py 0 0 0 0 100% openapi_core/contrib/fastapi/__init__.py 4 0 0 0 100% openapi_core/contrib/fastapi/middlewares.py 2 0 0 0 100% openapi_core/contrib/fastapi/requests.py 5 1 0 0 80% 8 openapi_core/contrib/fastapi/responses.py 6 1 0 0 83% 10 openapi_core/contrib/flask/__init__.py 4 0 0 0 100% openapi_core/contrib/flask/decorators.py 39 0 0 0 100% openapi_core/contrib/flask/handlers.py 42 0 2 0 100% openapi_core/contrib/flask/integrations.py 20 0 2 0 100% openapi_core/contrib/flask/providers.py 7 1 0 0 86% 12 openapi_core/contrib/flask/requests.py 17 1 4 1 90% 27 openapi_core/contrib/flask/responses.py 2 0 0 0 100% openapi_core/contrib/flask/views.py 13 0 0 0 100% openapi_core/contrib/requests/__init__.py 4 0 0 0 100% openapi_core/contrib/requests/protocols.py 6 0 0 0 100% openapi_core/contrib/requests/requests.py 51 3 12 3 90% 37, 41->47, 73-75 openapi_core/contrib/requests/responses.py 20 0 2 0 100% openapi_core/contrib/starlette/__init__.py 3 0 0 0 100% openapi_core/contrib/starlette/handlers.py 36 0 2 0 100% openapi_core/contrib/starlette/integrations.py 27 0 4 0 100% openapi_core/contrib/starlette/middlewares.py 24 0 0 0 100% openapi_core/contrib/starlette/requests.py 25 1 2 1 93% 13 openapi_core/contrib/starlette/responses.py 29 4 8 3 81% 13, 17, 28-29 openapi_core/contrib/werkzeug/__init__.py 3 0 0 0 100% openapi_core/contrib/werkzeug/requests.py 31 1 2 1 94% 21 openapi_core/contrib/werkzeug/responses.py 24 0 4 0 100% openapi_core/datatypes.py 22 0 0 0 100% openapi_core/deserializing/__init__.py 0 0 0 0 100% openapi_core/deserializing/exceptions.py 2 0 0 0 100% openapi_core/deserializing/media_types/__init__.py 11 0 0 0 100% openapi_core/deserializing/media_types/datatypes.py 5 0 0 0 100% openapi_core/deserializing/media_types/deserializers.py 114 9 42 8 89% 29, 41, 44, 104, 162-165, 174, 249-250, 251->255 openapi_core/deserializing/media_types/exceptions.py 8 1 0 0 88% 14 openapi_core/deserializing/media_types/factories.py 32 1 8 1 95% 31 openapi_core/deserializing/media_types/util.py 54 3 12 1 94% 27-28, 55 openapi_core/deserializing/styles/__init__.py 11 0 0 0 100% openapi_core/deserializing/styles/casters.py 33 33 20 0 0% 1-55 openapi_core/deserializing/styles/datatypes.py 6 0 0 0 100% openapi_core/deserializing/styles/deserializers.py 28 1 2 0 97% 44 openapi_core/deserializing/styles/exceptions.py 19 2 0 0 89% 21, 36 openapi_core/deserializing/styles/factories.py 16 1 2 1 89% 18 openapi_core/deserializing/styles/util.py 105 1 64 2 98% 20->18, 130 openapi_core/exceptions.py 4 0 0 0 100% openapi_core/extensions/__init__.py 0 0 0 0 100% openapi_core/extensions/models/__init__.py 0 0 0 0 100% openapi_core/extensions/models/factories.py 24 0 4 0 100% openapi_core/extensions/models/types.py 4 0 0 0 100% openapi_core/protocols.py 42 0 0 0 100% openapi_core/schema/__init__.py 0 0 0 0 100% openapi_core/schema/encodings.py 24 4 14 4 79% 14, 23, 34, 40 openapi_core/schema/parameters.py 20 0 6 0 100% openapi_core/schema/protocols.py 10 0 4 2 86% 9->exit, 14->exit openapi_core/schema/schemas.py 7 0 0 0 100% openapi_core/schema/servers.py 19 0 6 1 96% 23->25 openapi_core/schema/specs.py 5 0 0 0 100% openapi_core/security/__init__.py 3 0 0 0 100% openapi_core/security/exceptions.py 3 0 0 0 100% openapi_core/security/factories.py 14 0 0 0 100% openapi_core/security/providers.py 34 5 6 1 85% 15, 20, 40-41, 47 openapi_core/shortcuts.py 92 4 0 0 96% 54-55, 109-110 openapi_core/templating/__init__.py 0 0 0 0 100% openapi_core/templating/datatypes.py 12 0 2 0 100% openapi_core/templating/media_types/__init__.py 0 0 0 0 100% openapi_core/templating/media_types/datatypes.py 2 0 0 0 100% openapi_core/templating/media_types/exceptions.py 10 0 0 0 100% openapi_core/templating/media_types/finders.py 40 0 16 2 96% 34->39, 68->70 openapi_core/templating/paths/__init__.py 3 0 0 0 100% openapi_core/templating/paths/datatypes.py 4 0 0 0 100% openapi_core/templating/paths/exceptions.py 23 1 0 0 96% 25 openapi_core/templating/paths/finders.py 43 0 4 0 100% openapi_core/templating/paths/iterators.py 97 8 40 5 89% 29, 30->exit, 31->30, 86-87, 96-101, 114->exit, 184-187 openapi_core/templating/paths/parsers.py 43 1 8 1 96% 48 openapi_core/templating/paths/protocols.py 17 0 6 3 87% 15->exit, 22->exit, 33->exit openapi_core/templating/paths/types.py 3 0 0 0 100% openapi_core/templating/paths/util.py 3 0 0 0 100% openapi_core/templating/responses/__init__.py 0 0 0 0 100% openapi_core/templating/responses/exceptions.py 10 1 0 0 90% 19 openapi_core/templating/responses/finders.py 14 0 6 0 100% openapi_core/templating/security/__init__.py 0 0 0 0 100% openapi_core/templating/security/exceptions.py 9 0 0 0 100% openapi_core/testing/__init__.py 3 0 0 0 100% openapi_core/testing/datatypes.py 11 0 2 1 92% 20->exit openapi_core/testing/requests.py 19 0 0 0 100% openapi_core/testing/responses.py 10 0 0 0 100% openapi_core/types.py 4 0 0 0 100% openapi_core/typing.py 3 0 0 0 100% openapi_core/unmarshalling/__init__.py 0 0 0 0 100% openapi_core/unmarshalling/configurations.py 9 0 0 0 100% openapi_core/unmarshalling/datatypes.py 9 0 2 0 100% openapi_core/unmarshalling/integrations.py 31 2 0 0 94% 48, 51 openapi_core/unmarshalling/processors.py 30 0 8 0 100% openapi_core/unmarshalling/request/__init__.py 15 0 0 0 100% openapi_core/unmarshalling/request/datatypes.py 10 0 0 0 100% openapi_core/unmarshalling/request/processors.py 20 20 2 0 0% 1-34 openapi_core/unmarshalling/request/protocols.py 27 0 8 4 89% 38->exit, 66->exit, 74->exit, 102->exit openapi_core/unmarshalling/request/types.py 7 0 0 0 100% openapi_core/unmarshalling/request/unmarshallers.py 210 33 0 0 84% 186-187, 228-230, 244-245, 285-286, 302-303, 319-320, 336-337, 350-360, 367-377, 384-394 openapi_core/unmarshalling/response/__init__.py 15 0 0 0 100% openapi_core/unmarshalling/response/datatypes.py 10 0 0 0 100% openapi_core/unmarshalling/response/processors.py 21 21 2 0 0% 1-43 openapi_core/unmarshalling/response/protocols.py 26 0 8 4 88% 39->exit, 67->exit, 76->exit, 104->exit openapi_core/unmarshalling/response/types.py 7 0 0 0 100% openapi_core/unmarshalling/response/unmarshallers.py 148 26 0 0 82% 123-124, 130-132, 151-152, 156-158, 196-197, 213-214, 230-231, 244-250, 261-267 openapi_core/unmarshalling/schemas/__init__.py 33 0 0 0 100% openapi_core/unmarshalling/schemas/datatypes.py 5 0 0 0 100% openapi_core/unmarshalling/schemas/exceptions.py 9 0 0 0 100% openapi_core/unmarshalling/schemas/factories.py 30 1 10 1 95% 47 openapi_core/unmarshalling/schemas/unmarshallers.py 174 11 58 3 93% 166, 178, 191, 198-204, 266 openapi_core/unmarshalling/schemas/util.py 18 4 4 1 68% 17, 26-29 openapi_core/unmarshalling/typing.py 8 0 0 0 100% openapi_core/unmarshalling/unmarshallers.py 40 3 8 3 88% 62, 85, 114 openapi_core/util.py 17 0 6 0 100% openapi_core/validation/__init__.py 0 0 0 0 100% openapi_core/validation/configurations.py 26 0 0 0 100% openapi_core/validation/decorators.py 35 0 4 0 100% openapi_core/validation/exceptions.py 24 2 4 1 89% 14-15, 30->36 openapi_core/validation/integrations.py 20 7 0 0 65% 20, 23, 26-27, 36-38 openapi_core/validation/processors.py 8 8 0 0 0% 3-15 openapi_core/validation/request/__init__.py 30 0 0 0 100% openapi_core/validation/request/datatypes.py 3 3 0 0 0% 1-5 openapi_core/validation/request/exceptions.py 49 5 2 1 88% 26, 39, 59, 64, 73 openapi_core/validation/request/protocols.py 27 0 12 6 85% 32->exit, 55->exit, 60->exit, 68->exit, 91->exit, 96->exit openapi_core/validation/request/types.py 7 0 0 0 100% openapi_core/validation/request/validators.py 324 38 30 1 88% 117, 258, 290, 299, 302-303, 312, 323, 336-338, 350, 361-372, 377-383, 388-398, 403-409 openapi_core/validation/response/__init__.py 25 0 0 0 100% openapi_core/validation/response/exceptions.py 28 1 0 0 96% 49 openapi_core/validation/response/protocols.py 26 0 12 6 84% 31->exit, 54->exit, 60->exit, 69->exit, 92->exit, 98->exit openapi_core/validation/response/types.py 7 0 0 0 100% openapi_core/validation/response/validators.py 240 43 20 0 83% 62, 86-88, 101-113, 206, 225, 232-233, 247, 263-270, 286, 303-310, 324-331, 342-349 openapi_core/validation/schemas/__init__.py 13 0 0 0 100% openapi_core/validation/schemas/_validators.py 52 4 28 9 84% 25->29, 39->42, 43->45, 46, 52, 74, 81->exit, 97->102, 103 openapi_core/validation/schemas/datatypes.py 5 0 0 0 100% openapi_core/validation/schemas/exceptions.py 12 0 0 0 100% openapi_core/validation/schemas/factories.py 64 0 14 0 100% openapi_core/validation/schemas/validators.py 132 9 42 5 92% 18, 62-63, 76, 101, 145, 188, 190-193 openapi_core/validation/validators.py 143 8 32 4 92% 77, 96, 101, 116-120, 208 ----------------------------------------------------------------------------------------------------- TOTAL 4990 410 874 131 90% Coverage XML written to file reports/coverage.xml =========================== short test summary info ============================ FAILED tests/unit/templating/test_paths_finders.py::TestSpecSimpleServerDefaultServer::test_returns_default_server FAILED tests/unit/templating/test_paths_finders.py::TestOperationSimpleServerDefaultServer::test_returns_default_server FAILED tests/unit/templating/test_paths_finders.py::TestPathSimpleServerDefaultServer::test_returns_default_server FAILED tests/unit/templating/test_paths_finders.py::TestSpecVariableServerDefaultServer::test_returns_default_server FAILED tests/unit/templating/test_paths_finders.py::TestOperationVariableServerDefaultServer::test_returns_default_server FAILED tests/unit/templating/test_paths_finders.py::TestPathVariableServerDefaultServer::test_returns_default_server ============ 6 failed, 1530 passed, 2 skipped, 20 xfailed in 15.46s ============ E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openapi-core/build; python3.13 -m pytest -W ignore::ResourceWarning dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" --parallel=2 returned exit code 13 make: *** [debian/rules:12: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

