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
May 20 2020, 9:28 AM
Details
self = <swh.storage.tests.test_storage.TestStorage object at 0x7f45b9f00ef0> swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f45b9f00908> 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:1065: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .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:610: in revision_log for line in db.revision_log(revisions, limit, cur): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.storage.db.Db object at 0x7f45b9f00588> root_revisions = [b'56789012345678901234'], limit = None cur = <cursor object at 0x7f478e6b1900; 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:781: UndefinedFunction