Source: nova Version: 2:25.0.1-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20220813 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > ====================================================================== > FAIL: > nova.tests.unit.console.test_websocketproxy.NovaProxyRequestHandlerTestCase.test_reject_open_redirect > nova.tests.unit.console.test_websocketproxy.NovaProxyRequestHandlerTestCase.test_reject_open_redirect > ---------------------------------------------------------------------- > testtools.testresult.real._StringException: pythonlogging:'': {{{ > 2022-08-14 02:50:18,442 WARNING [oslo_policy.policy] JSON formatted > policy_file support is deprecated since Victoria release. You need to use > YAML format which will be default in future. You can use > ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted > policy file to YAML-formatted in backward compatible way: > https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. > 2022-08-14 02:50:18,442 WARNING [oslo_policy.policy] JSON formatted > policy_file support is deprecated since Victoria release. You need to use > YAML format which will be default in future. You can use > ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted > policy file to YAML-formatted in backward compatible way: > https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. > 2022-08-14 02:50:18,445 WARNING [oslo_policy.policy] Policy Rules > ['os_compute_api:extensions', 'os_compute_api:os-floating-ip-pools', > 'os_compute_api:os-quota-sets:defaults', > 'os_compute_api:os-availability-zone:list', 'os_compute_api:limits', > 'project_admin_api', 'project_member_api', 'project_reader_api', > 'project_reader_or_admin', 'os_compute_api:limits:other_project', > 'os_compute_api:os-lock-server:unlock:unlock_override', > 'os_compute_api:servers:create:zero_disk_flavor', > 'compute:servers:resize:cross_cell'] specified in policy files are the same > as the defaults provided by the service. You can remove these rules from > policy files which will make maintenance easier. You can detect these > redundant rules by ``oslopolicy-list-redundant`` tool also. > 2022-08-14 02:50:18,447 INFO [nova.console.websocketproxy] WebSocket server > settings: > 2022-08-14 02:50:18,447 INFO [nova.console.websocketproxy] - Listen on :None > 2022-08-14 02:50:18,447 INFO [nova.console.websocketproxy] - SSL/TLS support > }}} > > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/nova/tests/unit/console/test_websocketproxy.py", > line 622, in test_reject_open_redirect > self.assertIn('400 URI must not start with //', result[0].decode()) > File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 399, in > assertIn > self.assertThat(haystack, Contains(needle), message) > File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 480, in > assertThat > raise mismatch_error > testtools.matchers._impl.MismatchError: '400 URI must not start with //' not > in 'HTTP/1.1 301 Moved Permanently\r\n' > > > ====================================================================== > FAIL: > nova.tests.unit.console.test_websocketproxy.NovaProxyRequestHandlerTestCase.test_reject_open_redirect_3_slashes > nova.tests.unit.console.test_websocketproxy.NovaProxyRequestHandlerTestCase.test_reject_open_redirect_3_slashes > ---------------------------------------------------------------------- > testtools.testresult.real._StringException: pythonlogging:'': {{{ > 2022-08-14 02:50:18,501 WARNING [oslo_policy.policy] JSON formatted > policy_file support is deprecated since Victoria release. You need to use > YAML format which will be default in future. You can use > ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted > policy file to YAML-formatted in backward compatible way: > https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. > 2022-08-14 02:50:18,502 WARNING [oslo_policy.policy] JSON formatted > policy_file support is deprecated since Victoria release. You need to use > YAML format which will be default in future. You can use > ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted > policy file to YAML-formatted in backward compatible way: > https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. > 2022-08-14 02:50:18,504 WARNING [oslo_policy.policy] Policy Rules > ['os_compute_api:extensions', 'os_compute_api:os-floating-ip-pools', > 'os_compute_api:os-quota-sets:defaults', > 'os_compute_api:os-availability-zone:list', 'os_compute_api:limits', > 'project_admin_api', 'project_member_api', 'project_reader_api', > 'project_reader_or_admin', 'os_compute_api:limits:other_project', > 'os_compute_api:os-lock-server:unlock:unlock_override', > 'os_compute_api:servers:create:zero_disk_flavor', > 'compute:servers:resize:cross_cell'] specified in policy files are the same > as the defaults provided by the service. You can remove these rules from > policy files which will make maintenance easier. You can detect these > redundant rules by ``oslopolicy-list-redundant`` tool also. > 2022-08-14 02:50:18,508 INFO [nova.console.websocketproxy] WebSocket server > settings: > 2022-08-14 02:50:18,509 INFO [nova.console.websocketproxy] - Listen on :None > 2022-08-14 02:50:18,509 INFO [nova.console.websocketproxy] - SSL/TLS support > }}} > > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/nova/tests/unit/console/test_websocketproxy.py", > line 655, in test_reject_open_redirect_3_slashes > self.assertIn('Error code: 400', self.data) > File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 399, in > assertIn > self.assertThat(haystack, Contains(needle), message) > File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 480, in > assertThat > raise mismatch_error > testtools.matchers._impl.MismatchError: 'Error code: 400' not in 'HTTP/1.1 > 301 Moved Permanently\r\nServer: WebSockify Python/3.10.6\r\nDate: Sun, 14 > Aug 2022 02:50:18 GMT\r\nLocation: /example.com/%2F../\r\nContent-Length: > 0\r\n\r\n' > > > ---------------------------------------------------------------------- > Ran 16359 tests in 388.198s > > FAILED (failures=2, skipped=55, expected failures=1) > + echo ======> STESTR TEST SUITE FAILED FOR python3.10: displaying pip3 > freeze output... > ======> STESTR TEST SUITE FAILED FOR python3.10: displaying pip3 freeze > output... > + [ -x /usr/bin/pip3 ] > + pip3 freeze > actdiag==2.0.0 > alabaster==0.7.12 > alembic==1.7.6.dev0 > amqp==5.1.0 > anyjson==0.3.3 > appdirs==1.4.4 > async-timeout==4.0.1 > attrs==22.1.0 > automaton==2.5.0 > autopage==0.4.0 > Babel==2.8.0 > bandit==1.6.2 > bcrypt==3.2.0 > blinker==1.4 > blockdiag==2.0.1 > cachetools==5.0.0 > castellan==3.10.2 > certifi==2020.6.20 > cffi==1.15.1 > chardet==4.0.0 > charset-normalizer==2.0.6 > cliff==3.10.1 > cmd2==0.0.0 > colorama==0.4.5 > confluent-kafka==1.7.0 > coverage==6.2 > cryptography==3.4.8 > cursive==0.2.2 > ddt==1.4.4 > debtcollector==2.5.0 > decorator==5.1.1 > Deprecated==1.2.13 > deprecation==2.0.7 > dnspython==2.2.1 > docutils==0.17.1 > dogpile.cache==1.1.5 > dulwich==0.20.44 > etcd3==0.12.0 > etcd3gw==1.0.1 > eventlet==0.30.2 > extras==1.0.0 > fasteners==0.17.3 > fixtures==3.0.0 > flake8==4.0.1 > funcparserlib==0.3.6 > future==0.18.2 > futurist==2.4.0 > gabbi==2.4.0 > gevent==21.8.0 > gitdb==4.0.9 > GitPython==3.1.27 > greenlet==1.1.2 > grpcio==1.30.2 > hacking==4.1.0 > httplib2==0.20.4 > idna==3.3 > imagesize==1.4.1 > importlib-metadata==4.6.4 > iniconfig==1.1.1 > iso8601==1.0.2 > jeepney==0.8.0 > Jinja2==3.0.3 > jmespath==1.0.1 > jsonpatch==1.32 > jsonpath-rw==1.4.0 > jsonpath-rw-ext==1.2.2 > jsonpointer==2.2 > jsonschema==4.6.0 > kazoo==2.8.0.dev0 > keyring==23.8.2 > keystoneauth1==4.5.0 > keystonemiddleware==9.4.0 > kombu==5.2.4 > lxml==4.9.1 > Mako==1.1.3 > MarkupSafe==2.0.1 > mccabe==0.6.1 > microversion-parse==1.0.1 > mock==4.0.3 > monotonic==1.6 > more-itertools==8.10.0 > msgpack==1.0.3 > munch==2.5.0 > mysqlclient==1.4.6 > netaddr==0.8.0 > netifaces==0.11.0 > networkx==2.6.3 > nova==25.0.1 > numpy==1.21.5 > oauthlib==3.2.0 > openstackdocstheme==1.20.0 > openstacksdk==0.61.0 > os-api-ref==2.1.0 > os-brick==5.2.2 > os-client-config==2.1.0 > os-resource-classes==1.1.0 > os-service-types==1.7.0 > os-traits==2.7.0 > os-vif==2.7.1 > os-win==5.6.0 > osc-lib==2.5.0 > oslo.cache==2.10.1 > oslo.concurrency==4.5.0 > oslo.config==8.8.0 > oslo.context==4.1.0 > oslo.db==11.2.0 > oslo.i18n==5.1.0 > oslo.limit==1.5.1 > oslo.log==4.7.0 > oslo.messaging==12.13.0 > oslo.metrics==0.4.0 > oslo.middleware==4.5.1 > oslo.policy==3.11.0 > oslo.privsep==2.7.0 > oslo.reports==2.3.0 > oslo.rootwrap==6.3.1 > oslo.serialization==4.3.0 > oslo.service==2.8.0 > oslo.upgradecheck==1.5.0 > oslo.utils==4.12.3 > oslo.versionedobjects==2.6.0 > oslo.vmware==3.10.0 > oslosphinx==4.18.0 > oslotest==4.5.0 > osprofiler==3.4.2 > ovs==2.15.0 > ovsdbapp==1.15.2 > packaging==21.3 > paramiko==2.10.4 > Paste==3.5.0 > PasteDeploy==2.1.1 > pbr==5.8.1 > pep8==1.7.1 > Pillow==9.2.0 > pluggy==1.0.0+repack > ply==3.11 > prettytable==2.5.0 > prometheus-client==0.9.0 > protobuf==3.12.4 > psutil==5.9.0 > psycopg2==2.9.3 > pure-sasl==0.5.1 > py==1.10.0 > pyasn1==0.4.8 > pyasn1-modules==0.2.8 > pycadf==3.1.1 > pycodestyle==2.8.0 > pycparser==2.21 > pydot==1.4.2 > pyflakes==2.4.0 > Pygments==2.12.0 > pyinotify==0.9.6 > PyJWT==2.4.0 > pykerberos==1.1.14 > pymemcache==3.5.0 > PyMySQL==1.0.2 > PyNaCl==1.5.0 > pyOpenSSL==21.0.0 > pyparsing==3.0.7 > pyperclip==1.8.2 > pypowervm==1.1.27 > pyroute2==0.post0 > pyroute2.core==0.post0 > pyroute2.ethtool==0.post0 > pyroute2.ipdb==0.post0 > pyroute2.ipset==0.post0 > pyroute2.ndb==0.post0 > pyroute2.nftables==0.post0 > pyroute2.nslink==0.post0 > pyroute2.protocols==0.post0 > pyrsistent==0.18.1 > pytest==7.1.2 > python-barbicanclient==5.3.0 > python-binary-memcached==0.31.1 > python-cinderclient==8.3.0 > python-dateutil==2.8.1 > python-glanceclient==3.6.0 > python-ironicclient==4.11.0 > python-keystoneclient==4.4.0 > python-memcached==1.58 > python-neutronclient==7.8.0 > python-novaclient==17.7.0 > python-openstackclient==5.8.0 > python-subunit==1.4.0 > pytz==2022.1 > PyYAML==5.4.1 > pyzmq==22.3.0 > redis==4.3.4 > reportlab==3.6.11 > repoze.lru==0.7 > requests==2.27.1 > requests-mock==1.9.3 > requestsexceptions==1.4.0 > retrying==1.3.3 > rfc3986==1.5.0 > roman==3.3 > Routes==2.5.1 > SecretStorage==3.3.2 > seqdiag==2.0.0 > simplejson==3.17.6 > six==1.16.0 > smmap==5.0.0 > snowballstemmer==2.2.0 > sortedcontainers==2.4.0 > Sphinx==4.5.0 > sphinx-feature-classification==1.1.0 > sphinxcontrib-actdiag==2.0.0 > sphinxcontrib-seqdiag==2.0.0 > SQLAlchemy==1.4.31 > sqlalchemy-migrate==0.13.0 > sqlparse==0.4.2 > statsd==3.3.0 > stestr==3.2.1 > stevedore==3.5.0 > suds-community==1.1.2 > taskflow==4.6.4 > Tempita==0.5.2 > tenacity==8.0.1 > testresources==2.0.1 > testscenarios==0.5.0 > testtools==2.5.0 > tomli==2.0.1 > tooz==2.10.1 > typing_extensions==4.3.0 > uhashring==2.1 > unittest2==1.1.0 > urllib3==1.26.9 > vine==5.0.0 > voluptuous==0.12.2 > warlock==1.3.3 > wcwidth==0.2.5 > webcolors==1.11.1 > WebOb==1.8.6 > websockify==0.10.0 > wrapt==1.13.3 > wsgi-intercept==1.9.3 > yappi==1.3.3 > zake==0.2.2 > zipp==1.0.0 > zope.event==4.4 > zope.interface==5.4.0 > + exit 1 > make[1]: *** [debian/rules:55: override_dh_install] Error 1 The full build log is available from: http://qa-logs.debian.net/2022/08/13/nova_25.0.1-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.