Page MenuHomeSoftware Heritage

Work around the segmentation faults caused by pytest-coverage + multiprocessing.
ClosedPublic

Authored by vlorentz on Tue, Jun 30, 10:19 AM.

Details

Summary

We should probably report it to pytest-coverage, but I can't reproduce the bug outside swh-storage

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vlorentz created this revision.Tue, Jun 30, 10:19 AM
vlorentz edited the summary of this revision. (Show Details)Tue, Jun 30, 10:21 AM
vlorentz updated this revision to Diff 11971.Tue, Jun 30, 10:23 AM

fix typos

Build is green

Patch application report for D3372 (id=11970)

Rebasing onto dc1878b9fb...

Current branch diff-target is up to date.
Changes applied before test
commit 653be6556bbb80f9616bc53c7a944daede721aa0
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Tue Jun 30 10:19:38 2020 +0200

    Work around the segmentation faults caused by pytest-coverage + multiprocessing.

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

ardumont accepted this revision.EditedTue, Jun 30, 10:31 AM
ardumont added a subscriber: ardumont.

It seems to make the build faster as well.

last green master build : 6m25s [1]
last green diff build: 5m0s [2]
And that seems steady across builds.

Let's give it a try then ;)

[1] https://jenkins.softwareheritage.org/job/DSTO/job/tests/1319
https://jenkins.softwareheritage.org/job/DSTO/job/tests/

#1319 6m25s
#1320 6m51s

[2] https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/390/
https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/
#390 5m0s
#391 5m20s

This revision is now accepted and ready to land.Tue, Jun 30, 10:31 AM

Build is green

Patch application report for D3372 (id=11971)

Rebasing onto dc1878b9fb...

Current branch diff-target is up to date.
Changes applied before test
commit 1f0e25615e9ded8789921963abdd37b7d6eaaaf1
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Tue Jun 30 10:19:38 2020 +0200

    Work around the segmentation faults caused by pytest-coverage + multiprocessing.

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