Page MenuHomeSoftware Heritage

hypothesis_strategies: Add raw_extrinsic_metadata() strategy
ClosedPublic

Authored by vlorentz on Jun 18 2021, 11:19 AM.

Details

Summary

It will be used by swh-web.

Diff Detail

Repository
rDMOD Data model
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 22104
Build 34390: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 34389: arc lint + arc unit

Unit TestsFailed

TimeTest
8 msJenkins > .tox.py3-full.lib.python3.7.site-packages.swh.model.tests.test_hypothesis_strategies::test_dicts_generation
@given(object_dicts(blacklist_types=())) > def test_dicts_generation(obj_type_and_obj):
8 msJenkins > .tox.py3-full.lib.python3.7.site-packages.swh.model.tests.test_hypothesis_strategies::test_dicts_generation_blacklist
@given(object_dicts(blacklist_types=("release", "content"))) > def test_dicts_generation_blacklist(obj_type_and_obj):
7 msJenkins > .tox.py3-full.lib.python3.7.site-packages.swh.model.tests.test_hypothesis_strategies::test_dicts_generation_merged_content
@given(object_dicts(split_content=False)) > def test_dicts_generation_merged_content(obj_type_and_obj):
725 msJenkins > .tox.py3-full.lib.python3.7.site-packages.swh.model.tests.test_hypothesis_strategies::test_generation
@given(objects(blacklist_types=())) > def test_generation(obj_type_and_obj):
7 msJenkins > .tox.py3-full.lib.python3.7.site-packages.swh.model.tests.test_hypothesis_strategies::test_generation_blacklist
@given(objects(blacklist_types=("origin_visit", "directory"))) > def test_generation_blacklist(obj_type_and_obj):
View Full Test Results (10 Failed · 643 Passed · 2 Skipped)

Event Timeline

Build has FAILED

Patch application report for D5893 (id=21116)

Rebasing onto e09446a6f4...

Current branch diff-target is up to date.
Changes applied before test
commit d406ed502c95eec20ea5c52bb48032278955aad7
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jun 18 11:19:01 2021 +0200

    hypothesis_strategies: Add raw_extrinsic_metadata() strategy
    
    It will be used by swh-web.

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

Harbormaster returned this revision to the author for changes because remote builds failed.Jun 18 2021, 11:20 AM
Harbormaster failed remote builds in B22104: Diff 21116!
  • rebase
  • fix ImmutableDict generation

Build is green

Patch application report for D5893 (id=21258)

Rebasing onto e4566a6605...

Current branch diff-target is up to date.
Changes applied before test
commit baff6ba29b747d1daca13dbbe2439026f12df3f6
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jun 18 11:19:01 2021 +0200

    hypothesis_strategies: Add raw_extrinsic_metadata() strategy
    
    It will be used by swh-web.

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

This revision is now accepted and ready to land.Jun 25 2021, 11:27 AM