Tombstoning #1295
docker-image.yml
on: pull_request
python-lint
1m 11s
deploy-docs
0s
Annotations
4 errors and 1 warning
pre-commit
Process completed with exit code 1.
|
TestUserNoUnixAccount.test_create_unix_account:
TestUserNoUnixAccount#L1
sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "unix_tombstone_login_hash_key"
DETAIL: Key (login_hash)=(\xf7f9c18e8ae2c3e419d3a41b65d120471dbb82cdbdb774891b1b6421f60e8a547770609d797a615ecf706db612cd1a0eebdb42f8bae861b1272389a72f543d9d) already exists.
CONTEXT: SQL statement "update unix_tombstone ts set login_hash = v_u_login_hash where ts.uid = v_ua_ts.uid"
PL/pgSQL function user_ensure_tombstone() line 28 at SQL statement
[SQL: UPDATE "user" SET unix_account_id=%(unix_account_id)s WHERE "user".id = %(user_id)s]
[parameters: {'unix_account_id': 20, 'user_id': 215}]
(Background on this error at: https://sqlalche.me/e/20/gkpj)
|
TestUnixAccountNoUser.test_create_user:
TestUnixAccountNoUser#L1
failed on setup with "file /opt/pycroft/app/tests/model/test_unix_tombstone.py, line 213
def test_create_user(self, session, ua):
E fixture 'ua' not found
> available fixtures: _session_faker, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, class_session, clean_engine, connection, cov, doctest_namespace, engine, faker, module_session, module_transaction, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, session, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unix_account, utcnow
> use 'pytest --fixtures [testpath]' for help on them.
/opt/pycroft/app/tests/model/test_unix_tombstone.py:213"
|
test
Process completed with exit code 1.
|
python-lint
Cache save failed.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage
Expired
|
1.26 MB |
|
github-pages
Expired
|
2.95 MB |
|