Page MenuHomeSoftware Heritage

Drop unsupported "validate" proxy
ClosedPublic

Authored by ardumont on Jul 24 2020, 5:58 PM.

Details

Summary

Fix jenkins build broken since the storage no longer supports the validate proxy [1]

[1] https://jenkins.softwareheritage.org/job/DCIDX/job/tests/1063/console

Related to T2499

Test Plan

tox

Diff Detail

Repository
rDCIDX Metadata indexer
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 13950
Build 21408: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 21407: arc lint + arc unit

Unit TestsFailed

TimeTest
27 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.indexer.tests.test_origin_metadata::test_origin_metadata_indexer
idx_storage = <swh.indexer.storage.in_memory.IndexerStorage object at 0x7fcb015a7b70> storage = <swh.storage.in_memory.InMemoryStorage object at 0x7fcb005701d0> obj_storage = <swh.objstorage.backends.in_memory.InMemoryObjStorage object at 0x7fcb005edeb8>
24 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.indexer.tests.test_origin_metadata::test_origin_metadata_indexer_partial_missing_head
idx_storage = <swh.indexer.storage.in_memory.IndexerStorage object at 0x7fcb005e3c50> storage = <swh.storage.in_memory.InMemoryStorage object at 0x7fcb0061f400> obj_storage = <swh.objstorage.backends.in_memory.InMemoryObjStorage object at 0x7fcb005a8ef0>
6 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.indexer.codemeta::swh.indexer.codemeta.merge_values
2 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.indexer.metadata_dictionary.maven::swh.indexer.metadata_dictionary.maven.MavenMapping.normalize_groupId
3 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.indexer.metadata_dictionary.maven::swh.indexer.metadata_dictionary.maven.MavenMapping.parse_licenses
View Full Test Results (2 Failed · 303 Passed · 15 Skipped)

Event Timeline

Build has FAILED

Patch application report for D3617 (id=12724)

Rebasing onto f0c264d3a6...

Current branch diff-target is up to date.
Changes applied before test
commit ef702dc954ee8fe0c8bed50943b3e722491f96e3
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Jul 24 17:57:05 2020 +0200

    wip: Drop unsupported "validate" proxy
    
    This should fix [1] when finished
    
    [1] https://jenkins.softwareheritage.org/job/DCIDX/job/tests/1063/console

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

Fix last tests

The remaining issue was because I changed to using real data. Doing so, I
changed a "join" which made the tests not happy.

This revision is now accepted and ready to land.Jul 25 2020, 7:54 AM
ardumont retitled this revision from wip: Drop unsupported "validate" proxy to Drop unsupported "validate" proxy.Jul 25 2020, 7:54 AM
ardumont edited the summary of this revision. (Show Details)
ardumont edited the test plan for this revision. (Show Details)

Build is green

Patch application report for D3617 (id=12726)

Rebasing onto f0c264d3a6...

Current branch diff-target is up to date.
Changes applied before test
commit c5352caf01fc13187c9176aa4f43b7e5a5a88a36
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Jul 24 17:57:05 2020 +0200

    Drop unsupported "validate" proxy
    
    This should fix [1] when finished
    
    [1] https://jenkins.softwareheritage.org/job/DCIDX/job/tests/1063/console
    
    Related to T2499

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

This revision was automatically updated to reflect the committed changes.