Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_storage.TestStorage::test_revision_log_unknown_revision
Failed

TEST RESULT

Run At
Apr 21 2020, 12:34 PM
Details
self = <swh.storage.tests.test_storage.TestStorage object at 0x7fd8f58f97b8> swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7fd8e38cae48> def test_revision_log_unknown_revision(self, swh_storage): > rev_log = list(swh_storage.revision_log([data.revision["id"]])) .tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_storage.py:1061: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py3/lib/python3.7/site-packages/swh/core/db/common.py:97: in _meth yield from meth(self, *args, db=db, cur=cur, **kwargs) .tox/py3/lib/python3.7/site-packages/swh/storage/storage.py:609: in revision_log for line in db.revision_log(revisions, limit, cur): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.storage.db.Db object at 0x7fd8e38ca6d8> root_revisions = [b'56789012345678901234'], limit = None cur = <cursor object at 0x7fdab4ce19f8; closed: -1> def revision_log(self, root_revisions, limit=None, cur=None): cur = self._cursor(cur) query = """SELECT %s FROM swh_revision_log(%%s, %%s) """ % ", ".join( self.revision_get_cols ) > cur.execute(query, (root_revisions, limit)) E psycopg2.errors.UndefinedFunction: function swh_revision_log(bytea[], unknown) does not exist E LINE 2: FROM swh_revision_log(ARRAY['\x3536373839... E ^ E HINT: No function matches the given name and argument types. You might need to add explicit type casts. .tox/py3/lib/python3.7/site-packages/swh/storage/db.py:721: UndefinedFunction