corey@corey-t14:~/pkg/antelope/upstream/watcher-dashboard$ tox -e py3
py3 create: /home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3
py3 installdeps: -r/home/corey/pkg/antelope/upstream/watcher-dashboard/requirements.txt, -r/home/corey/pkg/antelope/upstream/watcher-dashboard/test-requirements.txt
py3 develop-inst: /home/corey/pkg/antelope/upstream/watcher-dashboard
py3 installed: appdirs==1.4.4,asgiref==3.5.2,attrs==22.1.0,autopage==0.5.1,Babel==2.10.3,certifi==2022.12.7,cffi==1.15.1,charset-normalizer==2.1.1,cliff==4.1.0,cmd2==2.4.2,coverage==6.5.0,cryptography==38.0.2,debtcollector==2.5.0,decorator==5.1.1,Django==3.2.16,django-appconf==1.0.5,django-compressor==4.1,django-debreach==2.1.0,django-pyscss==2.0.2,dogpile.cache==1.1.8,enmerkar==0.7.1,entrypoints==0.3,extras==1.0.0,fasteners==0.18,fixtures==4.0.1,flake8==3.7.9,futurist==2.4.1,hacking==3.0.1,horizon==23.0.0,idna==3.4,importlib-metadata==5.0.0,iso8601==1.1.0,jmespath==1.0.1,jsonpatch==1.32,jsonpointer==2.3,jsonschema==4.16.0,keystoneauth1==5.1.1,mccabe==0.6.1,msgpack==1.0.4,munch==2.5.0,netaddr==0.8.0,netifaces==0.11.0,openstacksdk==0.103.0,os-client-config==2.1.0,os-service-types==1.7.0,osc-lib==2.6.2,oslo.concurrency==5.0.1,oslo.config==9.1.0,oslo.context==5.0.0,oslo.i18n==5.1.0,oslo.log==5.0.0,oslo.policy==4.0.0,oslo.serialization==5.0.0,oslo.upgradecheck==2.0.0,oslo.utils==6.1.0,osprofiler==3.4.3,packaging==21.3,pbr==5.11.0,prettytable==3.4.1,pycodestyle==2.5.0,pycparser==2.21,pyflakes==2.1.1,pyinotify==0.9.6,pymongo==4.2.0,pyOpenSSL==22.1.0,pyparsing==3.0.9,pyperclip==1.8.2,pyrsistent==0.18.1,pyScss==1.4.0,python-cinderclient==9.2.0,python-dateutil==2.8.2,python-glanceclient==4.2.0,python-keystoneclient==5.0.1,python-neutronclient==8.2.1,python-novaclient==18.2.0,python-subunit==1.4.0,python-swiftclient==4.1.0,python-watcherclient==4.0.0,pytz==2022.4,PyYAML==6.0,rcssmin==1.1.0,requests==2.28.1,requestsexceptions==1.4.0,rfc3986==1.5.0,rjsmin==1.2.0,selenium==3.141.0,semantic-version==2.10.0,simplejson==3.17.6,six==1.16.0,sqlparse==0.4.3,stevedore==4.1.1,testscenarios==0.5.0,testtools==2.5.0,urllib3==1.26.12,warlock==2.0.1,-e git+https://opendev.org/openstack/watcher-dashboard@a1f181f610ae0e3109757d06f209d6b12849e0ae#egg=watcher_dashboard,wcwidth==0.2.5,WebOb==1.8.7,wrapt==1.14.1,XStatic==1.0.2,XStatic-Angular==1.8.2.2,XStatic-Angular-Bootstrap==2.5.0.0,XStatic-Angular-FileUpload==12.0.4.0,XStatic-Angular-Gettext==2.4.1.0,XStatic-Angular-lrdragndrop==1.0.2.4,XStatic-Angular-Schema-Form==0.8.13.0,XStatic-Bootstrap-Datepicker==1.4.0.0,XStatic-Bootstrap-SCSS==3.4.1.0,XStatic-bootswatch==3.3.7.0,XStatic-D3==3.5.17.0,XStatic-Font-Awesome==4.7.0.0,XStatic-Hogan==2.0.0.3,XStatic-Jasmine==2.4.1.2,XStatic-jQuery==1.12.4.1,XStatic-JQuery-Migrate==1.2.1.2,XStatic-jquery-ui==1.13.0.1,XStatic-JQuery.quicksearch==2.0.3.2,XStatic-JQuery.TableSorter==2.14.5.2,XStatic-JSEncrypt==2.3.1.1,XStatic-mdi==1.6.50.2,XStatic-objectpath==1.2.1.0,XStatic-Rickshaw==1.5.1.0,XStatic-roboto-fontface==0.5.0.0,XStatic-smart-table==1.4.13.2,XStatic-Spin==1.2.5.3,XStatic-term.js==0.0.7.0,XStatic-tv4==1.2.7.0,xvfbwrapper==0.2.9,zipp==3.8.1
py3 run-test-pre: PYTHONHASHSEED='0'
py3 run-test: commands[0] | rm -f .testrepository/times.dbm
py3 run-test: commands[1] | find . -type f -name '*.pyc' -delete
py3 run-test: commands[2] | find . -type d -name __pycache__ -delete
py3 run-test: commands[3] | python manage.py test --settings=watcher_dashboard.test.settings --exclude-tag integration watcher_dashboard
WARNING:root:"dashboards" and "default_dashboard" in (local_)settings is DEPRECATED now and may be unsupported in some future release. The preferred way to specify the order of dashboards and the default dashboard is the pluggable dashboard mechanism (in /home/corey/pkg/antelope/upstream/watcher-dashboard/watcher_dashboard/local/enabled, /home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/openstack_dashboard/enabled).
/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/selenium/webdriver/firefox/firefox_profile.py:208: SyntaxWarning: "is" with a literal. Did you mean "=="?
if setting is None or setting is '':
xdpyinfo: unable to open display "".
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
Traceback (most recent call last):
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/manage.py", line 23, in <module>
execute_from_command_line(sys.argv)
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
utility.execute()
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/core/management/__init__.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/core/management/commands/test.py", line 23, in run_from_argv
super().run_from_argv(argv)
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/core/management/commands/test.py", line 55, in handle
failures = test_runner.run_tests(test_labels)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/test/runner.py", line 728, in run_tests
self.run_checks(databases)
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/test/runner.py", line 665, in run_checks
call_command('check', verbosity=self.verbosity, databases=databases)
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/core/management/__init__.py", line 181, in call_command
return command.execute(*args, **defaults)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/core/management/commands/check.py", line 63, in handle
self.check(
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/core/management/base.py", line 419, in check
all_issues = checks.run_checks(
^^^^^^^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/core/checks/registry.py", line 76, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/core/checks/urls.py", line 13, in check_url_config
return check_resolver(resolver)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/core/checks/urls.py", line 23, in check_resolver
return check_method()
^^^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/urls/resolvers.py", line 417, in check
messages.extend(check_resolver(pattern))
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/core/checks/urls.py", line 23, in check_resolver
return check_method()
^^^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/urls/resolvers.py", line 416, in check
for pattern in self.url_patterns:
^^^^^^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/utils/functional.py", line 48, in __get__
res = instance.__dict__[self.name] = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/urls/resolvers.py", line 604, in url_patterns
iter(patterns)
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/horizon/base.py", line 679, in __iter__
self._setup()
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/django/utils/functional.py", line 382, in _setup
self._wrapped = self._setupfunc()
^^^^^^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/horizon/base.py", line 842, in url_patterns
return self._urls()[0]
^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/horizon/base.py", line 877, in _urls
_wrapped_include(dash._decorated_urls)))
^^^^^^^^^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/horizon/base.py", line 555, in _decorated_urls
_wrapped_include(panel._decorated_urls)))
^^^^^^^^^^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/horizon/base.py", line 328, in _decorated_urls
urlpatterns = self._get_default_urlpatterns()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/lib/python3.11/site-packages/horizon/base.py", line 132, in _get_default_urlpatterns
urls_mod = import_module('.urls', package_string)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/watcher_dashboard/content/goals/urls.py", line 18, in <module>
from watcher_dashboard.content.goals import views
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/watcher_dashboard/content/goals/views.py", line 25, in <module>
from watcher_dashboard.api import watcher
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/watcher_dashboard/api/watcher.py", line 55, in <module>
class Audit(base.APIDictWrapper):
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/watcher_dashboard/api/watcher.py", line 114, in Audit
@errors_utils.handle_errors(_("Unable to retrieve audit"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/corey/pkg/antelope/upstream/watcher-dashboard/watcher_dashboard/utils/errors.py", line 42, in decorator
for _request_arg, name in enumerate(inspect.getargspec(func).args):
^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?
ERROR: InvocationError for command /home/corey/pkg/antelope/upstream/watcher-dashboard/.tox/py3/bin/python manage.py test --settings=watcher_dashboard.test.settings --exclude-tag integration watcher_dashboard (exited with code 1)
______________________________________ summary _______________________________________