for i in 3.9 3.10 ; do \ PYTHONPATH=/<>/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 /<>/manage.py test heat_dashboard.test -v 2 --settings=heat_dashboard.test.settings --exclude-tag integration ; \ done Excluding test tag(s): integration. Creating test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... 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) ... ok test_get_template_files_invalid (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_get_template_files_with_template_data (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_get_template_files_with_template_url (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_snapshot_create (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_snapshot_list (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_stack_create (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_stack_list (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_stack_list_pagination_equal_page_size (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_stack_list_pagination_less_page_size (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_stack_list_pagination_marker (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_stack_list_pagination_marker_prev (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_stack_list_sort_options (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_stack_update (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_template_function_list (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_template_get (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_template_version_list (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_services_get (heat_dashboard.test.tests.api.test_heat_rest.HeatRestTestCase) ... FAIL test_services_get_disabled (heat_dashboard.test.tests.api.test_heat_rest.HeatRestTestCase) ... FAIL test_validate_post (heat_dashboard.test.tests.api.test_heat_rest.ValidateRestTestCase) ... FAIL test_detail_view (heat_dashboard.test.tests.content.test_resource_types.ResourceTypesTests) ... ok test_index (heat_dashboard.test.tests.content.test_resource_types.ResourceTypesTests) ... ok test_mappings (heat_dashboard.test.tests.content.test_stacks.MappingsTests) ... ok test_stack_output (heat_dashboard.test.tests.content.test_stacks.MappingsTests) ... ok test_check_stack (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_detail_stack_overview (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_detail_stack_resources (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_detail_stack_template (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_detail_stack_topology (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_edit_stack_template (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_index_paginated (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_index_prev_paginated (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_launch_stack (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_launch_stack_form_invalid_name_digit (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_launch_stack_form_invalid_name_point (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_launch_stack_form_invalid_name_underscore (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_launch_stack_parameter_types (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_launch_stack_with_environment (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_launch_stack_with_hidden_parameters (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_launch_stack_with_parameter_group (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_preview_stack (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_resource_view (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_resume_stack (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_suspend_stack (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_clean_file_upload_form_invalid_json (heat_dashboard.test.tests.content.test_stacks.TemplateFormTests) ... INFO:heat_dashboard.content.stacks.forms:got upload template_name ok test_clean_file_upload_form_multiple (heat_dashboard.test.tests.content.test_stacks.TemplateFormTests) ... ok test_clean_file_upload_form_url (heat_dashboard.test.tests.content.test_stacks.TemplateFormTests) ... ok test_clean_file_upload_form_valid_data (heat_dashboard.test.tests.content.test_stacks.TemplateFormTests) ... INFO:heat_dashboard.content.stacks.forms:got upload template_name ok test_create_upload_form_attributes (heat_dashboard.test.tests.content.test_stacks.TemplateFormTests) ... ok test_index (heat_dashboard.test.tests.content.test_template_generator.TemplateGeneratorTests) ... ok test_option (heat_dashboard.test.tests.content.test_template_generator.TemplateGeneratorTests) ... ok test_detail_view (heat_dashboard.test.tests.content.test_template_versions.TemplateVersionsTests) ... ok test_detail_view_with_exception (heat_dashboard.test.tests.content.test_template_versions.TemplateVersionsTests) ... ok test_index (heat_dashboard.test.tests.content.test_template_versions.TemplateVersionsTests) ... ok test_index_exception (heat_dashboard.test.tests.content.test_template_versions.TemplateVersionsTests) ... ok ====================================================================== FAIL: test_services_get (heat_dashboard.test.tests.api.test_heat_rest.HeatRestTestCase) ---------------------------------------------------------------------- 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 "/usr/lib/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/<>/heat_dashboard/test/tests/api/test_heat_rest.py", line 53, in test_services_get self.assertStatusCode(response, 200) File "/<>/heat_dashboard/test/helpers.py", line 260, in assertStatusCode self.fail('status code %r != %r: %s' % (response.status_code, AssertionError: status code 400 != 200: b'"request must be AJAX"' ====================================================================== FAIL: test_services_get_disabled (heat_dashboard.test.tests.api.test_heat_rest.HeatRestTestCase) ---------------------------------------------------------------------- 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 "/<>/heat_dashboard/test/tests/api/test_heat_rest.py", line 67, in test_services_get_disabled self.assertStatusCode(response, 501) File "/<>/heat_dashboard/test/helpers.py", line 260, in assertStatusCode self.fail('status code %r != %r: %s' % (response.status_code, AssertionError: status code 400 != 501: b'"request must be AJAX"' ====================================================================== FAIL: test_validate_post (heat_dashboard.test.tests.api.test_heat_rest.ValidateRestTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/<>/heat_dashboard/test/tests/api/test_heat_rest.py", line 29, in test_validate_post self.assertStatusCode(response, 200) File "/<>/heat_dashboard/test/helpers.py", line 260, in assertStatusCode self.fail('status code %r != %r: %s' % (response.status_code, AssertionError: status code 400 != 200: b'"request must be AJAX"' ---------------------------------------------------------------------- Ran 55 tests in 8.380s FAILED (failures=3) Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... Excluding test tag(s): integration. Creating test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... 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) ... ok test_get_template_files_invalid (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_get_template_files_with_template_data (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_get_template_files_with_template_url (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_snapshot_create (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_snapshot_list (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_stack_create (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_stack_list (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_stack_list_pagination_equal_page_size (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_stack_list_pagination_less_page_size (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_stack_list_pagination_marker (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_stack_list_pagination_marker_prev (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_stack_list_sort_options (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_stack_update (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_template_function_list (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_template_get (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_template_version_list (heat_dashboard.test.tests.api.test_heat.HeatApiTests) ... ok test_services_get (heat_dashboard.test.tests.api.test_heat_rest.HeatRestTestCase) ... FAIL test_services_get_disabled (heat_dashboard.test.tests.api.test_heat_rest.HeatRestTestCase) ... FAIL test_validate_post (heat_dashboard.test.tests.api.test_heat_rest.ValidateRestTestCase) ... FAIL test_detail_view (heat_dashboard.test.tests.content.test_resource_types.ResourceTypesTests) ... ok test_index (heat_dashboard.test.tests.content.test_resource_types.ResourceTypesTests) ... ok test_mappings (heat_dashboard.test.tests.content.test_stacks.MappingsTests) ... ok test_stack_output (heat_dashboard.test.tests.content.test_stacks.MappingsTests) ... ok test_check_stack (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_detail_stack_overview (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_detail_stack_resources (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_detail_stack_template (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_detail_stack_topology (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_edit_stack_template (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_index_paginated (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_index_prev_paginated (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_launch_stack (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_launch_stack_form_invalid_name_digit (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_launch_stack_form_invalid_name_point (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_launch_stack_form_invalid_name_underscore (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_launch_stack_parameter_types (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_launch_stack_with_environment (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_launch_stack_with_hidden_parameters (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_launch_stack_with_parameter_group (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_preview_stack (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_resource_view (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_resume_stack (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_suspend_stack (heat_dashboard.test.tests.content.test_stacks.StackTests) ... ok test_clean_file_upload_form_invalid_json (heat_dashboard.test.tests.content.test_stacks.TemplateFormTests) ... ok test_clean_file_upload_form_multiple (heat_dashboard.test.tests.content.test_stacks.TemplateFormTests) ... ok test_clean_file_upload_form_url (heat_dashboard.test.tests.content.test_stacks.TemplateFormTests) ... ok test_clean_file_upload_form_valid_data (heat_dashboard.test.tests.content.test_stacks.TemplateFormTests) ... ok test_create_upload_form_attributes (heat_dashboard.test.tests.content.test_stacks.TemplateFormTests) ... ok test_index (heat_dashboard.test.tests.content.test_template_generator.TemplateGeneratorTests) ... ok test_option (heat_dashboard.test.tests.content.test_template_generator.TemplateGeneratorTests) ... ok test_detail_view (heat_dashboard.test.tests.content.test_template_versions.TemplateVersionsTests) ... ok test_detail_view_with_exception (heat_dashboard.test.tests.content.test_template_versions.TemplateVersionsTests) ... ok test_index (heat_dashboard.test.tests.content.test_template_versions.TemplateVersionsTests) ... ok test_index_exception (heat_dashboard.test.tests.content.test_template_versions.TemplateVersionsTests) ... ok ====================================================================== FAIL: test_services_get (heat_dashboard.test.tests.api.test_heat_rest.HeatRestTestCase) ---------------------------------------------------------------------- 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 "/usr/lib/python3.10/unittest/mock.py", line 1369, in patched return func(*newargs, **newkeywargs) File "/<>/heat_dashboard/test/tests/api/test_heat_rest.py", line 53, in test_services_get self.assertStatusCode(response, 200) File "/<>/heat_dashboard/test/helpers.py", line 260, in assertStatusCode self.fail('status code %r != %r: %s' % (response.status_code, AssertionError: status code 400 != 200: b'"request must be AJAX"' ====================================================================== FAIL: test_services_get_disabled (heat_dashboard.test.tests.api.test_heat_rest.HeatRestTestCase) ---------------------------------------------------------------------- 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 "/<>/heat_dashboard/test/tests/api/test_heat_rest.py", line 67, in test_services_get_disabled self.assertStatusCode(response, 501) File "/<>/heat_dashboard/test/helpers.py", line 260, in assertStatusCode self.fail('status code %r != %r: %s' % (response.status_code, AssertionError: status code 400 != 501: b'"request must be AJAX"' ====================================================================== FAIL: test_validate_post (heat_dashboard.test.tests.api.test_heat_rest.ValidateRestTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.10/unittest/mock.py", line 1369, in patched return func(*newargs, **newkeywargs) File "/<>/heat_dashboard/test/tests/api/test_heat_rest.py", line 29, in test_validate_post self.assertStatusCode(response, 200) File "/<>/heat_dashboard/test/helpers.py", line 260, in assertStatusCode self.fail('status code %r != %r: %s' % (response.status_code, AssertionError: status code 400 != 200: b'"request must be AJAX"' ---------------------------------------------------------------------- Ran 55 tests in 8.325s FAILED (failures=3) Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... make[1]: *** [debian/rules:45: override_dh_auto_test] Error 1 make[1]: Leaving directory '/<>' make: *** [debian/rules:6: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2022-03-30T21:04:13Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Type: full Build-Space: 7464 Build-Time: 21 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 60 Job: /home/zigo/salsa/openstack/horizon-plugins/heat-dashboard/build-area/heat-dashboard_7.0.0-1.dsc Machine Architecture: amd64 Package: heat-dashboard Package-Time: 84 Source-Version: 7.0.0-1 Space: 7464 Status: attempted Version: 7.0.0-1 -------------------------------------------------------------------------------- Finished at 2022-03-30T21:04:13Z Build needed 00:01:24, 7464k disk space