Page MenuHomeSoftware Heritage

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

Authored by vlorentz on Jul 31 2020, 3:46 PM.

Unit TestsFailed

TimeTest
654 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 0x7f165b4981d0> 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
7 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.core.tests.test_converters::test_content_for_storage_path
3 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.core.tests.test_converters::test_content_for_storage_too_long
2 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 D3674 (id=12929)

Rebasing onto c510d10d23...

Current branch diff-target is up to date.
Changes applied before test
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/238/ for more details.

douardda added a subscriber: douardda.

as discussed on IRC, I'm not feeling very comfortable with the format stuff (in RawExtrinsicMetadataCore) but meh.

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

Build has FAILED

Patch application report for D3674 (id=12940)

Rebasing onto c510d10d23...

Current branch diff-target is up to date.
Changes applied before test
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/244/
See console output for more information: https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/244/console

fix test (this hunk was erroneously committed to D3679 instead)

Build is green

Patch application report for D3674 (id=12950)

Rebasing onto c510d10d23...

Current branch diff-target is up to date.
Changes applied before test
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/247/ for more details.