Page MenuHomeSoftware Heritage

swh.vault: Unify get_vault factory function with other factories
ClosedPublic

Authored by ardumont on Oct 16 2020, 7:33 PM.

Diff Detail

Unit TestsFailed

TimeTest
795 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.vault.tests.test_backend::test_available
request = <SubRequest 'swh_vault' for <Function test_available>> swh_vault_config = {'cache': {'args': {'allow_delete': True, 'root': '/tmp/pytest-of-jenkins/pytest-0/test_available0', 'slicing': '0:1/1...e': {'args': {'root': '/tmp/pytest-of-jenkins/pytest-0/test_available0', 'slicing': '0:1/1:5'}, 'cls': 'pathslicing'}}} postgresql = <connection object at 0x7f03b0d67180; dsn: 'user=postgres password=xxx dbname=tests host=127.0.0.1 port=23627 options=''', closed: 0>
1,092 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.vault.tests.test_backend::test_cache_expire_oldest
request = <SubRequest 'swh_vault' for <Function test_cache_expire_oldest>> swh_vault_config = {'cache': {'args': {'allow_delete': True, 'root': '/tmp/pytest-of-jenkins/pytest-0/test_cache_expire_oldest0', 'slicin...': {'root': '/tmp/pytest-of-jenkins/pytest-0/test_cache_expire_oldest0', 'slicing': '0:1/1:5'}, 'cls': 'pathslicing'}}} postgresql = <connection object at 0x7f03b0d678d0; dsn: 'user=postgres password=xxx dbname=tests host=127.0.0.1 port=23627 options=''', closed: 0>
1,085 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.vault.tests.test_backend::test_cache_expire_until
request = <SubRequest 'swh_vault' for <Function test_cache_expire_until>> swh_vault_config = {'cache': {'args': {'allow_delete': True, 'root': '/tmp/pytest-of-jenkins/pytest-0/test_cache_expire_until0', 'slicing...s': {'root': '/tmp/pytest-of-jenkins/pytest-0/test_cache_expire_until0', 'slicing': '0:1/1:5'}, 'cls': 'pathslicing'}}} postgresql = <connection object at 0x7f03b0d67c78; dsn: 'user=postgres password=xxx dbname=tests host=127.0.0.1 port=23627 options=''', closed: 0>
1,103 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.vault.tests.test_backend::test_cook_email_pending_done
request = <SubRequest 'swh_vault' for <Function test_cook_email_pending_done>> swh_vault_config = {'cache': {'args': {'allow_delete': True, 'root': '/tmp/pytest-of-jenkins/pytest-0/test_cook_email_pending_done0', 'sl...'root': '/tmp/pytest-of-jenkins/pytest-0/test_cook_email_pending_done0', 'slicing': '0:1/1:5'}, 'cls': 'pathslicing'}}} postgresql = <connection object at 0x7f03b0cfc8d0; dsn: 'user=postgres password=xxx dbname=tests host=127.0.0.1 port=23627 options=''', closed: 0>
922 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.vault.tests.test_backend::test_cook_request_idempotent
request = <SubRequest 'swh_vault' for <Function test_cook_request_idempotent>> swh_vault_config = {'cache': {'args': {'allow_delete': True, 'root': '/tmp/pytest-of-jenkins/pytest-0/test_cook_request_idempotent0', 'sl...'root': '/tmp/pytest-of-jenkins/pytest-0/test_cook_request_idempotent0', 'slicing': '0:1/1:5'}, 'cls': 'pathslicing'}}} postgresql = <connection object at 0x7f03b0cfc528; dsn: 'user=postgres password=xxx dbname=tests host=127.0.0.1 port=23627 options=''', closed: 0>
View Full Test Results (43 Failed · 6 Passed)

Event Timeline

Build has FAILED

Patch application report for D4294 (id=15175)

Could not rebase; Attempt merge onto a8fa57718b...

Updating a8fa577..3f0225a
Fast-forward
 requirements-test.txt        |  1 +
 swh/vault/__init__.py        | 53 ++++++++++++++++++++++++++----------------
 swh/vault/api/server.py      |  7 ++----
 swh/vault/backend.py         | 13 +++++++----
 swh/vault/tests/conftest.py  | 46 ++++++++++++++++++------------------
 swh/vault/tests/test_init.py | 55 ++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 122 insertions(+), 53 deletions(-)
 create mode 100644 swh/vault/tests/test_init.py
Changes applied before test
commit 3f0225a0585030d5fe064971164b17e940fce830
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Oct 16 19:34:02 2020 +0200

    swh.vault: Unify get_vault factory function with other factories
    
    Related to T1410

commit 4f1b89d01a441e1048c5a276773b37e3f7d2e276
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Oct 16 15:50:06 2020 +0200

    vault.config: Adapt scheduler configuration structure

Link to build: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/20/
See console output for more information: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/20/console

Drop the requirements bump on scheduler

Build has FAILED

Patch application report for D4294 (id=15176)

Could not rebase; Attempt merge onto a8fa57718b...

Updating a8fa577..c062d3a
Fast-forward
 requirements-test.txt        |  1 +
 swh/vault/__init__.py        | 53 ++++++++++++++++++++++++++----------------
 swh/vault/api/server.py      |  7 ++----
 swh/vault/backend.py         | 13 +++++++----
 swh/vault/tests/conftest.py  | 46 ++++++++++++++++++------------------
 swh/vault/tests/test_init.py | 55 ++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 122 insertions(+), 53 deletions(-)
 create mode 100644 swh/vault/tests/test_init.py
Changes applied before test
commit c062d3ab7ff614bf1ebc3f69ed1de46f77258ba3
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Oct 16 19:34:02 2020 +0200

    swh.vault: Unify get_vault factory function with other factories
    
    Related to T1410

commit 4f1b89d01a441e1048c5a276773b37e3f7d2e276
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Oct 16 15:50:06 2020 +0200

    vault.config: Adapt scheduler configuration structure

Link to build: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/21/
See console output for more information: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/21/console

Drop properly the requirement on swh-scheduler.

Build is green

Patch application report for D4294 (id=15177)

Could not rebase; Attempt merge onto a8fa57718b...

Updating a8fa577..efd5eb4
Fast-forward
 requirements-test.txt        |  1 +
 swh/vault/__init__.py        | 53 ++++++++++++++++++++++++++----------------
 swh/vault/api/server.py      |  7 ++----
 swh/vault/backend.py         | 13 +++++++----
 swh/vault/tests/conftest.py  | 46 ++++++++++++++++++------------------
 swh/vault/tests/test_init.py | 55 ++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 122 insertions(+), 53 deletions(-)
 create mode 100644 swh/vault/tests/test_init.py
Changes applied before test
commit efd5eb4dbdb3b451997141b661cb9ae53b8c3c34
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Oct 16 19:34:02 2020 +0200

    swh.vault: Unify get_vault factory function with other factories
    
    Related to T1410

commit 4f1b89d01a441e1048c5a276773b37e3f7d2e276
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Oct 16 15:50:06 2020 +0200

    vault.config: Adapt scheduler configuration structure

See https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/22/ for more details.

ardumont edited the test plan for this revision. (Show Details)

Rebase

Build is green

Patch application report for D4294 (id=15193)

Rebasing onto b5cecff6df...

Current branch diff-target is up to date.
Changes applied before test
commit 8e4026a5e8c9d43832cd3b038b9175f3f4914407
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Oct 16 19:34:02 2020 +0200

    swh.vault: Unify get_vault factory function with other factories
    
    Related to T1410

See https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/24/ for more details.

swh/vault/api/server.py
229

D4295 for coverage.

This revision is now accepted and ready to land.Oct 19 2020, 12:41 PM