Skip to content

Skip LDAP tests if LDAP library isn't available

Sign in for the full log view
GitHub Actions / Test results failed Dec 11, 2023 in 0s

437 errors, 114 fail, 13 skipped, 1 506 pass in 3m 33s

       9 files         9 suites   3m 33s ⏱️
2 070 tests 1 506 ✔️ 13 💤 114  437 🔥
4 678 runs  3 547 ✔️ 36 💤 228  867 🔥

Results for commit b8a3582.

Annotations

Check failure on line 0 in tests.functional.arnold_test

See this annotation in the file changed.

@github-actions github-actions / Test results

test_title_should_contain_detentions (tests.functional.arnold_test) with error

artifacts/test-reports/functional-py37-django32/functional-results.xml
Raw output
self = <django.db.backends.utils.CursorWrapper object at 0x7f6887b01710>
sql = 'SELECT "account"."id", "account"."login", "account"."name", "account"."password", "account"."ext_sync", "account"."preferences" FROM "account" WHERE "account"."login" = %s LIMIT 21'
params = ('admin',)
ignored_wrapper_args = (False, {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f6887e94ed0>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7f6887b01710>})

    def _execute(self, sql, params, *ignored_wrapper_args):
        self.db.validate_no_broken_transaction()
        with self.db.wrap_database_errors:
            if params is None:
                # params default might be backend specific.
                return self.cursor.execute(sql)
            else:
>               return self.cursor.execute(sql, params)
E               psycopg2.errors.UndefinedTable: relation "account" does not exist
E               LINE 1: ...account"."ext_sync", "account"."preferences" FROM "account" ...
E                                                                            ^

.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: UndefinedTable

The above exception was the direct cause of the following exception:

selenium = <selenium.webdriver.chrome.webdriver.WebDriver (session="79a4ded3d99d7bc188266dee42dab20f")>
base_url = 'http://localhost:8000'

    @pytest.fixture
    def selenium(selenium, base_url):
        """Fixture to initialize the selenium web driver with a NAV session logged
        in as the admin user.
    
        """
        from nav.bootstrap import bootstrap_django
    
        bootstrap_django(__file__)
    
        from nav.web.auth.utils import create_session_cookie
    
        selenium.implicitly_wait(10)
        wait = WebDriverWait(selenium, 10)
    
>       cookie = create_session_cookie(USERNAME)

tests/functional/conftest.py:33: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
python/nav/web/auth/utils.py:84: in create_session_cookie
    user = Account.objects.get(login=username)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/manager.py:85: in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:431: in get
    num = len(clone)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:262: in __len__
    self._fetch_all()
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:1324: in _fetch_all
    self._result_cache = list(self._iterable_class(self))
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:51: in __iter__
    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/sql/compiler.py:1175: in execute_sql
    cursor.execute(sql, params)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:66: in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:75: in _execute_with_wrappers
    return executor(sql, params, many, context)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: in _execute
    return self.cursor.execute(sql, params)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/utils.py:90: in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <django.db.backends.utils.CursorWrapper object at 0x7f6887b01710>
sql = 'SELECT "account"."id", "account"."login", "account"."name", "account"."password", "account"."ext_sync", "account"."preferences" FROM "account" WHERE "account"."login" = %s LIMIT 21'
params = ('admin',)
ignored_wrapper_args = (False, {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f6887e94ed0>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7f6887b01710>})

    def _execute(self, sql, params, *ignored_wrapper_args):
        self.db.validate_no_broken_transaction()
        with self.db.wrap_database_errors:
            if params is None:
                # params default might be backend specific.
                return self.cursor.execute(sql)
            else:
>               return self.cursor.execute(sql, params)
E               django.db.utils.ProgrammingError: relation "account" does not exist
E               LINE 1: ...account"."ext_sync", "account"."preferences" FROM "account" ...
E                                                                            ^

.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: ProgrammingError

Check failure on line 0 in tests.functional.geomap_test

See this annotation in the file changed.

@github-actions github-actions / Test results

test_geomap_loaded (tests.functional.geomap_test) with error

artifacts/test-reports/functional-py37-django32/functional-results.xml
Raw output
self = <django.db.backends.utils.CursorWrapper object at 0x7f68897efb90>
sql = 'SELECT "account"."id", "account"."login", "account"."name", "account"."password", "account"."ext_sync", "account"."preferences" FROM "account" WHERE "account"."login" = %s LIMIT 21'
params = ('admin',)
ignored_wrapper_args = (False, {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f6887e94ed0>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7f68897efb90>})

    def _execute(self, sql, params, *ignored_wrapper_args):
        self.db.validate_no_broken_transaction()
        with self.db.wrap_database_errors:
            if params is None:
                # params default might be backend specific.
                return self.cursor.execute(sql)
            else:
>               return self.cursor.execute(sql, params)
E               psycopg2.errors.UndefinedTable: relation "account" does not exist
E               LINE 1: ...account"."ext_sync", "account"."preferences" FROM "account" ...
E                                                                            ^

.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: UndefinedTable

The above exception was the direct cause of the following exception:

selenium = <selenium.webdriver.chrome.webdriver.WebDriver (session="2c7f9c05d05172dd15e7a032682eb974")>
base_url = 'http://localhost:8000'

    @pytest.fixture
    def selenium(selenium, base_url):
        """Fixture to initialize the selenium web driver with a NAV session logged
        in as the admin user.
    
        """
        from nav.bootstrap import bootstrap_django
    
        bootstrap_django(__file__)
    
        from nav.web.auth.utils import create_session_cookie
    
        selenium.implicitly_wait(10)
        wait = WebDriverWait(selenium, 10)
    
>       cookie = create_session_cookie(USERNAME)

tests/functional/conftest.py:33: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
python/nav/web/auth/utils.py:84: in create_session_cookie
    user = Account.objects.get(login=username)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/manager.py:85: in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:431: in get
    num = len(clone)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:262: in __len__
    self._fetch_all()
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:1324: in _fetch_all
    self._result_cache = list(self._iterable_class(self))
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:51: in __iter__
    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/sql/compiler.py:1175: in execute_sql
    cursor.execute(sql, params)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:66: in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:75: in _execute_with_wrappers
    return executor(sql, params, many, context)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: in _execute
    return self.cursor.execute(sql, params)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/utils.py:90: in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <django.db.backends.utils.CursorWrapper object at 0x7f68897efb90>
sql = 'SELECT "account"."id", "account"."login", "account"."name", "account"."password", "account"."ext_sync", "account"."preferences" FROM "account" WHERE "account"."login" = %s LIMIT 21'
params = ('admin',)
ignored_wrapper_args = (False, {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f6887e94ed0>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7f68897efb90>})

    def _execute(self, sql, params, *ignored_wrapper_args):
        self.db.validate_no_broken_transaction()
        with self.db.wrap_database_errors:
            if params is None:
                # params default might be backend specific.
                return self.cursor.execute(sql)
            else:
>               return self.cursor.execute(sql, params)
E               django.db.utils.ProgrammingError: relation "account" does not exist
E               LINE 1: ...account"."ext_sync", "account"."preferences" FROM "account" ...
E                                                                            ^

.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: ProgrammingError

Check failure on line 0 in tests.functional.navbar_test

See this annotation in the file changed.

@github-actions github-actions / Test results

test_simple_ip_search_should_return_result (tests.functional.navbar_test) with error

artifacts/test-reports/functional-py37-django32/functional-results.xml
Raw output
self = <django.db.backends.utils.CursorWrapper object at 0x7f6887be36d0>
sql = 'SELECT "account"."id", "account"."login", "account"."name", "account"."password", "account"."ext_sync", "account"."preferences" FROM "account" WHERE "account"."login" = %s LIMIT 21'
params = ('admin',)
ignored_wrapper_args = (False, {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f6887e94ed0>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7f6887be36d0>})

    def _execute(self, sql, params, *ignored_wrapper_args):
        self.db.validate_no_broken_transaction()
        with self.db.wrap_database_errors:
            if params is None:
                # params default might be backend specific.
                return self.cursor.execute(sql)
            else:
>               return self.cursor.execute(sql, params)
E               psycopg2.errors.UndefinedTable: relation "account" does not exist
E               LINE 1: ...account"."ext_sync", "account"."preferences" FROM "account" ...
E                                                                            ^

.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: UndefinedTable

The above exception was the direct cause of the following exception:

selenium = <selenium.webdriver.chrome.webdriver.WebDriver (session="3452b5a592a795bc7b969dd1f3c572af")>
base_url = 'http://localhost:8000'

    @pytest.fixture
    def selenium(selenium, base_url):
        """Fixture to initialize the selenium web driver with a NAV session logged
        in as the admin user.
    
        """
        from nav.bootstrap import bootstrap_django
    
        bootstrap_django(__file__)
    
        from nav.web.auth.utils import create_session_cookie
    
        selenium.implicitly_wait(10)
        wait = WebDriverWait(selenium, 10)
    
>       cookie = create_session_cookie(USERNAME)

tests/functional/conftest.py:33: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
python/nav/web/auth/utils.py:84: in create_session_cookie
    user = Account.objects.get(login=username)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/manager.py:85: in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:431: in get
    num = len(clone)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:262: in __len__
    self._fetch_all()
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:1324: in _fetch_all
    self._result_cache = list(self._iterable_class(self))
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:51: in __iter__
    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/sql/compiler.py:1175: in execute_sql
    cursor.execute(sql, params)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:66: in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:75: in _execute_with_wrappers
    return executor(sql, params, many, context)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: in _execute
    return self.cursor.execute(sql, params)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/utils.py:90: in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <django.db.backends.utils.CursorWrapper object at 0x7f6887be36d0>
sql = 'SELECT "account"."id", "account"."login", "account"."name", "account"."password", "account"."ext_sync", "account"."preferences" FROM "account" WHERE "account"."login" = %s LIMIT 21'
params = ('admin',)
ignored_wrapper_args = (False, {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f6887e94ed0>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7f6887be36d0>})

    def _execute(self, sql, params, *ignored_wrapper_args):
        self.db.validate_no_broken_transaction()
        with self.db.wrap_database_errors:
            if params is None:
                # params default might be backend specific.
                return self.cursor.execute(sql)
            else:
>               return self.cursor.execute(sql, params)
E               django.db.utils.ProgrammingError: relation "account" does not exist
E               LINE 1: ...account"."ext_sync", "account"."preferences" FROM "account" ...
E                                                                            ^

.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: ProgrammingError

Check failure on line 0 in tests.functional.netmap_test

See this annotation in the file changed.

@github-actions github-actions / Test results

test_netmap_index_should_not_have_syntax_errors (tests.functional.netmap_test) with error

artifacts/test-reports/functional-py37-django32/functional-results.xml
Raw output
self = <django.db.backends.utils.CursorWrapper object at 0x7f6887748f10>
sql = 'SELECT "account"."id", "account"."login", "account"."name", "account"."password", "account"."ext_sync", "account"."preferences" FROM "account" WHERE "account"."login" = %s LIMIT 21'
params = ('admin',)
ignored_wrapper_args = (False, {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f6887e94ed0>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7f6887748f10>})

    def _execute(self, sql, params, *ignored_wrapper_args):
        self.db.validate_no_broken_transaction()
        with self.db.wrap_database_errors:
            if params is None:
                # params default might be backend specific.
                return self.cursor.execute(sql)
            else:
>               return self.cursor.execute(sql, params)
E               psycopg2.errors.UndefinedTable: relation "account" does not exist
E               LINE 1: ...account"."ext_sync", "account"."preferences" FROM "account" ...
E                                                                            ^

.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: UndefinedTable

The above exception was the direct cause of the following exception:

selenium = <selenium.webdriver.chrome.webdriver.WebDriver (session="d0ee8180b8d100435e81f2f0c2f23880")>
base_url = 'http://localhost:8000'

    @pytest.fixture
    def selenium(selenium, base_url):
        """Fixture to initialize the selenium web driver with a NAV session logged
        in as the admin user.
    
        """
        from nav.bootstrap import bootstrap_django
    
        bootstrap_django(__file__)
    
        from nav.web.auth.utils import create_session_cookie
    
        selenium.implicitly_wait(10)
        wait = WebDriverWait(selenium, 10)
    
>       cookie = create_session_cookie(USERNAME)

tests/functional/conftest.py:33: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
python/nav/web/auth/utils.py:84: in create_session_cookie
    user = Account.objects.get(login=username)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/manager.py:85: in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:431: in get
    num = len(clone)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:262: in __len__
    self._fetch_all()
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:1324: in _fetch_all
    self._result_cache = list(self._iterable_class(self))
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:51: in __iter__
    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/sql/compiler.py:1175: in execute_sql
    cursor.execute(sql, params)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:66: in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:75: in _execute_with_wrappers
    return executor(sql, params, many, context)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: in _execute
    return self.cursor.execute(sql, params)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/utils.py:90: in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <django.db.backends.utils.CursorWrapper object at 0x7f6887748f10>
sql = 'SELECT "account"."id", "account"."login", "account"."name", "account"."password", "account"."ext_sync", "account"."preferences" FROM "account" WHERE "account"."login" = %s LIMIT 21'
params = ('admin',)
ignored_wrapper_args = (False, {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f6887e94ed0>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7f6887748f10>})

    def _execute(self, sql, params, *ignored_wrapper_args):
        self.db.validate_no_broken_transaction()
        with self.db.wrap_database_errors:
            if params is None:
                # params default might be backend specific.
                return self.cursor.execute(sql)
            else:
>               return self.cursor.execute(sql, params)
E               django.db.utils.ProgrammingError: relation "account" does not exist
E               LINE 1: ...account"."ext_sync", "account"."preferences" FROM "account" ...
E                                                                            ^

.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: ProgrammingError

Check failure on line 0 in tests.functional.room_test

See this annotation in the file changed.

@github-actions github-actions / Test results

test_room_image_upload (tests.functional.room_test) with error

artifacts/test-reports/functional-py37-django32/functional-results.xml
Raw output
self = <django.db.backends.utils.CursorWrapper object at 0x7f68878c0390>
sql = 'SELECT "account"."id", "account"."login", "account"."name", "account"."password", "account"."ext_sync", "account"."preferences" FROM "account" WHERE "account"."login" = %s LIMIT 21'
params = ('admin',)
ignored_wrapper_args = (False, {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f6887e94ed0>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7f68878c0390>})

    def _execute(self, sql, params, *ignored_wrapper_args):
        self.db.validate_no_broken_transaction()
        with self.db.wrap_database_errors:
            if params is None:
                # params default might be backend specific.
                return self.cursor.execute(sql)
            else:
>               return self.cursor.execute(sql, params)
E               psycopg2.errors.UndefinedTable: relation "account" does not exist
E               LINE 1: ...account"."ext_sync", "account"."preferences" FROM "account" ...
E                                                                            ^

.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: UndefinedTable

The above exception was the direct cause of the following exception:

selenium = <selenium.webdriver.chrome.webdriver.WebDriver (session="909bcd89d7b93c0973a5f916fbc00c8c")>
base_url = 'http://localhost:8000'

    @pytest.fixture
    def selenium(selenium, base_url):
        """Fixture to initialize the selenium web driver with a NAV session logged
        in as the admin user.
    
        """
        from nav.bootstrap import bootstrap_django
    
        bootstrap_django(__file__)
    
        from nav.web.auth.utils import create_session_cookie
    
        selenium.implicitly_wait(10)
        wait = WebDriverWait(selenium, 10)
    
>       cookie = create_session_cookie(USERNAME)

tests/functional/conftest.py:33: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
python/nav/web/auth/utils.py:84: in create_session_cookie
    user = Account.objects.get(login=username)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/manager.py:85: in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:431: in get
    num = len(clone)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:262: in __len__
    self._fetch_all()
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:1324: in _fetch_all
    self._result_cache = list(self._iterable_class(self))
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:51: in __iter__
    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/sql/compiler.py:1175: in execute_sql
    cursor.execute(sql, params)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:66: in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:75: in _execute_with_wrappers
    return executor(sql, params, many, context)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: in _execute
    return self.cursor.execute(sql, params)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/utils.py:90: in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <django.db.backends.utils.CursorWrapper object at 0x7f68878c0390>
sql = 'SELECT "account"."id", "account"."login", "account"."name", "account"."password", "account"."ext_sync", "account"."preferences" FROM "account" WHERE "account"."login" = %s LIMIT 21'
params = ('admin',)
ignored_wrapper_args = (False, {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f6887e94ed0>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7f68878c0390>})

    def _execute(self, sql, params, *ignored_wrapper_args):
        self.db.validate_no_broken_transaction()
        with self.db.wrap_database_errors:
            if params is None:
                # params default might be backend specific.
                return self.cursor.execute(sql)
            else:
>               return self.cursor.execute(sql, params)
E               django.db.utils.ProgrammingError: relation "account" does not exist
E               LINE 1: ...account"."ext_sync", "account"."preferences" FROM "account" ...
E                                                                            ^

.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: ProgrammingError

Check failure on line 0 in tests.functional.status_test

See this annotation in the file changed.

@github-actions github-actions / Test results

test_panel_should_toggle_when_clicked (tests.functional.status_test) with error

artifacts/test-reports/functional-py37-django32/functional-results.xml
Raw output
self = <django.db.backends.utils.CursorWrapper object at 0x7f68878c0cd0>
sql = 'SELECT "account"."id", "account"."login", "account"."name", "account"."password", "account"."ext_sync", "account"."preferences" FROM "account" WHERE "account"."login" = %s LIMIT 21'
params = ('admin',)
ignored_wrapper_args = (False, {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f6887e94ed0>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7f68878c0cd0>})

    def _execute(self, sql, params, *ignored_wrapper_args):
        self.db.validate_no_broken_transaction()
        with self.db.wrap_database_errors:
            if params is None:
                # params default might be backend specific.
                return self.cursor.execute(sql)
            else:
>               return self.cursor.execute(sql, params)
E               psycopg2.errors.UndefinedTable: relation "account" does not exist
E               LINE 1: ...account"."ext_sync", "account"."preferences" FROM "account" ...
E                                                                            ^

.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: UndefinedTable

The above exception was the direct cause of the following exception:

selenium = <selenium.webdriver.chrome.webdriver.WebDriver (session="c5d0f5459c75955e9b0a234722fd86b8")>
base_url = 'http://localhost:8000'

    @pytest.fixture
    def selenium(selenium, base_url):
        """Fixture to initialize the selenium web driver with a NAV session logged
        in as the admin user.
    
        """
        from nav.bootstrap import bootstrap_django
    
        bootstrap_django(__file__)
    
        from nav.web.auth.utils import create_session_cookie
    
        selenium.implicitly_wait(10)
        wait = WebDriverWait(selenium, 10)
    
>       cookie = create_session_cookie(USERNAME)

tests/functional/conftest.py:33: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
python/nav/web/auth/utils.py:84: in create_session_cookie
    user = Account.objects.get(login=username)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/manager.py:85: in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:431: in get
    num = len(clone)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:262: in __len__
    self._fetch_all()
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:1324: in _fetch_all
    self._result_cache = list(self._iterable_class(self))
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:51: in __iter__
    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/sql/compiler.py:1175: in execute_sql
    cursor.execute(sql, params)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:66: in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:75: in _execute_with_wrappers
    return executor(sql, params, many, context)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: in _execute
    return self.cursor.execute(sql, params)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/utils.py:90: in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <django.db.backends.utils.CursorWrapper object at 0x7f68878c0cd0>
sql = 'SELECT "account"."id", "account"."login", "account"."name", "account"."password", "account"."ext_sync", "account"."preferences" FROM "account" WHERE "account"."login" = %s LIMIT 21'
params = ('admin',)
ignored_wrapper_args = (False, {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f6887e94ed0>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7f68878c0cd0>})

    def _execute(self, sql, params, *ignored_wrapper_args):
        self.db.validate_no_broken_transaction()
        with self.db.wrap_database_errors:
            if params is None:
                # params default might be backend specific.
                return self.cursor.execute(sql)
            else:
>               return self.cursor.execute(sql, params)
E               django.db.utils.ProgrammingError: relation "account" does not exist
E               LINE 1: ...account"."ext_sync", "account"."preferences" FROM "account" ...
E                                                                            ^

.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: ProgrammingError

Check failure on line 0 in tests.functional.status_test

See this annotation in the file changed.

@github-actions github-actions / Test results

test_remember_last_panel_state (tests.functional.status_test) with error

artifacts/test-reports/functional-py37-django32/functional-results.xml
Raw output
self = <django.db.backends.utils.CursorWrapper object at 0x7f688756c490>
sql = 'SELECT "account"."id", "account"."login", "account"."name", "account"."password", "account"."ext_sync", "account"."preferences" FROM "account" WHERE "account"."login" = %s LIMIT 21'
params = ('admin',)
ignored_wrapper_args = (False, {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f6887e94ed0>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7f688756c490>})

    def _execute(self, sql, params, *ignored_wrapper_args):
        self.db.validate_no_broken_transaction()
        with self.db.wrap_database_errors:
            if params is None:
                # params default might be backend specific.
                return self.cursor.execute(sql)
            else:
>               return self.cursor.execute(sql, params)
E               psycopg2.errors.UndefinedTable: relation "account" does not exist
E               LINE 1: ...account"."ext_sync", "account"."preferences" FROM "account" ...
E                                                                            ^

.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: UndefinedTable

The above exception was the direct cause of the following exception:

selenium = <selenium.webdriver.chrome.webdriver.WebDriver (session="18ecea1bac6e482c60fa74b737363e05")>
base_url = 'http://localhost:8000'

    @pytest.fixture
    def selenium(selenium, base_url):
        """Fixture to initialize the selenium web driver with a NAV session logged
        in as the admin user.
    
        """
        from nav.bootstrap import bootstrap_django
    
        bootstrap_django(__file__)
    
        from nav.web.auth.utils import create_session_cookie
    
        selenium.implicitly_wait(10)
        wait = WebDriverWait(selenium, 10)
    
>       cookie = create_session_cookie(USERNAME)

tests/functional/conftest.py:33: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
python/nav/web/auth/utils.py:84: in create_session_cookie
    user = Account.objects.get(login=username)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/manager.py:85: in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:431: in get
    num = len(clone)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:262: in __len__
    self._fetch_all()
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:1324: in _fetch_all
    self._result_cache = list(self._iterable_class(self))
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/query.py:51: in __iter__
    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/models/sql/compiler.py:1175: in execute_sql
    cursor.execute(sql, params)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:66: in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:75: in _execute_with_wrappers
    return executor(sql, params, many, context)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: in _execute
    return self.cursor.execute(sql, params)
.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/utils.py:90: in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <django.db.backends.utils.CursorWrapper object at 0x7f688756c490>
sql = 'SELECT "account"."id", "account"."login", "account"."name", "account"."password", "account"."ext_sync", "account"."preferences" FROM "account" WHERE "account"."login" = %s LIMIT 21'
params = ('admin',)
ignored_wrapper_args = (False, {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f6887e94ed0>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7f688756c490>})

    def _execute(self, sql, params, *ignored_wrapper_args):
        self.db.validate_no_broken_transaction()
        with self.db.wrap_database_errors:
            if params is None:
                # params default might be backend specific.
                return self.cursor.execute(sql)
            else:
>               return self.cursor.execute(sql, params)
E               django.db.utils.ProgrammingError: relation "account" does not exist
E               LINE 1: ...account"."ext_sync", "account"."preferences" FROM "account" ...
E                                                                            ^

.tox/functional-py37-django32/lib/python3.7/site-packages/django/db/backends/utils.py:84: ProgrammingError

Check failure on line 0 in tests.integration.alertengine_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_all_handlers_should_be_loadable (tests.integration.alertengine_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError

Check failure on line 0 in tests.integration.api_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_forbidden_endpoints[/api/1/account/] (tests.integration.api_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError

Check failure on line 0 in tests.integration.api_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_forbidden_endpoints[/api/1/accountgroup/] (tests.integration.api_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError

Check failure on line 0 in tests.integration.api_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_forbidden_endpoints[/api/1/alert/] (tests.integration.api_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError

Check failure on line 0 in tests.integration.api_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_forbidden_endpoints[/api/1/auditlog/] (tests.integration.api_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError

Check failure on line 0 in tests.integration.api_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_forbidden_endpoints[/api/1/arp/] (tests.integration.api_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError

Check failure on line 0 in tests.integration.api_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_forbidden_endpoints[/api/1/cabling/] (tests.integration.api_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError

Check failure on line 0 in tests.integration.api_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_forbidden_endpoints[/api/1/cam/] (tests.integration.api_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError

Check failure on line 0 in tests.integration.api_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_forbidden_endpoints[/api/1/interface/] (tests.integration.api_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError

Check failure on line 0 in tests.integration.api_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_forbidden_endpoints[/api/1/location/] (tests.integration.api_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError

Check failure on line 0 in tests.integration.api_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_forbidden_endpoints[/api/1/management-profile/] (tests.integration.api_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError

Check failure on line 0 in tests.integration.api_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_forbidden_endpoints[/api/1/netbox/] (tests.integration.api_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError

Check failure on line 0 in tests.integration.api_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_forbidden_endpoints[/api/1/patch/] (tests.integration.api_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError

Check failure on line 0 in tests.integration.api_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_forbidden_endpoints[/api/1/prefix/] (tests.integration.api_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError

Check failure on line 0 in tests.integration.api_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_forbidden_endpoints[/api/1/prefix/routed] (tests.integration.api_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError

Check failure on line 0 in tests.integration.api_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_forbidden_endpoints[/api/1/prefix/usage] (tests.integration.api_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError

Check failure on line 0 in tests.integration.api_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_forbidden_endpoints[/api/1/room/] (tests.integration.api_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError

Check failure on line 0 in tests.integration.api_test

See this annotation in the file changed.

@github-actions github-actions / Test results

All 2 runs with error: test_forbidden_endpoints[/api/1/servicehandler/] (tests.integration.api_test)

artifacts/test-reports/integration-py37-django32/integration-results.xml
artifacts/test-reports/integration-py39-django32/integration-results.xml
Raw output
request = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

    @pytest.fixture(scope='session')
    def postgresql(request):
        """Fixture for all tests that depend on a running PostgreSQL server. This fixture
        will try to detect and use an existing PostgreSQL instance (like if running in a
        GitHub action), otherwise it will set up a temporary PostgreSQL server for the test
        session.
    
        If your test needs to write to the database, it should ask for the `db` fixture
        instead, as this ensures changes are rolled back when the test is done.  However,
        if your test makes db changes that need to be visible from another process, you
        must make your own data fixture to ensure the data is removed when the test is
        done.
        """
        if not is_running_in_github_actions():
            request.getfixturevalue("docker_services")
    
        dbname = _get_preferred_database_name()
        _update_db_conf_for_test_run(dbname)
>       _populate_test_database(dbname)

dbname     = '7165582609_integration_py37_django32'
request    = <SubRequest 'postgresql' for <Function test_all_handlers_should_be_loadable>>

tests/conftest.py:44: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/integration-py37-django32/lib/python3.7/site-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
        args       = ('7165582609_integration_py37_django32',)
        caller     = <function retry.<locals>.retry_decorator at 0x7fd3727807a0>
        extras     = ()
        func       = <function _populate_test_database at 0x7fd372780830>
        kw         = {}
        kwsyntax   = False
        sig        = <Signature (database_name)>
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:74: in retry_decorator
    logger)
        args       = ('7165582609_integration_py37_django32',)
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = <function _populate_test_database at 0x7fd372780830>
        fargs      = ('7165582609_integration_py37_django32',)
        fkwargs    = {}
        jitter     = 0
        kwargs     = {}
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
.tox/integration-py37-django32/lib/python3.7/site-packages/retry/api.py:33: in __retry_internal
    return f()
        _delay     = 8
        _tries     = 0
        backoff    = 2
        delay      = 2
        exceptions = <class 'Exception'>
        f          = functools.partial(<function _populate_test_database at 0x7fd372780830>, '7165582609_integration_py37_django32')
        jitter     = 0
        logger     = <Logger retry.api (WARNING)>
        max_delay  = None
        tries      = 3
tests/conftest.py:82: in _populate_test_database
    subprocess.check_call([navsyncdb_path], env=env)  # , '-c'], #, '--drop-database'],
        database_name = '7165582609_integration_py37_django32'
        env        = {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x64:/opt/h...ames:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}
        navsyncdb_path = '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
kwargs = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
retcode = 1
cmd = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']' returned non-zero exit status 1.

cmd        = ['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb']
kwargs     = {'env': {'PATH': '/home/runner/work/nav/nav/.tox/integration-py37-django32/bin:/opt/hostedtoolcache/chromium/latest/x6...mes:/snap/bin', 'PGDATABASE': '7165582609_integration_py37_django32', 'PGHOST': 'localhost', 'PGPASSWORD': 'nav', ...}}
popenargs  = (['/home/runner/work/nav/nav/.tox/integration-py37-django32/bin/navsyncdb'],)
retcode    = 1

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/subprocess.py:363: CalledProcessError