Your message dated Fri, 6 Oct 2023 13:47:49 +0200
with message-id <[email protected]>
and subject line Bug was in Horizon, fixed in 3:23.3.0-1
has caused the Debian Bug report #1052798,
regarding watcher-dashboard: FTBFS: AttributeError: 'NoneType' object has no 
attribute 'read'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1052798: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052798
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: watcher-dashboard
Version: 9.0.0-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> for i in 3.11 ; do \
>       PYTHONPATH=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages \
>               NOSE_WITH_OPENSTACK=1 \
>               NOSE_OPENSTACK_COLOR=1 \
>               NOSE_OPENSTACK_RED=0.05 \
>               NOSE_OPENSTACK_YELLOW=0.025 \
>               NOSE_OPENSTACK_SHOW_ELAPSED=1 \
>               python$i /<<PKGBUILDDIR>>/manage.py test -v 2 \
>                       --settings=watcher_dashboard.test.settings \
>                       --exclude-tag integration \
>                       watcher_dashboard ;\
> done
> 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 
> /<<PKGBUILDDIR>>/watcher_dashboard/local/enabled, 
> /usr/lib/python3/dist-packages/openstack_dashboard/enabled).
> Creating test database for alias 'default' 
> ('file:memorydb_default?mode=memory&cache=shared')...
> Excluding test tag(s): integration.
> Found 43 test(s).
> Operations to perform:
>   Synchronize unmigrated apps: admin, compressor, horizon, humanize, 
> identity, messages, openstack_auth, openstack_dashboard, project, settings, 
> staticfiles, watcher_dashboard
>   Apply all migrations: auth, contenttypes, sessions
> Synchronizing apps without migrations:
>   Creating tables...
>     Creating table openstack_auth_user
>     Running deferred SQL...
> Running migrations:
>   Applying contenttypes.0001_initial... OK
>   Applying contenttypes.0002_remove_content_type_name... OK
>   Applying auth.0001_initial... OK
>   Applying auth.0002_alter_permission_name_max_length... OK
>   Applying auth.0003_alter_user_email_max_length... OK
>   Applying auth.0004_alter_user_username_opts... OK
>   Applying auth.0005_alter_user_last_login_null... OK
>   Applying auth.0006_require_contenttypes_0002... OK
>   Applying auth.0007_alter_validators_add_error_messages... OK
>   Applying auth.0008_alter_user_username_max_length... OK
>   Applying auth.0009_alter_user_last_name_max_length... OK
>   Applying auth.0010_alter_group_name_max_length... OK
>   Applying auth.0011_update_proxy_permissions... OK
>   Applying auth.0012_alter_user_first_name_max_length... OK
>   Applying sessions.0001_initial... OK
> System check identified no issues (0 silenced).
> test_audit_template_list_unavailable 
> (watcher_dashboard.content.audit_templates.tests.AuditTemplatesTest.test_audit_template_list_unavailable)
>  ... ERROR:watcher_dashboard.content.audit_templates.views:Expected failure.
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/audit_templates/views.py", 
> line 49, in get_data
>     audit_templates = watcher.AuditTemplate.list(
>                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__
>     return self._mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call
>     return self._execute_mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1183, in 
> _execute_mock_call
>     raise effect
> watcherclient.common.apiclient.exceptions.ClientException: Expected failure.
> ERROR:watcher_dashboard.content.audit_templates.views:Expected failure.
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/audit_templates/views.py", 
> line 49, in get_data
>     audit_templates = watcher.AuditTemplate.list(
>                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__
>     return self._mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call
>     return self._execute_mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1183, in 
> _execute_mock_call
>     raise effect
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/audit_templates/views.py", 
> line 49, in get_data
>     audit_templates = watcher.AuditTemplate.list(
>                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__
>     return self._mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call
>     return self._execute_mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1183, in 
> _execute_mock_call
>     raise effect
> watcherclient.common.apiclient.exceptions.ClientException: Expected failure.
> ERROR
> test_create_get 
> (watcher_dashboard.content.audit_templates.tests.AuditTemplatesTest.test_create_get)
>  ... ok
> test_create_post 
> (watcher_dashboard.content.audit_templates.tests.AuditTemplatesTest.test_create_post)
>  ... ok
> test_delete 
> (watcher_dashboard.content.audit_templates.tests.AuditTemplatesTest.test_delete)
>  ... ok
> test_details 
> (watcher_dashboard.content.audit_templates.tests.AuditTemplatesTest.test_details)
>  ... 
> INFO:watcher_dashboard.content.audit_templates.views:{'audit_template_uuid': 
> '11111111-1111-1111-1111-111111111111'}
> INFO:watcher_dashboard.content.audit_templates.views:{'audit_template_uuid': 
> '11111111-1111-1111-1111-111111111111'}
> INFO:watcher_dashboard.content.audit_templates.views:{'audit_template_uuid': 
> '11111111-1111-1111-1111-111111111111'}
> ok
> test_details_exception 
> (watcher_dashboard.content.audit_templates.tests.AuditTemplatesTest.test_details_exception)
>  ... 
> INFO:watcher_dashboard.content.audit_templates.views:{'audit_template_uuid': 
> '11111111-1111-1111-1111-111111111111'}
> ERROR:watcher_dashboard.content.audit_templates.views:Expected failure.
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/audit_templates/views.py", 
> line 98, in _get_data
>     audit_template = watcher.AuditTemplate.get(
>                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__
>     return self._mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call
>     return self._execute_mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1183, in 
> _execute_mock_call
>     raise effect
> watcherclient.common.apiclient.exceptions.ClientException: Expected failure.
> ok
> test_index 
> (watcher_dashboard.content.audit_templates.tests.AuditTemplatesTest.test_index)
>  ... ok
> test_details (watcher_dashboard.content.goals.tests.GoalsTest.test_details) 
> ... ERROR:watcher_dashboard.content.goals.views:'Goal' object has no 
> attribute 'efficacy_specification'
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/goals/views.py", line 109, 
> in get_efficacy_specification_data
>     for spec in goal.efficacy_specification]
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/openstack_dashboard/api/base.py", line 
> 181, in __getattribute__
>     return object.__getattribute__(self, attr)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'Goal' object has no attribute 'efficacy_specification'
> ok
> test_details_exception 
> (watcher_dashboard.content.goals.tests.GoalsTest.test_details_exception) ... 
> ERROR:watcher_dashboard.content.goals.views:Expected failure.
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/horizon/utils/memoized.py", line 107, 
> in wrapped
>     value = cache[key] = cache.pop(key)
>                          ^^^^^^^^^^^^^^
> KeyError: ((<weakref at 0x7fea7f45fce0; to 'DetailView' at 0x7fea7f499290>,), 
> ())
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/goals/views.py", line 83, 
> in _get_data
>     goal = watcher.Goal.get(self.request, goal_uuid)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__
>     return self._mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call
>     return self._execute_mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1183, in 
> _execute_mock_call
>     raise effect
> watcherclient.common.apiclient.exceptions.ClientException: Expected failure.
> ERROR:watcher_dashboard.content.goals.views:horizon:admin:goals:index
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/horizon/utils/memoized.py", line 107, 
> in wrapped
>     value = cache[key] = cache.pop(key)
>                          ^^^^^^^^^^^^^^
> KeyError: ((<weakref at 0x7fea7f45fce0; to 'DetailView' at 0x7fea7f499290>,), 
> ())
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/goals/views.py", line 83, 
> in _get_data
>     goal = watcher.Goal.get(self.request, goal_uuid)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__
>     return self._mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call
>     return self._execute_mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1183, in 
> _execute_mock_call
>     raise effect
> watcherclient.common.apiclient.exceptions.ClientException: Expected failure.
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/goals/views.py", line 107, 
> in get_efficacy_specification_data
>     goal = self._get_data()
>            ^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/horizon/utils/memoized.py", line 109, 
> in wrapped
>     value = cache[key] = func(*args, **kwargs)
>                          ^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/goals/views.py", line 88, 
> in _get_data
>     horizon.exceptions.handle(
>   File "/usr/lib/python3/dist-packages/horizon/exceptions.py", line 355, in 
> handle
>     ret = handle_recoverable(request, user_message, redirect, ignore,
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/horizon/exceptions.py", line 252, in 
> handle_recoverable
>     raise Http302(redirect)
> horizon.exceptions.Http302: horizon:admin:goals:index
> ERROR:watcher_dashboard.content.goals.views:Expected failure.
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/horizon/utils/memoized.py", line 107, 
> in wrapped
>     value = cache[key] = cache.pop(key)
>                          ^^^^^^^^^^^^^^
> KeyError: ((<weakref at 0x7fea7f6149a0; to 'DetailView' at 0x7fea7f499290>,), 
> ())
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/goals/views.py", line 83, 
> in _get_data
>     goal = watcher.Goal.get(self.request, goal_uuid)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__
>     return self._mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call
>     return self._execute_mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1183, in 
> _execute_mock_call
>     raise effect
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/goals/views.py", line 83, 
> in _get_data
>     goal = watcher.Goal.get(self.request, goal_uuid)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__
>     return self._mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call
>     return self._execute_mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1183, in 
> _execute_mock_call
>     raise effect
> watcherclient.common.apiclient.exceptions.ClientException: Expected failure.
> ERROR:watcher_dashboard.content.goals.views:horizon:admin:goals:index
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/horizon/utils/memoized.py", line 107, 
> in wrapped
>     value = cache[key] = cache.pop(key)
>                          ^^^^^^^^^^^^^^
> KeyError: ((<weakref at 0x7fea7f6149a0; to 'DetailView' at 0x7fea7f499290>,), 
> ())
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/goals/views.py", line 83, 
> in _get_data
>     goal = watcher.Goal.get(self.request, goal_uuid)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__
>     return self._mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call
>     return self._execute_mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1183, in 
> _execute_mock_call
>     raise effect
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/goals/views.py", line 83, 
> in _get_data
>     goal = watcher.Goal.get(self.request, goal_uuid)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__
>     return self._mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call
>     return self._execute_mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1183, in 
> _execute_mock_call
>     raise effect
> watcherclient.common.apiclient.exceptions.ClientException: Expected failure.
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/goals/views.py", line 95, 
> in get_related_strategies_data
>     goal = self._get_data()
>            ^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/horizon/utils/memoized.py", line 109, 
> in wrapped
>     value = cache[key] = func(*args, **kwargs)
>                          ^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/goals/views.py", line 88, 
> in _get_data
>     horizon.exceptions.handle(
>   File "/usr/lib/python3/dist-packages/horizon/exceptions.py", line 355, in 
> handle
>     ret = handle_recoverable(request, user_message, redirect, ignore,
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/horizon/exceptions.py", line 252, in 
> handle_recoverable
>     raise Http302(redirect)
> horizon.exceptions.Http302: horizon:admin:goals:index
> ERROR:watcher_dashboard.content.goals.views:Expected failure.
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/horizon/utils/memoized.py", line 107, 
> in wrapped
>     value = cache[key] = cache.pop(key)
>                          ^^^^^^^^^^^^^^
> KeyError: ((<weakref at 0x7fea7f5cf790; to 'DetailView' at 0x7fea7f499290>,), 
> ())
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/goals/views.py", line 83, 
> in _get_data
>     goal = watcher.Goal.get(self.request, goal_uuid)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__
>     return self._mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call
>     return self._execute_mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1183, in 
> _execute_mock_call
>     raise effect
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/goals/views.py", line 83, 
> in _get_data
>     goal = watcher.Goal.get(self.request, goal_uuid)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__
>     return self._mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call
>     return self._execute_mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1183, in 
> _execute_mock_call
>     raise effect
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/goals/views.py", line 83, 
> in _get_data
>     goal = watcher.Goal.get(self.request, goal_uuid)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__
>     return self._mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call
>     return self._execute_mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1183, in 
> _execute_mock_call
>     raise effect
> watcherclient.common.apiclient.exceptions.ClientException: Expected failure.
> ok
> test_goal_list_unavailable 
> (watcher_dashboard.content.goals.tests.GoalsTest.test_goal_list_unavailable) 
> ... ERROR
> test_index (watcher_dashboard.content.goals.tests.GoalsTest.test_index) ... ok
> test_details 
> (watcher_dashboard.content.strategies.tests.StrategiesTest.test_details) ... 
> ok
> test_details_exception 
> (watcher_dashboard.content.strategies.tests.StrategiesTest.test_details_exception)
>  ... ERROR:watcher_dashboard.content.strategies.views:Expected failure.
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/horizon/utils/memoized.py", line 107, 
> in wrapped
>     value = cache[key] = cache.pop(key)
>                          ^^^^^^^^^^^^^^
> KeyError: ((<weakref at 0x7fea7f7d0fe0; to 'DetailView' at 0x7fea7f7674d0>,), 
> ())
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/strategies/views.py", line 
> 80, in _get_data
>     strategy = watcher.Strategy.get(self.request, strategy_uuid)
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__
>     return self._mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call
>     return self._execute_mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1183, in 
> _execute_mock_call
>     raise effect
> watcherclient.common.apiclient.exceptions.ClientException: Expected failure.
> ok
> test_index 
> (watcher_dashboard.content.strategies.tests.StrategiesTest.test_index) ... ok
> test_strategy_list_unavailable 
> (watcher_dashboard.content.strategies.tests.StrategiesTest.test_strategy_list_unavailable)
>  ... ERROR:watcher_dashboard.content.strategies.views:Expected failure.
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/strategies/views.py", line 
> 46, in get_data
>     strategies = watcher.Strategy.list(self.request, **search_opts)
>                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__
>     return self._mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call
>     return self._execute_mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1183, in 
> _execute_mock_call
>     raise effect
> watcherclient.common.apiclient.exceptions.ClientException: Expected failure.
> ERROR:watcher_dashboard.content.strategies.views:Expected failure.
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/strategies/views.py", line 
> 46, in get_data
>     strategies = watcher.Strategy.list(self.request, **search_opts)
>                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__
>     return self._mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call
>     return self._execute_mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1183, in 
> _execute_mock_call
>     raise effect
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/strategies/views.py", line 
> 46, in get_data
>     strategies = watcher.Strategy.list(self.request, **search_opts)
>                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__
>     return self._mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call
>     return self._execute_mock_call(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/mock.py", line 1183, in 
> _execute_mock_call
>     raise effect
> watcherclient.common.apiclient.exceptions.ClientException: Expected failure.
> ERROR
> test_action_list 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_action_list)
>  ... ok
> test_action_plan_delete 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_action_plan_delete)
>  ... ok
> test_action_plan_get 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_action_plan_get)
>  ... ok
> test_action_plan_list 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_action_plan_list)
>  ... ok
> test_action_plan_start 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_action_plan_start)
>  ... ok
> test_audit_create 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_audit_create)
>  ... ok
> test_audit_create_with_auto_trigger 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_audit_create_with_auto_trigger)
>  ... ok
> test_audit_create_with_interval 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_audit_create_with_interval)
>  ... ok
> test_audit_delete 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_audit_delete)
>  ... ok
> test_audit_get 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_audit_get)
>  ... ok
> test_audit_list 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_audit_list)
>  ... ok
> test_audit_template_create 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_audit_template_create)
>  ... ok
> test_audit_template_delete 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_audit_template_delete)
>  ... ok
> test_audit_template_get 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_audit_template_get)
>  ... ok
> test_audit_template_list 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_audit_template_list)
>  ... ok
> test_audit_template_list_with_filters 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_audit_template_list_with_filters)
>  ... ok
> test_audit_template_patch 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_audit_template_patch)
>  ... ok
> test_goal_get 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_goal_get) 
> ... ok
> test_goal_list 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_goal_list)
>  ... ok
> test_strategy_get 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_strategy_get)
>  ... ok
> test_strategy_list 
> (watcher_dashboard.test.api_tests.test_watcher.WatcherAPITests.test_strategy_list)
>  ... ok
> test_populate 
> (watcher_dashboard.test.test_formset_table.FormsetTableTests.test_populate)
> Create a FormsetDataTable and populate it with data. ... ok
> test_check_image_type 
> (watcher_dashboard.utils.tests.UtilsTests.test_check_image_type) ... ok
> test_de_camel_case 
> (watcher_dashboard.utils.tests.UtilsTests.test_de_camel_case) ... ok
> test_filter_items 
> (watcher_dashboard.utils.tests.UtilsTests.test_filter_items) ... ok
> test_length (watcher_dashboard.utils.tests.UtilsTests.test_length) ... ok
> test_list_to_dict 
> (watcher_dashboard.utils.tests.UtilsTests.test_list_to_dict) ... ok
> test_safe_int_cast 
> (watcher_dashboard.utils.tests.UtilsTests.test_safe_int_cast) ... ok
> 
> ======================================================================
> ERROR: test_audit_template_list_unavailable 
> (watcher_dashboard.content.audit_templates.tests.AuditTemplatesTest.test_audit_template_list_unavailable)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/mock.py", line 1375, in patched
>     return func(*newargs, **newkeywargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/audit_templates/tests.py", 
> line 51, in test_audit_template_list_unavailable
>     self.assertMessageCount(resp, error=1, warning=0)
>   File "/usr/lib/python3/dist-packages/horizon/test/helpers.py", line 203, in 
> assertMessageCount
>     temp_req = self.client.request(**{'wsgi.input': None})
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 886, in 
> request
>     response = self.handler(environ)
>                ^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 168, in 
> __call__
>     request = WSGIRequest(environ)
>               ^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/core/handlers/wsgi.py", line 
> 78, in __init__
>     self._stream = LimitedStream(self.environ["wsgi.input"], content_length)
>                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/core/handlers/wsgi.py", line 
> 24, in __init__
>     self._read = stream.read
>                  ^^^^^^^^^^^
> AttributeError: 'NoneType' object has no attribute 'read'
> 
> ======================================================================
> ERROR: test_goal_list_unavailable 
> (watcher_dashboard.content.goals.tests.GoalsTest.test_goal_list_unavailable)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/mock.py", line 1375, in patched
>     return func(*newargs, **newkeywargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/goals/tests.py", line 43, 
> in test_goal_list_unavailable
>     self.assertMessageCount(resp, error=1, warning=0)
>   File "/usr/lib/python3/dist-packages/horizon/test/helpers.py", line 203, in 
> assertMessageCount
>     temp_req = self.client.request(**{'wsgi.input': None})
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 886, in 
> request
>     response = self.handler(environ)
>                ^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 168, in 
> __call__
>     request = WSGIRequest(environ)
>               ^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/core/handlers/wsgi.py", line 
> 78, in __init__
>     self._stream = LimitedStream(self.environ["wsgi.input"], content_length)
>                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/core/handlers/wsgi.py", line 
> 24, in __init__
>     self._read = stream.read
>                  ^^^^^^^^^^^
> AttributeError: 'NoneType' object has no attribute 'read'
> 
> ======================================================================
> ERROR: test_strategy_list_unavailable 
> (watcher_dashboard.content.strategies.tests.StrategiesTest.test_strategy_list_unavailable)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/mock.py", line 1375, in patched
>     return func(*newargs, **newkeywargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/watcher_dashboard/content/strategies/tests.py", line 
> 52, in test_strategy_list_unavailable
>     self.assertMessageCount(resp, error=1, warning=0)
>   File "/usr/lib/python3/dist-packages/horizon/test/helpers.py", line 203, in 
> assertMessageCount
>     temp_req = self.client.request(**{'wsgi.input': None})
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 886, in 
> request
>     response = self.handler(environ)
>                ^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/test/client.py", line 168, in 
> __call__
>     request = WSGIRequest(environ)
>               ^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/core/handlers/wsgi.py", line 
> 78, in __init__
>     self._stream = LimitedStream(self.environ["wsgi.input"], content_length)
>                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/core/handlers/wsgi.py", line 
> 24, in __init__
>     self._read = stream.read
>                  ^^^^^^^^^^^
> AttributeError: 'NoneType' object has no attribute 'read'
> 
> ----------------------------------------------------------------------
> Ran 43 tests in 2.624s
> 
> FAILED (errors=3)
> Destroying test database for alias 'default' 
> ('file:memorydb_default?mode=memory&cache=shared')...
> make[1]: *** [debian/rules:42: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/watcher-dashboard_9.0.0-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&[email protected]&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 mark 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.

--- End Message ---
--- Begin Message ---
Hi,

The bug was in Horizon, not in this package, and was fixed by the upload of Horizon 3:23.3.0-1 in Unstable.

Cheers,

Thomas Goirand (zigo)

--- End Message ---

Reply via email to