Page MenuHomeSoftware Heritage

Add a default value for RawExtrinsicMetadataCore.discovery_date
ClosedPublic

Authored by vlorentz on Jul 31 2020, 4:36 PM.

Unit TestsFailed

TimeTest
639 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.package.npm.tests.test_npm::test_npm_loader_first_visit
swh_config = '/tmp/pytest-of-jenkins/pytest-0/test_npm_loader_first_visit0/loader.yml' requests_mock_datadir = <requests_mock.mocker.Mocker object at 0x7fa9a42a2a58> org_api_info = b'{\n "_id": "org",\n "_rev": "4-22484cc537f12d3023241211ee34e39d",\n "name": "org",\n "description": "A parser an...rser"\n ],\n "bugs": {\n "url": "http://github.com/mooz/org-s/issues"\n },\n "readmeFilename": "README.md"\n}\n'
2 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.core.tests.test_converters::test_content_for_storage_data
6 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.core.tests.test_converters::test_content_for_storage_path
2 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.core.tests.test_converters::test_content_for_storage_too_long
8 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.core.tests.test_converters::test_prepare_contents
View Full Test Results (1 Failed · 141 Passed)

Event Timeline

Build is green

Patch application report for D3676 (id=12932)

Could not rebase; Attempt merge onto c510d10d23...

Updating c510d10..59ee139
Fast-forward
 swh/loader/package/deposit/loader.py     |  2 --
 swh/loader/package/loader.py             |  2 +-
 swh/loader/package/nixguix/loader.py     |  4 +--
 swh/loader/package/npm/loader.py         | 25 +++++++++++++--
 swh/loader/package/npm/tests/test_npm.py | 52 ++++++++++++++++++++++++++++++--
 5 files changed, 74 insertions(+), 11 deletions(-)
Changes applied before test
commit 59ee139191489e002488393410b17f22c7a57e25
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 31 16:34:34 2020 +0200

    Add a default value for RawExtrinsicMetadataCore.discovery_date

commit deb38d7fdd1fdb1c9ac476f6ca72cf492b0503aa
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 31 15:44:32 2020 +0200

    npm: Load the content of the API's response as extrinsic snapshot metadata.

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

This revision is now accepted and ready to land.Jul 31 2020, 4:45 PM

Build has FAILED

Patch application report for D3676 (id=12941)

Rebasing onto c510d10d23...

Current branch diff-target is up to date.
Changes applied before test
commit 9e68402d2f5ace81e3b16113fc2026eae5a328c1
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 31 16:34:34 2020 +0200

    Add a default value for RawExtrinsicMetadataCore.discovery_date

commit 0ee6220db1dbff44a62a058281690b1f1d2c5282
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 31 15:44:32 2020 +0200

    npm: Load the content of the API's response as extrinsic snapshot metadata.

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

Build is green

Patch application report for D3676 (id=12951)

Could not rebase; Attempt merge onto c510d10d23...

Updating c510d10..8901a06
Fast-forward
 swh/loader/package/deposit/loader.py     |  2 --
 swh/loader/package/loader.py             |  2 +-
 swh/loader/package/nixguix/loader.py     |  4 +--
 swh/loader/package/npm/loader.py         | 23 ++++++++++++--
 swh/loader/package/npm/tests/test_npm.py | 52 ++++++++++++++++++++++++++++++--
 5 files changed, 72 insertions(+), 11 deletions(-)
Changes applied before test
commit 8901a06e32fcdeefc90e2b6fd67d75b29a340910
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 31 16:34:34 2020 +0200

    Add a default value for RawExtrinsicMetadataCore.discovery_date

commit 61aea4a2c1731f118b58ccd2d45225d64518d2bf
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 31 15:44:32 2020 +0200

    npm: Load the content of the API's response as extrinsic snapshot metadata.

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