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:50 PM
Details
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> 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 0x7fda2ff7a6a0> ert = <swh.vault.tests.test_cookers.TestRepo object at 0x7fda2feca1d0> p = PosixPath('/tmp/tmp-vault-clone-lincdhe6') obj_id = b'+8D8\x19\x035]\xbatyc\x99\xad]\xcb\xba\xfe\x1dL' 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\n" E AssertionError: assert b'tag 5\n\n' == b'tag 5\n' E Full diff: E - b'tag 5\n' E + b'tag 5\n\n' E ? ++ .tox/py3/lib/python3.7/site-packages/swh/vault/tests/test_cookers.py:943: AssertionError