Page MenuHomeSoftware Heritage

hypothesis_strategies: Avoid generating timestamps which overflow datetime.datetime.fromtimestamp
ClosedPublic

Authored by vlorentz on Aug 4 2022, 2:37 PM.

Details

Summary

Depends on D8186 (to fix an unrelated bug)

Diff Detail

Event Timeline

Build has FAILED

Patch application report for D8184 (id=29543)

Rebasing onto b872718ab4...

Current branch diff-target is up to date.
Changes applied before test
commit 022256f6d63be882bcf61d7d45981fd9c6ca4acc
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu Aug 4 14:36:47 2022 +0200

    hypothesis_strategies: Avoid generating timestamps which overflow datetime.datetime.fromtimestamp

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

Harbormaster returned this revision to the author for changes because remote builds failed.Aug 4 2022, 2:37 PM
Harbormaster failed remote builds in B30610: Diff 29543!
vlorentz edited the test plan for this revision. (Show Details)
vlorentz edited the test plan for this revision. (Show Details)

Build is green

Patch application report for D8184 (id=29546)

Could not rebase; Attempt merge onto b872718ab4...

Updating b872718..79ed550
Fast-forward
 swh/model/hypothesis_strategies.py | 12 ++++++++++++
 swh/model/model.py                 |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)
Changes applied before test
commit 79ed55054633fd4484d7bc6b26e64432ad3492cf
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu Aug 4 14:36:47 2022 +0200

    hypothesis_strategies: Avoid generating timestamps which overflow datetime.datetime.fromtimestamp

commit c37bf9a1bb41d9940538ba471d5c6d39f37ff0cf
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu Aug 4 14:52:43 2022 +0200

    Fix mypy error on attr >= 22.1.0

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

This revision is now accepted and ready to land.Aug 4 2022, 4:05 PM