Skip to content

fix(ci): don't use multiple processes for tests #79

fix(ci): don't use multiple processes for tests

fix(ci): don't use multiple processes for tests #79

Triggered via push July 13, 2024 02:26
Status Failure
Total duration 13m 1s
Artifacts 1

test.yml

on: push
Matrix: build
Matrix: lint
Report Test Results
2s
Report Test Results
Test Successful
0s
Test Successful
Fit to window
Zoom out
Zoom in

Annotations

54 errors and 12 warnings
Django 5.1 (Python 3.12)
Process completed with exit code 1.
Widgets.test_collapsible_inlines: Widgets#L1
AssertionError: True is not false : Inline did not load collapsed
Widgets.test_gfk_related_lookup_add_three_deep: Widgets#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
Widgets.test_gfk_related_lookup_add_three_deep: Widgets#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
Widgets.test_gfk_related_lookup_initial_extra: Widgets#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
Widgets.test_initial_extra_datetime: Widgets#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
Widgets.test_initial_extra_fk_one_deep: Widgets#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
Widgets.test_initial_extra_fk_two_deep: Widgets#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
Widgets.test_initial_extra_m2m: Widgets#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
Widgets.test_initial_extra_prepopulated: Widgets#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
Widgets.test_nested_autocomplete_extra: Widgets#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrder.test_add_three_deep_datetime: WidgetMediaOrder#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrder.test_add_three_deep_fk: WidgetMediaOrder#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrder.test_add_three_deep_m2m: WidgetMediaOrder#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrder.test_add_three_deep_prepopulated: WidgetMediaOrder#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrderWithDateWidget.test_add_three_deep_datetime: WidgetMediaOrderWithDateWidget#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrderWithDateWidget.test_add_three_deep_fk: WidgetMediaOrderWithDateWidget#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrderWithDateWidget.test_add_three_deep_m2m: WidgetMediaOrderWithDateWidget#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrderWithDateWidget.test_add_three_deep_prepopulated: WidgetMediaOrderWithDateWidget#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrderWithDateWidget.test_root_date_widget_add_three_deep_datetime: WidgetMediaOrderWithDateWidget#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
TestGenericInlineAdmin.test_add_to_empty_one_deep: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_add_to_empty_one_deep: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_add_to_empty_two_deep: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_add_to_empty_two_deep: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_delete_one_deep: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_delete_one_deep: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_delete_two_deep: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_delete_two_deep: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_delete_two_deep_undelete_one_deep: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_delete_two_deep_undelete_one_deep: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_drag_add_drag: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_drag_add_drag: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_drag_existing_gfkb_to_new_parent_and_back: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_drag_existing_gfkb_to_new_parent_and_back: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_drag_existing_objs: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_drag_existing_objs: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_drag_item_to_empty_parent: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_drag_item_to_empty_parent: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_drag_item_to_new_empty_parent: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_drag_item_to_new_empty_parent: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_drag_new_item: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_drag_new_item: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_remove_two_deep: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_remove_two_deep: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
GrappelliCollapsibleTabularInlineTestCase.test_grappelli_tabular_collapse_bug: GrappelliCollapsibleTabularInlineTestCase#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
GrappelliCollapsibleTabularInlineTestCase.test_grappelli_tabular_collapse_bug: GrappelliCollapsibleTabularInlineTestCase#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestIdenticalPrefixes.test_add_to_empty_one_deep: TestIdenticalPrefixes#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestIdenticalPrefixes.test_add_to_empty_one_deep: TestIdenticalPrefixes#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestIdenticalPrefixes.test_drag_and_drop: TestIdenticalPrefixes#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestIdenticalPrefixes.test_drag_and_drop: TestIdenticalPrefixes#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestIssue122.test_grappelli_collapse_bug: TestIssue122#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestIssue122.test_grappelli_collapse_bug: TestIssue122#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
Report Test Results
❌ Tests reported 1 failures
Widgets.test_collapsible_inlines: Widgets#L1
AssertionError: True is not false : Inline did not load collapsed
lint (flake8)
The following actions uses node12 which is deprecated and will be forced to run on node16: suo/flake8-github-action@releases/v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint (flake8)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, suo/flake8-github-action@releases/v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (black)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (stylelint)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (eslint)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Django 4.2 (Python 3.11)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Django 4.2 (Python 3.9) + grappelli
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Django 5.0 (Python 3.9)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Django 5.1 (Python 3.12)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Django 5.0 (Python 3.10) + grappelli
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Report Test Results
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/download-artifact@v3, mikepenz/action-junit-report@1a91e26932fb7ba410a31fab1f09266a96d29971. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "junit-reports". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
junit-reports Expired
108 KB