Depends on D5999.
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Maniphest Tasks
- T843: Vault: Add a "git bare" tarball cooker
- Commits
- rDVAU73b2b13b9e06: git_bare: Add support for annotated tags pointing to commits
Diff Detail
- Repository
- rDVAU Software Heritage Vault
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 22633 Build 35287: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 35286: arc lint + arc unit
Time | Test | |
---|---|---|
303 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.vault.tests.test_cookers.TestSnapshotCooker::test_snapshot_tags[cook_extract_snapshot_git_bare] self = <swh.vault.tests.test_cookers.TestSnapshotCooker object at 0x7fda2ff7a6a0>
git_loader = <function git_loader.<locals>._create_loader at 0x7fda2ffac268>
cook_extract_snapshot = <function cook_extract_snapshot_git_bare at 0x7fda35a99840>
| |
81 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.vault.tests.test_backend::test_available | |
122 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.vault.tests.test_backend::test_cache_expire_oldest | |
115 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.vault.tests.test_backend::test_cache_expire_until | |
96 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.vault.tests.test_backend::test_cook_email_pending_done | |
View Full Test Results (1 Failed · 93 Passed) |
Event Timeline
Build has FAILED
Patch application report for D6000 (id=21659)
Could not rebase; Attempt merge onto 5951a5c63b...
Updating 5951a5c..6629eda Fast-forward swh/vault/cookers/__init__.py | 1 + swh/vault/cookers/git_bare.py | 97 ++++++++++- swh/vault/tests/test_cookers.py | 378 ++++++++++++++++++++++++++++++++++------ 3 files changed, 416 insertions(+), 60 deletions(-)
Changes applied before test
commit 6629edaf1e5d5c8c4dc3ca8e668d768373077e84 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Fri Jul 16 14:25:35 2021 +0200 git_bare: Add support for annotated tags pointing to commits commit 4cb80723d8fbd094bd5b6439d71cfc2e2e091a86 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 15 19:46:54 2021 +0200 git_bare: Add partial support for snapshots (no release or swh-graph support yet) commit 70fc50f40b8bc13b022f96be0027e89175773fd7 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 15 17:20:44 2021 +0200 tests: Split RepoFixtures off TestRevisionCooker So the 'load' and 'check' parts of the tests can be reused by future snapshot tests. commit a1f42284c683ec1d0ee169cda67f507529822473 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 15 16:58:55 2021 +0200 tests: Make TestRevisionCooker more modular So its 'load' and 'check' parts can be reused for testing snapshots
Link to build: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/136/
See console output for more information: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/136/console
Build has FAILED
Patch application report for D6000 (id=21660)
Rebasing onto 5951a5c63b...
Current branch diff-target is up to date.
Changes applied before test
commit c427dd8017062e37dfe0bfdd3113cd0999e30d55 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Fri Jul 16 14:25:35 2021 +0200 git_bare: Add support for annotated tags pointing to commits commit 4cb80723d8fbd094bd5b6439d71cfc2e2e091a86 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 15 19:46:54 2021 +0200 git_bare: Add partial support for snapshots (no release or swh-graph support yet) commit 70fc50f40b8bc13b022f96be0027e89175773fd7 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 15 17:20:44 2021 +0200 tests: Split RepoFixtures off TestRevisionCooker So the 'load' and 'check' parts of the tests can be reused by future snapshot tests. commit a1f42284c683ec1d0ee169cda67f507529822473 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 15 16:58:55 2021 +0200 tests: Make TestRevisionCooker more modular So its 'load' and 'check' parts can be reused for testing snapshots
Link to build: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/137/
See console output for more information: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/137/console
Build has FAILED
Patch application report for D6000 (id=21662)
Could not rebase; Attempt merge onto 5951a5c63b...
Updating 5951a5c..c427dd8 Fast-forward swh/vault/cookers/__init__.py | 1 + swh/vault/cookers/git_bare.py | 94 +++++++++- swh/vault/tests/test_cookers.py | 378 ++++++++++++++++++++++++++++++++++------ 3 files changed, 413 insertions(+), 60 deletions(-)
Changes applied before test
commit c427dd8017062e37dfe0bfdd3113cd0999e30d55 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Fri Jul 16 14:25:35 2021 +0200 git_bare: Add support for annotated tags pointing to commits commit 4cb80723d8fbd094bd5b6439d71cfc2e2e091a86 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 15 19:46:54 2021 +0200 git_bare: Add partial support for snapshots (no release or swh-graph support yet) commit 70fc50f40b8bc13b022f96be0027e89175773fd7 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 15 17:20:44 2021 +0200 tests: Split RepoFixtures off TestRevisionCooker So the 'load' and 'check' parts of the tests can be reused by future snapshot tests. commit a1f42284c683ec1d0ee169cda67f507529822473 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 15 16:58:55 2021 +0200 tests: Make TestRevisionCooker more modular So its 'load' and 'check' parts can be reused for testing snapshots
Link to build: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/139/
See console output for more information: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/139/console
Build has FAILED
Patch application report for D6000 (id=21663)
Could not rebase; Attempt merge onto 5951a5c63b...
Updating 5951a5c..6c5f074 Fast-forward swh/vault/cookers/__init__.py | 1 + swh/vault/cookers/git_bare.py | 94 +++++++++- swh/vault/tests/test_cookers.py | 378 ++++++++++++++++++++++++++++++++++------ 3 files changed, 413 insertions(+), 60 deletions(-)
Changes applied before test
commit 6c5f0746228febc14b3445451f4645ae46409994 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Fri Jul 16 14:25:35 2021 +0200 git_bare: Add support for annotated tags pointing to commits commit 4cb80723d8fbd094bd5b6439d71cfc2e2e091a86 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 15 19:46:54 2021 +0200 git_bare: Add partial support for snapshots (no release or swh-graph support yet) commit 70fc50f40b8bc13b022f96be0027e89175773fd7 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 15 17:20:44 2021 +0200 tests: Split RepoFixtures off TestRevisionCooker So the 'load' and 'check' parts of the tests can be reused by future snapshot tests. commit a1f42284c683ec1d0ee169cda67f507529822473 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 15 16:58:55 2021 +0200 tests: Make TestRevisionCooker more modular So its 'load' and 'check' parts can be reused for testing snapshots
Link to build: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/140/
See console output for more information: https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/140/console
Build is green
Patch application report for D6000 (id=21665)
Could not rebase; Attempt merge onto 5951a5c63b...
Updating 5951a5c..73b2b13 Fast-forward swh/vault/cookers/__init__.py | 1 + swh/vault/cookers/git_bare.py | 94 +++++++++- swh/vault/tests/test_cookers.py | 378 ++++++++++++++++++++++++++++++++++------ 3 files changed, 413 insertions(+), 60 deletions(-)
Changes applied before test
commit 73b2b13b9e06a8bdf5f6ea5d3b526d1e0c53fcf9 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Fri Jul 16 14:25:35 2021 +0200 git_bare: Add support for annotated tags pointing to commits commit 4cb80723d8fbd094bd5b6439d71cfc2e2e091a86 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 15 19:46:54 2021 +0200 git_bare: Add partial support for snapshots (no release or swh-graph support yet) commit 70fc50f40b8bc13b022f96be0027e89175773fd7 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 15 17:20:44 2021 +0200 tests: Split RepoFixtures off TestRevisionCooker So the 'load' and 'check' parts of the tests can be reused by future snapshot tests. commit a1f42284c683ec1d0ee169cda67f507529822473 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jul 15 16:58:55 2021 +0200 tests: Make TestRevisionCooker more modular So its 'load' and 'check' parts can be reused for testing snapshots
See https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/142/ for more details.
These hunks (in test_storage.py) should not be in this Diff. Having to do so in order to make your test_in_memory pass (I guess it's the reason for these modifications) prove your implementation does not respect the "API" of the original storage class.
It's probably no big deal here, but it's a bad practice...