Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.deposit.tests.api.test_deposit::test_access_to_another_user_collection_is_forbidden
Failed

TEST RESULT

Run At
May 14 2020, 12:46 PM
Details
request = <SubRequest 'django_db_setup' for <Function test_access_to_another_user_collection_is_forbidden>> django_db_blocker = <pytest_django.plugin._DatabaseBlocker object at 0x7fda9759a128> postgresql_proc = <pytest_postgresql.executor.PostgreSQLExecutor: "/usr/lib/p..." 0x7fda954a3f60> @pytest.fixture(scope="session") def django_db_setup(request, django_db_blocker, postgresql_proc): from django.conf import settings settings.DATABASES["default"].update( { ("ENGINE", "django.db.backends.postgresql"), ("NAME", "tests"), ("USER", postgresql_proc.user), # noqa ("HOST", postgresql_proc.host), # noqa ("PORT", postgresql_proc.port), # noqa } ) with django_db_blocker.unblock(): setup_databases( > verbosity=request.config.option.verbose, interactive=False, keepdb=False ) .tox/py3/lib/python3.7/site-packages/swh/deposit/tests/conftest.py:115: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py3/lib/python3.7/site-packages/django/test/utils.py:174: in setup_databases serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True), .tox/py3/lib/python3.7/site-packages/django/db/backends/base/creation.py:72: in create_test_db run_syncdb=True, .tox/py3/lib/python3.7/site-packages/django/core/management/__init__.py:148: in call_command return command.execute(*args, **defaults) .tox/py3/lib/python3.7/site-packages/django/core/management/base.py:364: in execute output = self.handle(*args, **options) .tox/py3/lib/python3.7/site-packages/django/core/management/base.py:83: in wrapped res = handle_func(*args, **kwargs) .tox/py3/lib/python3.7/site-packages/django/core/management/commands/migrate.py:87: in handle executor = MigrationExecutor(connection, self.migration_progress_callback) .tox/py3/lib/python3.7/site-packages/django/db/migrations/executor.py:18: in __init__ self.loader = MigrationLoader(self.connection) .tox/py3/lib/python3.7/site-packages/django/db/migrations/loader.py:49: in __init__ self.build_graph() .tox/py3/lib/python3.7/site-packages/django/db/migrations/loader.py:274: in build_graph raise exc .tox/py3/lib/python3.7/site-packages/django/db/migrations/loader.py:248: in build_graph self.graph.validate_consistency() .tox/py3/lib/python3.7/site-packages/django/db/migrations/graph.py:195: in validate_consistency [n.raise_error() for n in self.node_map.values() if isinstance(n, DummyNode)] .tox/py3/lib/python3.7/site-packages/django/db/migrations/graph.py:195: in <listcomp> [n.raise_error() for n in self.node_map.values() if isinstance(n, DummyNode)] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <DummyNode: ('deposit', '0017_auto_20190925_0906.py')> def raise_error(self): > raise NodeNotFoundError(self.error_message, self.key, origin=self.origin) E django.db.migrations.exceptions.NodeNotFoundError: Migration deposit.0018_migrate_swhids dependencies reference nonexistent parent node ('deposit', '0017_auto_20190925_0906.py') .tox/py3/lib/python3.7/site-packages/django/db/migrations/graph.py:58: NodeNotFoundError