Page MenuHomeSoftware Heritage

Use CoreSWHID instead of the deprecated/removed SWHID class
ClosedPublic

Authored by vlorentz on Mar 5 2021, 4:28 PM.

Details

Summary

Required to silence warnings with swh-model 1.0.0,
and error with swh-model >= 1.0.1

Diff Detail

Repository
rDLDHG Mercurial loader
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 19741
Build 30642: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 30641: arc lint + arc unit

Unit TestsFailed

TimeTest
963 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.mercurial.tests.test_identify::test_all
datadir = '/var/lib/jenkins/workspace/DLDHG/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/loader/mercurial/tests/data' tmp_path = PosixPath('/tmp/pytest-of-jenkins/pytest-0/test_all0')
926 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.mercurial.tests.test_identify::test_all_revisions
datadir = '/var/lib/jenkins/workspace/DLDHG/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/loader/mercurial/tests/data' tmp_path = PosixPath('/tmp/pytest-of-jenkins/pytest-0/test_all_revisions0')
490 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.mercurial.tests.test_identify::test_single_revision
datadir = '/var/lib/jenkins/workspace/DLDHG/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/loader/mercurial/tests/data' tmp_path = PosixPath('/tmp/pytest-of-jenkins/pytest-0/test_single_revision0')
2 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.mercurial.tests.test_converters.TestParseAuthorConverters::test_parse_author_2
1 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.mercurial.tests.test_converters.TestParseAuthorConverters::test_parse_author_3
View Full Test Results (3 Failed · 42 Passed)

Event Timeline

Build has FAILED

Patch application report for D5206 (id=18648)

Rebasing onto 1b4780030e...

Current branch diff-target is up to date.
Changes applied before test
commit 9f867db2434a6c707cfcf63dfe08bc6e49449be4
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Mar 5 16:28:23 2021 +0100

    Use CoreSWHID instead of the deprecated/removed SWHID class
    
    Required to silence warnings with swh-model 1.0.0,
    and error with swh-model >= 1.0.1

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

Harbormaster returned this revision to the author for changes because remote builds failed.Mar 5 2021, 4:30 PM
Harbormaster failed remote builds in B19741: Diff 18648!

Build is green

Patch application report for D5206 (id=18649)

Rebasing onto 1b4780030e...

Current branch diff-target is up to date.
Changes applied before test
commit c1808d132f19624996782dc8643459d9325d5e5e
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Mar 5 16:28:23 2021 +0100

    Use CoreSWHID instead of the deprecated/removed SWHID class
    
    Required to silence warnings with swh-model 1.0.0,
    and error with swh-model >= 1.0.1

See https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/183/ for more details.

This revision is now accepted and ready to land.Mar 5 2021, 4:50 PM