Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.provenance.tests.test_provenance_storage::test_provenance_storage[mongodb-with-path-cmdbts2]
Failed

TEST RESULT

Run At
Aug 25 2021, 3:11 PM
Details
pytestconfig = <_pytest.config.Config object at 0x7f002b425320> @pytest.fixture(scope='function') def mongodb(pytestconfig): dbname = pytestconfig.getoption('mongodb_dbname') or pytestconfig.getini('mongodb_dbname') client = make_mongo_client(pytestconfig) db = client[dbname] clean_database(db) > load_fixtures(db, pytestconfig) .tox/py3/lib/python3.7/site-packages/pytest_mongodb/plugin.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ db = Database(mongomock.MongoClient('localhost', 27017), 'test') config = <_pytest.config.Config object at 0x7f002b425320> def load_fixtures(db, config): basedir = config.getoption('mongodb_fixture_dir') or config.getini('mongodb_fixture_dir') if not os.path.isabs(basedir): basedir = config.rootdir.join(basedir).strpath fixtures = config.getini('mongodb_fixtures') > for file_name in os.listdir(basedir): E FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/jenkins/workspace/DPROV/tests-on-diff/swh/provenance/tests/data/mongo' .tox/py3/lib/python3.7/site-packages/pytest_mongodb/plugin.py:102: FileNotFoundError