Your message dated Fri, 6 Oct 2023 13:47:49 +0200
with message-id <5db608a5-e289-41a3-bd8d-e2d29d157...@debian.org>
and subject line Bug was in Horizon, fixed in 3:23.3.0-1
has caused the Debian Bug report #1052851,
regarding heat-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 ow...@bugs.debian.org
immediately.)


-- 
1052851: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052851
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: heat-dashboard
Version: 9.0.0-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
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 \
>               python$i /<<PKGBUILDDIR>>/manage.py test heat_dashboard.test -v 
> 2 --settings=heat_dashboard.test.settings --exclude-tag integration ; \
> done
> Creating test database for alias 'default' 
> ('file:memorydb_default?mode=memory&cache=shared')...
> Excluding test tag(s): integration.
> Found 55 test(s).
> Operations to perform:
>   Synchronize unmigrated apps: admin, compressor, heat_dashboard, horizon, 
> humanize, identity, messages, openstack_auth, openstack_dashboard, project, 
> settings, staticfiles
>   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_get_template_files 
> (heat_dashboard.test.tests.api.test_heat.HeatApiTests.test_get_template_files)
>  ... ok
> test_get_template_files_invalid 
> (heat_dashboard.test.tests.api.test_heat.HeatApiTests.test_get_template_files_invalid)
>  ... ok
> test_get_template_files_with_template_data 
> (heat_dashboard.test.tests.api.test_heat.HeatApiTests.test_get_template_files_with_template_data)
>  ... ok
> test_get_template_files_with_template_url 
> (heat_dashboard.test.tests.api.test_heat.HeatApiTests.test_get_template_files_with_template_url)
>  ... ok
> test_snapshot_create 
> (heat_dashboard.test.tests.api.test_heat.HeatApiTests.test_snapshot_create) 
> ... ok
> test_snapshot_list 
> (heat_dashboard.test.tests.api.test_heat.HeatApiTests.test_snapshot_list) ... 
> ok
> test_stack_create 
> (heat_dashboard.test.tests.api.test_heat.HeatApiTests.test_stack_create) ... 
> ok
> test_stack_list 
> (heat_dashboard.test.tests.api.test_heat.HeatApiTests.test_stack_list) ... ok
> test_stack_list_pagination_equal_page_size 
> (heat_dashboard.test.tests.api.test_heat.HeatApiTests.test_stack_list_pagination_equal_page_size)
>  ... ok
> test_stack_list_pagination_less_page_size 
> (heat_dashboard.test.tests.api.test_heat.HeatApiTests.test_stack_list_pagination_less_page_size)
>  ... ok
> test_stack_list_pagination_marker 
> (heat_dashboard.test.tests.api.test_heat.HeatApiTests.test_stack_list_pagination_marker)
>  ... ok
> test_stack_list_pagination_marker_prev 
> (heat_dashboard.test.tests.api.test_heat.HeatApiTests.test_stack_list_pagination_marker_prev)
>  ... ok
> test_stack_list_sort_options 
> (heat_dashboard.test.tests.api.test_heat.HeatApiTests.test_stack_list_sort_options)
>  ... ok
> test_stack_update 
> (heat_dashboard.test.tests.api.test_heat.HeatApiTests.test_stack_update) ... 
> ok
> test_template_function_list 
> (heat_dashboard.test.tests.api.test_heat.HeatApiTests.test_template_function_list)
>  ... ok
> test_template_get 
> (heat_dashboard.test.tests.api.test_heat.HeatApiTests.test_template_get) ... 
> ok
> test_template_version_list 
> (heat_dashboard.test.tests.api.test_heat.HeatApiTests.test_template_version_list)
>  ... ok
> test_services_get 
> (heat_dashboard.test.tests.api.test_heat_rest.HeatRestTestCase.test_services_get)
>  ... ok
> test_services_get_disabled 
> (heat_dashboard.test.tests.api.test_heat_rest.HeatRestTestCase.test_services_get_disabled)
>  ... ok
> test_validate_post 
> (heat_dashboard.test.tests.api.test_heat_rest.ValidateRestTestCase.test_validate_post)
>  ... ok
> test_detail_view 
> (heat_dashboard.test.tests.content.test_resource_types.ResourceTypesTests.test_detail_view)
>  ... ERROR
> test_index 
> (heat_dashboard.test.tests.content.test_resource_types.ResourceTypesTests.test_index)
>  ... ok
> test_mappings 
> (heat_dashboard.test.tests.content.test_stacks.MappingsTests.test_mappings) 
> ... ok
> test_stack_output 
> (heat_dashboard.test.tests.content.test_stacks.MappingsTests.test_stack_output)
>  ... ok
> test_check_stack 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_check_stack) 
> ... ok
> test_detail_stack_overview 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_detail_stack_overview)
>  ... ok
> test_detail_stack_resources 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_detail_stack_resources)
>  ... ok
> test_detail_stack_template 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_detail_stack_template)
>  ... ok
> test_detail_stack_topology 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_detail_stack_topology)
>  ... ok
> test_edit_stack_template 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_edit_stack_template)
>  ... ok
> test_index_paginated 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_index_paginated)
>  ... ok
> test_index_prev_paginated 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_index_prev_paginated)
>  ... ok
> test_launch_stack 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_launch_stack) 
> ... ok
> test_launch_stack_form_invalid_name_digit 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_launch_stack_form_invalid_name_digit)
>  ... ok
> test_launch_stack_form_invalid_name_point 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_launch_stack_form_invalid_name_point)
>  ... ok
> test_launch_stack_form_invalid_name_underscore 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_launch_stack_form_invalid_name_underscore)
>  ... ok
> test_launch_stack_parameter_types 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_launch_stack_parameter_types)
>  ... ok
> test_launch_stack_with_environment 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_launch_stack_with_environment)
>  ... ok
> test_launch_stack_with_hidden_parameters 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_launch_stack_with_hidden_parameters)
>  ... ok
> test_launch_stack_with_parameter_group 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_launch_stack_with_parameter_group)
>  ... ok
> test_preview_stack 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_preview_stack) 
> ... ok
> test_resource_view 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_resource_view) 
> ... ok
> test_resume_stack 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_resume_stack) 
> ... ok
> test_suspend_stack 
> (heat_dashboard.test.tests.content.test_stacks.StackTests.test_suspend_stack) 
> ... ok
> test_clean_file_upload_form_invalid_json 
> (heat_dashboard.test.tests.content.test_stacks.TemplateFormTests.test_clean_file_upload_form_invalid_json)
>  ... ok
> test_clean_file_upload_form_multiple 
> (heat_dashboard.test.tests.content.test_stacks.TemplateFormTests.test_clean_file_upload_form_multiple)
>  ... ok
> test_clean_file_upload_form_url 
> (heat_dashboard.test.tests.content.test_stacks.TemplateFormTests.test_clean_file_upload_form_url)
>  ... ok
> test_clean_file_upload_form_valid_data 
> (heat_dashboard.test.tests.content.test_stacks.TemplateFormTests.test_clean_file_upload_form_valid_data)
>  ... ok
> test_create_upload_form_attributes 
> (heat_dashboard.test.tests.content.test_stacks.TemplateFormTests.test_create_upload_form_attributes)
>  ... ok
> test_index 
> (heat_dashboard.test.tests.content.test_template_generator.TemplateGeneratorTests.test_index)
>  ... ok
> test_option 
> (heat_dashboard.test.tests.content.test_template_generator.TemplateGeneratorTests.test_option)
>  ... ok
> test_detail_view 
> (heat_dashboard.test.tests.content.test_template_versions.TemplateVersionsTests.test_detail_view)
>  ... ERROR
> test_detail_view_with_exception 
> (heat_dashboard.test.tests.content.test_template_versions.TemplateVersionsTests.test_detail_view_with_exception)
>  ... ERROR
> test_index 
> (heat_dashboard.test.tests.content.test_template_versions.TemplateVersionsTests.test_index)
>  ... ok
> test_index_exception 
> (heat_dashboard.test.tests.content.test_template_versions.TemplateVersionsTests.test_index_exception)
>  ... ERROR
> 
> ======================================================================
> ERROR: test_detail_view 
> (heat_dashboard.test.tests.content.test_resource_types.ResourceTypesTests.test_detail_view)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/openstack_dashboard/test/helpers.py", 
> line 134, in wrapped
>     retval = function(inst, *args, **kwargs)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/heat_dashboard/test/tests/content/test_resource_types.py", 
> line 47, in test_detail_view
>     self.assertNoMessages()
>   File "/usr/lib/python3/dist-packages/horizon/test/helpers.py", line 195, in 
> assertNoMessages
>     self.assertMessageCount(response, success=0, warn=0, info=0, error=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_detail_view 
> (heat_dashboard.test.tests.content.test_template_versions.TemplateVersionsTests.test_detail_view)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/openstack_dashboard/test/helpers.py", 
> line 134, in wrapped
>     retval = function(inst, *args, **kwargs)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/heat_dashboard/test/tests/content/test_template_versions.py",
>  line 64, in test_detail_view
>     self.assertNoMessages()
>   File "/usr/lib/python3/dist-packages/horizon/test/helpers.py", line 195, in 
> assertNoMessages
>     self.assertMessageCount(response, success=0, warn=0, info=0, error=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_detail_view_with_exception 
> (heat_dashboard.test.tests.content.test_template_versions.TemplateVersionsTests.test_detail_view_with_exception)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/openstack_dashboard/test/helpers.py", 
> line 134, in wrapped
>     retval = function(inst, *args, **kwargs)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/heat_dashboard/test/tests/content/test_template_versions.py",
>  line 81, in test_detail_view_with_exception
>     self.assertMessageCount(res, error=1)
>   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_index_exception 
> (heat_dashboard.test.tests.content.test_template_versions.TemplateVersionsTests.test_index_exception)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/openstack_dashboard/test/helpers.py", 
> line 134, in wrapped
>     retval = function(inst, *args, **kwargs)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/heat_dashboard/test/tests/content/test_template_versions.py",
>  line 48, in test_index_exception
>     self.assertMessageCount(res, error=1)
>   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 55 tests in 12.385s
> 
> FAILED (errors=4)
> Destroying test database for alias 'default' 
> ('file:memorydb_default?mode=memory&cache=shared')...
> make[1]: *** [debian/rules:46: override_dh_auto_test] Error 1


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

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