Bug #1452

Feature #1290: === Core: framework ===

Refactoring #1291: core functional test machinery: simplify, or at least explain

PySuite tests fail when executed in parallel

Added by wuttke over 3 years ago. Updated over 3 years ago.

Status:ResolvedStart date:06 Jun 2016
Priority:NormalDue date:
Assignee:wuttke% Done:

100%

Category:-Estimated time:16.00 hours
Target version:-

Description

ctest -j4 yields e.g.

The following tests FAILED:
77 - PySuite/FormFactors (Failed)
78 - PySuite/CylindersAndPrisms (Failed)
79 - PySuite/RadialParaCrystal (Failed)
81 - PySuite/HexParaCrystal (Failed)
84 - PySuite/CoreShellParticle (Failed)
88 - PySuite/CenteredSquareLattice (Failed)
89 - PySuite/RotatedSquareLattice (Failed)
95 - PySuite/DetectorResolution (Failed)
98 - PySuite/ApproximationLMA (Failed)
102 - PySuite/TriangularRipple (Failed)
104 - PySuite/BoxCompositionRotateX (Failed)
105 - PySuite/BoxCompositionRotateY (Failed)
107 - PySuite/BoxCompositionRotateZandY (Failed)
111 - PySuite/RectDetectorPerpToSample (Failed)
112 - PySuite/RectDetectorPerpToDirectBeam (Failed)
Errors while running CTest

Less tests fail if the computer is kept busy with other tasks.

History

#1 Updated by wuttke over 3 years ago

  • Assignee set to wuttke

I'm investigating ..

#2 Updated by wuttke over 3 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Estimated time set to 16.00

Solved in [analyfutests 3aee823], soon to be merged into develop.

#3 Updated by wuttke over 3 years ago

For the record: cause of the bug were constant file names (Py script and simulation output) in PyScriptFunctionalTest.

Repair was difficult for me because too many classes with too long names are involved.

Also available in: Atom PDF