Page MenuHomeSoftware Heritage

tox.ini: Remove no more needed pipfpaf use
AbandonedPublic

Authored by anlambert on Nov 23 2020, 1:49 PM.

Details

Reviewers
None
Group Reviewers
Reviewers
Summary

Tests can be run without using pifpaf nowadays so remove its use by tox.

Diff Detail

Unit TestsFailed

TimeTest
70 msJenkins > .tox.py3-core-db-server-slow-cover.lib.python3.7.site-packages.swh.core.db.tests.test_db::test_connect
dbname = 'test-db2', dumps = [] def db_create(dbname, dumps=None):
71 msJenkins > .tox.py3-core-db-server-slow-cover.lib.python3.7.site-packages.swh.core.db.tests.test_db.TestDb::test_copy_to
dbname = 'test-db', dumps = [('/tmp/tmpma31iz1f/init.sql', 'psql')] def db_create(dbname, dumps=None):
1 msJenkins > .tox.py3-core-db-server-slow-cover.lib.python3.7.site-packages.swh.core.db.tests.test_db.TestDb::test_copy_to_static
dbname = 'test-db', dumps = [('/tmp/tmpma31iz1f/init.sql', 'psql')] def db_create(dbname, dumps=None):
1 msJenkins > .tox.py3-core-db-server-slow-cover.lib.python3.7.site-packages.swh.core.db.tests.test_db.TestDb::test_copy_to_thread_exception
dbname = 'test-db', dumps = [('/tmp/tmpma31iz1f/init.sql', 'psql')] def db_create(dbname, dumps=None):
1 msJenkins > .tox.py3-core-db-server-slow-cover.lib.python3.7.site-packages.swh.core.db.tests.test_db.TestDb::test_initialized
dbname = 'test-db', dumps = [('/tmp/tmpma31iz1f/init.sql', 'psql')] def db_create(dbname, dumps=None):
View Full Test Results (6 Failed · 224 Passed · 1 Skipped)

Event Timeline

Build has FAILED

Patch application report for D4558 (id=16198)

Rebasing onto 7b38110bca...

Current branch diff-target is up to date.
Changes applied before test
commit 8eb2907b78014b1e80394148e469b10f0a47e842
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Mon Nov 23 13:48:26 2020 +0100

    tox.ini: Remove no more needed pipfpaf use

Link to build: https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/157/
See console output for more information: https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/157/console

This works locally but not on Jenkins, so abandoning this. Db tests should be ported to pytest-postgresqlthen.