Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1002426: nova: FTBFS: AssertionError: expected call not found.

75 views
Skip to first unread message

Lucas Nussbaum

unread,
Dec 22, 2021, 3:30:03 AM12/22/21
to
Source: nova
Version: 2:24.0.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211220 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.test_utils.GenericUtilsTestCase.test_temporary_chown
> nova.tests.unit.test_utils.GenericUtilsTestCase.test_temporary_chown
> ----------------------------------------------------------------------
> testtools.testresult.real._StringException: pythonlogging:'': {{{
> 2021-12-20 18:40:19,529 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.
> 2021-12-20 18:40:19,529 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.
> 2021-12-20 18:40:19,531 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', 'system_admin_api', 'system_reader_api', 'project_admin_api', 'project_member_api', 'project_reader_api', 'system_admin_or_owner', 'system_or_project_reader', '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.
> }}}
>
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/mock/mock.py", line 1346, in patched
> return func(*newargs, **newkeywargs)
> File "/<<PKGBUILDDIR>>/nova/tests/unit/test_utils.py", line 156, in test_temporary_chown
> mock_chown.assert_called_once_with(f.name, uid=os.getuid())
> File "/usr/lib/python3/dist-packages/mock/mock.py", line 926, in assert_called_once_with
> return self.assert_called_with(*args, **kwargs)
> File "/usr/lib/python3/dist-packages/mock/mock.py", line 913, in assert_called_with
> raise AssertionError(_error_message()) from cause
> AssertionError: expected call not found.
> Expected: chown('/tmp/tmpct70vknn/tmpua12is5z', uid=0)
> Actual: chown('/tmp/tmpct70vknn/tmpua12is5z', uid=1001)
>
>
> ----------------------------------------------------------------------
> Ran 16076 tests in 427.851s
>
> FAILED (failures=1, skipped=51, 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.1.dev0
> amqp==5.0.6
> anyjson==0.3.3
> appdirs==1.4.4
> attrs==20.3.0
> automaton==2.4.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==4.2.1
> castellan==3.9.1
> certifi==2020.6.20
> cffi==1.15.0
> chardet==4.0.0
> cliff==3.9.0
> cmd2==0.0.0
> colorama==0.4.4
> confluent-kafka==1.7.0
> coverage==5.1
> cryptography==3.4.8
> cursive==0.2.2
> ddt==1.4.2
> debtcollector==2.3.0
> decorator==4.4.2
> deprecation==2.0.7
> dnspython==2.1.0
> docutils==0.17.1
> dogpile.cache==1.1.4
> dulwich==0.20.26
> etcd3==0.12.0
> etcd3gw==0.2.5
> eventlet==0.30.2
> extras==1.0.0
> fasteners==0.14.1
> fixtures==3.0.0
> flake8==3.8.4
> funcparserlib==0.3.6
> future==0.18.2
> futurist==2.4.0
> gabbi==2.0.1
> gevent==21.8.0
> gitdb==4.0.9
> GitPython==3.1.24
> greenlet==1.1.2
> grpcio==1.30.2
> hacking==1.1.0
> httplib2==0.20.2
> idna==2.10
> imagesize==1.3.0
> importlib-metadata==4.6.4
> iniconfig==0.0.0
> iso8601==0.1.16
> jeepney==0.7.1
> Jinja2==3.0.1
> jmespath==0.10.0
> jsonpatch==1.32
> jsonpath-rw==1.4.0
> jsonpath-rw-ext==1.2.2
> jsonpointer==2.1
> jsonschema==3.2.0
> kazoo==2.7.0.dev0
> keyring==23.3.0
> keystoneauth1==4.4.0
> keystonemiddleware==9.3.0
> kombu==5.2.2
> linecache2==1.0.0
> lxml==4.6.4
> 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.2
> munch==2.3.2
> mysqlclient==1.4.6
> netaddr==0.8.0
> netifaces==0.11.0
> networkx==2.5
> nova==24.0.0
> numpy==1.21.5
> oauthlib==3.1.1
> openstackdocstheme==1.20.0
> openstacksdk==0.59.0
> os-api-ref==2.1.0
> os-brick==5.0.1
> os-client-config==2.1.0
> os-resource-classes==1.1.0
> os-service-types==1.7.0
> os-traits==2.6.0
> os-vif==2.6.0
> os-win==5.5.0
> os-xenapi==0.3.4
> osc-lib==2.4.2
> oslo.cache==2.8.1
> oslo.concurrency==4.4.0
> oslo.config==8.7.1
> oslo.context==3.3.2
> oslo.db==11.0.0
> oslo.i18n==5.1.0
> oslo.log==4.6.0
> oslo.messaging==12.9.1
> oslo.metrics==0.3.0
> oslo.middleware==4.4.0
> oslo.policy==3.8.3
> oslo.privsep==2.6.2
> oslo.reports==2.3.0
> oslo.rootwrap==6.3.0
> oslo.serialization==4.2.0
> oslo.service==2.6.0
> oslo.upgradecheck==1.4.0
> oslo.utils==4.10.0
> oslo.versionedobjects==2.5.0
> oslo.vmware==3.9.1
> oslosphinx==4.18.0
> oslotest==4.5.0
> osprofiler==3.4.2
> ovs==2.15.0
> ovsdbapp==1.12.0
> packaging==21.3
> paramiko==2.8.1
> Paste==3.5.0
> PasteDeploy==2.1.1
> pbr==5.6.0
> pep8==1.7.1
> Pillow==8.4.0
> pluggy==0.13.0
> ply==3.11
> prettytable==0.7.2
> prometheus-client==0.9.0
> protobuf==3.12.4
> psutil==5.8.0
> psycopg2==2.9.1
> pure-sasl==0.5.1
> py==1.10.0
> pyasn1==0.4.8
> pyasn1-modules==0.2.1
> pycadf==3.1.1
> pycodestyle==2.6.0
> pycparser==2.21
> pydot==1.4.2
> pyflakes==2.2.0
> Pygments==2.10.0
> pyinotify==0.9.6
> PyJWT==2.1.0
> pykerberos==1.1.14
> pymemcache==3.5.0
> PyMySQL==1.0.2
> PyNaCl==1.4.0
> pyOpenSSL==21.0.0
> pyparsing==2.4.7
> pyperclip==1.8.2
> pypowervm==1.1.26
> 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.15.5
> pytest==6.2.5
> python-barbicanclient==5.2.0
> python-binary-memcached==0.30.0
> python-cinderclient==8.1.0
> python-dateutil==2.8.1
> python-glanceclient==3.5.0
> python-ironicclient==4.8.0
> python-keystoneclient==4.3.0
> python-memcached==1.58
> python-neutronclient==7.6.0
> python-novaclient==17.6.0
> python-openstackclient==5.6.0
> python-subunit==1.4.0
> pytz==2021.3
> PyYAML==5.4.1
> pyzmq==22.3.0
> redis==3.5.3
> reportlab==3.6.2
> repoze.lru==0.7
> requests==2.25.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.1
> seqdiag==2.0.0
> simplejson==3.17.5
> six==1.16.0
> smmap==5.0.0
> snowballstemmer==2.2.0
> sortedcontainers==2.1.0
> Sphinx==4.3.2
> sphinx-feature-classification==1.1.0
> sphinxcontrib-actdiag==2.0.0
> sphinxcontrib-seqdiag==2.0.0
> SQLAlchemy==1.4.23
> sqlalchemy-migrate==0.13.0
> sqlparse==0.4.2
> statsd==3.3.0
> stestr==3.2.1
> stevedore==3.4.0
> suds-community==1.0.0
> taskflow==4.6.2
> Tempita==0.5.2
> tenacity==6.3.1
> testresources==2.0.1
> testscenarios==0.5.0
> testtools==2.5.0
> toml==0.10.2
> tooz==2.9.0
> traceback2==1.4.0
> uhashring==2.1
> unittest2==1.1.0
> urllib3==1.26.5
> vine==5.0.0
> voluptuous==0.12.1
> warlock==1.3.3
> wcwidth==0.1.9
> webcolors==1.11.1
> WebOb==1.8.6
> websockify==0.10.0
> wrapt==1.13.3
> wsgi-intercept==1.9.2
> yappi==1.3.3
> zake==0.2.2
> zipp==1.0.0
> zope.event==4.4
> zope.interface==5.4.0
> zVMCloudConnector==1.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/2021/12/20/nova_24.0.0-1_unstable.log

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.
0 new messages