Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.vault.tests.test_cookers.TestSnapshotCooker::test_snapshot_tags[cook_extract_snapshot_git_bare]
Failed

TEST RESULT

Run At
Jul 16 2021, 2:32 PM
Details
self = <swh.vault.tests.test_cookers.TestSnapshotCooker object at 0x7f03257a97f0> git_loader = <function git_loader.<locals>._create_loader at 0x7f03257db1e0> cook_extract_snapshot = <function cook_extract_snapshot_git_bare at 0x7f0326abf840> def test_snapshot_tags(self, git_loader, cook_extract_snapshot): (loader, main_rev_id) = self.load_repo_tags(git_loader) snp_id = loader.loaded_snapshot_id with cook_extract_snapshot(loader.storage, snp_id) as (ert, p): > self.check_snapshot_tags(ert, p, main_rev_id) .tox/py3/lib/python3.7/site-packages/swh/vault/tests/test_cookers.py:1062: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.vault.tests.test_cookers.TestSnapshotCooker object at 0x7f03257a97f0> ert = <swh.vault.tests.test_cookers.TestRepo object at 0x7f03256fa1d0> p = PosixPath('/tmp/tmp-vault-clone-8faf7kt9') obj_id = b'\x13\x0e\x02p\x88\xc7\xa5\x11&^\x15h\x83 |\x96tS\xd0\xe3' def check_snapshot_tags(self, ert, p, obj_id): assert ( hashutil.hash_to_bytehex(obj_id) == ert.repo.refs[b"HEAD"] == ert.repo.refs[b"refs/heads/master"] == ert.repo.refs[b"refs/remotes/origin/HEAD"] == ert.repo.refs[b"refs/remotes/origin/master"] == ert.repo.refs[b"refs/tags/t5"] ) c2_id = ert.repo.refs[b"refs/tags/t2"] c5_id = hashutil.hash_to_bytehex(obj_id) assert ert.repo[c5_id].parents == [c2_id] t5a = ert.repo[ert.repo.refs[b"refs/tags/t5a"]] > assert t5a.message == b"tag 5" E AssertionError: assert b'tag 5\n' == b'tag 5' E Full diff: E - b'tag 5' E + b'tag 5\n' E ? ++ .tox/py3/lib/python3.7/site-packages/swh/vault/tests/test_cookers.py:943: AssertionError