updates #98
Test report (Python 3.10) ❌
❌ test-results-3.10.xml
419 tests were completed in 1671s with 387 passed, 12 failed and 20 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 387✅ | 12❌ | 20⚪ | 1671s |
❌ pytest
tests.test_base
✅ testGMG
✅ testParallelGMG[1-interval-P1-False]
✅ testParallelGMG[1-interval-P1-True]
✅ testParallelGMG[4-interval-P1-True]
✅ testParallelGMG[4-interval-P2-True]
✅ testParallelGMG[4-square-P2-True]
✅ testParallelGMG[4-square-P2-False]
✅ testParallelGMG[1-square-P2-True]
✅ testParallelGMG[1-square-P2-False]
✅ testParallelGMG[4-square-P1-True]
✅ testParallelGMG[4-square-P3-True]
✅ testParallelGMG[4-square-P3-False]
✅ testParallelGMG[1-square-P3-True]
✅ testParallelGMG[1-square-P3-False]
✅ testParallelGMG[4-interval-P3-True]
✅ testParallelGMG[4-cube-P3-True]
✅ testParallelGMG[4-cube-P3-False]
✅ testParallelGMG[1-cube-P3-True]
✅ testParallelGMG[1-cube-P3-False]
✅ testParallelGMG[4-cube-P2-True]
✅ testParallelGMG[4-cube-P2-False]
✅ testParallelGMG[1-cube-P2-True]
✅ testParallelGMG[1-cube-P2-False]
✅ testParallelGMG[4-cube-P1-True]
✅ testParallelGMG[4-cube-P1-False]
✅ testHelmholtz[4-cube]
✅ testParallelGMG[1-cube-P1-True]
✅ testParallelGMG[1-cube-P1-False]
✅ testHelmholtz[1-cube]
✅ testParallelGMG[4-interval-P3-False]
✅ testParallelGMG[1-interval-P3-True]
✅ testParallelGMG[1-interval-P3-False]
✅ testParallelGMG[4-square-P1-False]
✅ testHelmholtz[4-square]
✅ testParallelGMG[1-square-P1-True]
✅ testParallelGMG[1-square-P1-False]
✅ testHelmholtz[1-square]
✅ testParallelGMG[4-interval-P2-False]
✅ testParallelGMG[1-interval-P2-True]
✅ testParallelGMG[1-interval-P2-False]
✅ testParallelGMG[4-interval-P1-False]
✅ testHelmholtz[4-interval]
✅ testHelmholtz[1-interval]
✅ testInterface[domainNoRef0]
✅ testInterface[domainNoRef1]
✅ test_tupleDict
✅ test_arrayIndexSet
✅ test_bitArray
✅ test_integrals_drift[square]
✅ test_integrals_grad[square]
tests.test_drivers_intFracLapl
✅ testNonlocal[interval-fractional-poly-Dirichlet-lu-dense]
✅ testNonlocal[interval-fractional-poly-Neumann-lu-dense]
✅ testNonlocal[interval-constant-poly-Dirichlet-lu-dense]
✅ testNonlocal[interval-constant-poly-Neumann-lu-dense]
✅ testNonlocal[interval-inverseDistance-poly-Dirichlet-lu-dense]
✅ testNonlocal[interval-inverseDistance-poly-Neumann-lu-dense]
✅ testNonlocal[square-fractional-poly-Dirichlet-cg-mg-dense]
⚪ testNonlocal[square-fractional-poly-Neumann-cg-mg-dense]
✅ testNonlocal[square-constant-poly-Dirichlet-cg-mg-dense]
⚪ testNonlocal[square-constant-poly-Neumann-cg-mg-dense]
✅ testNonlocal[square-inverseDistance-poly-Dirichlet-cg-mg-dense]
⚪ testNonlocal[square-inverseDistance-poly-Neumann-cg-mg-dense]
✅ testNonlocal[interval-fractional-poly-Dirichlet-lu-H2]
✅ testNonlocal[interval-fractional-poly-Neumann-lu-H2]
✅ testNonlocal[interval-constant-poly-Dirichlet-lu-H2]
✅ testNonlocal[interval-constant-poly-Neumann-lu-H2]
✅ testNonlocal[interval-inverseDistance-poly-Dirichlet-lu-H2]
✅ testNonlocal[interval-inverseDistance-poly-Neumann-lu-H2]
✅ testNonlocal[square-fractional-poly-Dirichlet-cg-mg-H2]
⚪ testNonlocal[square-fractional-poly-Neumann-cg-mg-H2]
✅ testNonlocal[square-constant-poly-Dirichlet-cg-mg-H2]
⚪ testNonlocal[square-constant-poly-Neumann-cg-mg-H2]
✅ testNonlocal[square-inverseDistance-poly-Dirichlet-cg-mg-H2]
⚪ testNonlocal[square-inverseDistance-poly-Neumann-cg-mg-H2]
✅ testFractional[interval-const0.25-constant-P0-cg-mg-dense]
✅ testFractionalHeat[interval-const0.25-constant-P0-cg-mg-dense]
✅ testFractional[interval-const0.25-constant-P0-cg-mg-H2]
✅ testFractionalHeat[interval-const0.25-constant-P0-cg-mg-H2]
✅ testFractional[interval-const0.25-constant-P1-cg-mg-dense]
✅ testFractionalHeat[interval-const0.25-constant-P1-cg-mg-dense]
✅ testFractional[interval-const0.25-constant-P1-cg-mg-H2]
✅ testFractionalHeat[interval-const0.25-constant-P1-cg-mg-H2]
✅ testFractional[interval-const0.25-zeroFlux-P1-lu-H2]
✅ testFractionalHeat[interval-const0.25-zeroFlux-P1-lu-H2]
✅ testFractional[interval-const0.25-knownSolution-P1-cg-jacobi-H2]
✅ testFractionalHeat[interval-const0.25-knownSolution-P1-cg-jacobi-H2]
✅ testFractional[interval-const0.75-constant-P1-lu-dense]
✅ testFractionalHeat[interval-const0.75-constant-P1-lu-dense]
✅ testFractional[interval-const0.75-constant-P1-lu-H2]
✅ testFractionalHeat[interval-const0.75-constant-P1-lu-H2]
✅ testFractional[interval-const0.75-zeroFlux-P1-cg-jacobi-H2]
✅ testFractionalHeat[interval-const0.75-zeroFlux-P1-cg-jacobi-H2]
✅ testFractional[interval-const0.75-knownSolution-P1-cg-mg-H2]
✅ testFractionalHeat[interval-const0.75-knownSolution-P1-cg-mg-H2]
✅ testFractional[interval-varconst0.75-constant-P1-cg-jacobi-dense]
✅ testFractionalHeat[interval-varconst0.75-constant-P1-cg-jacobi-dense]
✅ testFractional[interval-varconst0.75-constant-P1-cg-jacobi-H2]
✅ testFractionalHeat[interval-varconst0.75-constant-P1-cg-jacobi-H2]
✅ testFractional[interval-varconst0.75-zeroFlux-P1-cg-mg-H2]
✅ testFractionalHeat[interval-varconst0.75-zeroFlux-P1-cg-mg-H2]
✅ testFractional[interval-varconst0.75-knownSolution-P1-lu-H2]
✅ testFractionalHeat[interval-varconst0.75-knownSolution-P1-lu-H2]
✅ testFractional[interval-const0.25-constant-P2-cg-mg-dense]
✅ testFractionalHeat[interval-const0.25-constant-P2-cg-mg-dense]
✅ testFractional[interval-const0.25-constant-P2-cg-mg-H2]
✅ testFractionalHeat[interval-const0.25-constant-P2-cg-mg-H2]
✅ testFractional[interval-const0.75-constant-P2-cg-mg-dense]
✅ testFractionalHeat[interval-const0.75-constant-P2-cg-mg-dense]
✅ testFractional[interval-const0.75-constant-P2-cg-mg-H2]
✅ testFractionalHeat[interval-const0.75-constant-P2-cg-mg-H2]
✅ testFractional[interval-const0.25-constant-P3-cg-mg-dense]
✅ testFractionalHeat[interval-const0.25-constant-P3-cg-mg-dense]
✅ testFractional[interval-const0.25-constant-P3-cg-mg-H2]
✅ testFractionalHeat[interval-const0.25-constant-P3-cg-mg-H2]
✅ testFractional[interval-const0.75-constant-P3-cg-mg-dense]
✅ testFractionalHeat[interval-const0.75-constant-P3-cg-mg-dense]
✅ testFractional[interval-const0.75-constant-P3-cg-mg-H2]
✅ testFractionalHeat[interval-const0.75-constant-P3-cg-mg-H2]
✅ testFractional[disc-const0.25-constant-P0-cg-mg-dense]
✅ testFractionalHeat[disc-const0.25-constant-P0-cg-mg-dense]
✅ testFractional[disc-const0.25-constant-P0-cg-mg-H2]
✅ testFractionalHeat[disc-const0.25-constant-P0-cg-mg-H2]
✅ testFractional[disc-const0.25-constant-P1-cg-mg-dense]
✅ testFractionalHeat[disc-const0.25-constant-P1-cg-mg-dense]
✅ testFractional[disc-const0.25-constant-P1-cg-mg-H2]
✅ testFractionalHeat[disc-const0.25-constant-P1-cg-mg-H2]
✅ testFractional[disc-const0.75-constant-P1-cg-mg-dense]
✅ testFractionalHeat[disc-const0.75-constant-P1-cg-mg-dense]
✅ testFractional[disc-const0.75-constant-P1-cg-mg-H2]
✅ testFractionalHeat[disc-const0.75-constant-P1-cg-mg-H2]
✅ testVariableOrder
✅ testMatvecs[interval-const0.25]
✅ testMatvecs[interval-const0.75]
✅ testMatvecs[interval-varconst0.25]
✅ testMatvecs[interval-varconst0.75]
✅ testMatvecs[square-const0.25]
✅ testMatvecs[square-const0.75]
✅ testMatvecs[square-varconst0.25]
✅ testMatvecs[square-varconst0.75]
❌ testNonlocalInterface[doubleInterval-fractional-fractional-0.2-0.4-0.2-0.2-exact-sin-variableSolJump-fluxJump]
runNonlocalInterface_params = ('doubleInterval', 'fractional', 'fractional', '0.2', '0.4', '0.2', ...)
❌ testNonlocalInterface[doubleInterval-fractional-fractional-0.2-0.4-0.2-0.4-exact-sin-variableSolJump-fluxJump]
runNonlocalInterface_params = ('doubleInterval', 'fractional', 'fractional', '0.2', '0.4', '0.2', ...)
❌ testNonlocalInterface[doubleInterval-indicator-indicator-0.2-0.4-0.2-0.2-exact-sin-variableSolJump-fluxJump]
runNonlocalInterface_params = ('doubleInterval', 'indicator', 'indicator', '0.2', '0.4', '0.2', ...)
❌ testNonlocalInterface[doubleInterval-indicator-indicator-0.2-0.4-0.2-0.4-exact-sin-variableSolJump-fluxJump]
runNonlocalInterface_params = ('doubleInterval', 'indicator', 'indicator', '0.2', '0.4', '0.2', ...)
❌ testNonlocalInterface[doubleInterval-indicator-fractional-0.2-0.4-0.2-0.2-exact-sin-variableSolJump-fluxJump]
runNonlocalInterface_params = ('doubleInterval', 'indicator', 'fractional', '0.2', '0.4', '0.2', ...)
❌ testNonlocalInterface[doubleInterval-indicator-fractional-0.2-0.4-0.2-0.4-exact-sin-variableSolJump-fluxJump]
runNonlocalInterface_params = ('doubleInterval', 'indicator', 'fractional', '0.2', '0.4', '0.2', ...)
❌ testNonlocalInterface[doubleSquare-fractional-fractional-0.2-0.4-0.2-0.2-sin-variableSolJump-fluxJump]
runNonlocalInterface_params = ('doubleSquare', 'fractional', 'fractional', '0.2', '0.4', '0.2', ...)
❌ testNonlocalInterface[doubleSquare-fractional-fractional-0.2-0.4-0.2-0.4-sin-variableSolJump-fluxJump]
runNonlocalInterface_params = ('doubleSquare', 'fractional', 'fractional', '0.2', '0.4', '0.2', ...)
❌ testNonlocalInterface[doubleSquare-indicator-indicator-0.2-0.4-0.2-0.2-sin-variableSolJump-fluxJump]
runNonlocalInterface_params = ('doubleSquare', 'indicator', 'indicator', '0.2', '0.4', '0.2', ...)
❌ testNonlocalInterface[doubleSquare-indicator-indicator-0.2-0.4-0.2-0.4-sin-variableSolJump-fluxJump]
runNonlocalInterface_params = ('doubleSquare', 'indicator', 'indicator', '0.2', '0.4', '0.2', ...)
❌ testNonlocalInterface[doubleSquare-indicator-fractional-0.2-0.4-0.2-0.2-sin-variableSolJump-fluxJump]
runNonlocalInterface_params = ('doubleSquare', 'indicator', 'fractional', '0.2', '0.4', '0.2', ...)
❌ testNonlocalInterface[doubleSquare-indicator-fractional-0.2-0.4-0.2-0.4-sin-variableSolJump-fluxJump]
runNonlocalInterface_params = ('doubleSquare', 'indicator', 'fractional', '0.2', '0.4', '0.2', ...)
tests.test_fracLapl
✅ testFracLapl[1-P1-0.3]
✅ testFracLapl[1-P1-0.7]
✅ testFracLapl[2-P1-0.3]
✅ testFracLapl[2-P1-0.7]
✅ testScaling[1-0.25-inf]
✅ testScaling[1-0.25-1]
✅ testScaling[1-0.75-inf]
✅ testScaling[1-0.75-1]
✅ testScaling[2-0.25-inf]
✅ testScaling[2-0.25-1]
✅ testScaling[2-0.75-inf]
✅ testScaling[2-0.75-1]
✅ testH2[1-0.3-0.0001-P1]
✅ testH2[1-0.7-0.01-P1]
✅ testH2[2-0.3-0.00012-P1]
✅ testH2[2-0.7-0.01-P1]
tests.test_h2finiteHorizon
✅ test_h2_finite[1-0.25-1.0-0.5-True]
✅ test_h2_finite[1-0.75-1.0-0.5-True]
✅ test_h2_finite[1-0.25-1.0-0.5-False]
✅ test_h2_finite[1-0.75-1.0-0.5-False]
✅ test_h2_finite[1-0.25-1.0-2.5-False]
✅ test_h2_finite[1-0.75-1.0-2.5-False]
tests.test_kernels
✅ testIntegrableKernel[dim1-kernelTypeconstanthorizon0.5-normalizedTrue]
✅ testIntegrableKernel[dim1-kernelTypeconstanthorizon0.5-normalizedFalse]
✅ testIntegrableKernel[dim1-kernelTypeinverseDistancehorizon0.5-normalizedTrue]
✅ testIntegrableKernel[dim1-kernelTypeinverseDistancehorizon0.5-normalizedFalse]
✅ testIntegrableKernel[dim1-kernelTypeGaussianhorizon0.5-normalizedTrue]
✅ testIntegrableKernel[dim1-kernelTypeGaussianhorizon0.5-normalizedFalse]
✅ testIntegrableKernel[dim2-kernelTypeconstanthorizon0.5-normalizedTrue]
✅ testIntegrableKernel[dim2-kernelTypeconstanthorizon0.5-normalizedFalse]
✅ testIntegrableKernel[dim2-kernelTypeinverseDistancehorizon0.5-normalizedTrue]
✅ testIntegrableKernel[dim2-kernelTypeinverseDistancehorizon0.5-normalizedFalse]
✅ testIntegrableKernel[dim2-kernelTypeGaussianhorizon0.5-normalizedTrue]
✅ testIntegrableKernel[dim2-kernelTypeGaussianhorizon0.5-normalizedFalse]
✅ testFractionalKernel[dim1-s0.25-horizoninf-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim1-s0.25-horizoninf-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim1-s0.25-horizon0.5-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim1-s0.25-horizon0.5-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim1-s0.75-horizoninf-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim1-s0.75-horizoninf-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim1-s0.75-horizon0.5-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim1-s0.75-horizon0.5-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.25,sym=1)-horizoninf-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.25,sym=1)-horizoninf-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.25,sym=1)-horizon0.5-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.25,sym=1)-horizon0.5-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.75,sym=1)-horizoninf-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.75,sym=1)-horizoninf-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.75,sym=1)-horizon0.5-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.75,sym=1)-horizon0.5-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.25)-horizoninf-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.25)-horizoninf-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.25)-horizon0.5-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.25)-horizon0.5-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.75)-horizoninf-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.75)-horizoninf-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.75)-horizon0.5-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.75)-horizon0.5-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizoninf-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizoninf-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizon0.5-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizon0.5-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizoninf-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizoninf-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizon0.5-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizon0.5-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizoninf-normalizedTrue-phiNone-derivative00]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizoninf-normalizedFalse-phiNone-derivative00]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizon0.5-normalizedTrue-phiNone-derivative00]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizon0.5-normalizedFalse-phiNone-derivative00]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizoninf-normalizedTrue-phiNone-derivative01]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizoninf-normalizedFalse-phiNone-derivative01]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizon0.5-normalizedTrue-phiNone-derivative01]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizon0.5-normalizedFalse-phiNone-derivative01]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizoninf-normalizedTrue-phiNone-derivative02]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizoninf-normalizedFalse-phiNone-derivative02]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizon0.5-normalizedTrue-phiNone-derivative02]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizon0.5-normalizedFalse-phiNone-derivative02]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizoninf-normalizedTrue-phiNone-derivative03]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizoninf-normalizedFalse-phiNone-derivative03]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizon0.5-normalizedTrue-phiNone-derivative03]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizon0.5-normalizedFalse-phiNone-derivative03]
✅ testFractionalKernel[dim1-s0.25-horizoninf-normalizedTrue-phi2.0-derivative0]
✅ testFractionalKernel[dim1-s0.25-horizoninf-normalizedFalse-phi2.0-derivative0]
✅ testFractionalKernel[dim1-s0.25-horizon0.5-normalizedTrue-phi2.0-derivative0]
✅ testFractionalKernel[dim1-s0.25-horizon0.5-normalizedFalse-phi2.0-derivative0]
✅ testFractionalKernel[dim1-s0.75-horizoninf-normalizedTrue-phi2.0-derivative0]
✅ testFractionalKernel[dim1-s0.75-horizoninf-normalizedFalse-phi2.0-derivative0]
✅ testFractionalKernel[dim1-s0.75-horizon0.5-normalizedTrue-phi2.0-derivative0]
✅ testFractionalKernel[dim1-s0.75-horizon0.5-normalizedFalse-phi2.0-derivative0]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.25,sym=1)-horizoninf-normalizedTrue-phi2.0-derivative0]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.25,sym=1)-horizoninf-normalizedFalse-phi2.0-derivative0]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.25,sym=1)-horizon0.5-normalizedTrue-phi2.0-derivative0]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.25,sym=1)-horizon0.5-normalizedFalse-phi2.0-derivative0]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.75,sym=1)-horizoninf-normalizedTrue-phi2.0-derivative0]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.75,sym=1)-horizoninf-normalizedFalse-phi2.0-derivative0]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.75,sym=1)-horizon0.5-normalizedTrue-phi2.0-derivative0]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.75,sym=1)-horizon0.5-normalizedFalse-phi2.0-derivative0]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.25)-horizoninf-normalizedTrue-phi2.0-derivative0]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.25)-horizoninf-normalizedFalse-phi2.0-derivative0]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.25)-horizon0.5-normalizedTrue-phi2.0-derivative0]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.25)-horizon0.5-normalizedFalse-phi2.0-derivative0]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.75)-horizoninf-normalizedTrue-phi2.0-derivative0]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.75)-horizoninf-normalizedFalse-phi2.0-derivative0]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.75)-horizon0.5-normalizedTrue-phi2.0-derivative0]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.75)-horizon0.5-normalizedFalse-phi2.0-derivative0]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizoninf-normalizedTrue-phi2.0-derivative0]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizoninf-normalizedFalse-phi2.0-derivative0]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizon0.5-normalizedTrue-phi2.0-derivative0]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizon0.5-normalizedFalse-phi2.0-derivative0]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizoninf-normalizedTrue-phi2.0-derivative0]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizoninf-normalizedFalse-phi2.0-derivative0]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizon0.5-normalizedTrue-phi2.0-derivative0]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizon0.5-normalizedFalse-phi2.0-derivative0]
✅ testFractionalKernel[dim1-s0.25-horizoninf-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim1-s0.25-horizoninf-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim1-s0.25-horizon0.5-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim1-s0.25-horizon0.5-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim1-s0.75-horizoninf-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim1-s0.75-horizoninf-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim1-s0.75-horizon0.5-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim1-s0.75-horizon0.5-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.25,sym=1)-horizoninf-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.25,sym=1)-horizoninf-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.25,sym=1)-horizon0.5-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.25,sym=1)-horizon0.5-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.75,sym=1)-horizoninf-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.75,sym=1)-horizoninf-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.75,sym=1)-horizon0.5-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim1-svariableConstFractionalOrder(s=0.75,sym=1)-horizon0.5-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.25)-horizoninf-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.25)-horizoninf-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.25)-horizon0.5-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.25)-horizon0.5-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.75)-horizoninf-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.75)-horizoninf-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.75)-horizon0.5-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim1-sconstantNonSymFractionalOrder(0.75)-horizon0.5-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizoninf-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizoninf-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizon0.5-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizon0.5-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizoninf-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizoninf-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizon0.5-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim1-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizon0.5-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizoninf-normalizedTrue-phiNone-derivative10]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizoninf-normalizedFalse-phiNone-derivative10]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizon0.5-normalizedTrue-phiNone-derivative10]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizon0.5-normalizedFalse-phiNone-derivative10]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizoninf-normalizedTrue-phiNone-derivative11]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizoninf-normalizedFalse-phiNone-derivative11]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizon0.5-normalizedTrue-phiNone-derivative11]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizon0.5-normalizedFalse-phiNone-derivative11]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizoninf-normalizedTrue-phiNone-derivative12]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizoninf-normalizedFalse-phiNone-derivative12]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizon0.5-normalizedTrue-phiNone-derivative12]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizon0.5-normalizedFalse-phiNone-derivative12]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizoninf-normalizedTrue-phiNone-derivative13]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizoninf-normalizedFalse-phiNone-derivative13]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizon0.5-normalizedTrue-phiNone-derivative13]
✅ testFractionalKernel[dim1-sfeFractionalOrder(lookupExtended)-horizon0.5-normalizedFalse-phiNone-derivative13]
✅ testFractionalKernel[dim2-s0.25-horizoninf-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim2-s0.25-horizoninf-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim2-s0.25-horizon0.5-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim2-s0.25-horizon0.5-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim2-s0.75-horizoninf-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim2-s0.75-horizoninf-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim2-s0.75-horizon0.5-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim2-s0.75-horizon0.5-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim2-svariableConstFractionalOrder(s=0.25,sym=1)-horizoninf-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim2-svariableConstFractionalOrder(s=0.25,sym=1)-horizoninf-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim2-svariableConstFractionalOrder(s=0.25,sym=1)-horizon0.5-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim2-svariableConstFractionalOrder(s=0.25,sym=1)-horizon0.5-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim2-svariableConstFractionalOrder(s=0.75,sym=1)-horizoninf-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim2-svariableConstFractionalOrder(s=0.75,sym=1)-horizoninf-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim2-svariableConstFractionalOrder(s=0.75,sym=1)-horizon0.5-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim2-svariableConstFractionalOrder(s=0.75,sym=1)-horizon0.5-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim2-sconstantNonSymFractionalOrder(0.25)-horizoninf-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim2-sconstantNonSymFractionalOrder(0.25)-horizoninf-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim2-sconstantNonSymFractionalOrder(0.25)-horizon0.5-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim2-sconstantNonSymFractionalOrder(0.25)-horizon0.5-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim2-sconstantNonSymFractionalOrder(0.75)-horizoninf-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim2-sconstantNonSymFractionalOrder(0.75)-horizoninf-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim2-sconstantNonSymFractionalOrder(0.75)-horizon0.5-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim2-sconstantNonSymFractionalOrder(0.75)-horizon0.5-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim2-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizoninf-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim2-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizoninf-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim2-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizon0.5-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim2-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizon0.5-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim2-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizoninf-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim2-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizoninf-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim2-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizon0.5-normalizedTrue-phiNone-derivative0]
✅ testFractionalKernel[dim2-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizon0.5-normalizedFalse-phiNone-derivative0]
✅ testFractionalKernel[dim2-s0.25-horizoninf-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim2-s0.25-horizoninf-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim2-s0.25-horizon0.5-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim2-s0.25-horizon0.5-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim2-s0.75-horizoninf-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim2-s0.75-horizoninf-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim2-s0.75-horizon0.5-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim2-s0.75-horizon0.5-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim2-svariableConstFractionalOrder(s=0.25,sym=1)-horizoninf-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim2-svariableConstFractionalOrder(s=0.25,sym=1)-horizoninf-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim2-svariableConstFractionalOrder(s=0.25,sym=1)-horizon0.5-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim2-svariableConstFractionalOrder(s=0.25,sym=1)-horizon0.5-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim2-svariableConstFractionalOrder(s=0.75,sym=1)-horizoninf-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim2-svariableConstFractionalOrder(s=0.75,sym=1)-horizoninf-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim2-svariableConstFractionalOrder(s=0.75,sym=1)-horizon0.5-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim2-svariableConstFractionalOrder(s=0.75,sym=1)-horizon0.5-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim2-sconstantNonSymFractionalOrder(0.25)-horizoninf-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim2-sconstantNonSymFractionalOrder(0.25)-horizoninf-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim2-sconstantNonSymFractionalOrder(0.25)-horizon0.5-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim2-sconstantNonSymFractionalOrder(0.25)-horizon0.5-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim2-sconstantNonSymFractionalOrder(0.75)-horizoninf-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim2-sconstantNonSymFractionalOrder(0.75)-horizoninf-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim2-sconstantNonSymFractionalOrder(0.75)-horizon0.5-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim2-sconstantNonSymFractionalOrder(0.75)-horizon0.5-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim2-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizoninf-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim2-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizoninf-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim2-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizon0.5-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim2-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.75,sr=0.25,r=0.1,interface=0.0))-horizon0.5-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim2-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizoninf-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim2-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizoninf-normalizedFalse-phiNone-derivative1]
✅ testFractionalKernel[dim2-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizon0.5-normalizedTrue-phiNone-derivative1]
✅ testFractionalKernel[dim2-ssmoothedLeftRightFractionalOrder(smoothStep(sl=0.25,sr=0.75,r=0.1,interface=0.0))-horizon0.5-normalizedFalse-phiNone-derivative1]
✅ test_discrete_s_const
✅ test_discrete_leftRight
tests.test_nearField.const1D_025
✅ testConstCluster
✅ testConstH2
✅ testVarDense
✅ testVarCluster
tests.test_nearField.const1D_075
✅ testConstCluster
✅ testConstH2
✅ testVarDense
✅ testVarCluster
tests.test_nearField.const1D_025_finiteHorizon
✅ testConstCluster
✅ testConstH2
✅ testVarDense
✅ testVarCluster
tests.test_nearField.const1D_075_finiteHorizon
✅ testConstCluster
✅ testConstH2
✅ testVarDense
✅ testVarCluster
tests.test_nearField.leftRight1D
⚪ testConstCluster
⚪ testConstH2
⚪ testVarDense
✅ testVarCluster
tests.test_nearField.leftRight1DfiniteHorizon
⚪ testConstCluster
⚪ testConstH2
⚪ testVarDense
✅ testVarCluster
tests.test_nearField.const2D_025
✅ testConstCluster
⚪ testConstH2
✅ testVarDense
✅ testVarCluster
tests.test_nearField.const2D_075
✅ testConstCluster
⚪ testConstH2
✅ testVarDense
✅ testVarCluster
tests.test_nearField.leftRight2DinfiniteHorizon
⚪ testConstCluster
⚪ testConstH2
⚪ testVarDense
✅ testVarCluster
tests.test_nearField.layers2D
⚪ testConstCluster
⚪ testConstH2
⚪ testVarDense
✅ testVarCluster
Annotations
Check failure on line 0 in test-results-3.10.xml
github-actions / Test report (Python 3.10)
pytest ► tests.test_drivers_intFracLapl ► testNonlocalInterface[doubleInterval-fractional-fractional-0.2-0.4-0.2-0.2-exact-sin-variableSolJump-fluxJump]
Failed test found in:
test-results-3.10.xml
Error:
runNonlocalInterface_params = ('doubleInterval', 'fractional', 'fractional', '0.2', '0.4', '0.2', ...)
Raw output
runNonlocalInterface_params = ('doubleInterval', 'fractional', 'fractional', '0.2', '0.4', '0.2', ...)
extra = []
@pytest.mark.slow
def testNonlocalInterface(runNonlocalInterface_params, extra):
domain, kernel1, kernel2, s11, s22, horizon1, horizon2, problem = runNonlocalInterface_params
s12 = s11
s21 = s22
base = getPath()+'/../'
py = ['runNonlocalInterface.py',
'--domain', domain,
'--kernel1', kernel1,
'--kernel2', kernel2,
'--s11', s11,
'--s12', s12,
'--s21', s21,
'--s22', s22,
'--horizon1', horizon1,
'--horizon2', horizon2,
'--problem', problem]
path = base+'drivers'
cacheDir = getPath()+'/'
> runDriver(path, py, cacheDir=cacheDir, extra=extra)
tests/test_drivers_intFracLapl.py:228:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = '/home/runner/work/PyNucleus/PyNucleus/tests/../drivers'
py = ['runNonlocalInterface.py', '--domain', 'doubleInterval', '--kernel1', 'fractional', '--kernel2', ...]
python = '/opt/hostedtoolcache/Python/3.10.13/x64/bin/python3', timeout = 600
ranks = 1, cacheDir = '/home/runner/work/PyNucleus/PyNucleus/tests/'
overwriteCache = False, aTol = 1e-12, relTol = 0.01, extra = None
def runDriver(path, py, python=None, timeout=600, ranks=None, cacheDir='',
overwriteCache=False,
aTol=1e-12, relTol=1e-2, extra=None):
from subprocess import Popen, PIPE, TimeoutExpired
import logging
import os
from pathlib import Path
logger = logging.getLogger('__main__')
if not isinstance(py, (list, tuple)):
py = [py]
autotesterOutput = Path('/home/caglusa/autotester/html')
if autotesterOutput.exists():
plotDir = autotesterOutput/('test-plots/'+''.join(py)+'/')
else:
extra = None
if cacheDir != '':
cache = cacheDir+'/cache_' + ''.join(py)
runOutput = cacheDir+'/run_' + ''.join(py)
if ranks is not None:
cache += str(ranks)
runOutput += str(ranks)
py += ['--test', '--testCache={}'.format(cache)]
if overwriteCache:
py += ['--overwriteCache']
else:
py += ['--test']
if extra is not None:
plotDir.mkdir(exist_ok=True, parents=True)
py += ['--plotFolder={}'.format(plotDir), '--plotFormat=png']
else:
py += ['--skipPlots']
assert (Path(path)/py[0]).exists(), 'Driver \"{}\" does not exist'.format(Path(path)/py[0])
if ranks is None:
ranks = 1
if python is None:
import sys
python = sys.executable
cmd = [python] + py
if 'MPIEXEC_FLAGS' in os.environ:
mpi_flags = str(os.environ['MPIEXEC_FLAGS'])
else:
mpi_flags = '--bind-to none'
cmd = ['mpiexec'] + mpi_flags.split(' ') + ['-n', str(ranks)]+cmd
logger.info('Launching "{}" from "{}"'.format(' '.join(cmd), path))
my_env = {}
for key in os.environ:
if key.find('OMPI') == -1:
my_env[key] = os.environ[key]
proc = Popen(cmd, cwd=path,
stdout=PIPE, stderr=PIPE,
universal_newlines=True,
env=my_env)
try:
stdout, stderr = proc.communicate(timeout=timeout)
except TimeoutExpired:
proc.kill()
raise
if len(stdout) > 0:
logger.info(stdout)
if len(stderr) > 0:
logger.error(stderr)
> assert proc.returncode == 0, stderr+'\n\n'+stdout
E AssertionError: Traceback (most recent call last):
E File "/home/runner/work/PyNucleus/PyNucleus/drivers/runNonlocalInterface.py", line 20, in <module>
E from PyNucleus.nl.nonlocalProblems import nonlocalInterfaceProblem
E ImportError: cannot import name 'nonlocalInterfaceProblem' from 'PyNucleus.nl.nonlocalProblems' (/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_nl/nonlocalProblems.py)
E --------------------------------------------------------------------------
E Primary job terminated normally, but 1 process returned
E a non-zero exit code. Per user-direction, the job has been aborted.
E --------------------------------------------------------------------------
E --------------------------------------------------------------------------
E mpiexec detected that one or more processes exited with non-zero status, thus causing
E the job to be terminated. The first process to do so was:
E
E Process name: [[7790,1],0]
E Exit code: 1
E --------------------------------------------------------------------------
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_base/utilsFem.py:1412: AssertionError
Check failure on line 0 in test-results-3.10.xml
github-actions / Test report (Python 3.10)
pytest ► tests.test_drivers_intFracLapl ► testNonlocalInterface[doubleInterval-fractional-fractional-0.2-0.4-0.2-0.4-exact-sin-variableSolJump-fluxJump]
Failed test found in:
test-results-3.10.xml
Error:
runNonlocalInterface_params = ('doubleInterval', 'fractional', 'fractional', '0.2', '0.4', '0.2', ...)
Raw output
runNonlocalInterface_params = ('doubleInterval', 'fractional', 'fractional', '0.2', '0.4', '0.2', ...)
extra = []
@pytest.mark.slow
def testNonlocalInterface(runNonlocalInterface_params, extra):
domain, kernel1, kernel2, s11, s22, horizon1, horizon2, problem = runNonlocalInterface_params
s12 = s11
s21 = s22
base = getPath()+'/../'
py = ['runNonlocalInterface.py',
'--domain', domain,
'--kernel1', kernel1,
'--kernel2', kernel2,
'--s11', s11,
'--s12', s12,
'--s21', s21,
'--s22', s22,
'--horizon1', horizon1,
'--horizon2', horizon2,
'--problem', problem]
path = base+'drivers'
cacheDir = getPath()+'/'
> runDriver(path, py, cacheDir=cacheDir, extra=extra)
tests/test_drivers_intFracLapl.py:228:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = '/home/runner/work/PyNucleus/PyNucleus/tests/../drivers'
py = ['runNonlocalInterface.py', '--domain', 'doubleInterval', '--kernel1', 'fractional', '--kernel2', ...]
python = '/opt/hostedtoolcache/Python/3.10.13/x64/bin/python3', timeout = 600
ranks = 1, cacheDir = '/home/runner/work/PyNucleus/PyNucleus/tests/'
overwriteCache = False, aTol = 1e-12, relTol = 0.01, extra = None
def runDriver(path, py, python=None, timeout=600, ranks=None, cacheDir='',
overwriteCache=False,
aTol=1e-12, relTol=1e-2, extra=None):
from subprocess import Popen, PIPE, TimeoutExpired
import logging
import os
from pathlib import Path
logger = logging.getLogger('__main__')
if not isinstance(py, (list, tuple)):
py = [py]
autotesterOutput = Path('/home/caglusa/autotester/html')
if autotesterOutput.exists():
plotDir = autotesterOutput/('test-plots/'+''.join(py)+'/')
else:
extra = None
if cacheDir != '':
cache = cacheDir+'/cache_' + ''.join(py)
runOutput = cacheDir+'/run_' + ''.join(py)
if ranks is not None:
cache += str(ranks)
runOutput += str(ranks)
py += ['--test', '--testCache={}'.format(cache)]
if overwriteCache:
py += ['--overwriteCache']
else:
py += ['--test']
if extra is not None:
plotDir.mkdir(exist_ok=True, parents=True)
py += ['--plotFolder={}'.format(plotDir), '--plotFormat=png']
else:
py += ['--skipPlots']
assert (Path(path)/py[0]).exists(), 'Driver \"{}\" does not exist'.format(Path(path)/py[0])
if ranks is None:
ranks = 1
if python is None:
import sys
python = sys.executable
cmd = [python] + py
if 'MPIEXEC_FLAGS' in os.environ:
mpi_flags = str(os.environ['MPIEXEC_FLAGS'])
else:
mpi_flags = '--bind-to none'
cmd = ['mpiexec'] + mpi_flags.split(' ') + ['-n', str(ranks)]+cmd
logger.info('Launching "{}" from "{}"'.format(' '.join(cmd), path))
my_env = {}
for key in os.environ:
if key.find('OMPI') == -1:
my_env[key] = os.environ[key]
proc = Popen(cmd, cwd=path,
stdout=PIPE, stderr=PIPE,
universal_newlines=True,
env=my_env)
try:
stdout, stderr = proc.communicate(timeout=timeout)
except TimeoutExpired:
proc.kill()
raise
if len(stdout) > 0:
logger.info(stdout)
if len(stderr) > 0:
logger.error(stderr)
> assert proc.returncode == 0, stderr+'\n\n'+stdout
E AssertionError: Traceback (most recent call last):
E File "/home/runner/work/PyNucleus/PyNucleus/drivers/runNonlocalInterface.py", line 20, in <module>
E from PyNucleus.nl.nonlocalProblems import nonlocalInterfaceProblem
E ImportError: cannot import name 'nonlocalInterfaceProblem' from 'PyNucleus.nl.nonlocalProblems' (/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_nl/nonlocalProblems.py)
E --------------------------------------------------------------------------
E Primary job terminated normally, but 1 process returned
E a non-zero exit code. Per user-direction, the job has been aborted.
E --------------------------------------------------------------------------
E --------------------------------------------------------------------------
E mpiexec detected that one or more processes exited with non-zero status, thus causing
E the job to be terminated. The first process to do so was:
E
E Process name: [[7787,1],0]
E Exit code: 1
E --------------------------------------------------------------------------
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_base/utilsFem.py:1412: AssertionError
Check failure on line 0 in test-results-3.10.xml
github-actions / Test report (Python 3.10)
pytest ► tests.test_drivers_intFracLapl ► testNonlocalInterface[doubleInterval-indicator-indicator-0.2-0.4-0.2-0.2-exact-sin-variableSolJump-fluxJump]
Failed test found in:
test-results-3.10.xml
Error:
runNonlocalInterface_params = ('doubleInterval', 'indicator', 'indicator', '0.2', '0.4', '0.2', ...)
Raw output
runNonlocalInterface_params = ('doubleInterval', 'indicator', 'indicator', '0.2', '0.4', '0.2', ...)
extra = []
@pytest.mark.slow
def testNonlocalInterface(runNonlocalInterface_params, extra):
domain, kernel1, kernel2, s11, s22, horizon1, horizon2, problem = runNonlocalInterface_params
s12 = s11
s21 = s22
base = getPath()+'/../'
py = ['runNonlocalInterface.py',
'--domain', domain,
'--kernel1', kernel1,
'--kernel2', kernel2,
'--s11', s11,
'--s12', s12,
'--s21', s21,
'--s22', s22,
'--horizon1', horizon1,
'--horizon2', horizon2,
'--problem', problem]
path = base+'drivers'
cacheDir = getPath()+'/'
> runDriver(path, py, cacheDir=cacheDir, extra=extra)
tests/test_drivers_intFracLapl.py:228:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = '/home/runner/work/PyNucleus/PyNucleus/tests/../drivers'
py = ['runNonlocalInterface.py', '--domain', 'doubleInterval', '--kernel1', 'indicator', '--kernel2', ...]
python = '/opt/hostedtoolcache/Python/3.10.13/x64/bin/python3', timeout = 600
ranks = 1, cacheDir = '/home/runner/work/PyNucleus/PyNucleus/tests/'
overwriteCache = False, aTol = 1e-12, relTol = 0.01, extra = None
def runDriver(path, py, python=None, timeout=600, ranks=None, cacheDir='',
overwriteCache=False,
aTol=1e-12, relTol=1e-2, extra=None):
from subprocess import Popen, PIPE, TimeoutExpired
import logging
import os
from pathlib import Path
logger = logging.getLogger('__main__')
if not isinstance(py, (list, tuple)):
py = [py]
autotesterOutput = Path('/home/caglusa/autotester/html')
if autotesterOutput.exists():
plotDir = autotesterOutput/('test-plots/'+''.join(py)+'/')
else:
extra = None
if cacheDir != '':
cache = cacheDir+'/cache_' + ''.join(py)
runOutput = cacheDir+'/run_' + ''.join(py)
if ranks is not None:
cache += str(ranks)
runOutput += str(ranks)
py += ['--test', '--testCache={}'.format(cache)]
if overwriteCache:
py += ['--overwriteCache']
else:
py += ['--test']
if extra is not None:
plotDir.mkdir(exist_ok=True, parents=True)
py += ['--plotFolder={}'.format(plotDir), '--plotFormat=png']
else:
py += ['--skipPlots']
assert (Path(path)/py[0]).exists(), 'Driver \"{}\" does not exist'.format(Path(path)/py[0])
if ranks is None:
ranks = 1
if python is None:
import sys
python = sys.executable
cmd = [python] + py
if 'MPIEXEC_FLAGS' in os.environ:
mpi_flags = str(os.environ['MPIEXEC_FLAGS'])
else:
mpi_flags = '--bind-to none'
cmd = ['mpiexec'] + mpi_flags.split(' ') + ['-n', str(ranks)]+cmd
logger.info('Launching "{}" from "{}"'.format(' '.join(cmd), path))
my_env = {}
for key in os.environ:
if key.find('OMPI') == -1:
my_env[key] = os.environ[key]
proc = Popen(cmd, cwd=path,
stdout=PIPE, stderr=PIPE,
universal_newlines=True,
env=my_env)
try:
stdout, stderr = proc.communicate(timeout=timeout)
except TimeoutExpired:
proc.kill()
raise
if len(stdout) > 0:
logger.info(stdout)
if len(stderr) > 0:
logger.error(stderr)
> assert proc.returncode == 0, stderr+'\n\n'+stdout
E AssertionError: Traceback (most recent call last):
E File "/home/runner/work/PyNucleus/PyNucleus/drivers/runNonlocalInterface.py", line 20, in <module>
E from PyNucleus.nl.nonlocalProblems import nonlocalInterfaceProblem
E ImportError: cannot import name 'nonlocalInterfaceProblem' from 'PyNucleus.nl.nonlocalProblems' (/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_nl/nonlocalProblems.py)
E --------------------------------------------------------------------------
E Primary job terminated normally, but 1 process returned
E a non-zero exit code. Per user-direction, the job has been aborted.
E --------------------------------------------------------------------------
E --------------------------------------------------------------------------
E mpiexec detected that one or more processes exited with non-zero status, thus causing
E the job to be terminated. The first process to do so was:
E
E Process name: [[7760,1],0]
E Exit code: 1
E --------------------------------------------------------------------------
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_base/utilsFem.py:1412: AssertionError
Check failure on line 0 in test-results-3.10.xml
github-actions / Test report (Python 3.10)
pytest ► tests.test_drivers_intFracLapl ► testNonlocalInterface[doubleInterval-indicator-indicator-0.2-0.4-0.2-0.4-exact-sin-variableSolJump-fluxJump]
Failed test found in:
test-results-3.10.xml
Error:
runNonlocalInterface_params = ('doubleInterval', 'indicator', 'indicator', '0.2', '0.4', '0.2', ...)
Raw output
runNonlocalInterface_params = ('doubleInterval', 'indicator', 'indicator', '0.2', '0.4', '0.2', ...)
extra = []
@pytest.mark.slow
def testNonlocalInterface(runNonlocalInterface_params, extra):
domain, kernel1, kernel2, s11, s22, horizon1, horizon2, problem = runNonlocalInterface_params
s12 = s11
s21 = s22
base = getPath()+'/../'
py = ['runNonlocalInterface.py',
'--domain', domain,
'--kernel1', kernel1,
'--kernel2', kernel2,
'--s11', s11,
'--s12', s12,
'--s21', s21,
'--s22', s22,
'--horizon1', horizon1,
'--horizon2', horizon2,
'--problem', problem]
path = base+'drivers'
cacheDir = getPath()+'/'
> runDriver(path, py, cacheDir=cacheDir, extra=extra)
tests/test_drivers_intFracLapl.py:228:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = '/home/runner/work/PyNucleus/PyNucleus/tests/../drivers'
py = ['runNonlocalInterface.py', '--domain', 'doubleInterval', '--kernel1', 'indicator', '--kernel2', ...]
python = '/opt/hostedtoolcache/Python/3.10.13/x64/bin/python3', timeout = 600
ranks = 1, cacheDir = '/home/runner/work/PyNucleus/PyNucleus/tests/'
overwriteCache = False, aTol = 1e-12, relTol = 0.01, extra = None
def runDriver(path, py, python=None, timeout=600, ranks=None, cacheDir='',
overwriteCache=False,
aTol=1e-12, relTol=1e-2, extra=None):
from subprocess import Popen, PIPE, TimeoutExpired
import logging
import os
from pathlib import Path
logger = logging.getLogger('__main__')
if not isinstance(py, (list, tuple)):
py = [py]
autotesterOutput = Path('/home/caglusa/autotester/html')
if autotesterOutput.exists():
plotDir = autotesterOutput/('test-plots/'+''.join(py)+'/')
else:
extra = None
if cacheDir != '':
cache = cacheDir+'/cache_' + ''.join(py)
runOutput = cacheDir+'/run_' + ''.join(py)
if ranks is not None:
cache += str(ranks)
runOutput += str(ranks)
py += ['--test', '--testCache={}'.format(cache)]
if overwriteCache:
py += ['--overwriteCache']
else:
py += ['--test']
if extra is not None:
plotDir.mkdir(exist_ok=True, parents=True)
py += ['--plotFolder={}'.format(plotDir), '--plotFormat=png']
else:
py += ['--skipPlots']
assert (Path(path)/py[0]).exists(), 'Driver \"{}\" does not exist'.format(Path(path)/py[0])
if ranks is None:
ranks = 1
if python is None:
import sys
python = sys.executable
cmd = [python] + py
if 'MPIEXEC_FLAGS' in os.environ:
mpi_flags = str(os.environ['MPIEXEC_FLAGS'])
else:
mpi_flags = '--bind-to none'
cmd = ['mpiexec'] + mpi_flags.split(' ') + ['-n', str(ranks)]+cmd
logger.info('Launching "{}" from "{}"'.format(' '.join(cmd), path))
my_env = {}
for key in os.environ:
if key.find('OMPI') == -1:
my_env[key] = os.environ[key]
proc = Popen(cmd, cwd=path,
stdout=PIPE, stderr=PIPE,
universal_newlines=True,
env=my_env)
try:
stdout, stderr = proc.communicate(timeout=timeout)
except TimeoutExpired:
proc.kill()
raise
if len(stdout) > 0:
logger.info(stdout)
if len(stderr) > 0:
logger.error(stderr)
> assert proc.returncode == 0, stderr+'\n\n'+stdout
E AssertionError: Traceback (most recent call last):
E File "/home/runner/work/PyNucleus/PyNucleus/drivers/runNonlocalInterface.py", line 20, in <module>
E from PyNucleus.nl.nonlocalProblems import nonlocalInterfaceProblem
E ImportError: cannot import name 'nonlocalInterfaceProblem' from 'PyNucleus.nl.nonlocalProblems' (/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_nl/nonlocalProblems.py)
E --------------------------------------------------------------------------
E Primary job terminated normally, but 1 process returned
E a non-zero exit code. Per user-direction, the job has been aborted.
E --------------------------------------------------------------------------
E --------------------------------------------------------------------------
E mpiexec detected that one or more processes exited with non-zero status, thus causing
E the job to be terminated. The first process to do so was:
E
E Process name: [[7773,1],0]
E Exit code: 1
E --------------------------------------------------------------------------
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_base/utilsFem.py:1412: AssertionError
Check failure on line 0 in test-results-3.10.xml
github-actions / Test report (Python 3.10)
pytest ► tests.test_drivers_intFracLapl ► testNonlocalInterface[doubleInterval-indicator-fractional-0.2-0.4-0.2-0.2-exact-sin-variableSolJump-fluxJump]
Failed test found in:
test-results-3.10.xml
Error:
runNonlocalInterface_params = ('doubleInterval', 'indicator', 'fractional', '0.2', '0.4', '0.2', ...)
Raw output
runNonlocalInterface_params = ('doubleInterval', 'indicator', 'fractional', '0.2', '0.4', '0.2', ...)
extra = []
@pytest.mark.slow
def testNonlocalInterface(runNonlocalInterface_params, extra):
domain, kernel1, kernel2, s11, s22, horizon1, horizon2, problem = runNonlocalInterface_params
s12 = s11
s21 = s22
base = getPath()+'/../'
py = ['runNonlocalInterface.py',
'--domain', domain,
'--kernel1', kernel1,
'--kernel2', kernel2,
'--s11', s11,
'--s12', s12,
'--s21', s21,
'--s22', s22,
'--horizon1', horizon1,
'--horizon2', horizon2,
'--problem', problem]
path = base+'drivers'
cacheDir = getPath()+'/'
> runDriver(path, py, cacheDir=cacheDir, extra=extra)
tests/test_drivers_intFracLapl.py:228:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = '/home/runner/work/PyNucleus/PyNucleus/tests/../drivers'
py = ['runNonlocalInterface.py', '--domain', 'doubleInterval', '--kernel1', 'indicator', '--kernel2', ...]
python = '/opt/hostedtoolcache/Python/3.10.13/x64/bin/python3', timeout = 600
ranks = 1, cacheDir = '/home/runner/work/PyNucleus/PyNucleus/tests/'
overwriteCache = False, aTol = 1e-12, relTol = 0.01, extra = None
def runDriver(path, py, python=None, timeout=600, ranks=None, cacheDir='',
overwriteCache=False,
aTol=1e-12, relTol=1e-2, extra=None):
from subprocess import Popen, PIPE, TimeoutExpired
import logging
import os
from pathlib import Path
logger = logging.getLogger('__main__')
if not isinstance(py, (list, tuple)):
py = [py]
autotesterOutput = Path('/home/caglusa/autotester/html')
if autotesterOutput.exists():
plotDir = autotesterOutput/('test-plots/'+''.join(py)+'/')
else:
extra = None
if cacheDir != '':
cache = cacheDir+'/cache_' + ''.join(py)
runOutput = cacheDir+'/run_' + ''.join(py)
if ranks is not None:
cache += str(ranks)
runOutput += str(ranks)
py += ['--test', '--testCache={}'.format(cache)]
if overwriteCache:
py += ['--overwriteCache']
else:
py += ['--test']
if extra is not None:
plotDir.mkdir(exist_ok=True, parents=True)
py += ['--plotFolder={}'.format(plotDir), '--plotFormat=png']
else:
py += ['--skipPlots']
assert (Path(path)/py[0]).exists(), 'Driver \"{}\" does not exist'.format(Path(path)/py[0])
if ranks is None:
ranks = 1
if python is None:
import sys
python = sys.executable
cmd = [python] + py
if 'MPIEXEC_FLAGS' in os.environ:
mpi_flags = str(os.environ['MPIEXEC_FLAGS'])
else:
mpi_flags = '--bind-to none'
cmd = ['mpiexec'] + mpi_flags.split(' ') + ['-n', str(ranks)]+cmd
logger.info('Launching "{}" from "{}"'.format(' '.join(cmd), path))
my_env = {}
for key in os.environ:
if key.find('OMPI') == -1:
my_env[key] = os.environ[key]
proc = Popen(cmd, cwd=path,
stdout=PIPE, stderr=PIPE,
universal_newlines=True,
env=my_env)
try:
stdout, stderr = proc.communicate(timeout=timeout)
except TimeoutExpired:
proc.kill()
raise
if len(stdout) > 0:
logger.info(stdout)
if len(stderr) > 0:
logger.error(stderr)
> assert proc.returncode == 0, stderr+'\n\n'+stdout
E AssertionError: Traceback (most recent call last):
E File "/home/runner/work/PyNucleus/PyNucleus/drivers/runNonlocalInterface.py", line 20, in <module>
E from PyNucleus.nl.nonlocalProblems import nonlocalInterfaceProblem
E ImportError: cannot import name 'nonlocalInterfaceProblem' from 'PyNucleus.nl.nonlocalProblems' (/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_nl/nonlocalProblems.py)
E --------------------------------------------------------------------------
E Primary job terminated normally, but 1 process returned
E a non-zero exit code. Per user-direction, the job has been aborted.
E --------------------------------------------------------------------------
E --------------------------------------------------------------------------
E mpiexec detected that one or more processes exited with non-zero status, thus causing
E the job to be terminated. The first process to do so was:
E
E Process name: [[7770,1],0]
E Exit code: 1
E --------------------------------------------------------------------------
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_base/utilsFem.py:1412: AssertionError
Check failure on line 0 in test-results-3.10.xml
github-actions / Test report (Python 3.10)
pytest ► tests.test_drivers_intFracLapl ► testNonlocalInterface[doubleInterval-indicator-fractional-0.2-0.4-0.2-0.4-exact-sin-variableSolJump-fluxJump]
Failed test found in:
test-results-3.10.xml
Error:
runNonlocalInterface_params = ('doubleInterval', 'indicator', 'fractional', '0.2', '0.4', '0.2', ...)
Raw output
runNonlocalInterface_params = ('doubleInterval', 'indicator', 'fractional', '0.2', '0.4', '0.2', ...)
extra = []
@pytest.mark.slow
def testNonlocalInterface(runNonlocalInterface_params, extra):
domain, kernel1, kernel2, s11, s22, horizon1, horizon2, problem = runNonlocalInterface_params
s12 = s11
s21 = s22
base = getPath()+'/../'
py = ['runNonlocalInterface.py',
'--domain', domain,
'--kernel1', kernel1,
'--kernel2', kernel2,
'--s11', s11,
'--s12', s12,
'--s21', s21,
'--s22', s22,
'--horizon1', horizon1,
'--horizon2', horizon2,
'--problem', problem]
path = base+'drivers'
cacheDir = getPath()+'/'
> runDriver(path, py, cacheDir=cacheDir, extra=extra)
tests/test_drivers_intFracLapl.py:228:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = '/home/runner/work/PyNucleus/PyNucleus/tests/../drivers'
py = ['runNonlocalInterface.py', '--domain', 'doubleInterval', '--kernel1', 'indicator', '--kernel2', ...]
python = '/opt/hostedtoolcache/Python/3.10.13/x64/bin/python3', timeout = 600
ranks = 1, cacheDir = '/home/runner/work/PyNucleus/PyNucleus/tests/'
overwriteCache = False, aTol = 1e-12, relTol = 0.01, extra = None
def runDriver(path, py, python=None, timeout=600, ranks=None, cacheDir='',
overwriteCache=False,
aTol=1e-12, relTol=1e-2, extra=None):
from subprocess import Popen, PIPE, TimeoutExpired
import logging
import os
from pathlib import Path
logger = logging.getLogger('__main__')
if not isinstance(py, (list, tuple)):
py = [py]
autotesterOutput = Path('/home/caglusa/autotester/html')
if autotesterOutput.exists():
plotDir = autotesterOutput/('test-plots/'+''.join(py)+'/')
else:
extra = None
if cacheDir != '':
cache = cacheDir+'/cache_' + ''.join(py)
runOutput = cacheDir+'/run_' + ''.join(py)
if ranks is not None:
cache += str(ranks)
runOutput += str(ranks)
py += ['--test', '--testCache={}'.format(cache)]
if overwriteCache:
py += ['--overwriteCache']
else:
py += ['--test']
if extra is not None:
plotDir.mkdir(exist_ok=True, parents=True)
py += ['--plotFolder={}'.format(plotDir), '--plotFormat=png']
else:
py += ['--skipPlots']
assert (Path(path)/py[0]).exists(), 'Driver \"{}\" does not exist'.format(Path(path)/py[0])
if ranks is None:
ranks = 1
if python is None:
import sys
python = sys.executable
cmd = [python] + py
if 'MPIEXEC_FLAGS' in os.environ:
mpi_flags = str(os.environ['MPIEXEC_FLAGS'])
else:
mpi_flags = '--bind-to none'
cmd = ['mpiexec'] + mpi_flags.split(' ') + ['-n', str(ranks)]+cmd
logger.info('Launching "{}" from "{}"'.format(' '.join(cmd), path))
my_env = {}
for key in os.environ:
if key.find('OMPI') == -1:
my_env[key] = os.environ[key]
proc = Popen(cmd, cwd=path,
stdout=PIPE, stderr=PIPE,
universal_newlines=True,
env=my_env)
try:
stdout, stderr = proc.communicate(timeout=timeout)
except TimeoutExpired:
proc.kill()
raise
if len(stdout) > 0:
logger.info(stdout)
if len(stderr) > 0:
logger.error(stderr)
> assert proc.returncode == 0, stderr+'\n\n'+stdout
E AssertionError: Traceback (most recent call last):
E File "/home/runner/work/PyNucleus/PyNucleus/drivers/runNonlocalInterface.py", line 20, in <module>
E from PyNucleus.nl.nonlocalProblems import nonlocalInterfaceProblem
E ImportError: cannot import name 'nonlocalInterfaceProblem' from 'PyNucleus.nl.nonlocalProblems' (/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_nl/nonlocalProblems.py)
E --------------------------------------------------------------------------
E Primary job terminated normally, but 1 process returned
E a non-zero exit code. Per user-direction, the job has been aborted.
E --------------------------------------------------------------------------
E --------------------------------------------------------------------------
E mpiexec detected that one or more processes exited with non-zero status, thus causing
E the job to be terminated. The first process to do so was:
E
E Process name: [[7751,1],0]
E Exit code: 1
E --------------------------------------------------------------------------
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_base/utilsFem.py:1412: AssertionError
Check failure on line 0 in test-results-3.10.xml
github-actions / Test report (Python 3.10)
pytest ► tests.test_drivers_intFracLapl ► testNonlocalInterface[doubleSquare-fractional-fractional-0.2-0.4-0.2-0.2-sin-variableSolJump-fluxJump]
Failed test found in:
test-results-3.10.xml
Error:
runNonlocalInterface_params = ('doubleSquare', 'fractional', 'fractional', '0.2', '0.4', '0.2', ...)
Raw output
runNonlocalInterface_params = ('doubleSquare', 'fractional', 'fractional', '0.2', '0.4', '0.2', ...)
extra = []
@pytest.mark.slow
def testNonlocalInterface(runNonlocalInterface_params, extra):
domain, kernel1, kernel2, s11, s22, horizon1, horizon2, problem = runNonlocalInterface_params
s12 = s11
s21 = s22
base = getPath()+'/../'
py = ['runNonlocalInterface.py',
'--domain', domain,
'--kernel1', kernel1,
'--kernel2', kernel2,
'--s11', s11,
'--s12', s12,
'--s21', s21,
'--s22', s22,
'--horizon1', horizon1,
'--horizon2', horizon2,
'--problem', problem]
path = base+'drivers'
cacheDir = getPath()+'/'
> runDriver(path, py, cacheDir=cacheDir, extra=extra)
tests/test_drivers_intFracLapl.py:228:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = '/home/runner/work/PyNucleus/PyNucleus/tests/../drivers'
py = ['runNonlocalInterface.py', '--domain', 'doubleSquare', '--kernel1', 'fractional', '--kernel2', ...]
python = '/opt/hostedtoolcache/Python/3.10.13/x64/bin/python3', timeout = 600
ranks = 1, cacheDir = '/home/runner/work/PyNucleus/PyNucleus/tests/'
overwriteCache = False, aTol = 1e-12, relTol = 0.01, extra = None
def runDriver(path, py, python=None, timeout=600, ranks=None, cacheDir='',
overwriteCache=False,
aTol=1e-12, relTol=1e-2, extra=None):
from subprocess import Popen, PIPE, TimeoutExpired
import logging
import os
from pathlib import Path
logger = logging.getLogger('__main__')
if not isinstance(py, (list, tuple)):
py = [py]
autotesterOutput = Path('/home/caglusa/autotester/html')
if autotesterOutput.exists():
plotDir = autotesterOutput/('test-plots/'+''.join(py)+'/')
else:
extra = None
if cacheDir != '':
cache = cacheDir+'/cache_' + ''.join(py)
runOutput = cacheDir+'/run_' + ''.join(py)
if ranks is not None:
cache += str(ranks)
runOutput += str(ranks)
py += ['--test', '--testCache={}'.format(cache)]
if overwriteCache:
py += ['--overwriteCache']
else:
py += ['--test']
if extra is not None:
plotDir.mkdir(exist_ok=True, parents=True)
py += ['--plotFolder={}'.format(plotDir), '--plotFormat=png']
else:
py += ['--skipPlots']
assert (Path(path)/py[0]).exists(), 'Driver \"{}\" does not exist'.format(Path(path)/py[0])
if ranks is None:
ranks = 1
if python is None:
import sys
python = sys.executable
cmd = [python] + py
if 'MPIEXEC_FLAGS' in os.environ:
mpi_flags = str(os.environ['MPIEXEC_FLAGS'])
else:
mpi_flags = '--bind-to none'
cmd = ['mpiexec'] + mpi_flags.split(' ') + ['-n', str(ranks)]+cmd
logger.info('Launching "{}" from "{}"'.format(' '.join(cmd), path))
my_env = {}
for key in os.environ:
if key.find('OMPI') == -1:
my_env[key] = os.environ[key]
proc = Popen(cmd, cwd=path,
stdout=PIPE, stderr=PIPE,
universal_newlines=True,
env=my_env)
try:
stdout, stderr = proc.communicate(timeout=timeout)
except TimeoutExpired:
proc.kill()
raise
if len(stdout) > 0:
logger.info(stdout)
if len(stderr) > 0:
logger.error(stderr)
> assert proc.returncode == 0, stderr+'\n\n'+stdout
E AssertionError: Traceback (most recent call last):
E File "/home/runner/work/PyNucleus/PyNucleus/drivers/runNonlocalInterface.py", line 20, in <module>
E from PyNucleus.nl.nonlocalProblems import nonlocalInterfaceProblem
E ImportError: cannot import name 'nonlocalInterfaceProblem' from 'PyNucleus.nl.nonlocalProblems' (/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_nl/nonlocalProblems.py)
E --------------------------------------------------------------------------
E Primary job terminated normally, but 1 process returned
E a non-zero exit code. Per user-direction, the job has been aborted.
E --------------------------------------------------------------------------
E --------------------------------------------------------------------------
E mpiexec detected that one or more processes exited with non-zero status, thus causing
E the job to be terminated. The first process to do so was:
E
E Process name: [[7757,1],0]
E Exit code: 1
E --------------------------------------------------------------------------
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_base/utilsFem.py:1412: AssertionError
Check failure on line 0 in test-results-3.10.xml
github-actions / Test report (Python 3.10)
pytest ► tests.test_drivers_intFracLapl ► testNonlocalInterface[doubleSquare-fractional-fractional-0.2-0.4-0.2-0.4-sin-variableSolJump-fluxJump]
Failed test found in:
test-results-3.10.xml
Error:
runNonlocalInterface_params = ('doubleSquare', 'fractional', 'fractional', '0.2', '0.4', '0.2', ...)
Raw output
runNonlocalInterface_params = ('doubleSquare', 'fractional', 'fractional', '0.2', '0.4', '0.2', ...)
extra = []
@pytest.mark.slow
def testNonlocalInterface(runNonlocalInterface_params, extra):
domain, kernel1, kernel2, s11, s22, horizon1, horizon2, problem = runNonlocalInterface_params
s12 = s11
s21 = s22
base = getPath()+'/../'
py = ['runNonlocalInterface.py',
'--domain', domain,
'--kernel1', kernel1,
'--kernel2', kernel2,
'--s11', s11,
'--s12', s12,
'--s21', s21,
'--s22', s22,
'--horizon1', horizon1,
'--horizon2', horizon2,
'--problem', problem]
path = base+'drivers'
cacheDir = getPath()+'/'
> runDriver(path, py, cacheDir=cacheDir, extra=extra)
tests/test_drivers_intFracLapl.py:228:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = '/home/runner/work/PyNucleus/PyNucleus/tests/../drivers'
py = ['runNonlocalInterface.py', '--domain', 'doubleSquare', '--kernel1', 'fractional', '--kernel2', ...]
python = '/opt/hostedtoolcache/Python/3.10.13/x64/bin/python3', timeout = 600
ranks = 1, cacheDir = '/home/runner/work/PyNucleus/PyNucleus/tests/'
overwriteCache = False, aTol = 1e-12, relTol = 0.01, extra = None
def runDriver(path, py, python=None, timeout=600, ranks=None, cacheDir='',
overwriteCache=False,
aTol=1e-12, relTol=1e-2, extra=None):
from subprocess import Popen, PIPE, TimeoutExpired
import logging
import os
from pathlib import Path
logger = logging.getLogger('__main__')
if not isinstance(py, (list, tuple)):
py = [py]
autotesterOutput = Path('/home/caglusa/autotester/html')
if autotesterOutput.exists():
plotDir = autotesterOutput/('test-plots/'+''.join(py)+'/')
else:
extra = None
if cacheDir != '':
cache = cacheDir+'/cache_' + ''.join(py)
runOutput = cacheDir+'/run_' + ''.join(py)
if ranks is not None:
cache += str(ranks)
runOutput += str(ranks)
py += ['--test', '--testCache={}'.format(cache)]
if overwriteCache:
py += ['--overwriteCache']
else:
py += ['--test']
if extra is not None:
plotDir.mkdir(exist_ok=True, parents=True)
py += ['--plotFolder={}'.format(plotDir), '--plotFormat=png']
else:
py += ['--skipPlots']
assert (Path(path)/py[0]).exists(), 'Driver \"{}\" does not exist'.format(Path(path)/py[0])
if ranks is None:
ranks = 1
if python is None:
import sys
python = sys.executable
cmd = [python] + py
if 'MPIEXEC_FLAGS' in os.environ:
mpi_flags = str(os.environ['MPIEXEC_FLAGS'])
else:
mpi_flags = '--bind-to none'
cmd = ['mpiexec'] + mpi_flags.split(' ') + ['-n', str(ranks)]+cmd
logger.info('Launching "{}" from "{}"'.format(' '.join(cmd), path))
my_env = {}
for key in os.environ:
if key.find('OMPI') == -1:
my_env[key] = os.environ[key]
proc = Popen(cmd, cwd=path,
stdout=PIPE, stderr=PIPE,
universal_newlines=True,
env=my_env)
try:
stdout, stderr = proc.communicate(timeout=timeout)
except TimeoutExpired:
proc.kill()
raise
if len(stdout) > 0:
logger.info(stdout)
if len(stderr) > 0:
logger.error(stderr)
> assert proc.returncode == 0, stderr+'\n\n'+stdout
E AssertionError: Traceback (most recent call last):
E File "/home/runner/work/PyNucleus/PyNucleus/drivers/runNonlocalInterface.py", line 20, in <module>
E from PyNucleus.nl.nonlocalProblems import nonlocalInterfaceProblem
E ImportError: cannot import name 'nonlocalInterfaceProblem' from 'PyNucleus.nl.nonlocalProblems' (/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_nl/nonlocalProblems.py)
E --------------------------------------------------------------------------
E Primary job terminated normally, but 1 process returned
E a non-zero exit code. Per user-direction, the job has been aborted.
E --------------------------------------------------------------------------
E --------------------------------------------------------------------------
E mpiexec detected that one or more processes exited with non-zero status, thus causing
E the job to be terminated. The first process to do so was:
E
E Process name: [[7754,1],0]
E Exit code: 1
E --------------------------------------------------------------------------
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_base/utilsFem.py:1412: AssertionError
Check failure on line 0 in test-results-3.10.xml
github-actions / Test report (Python 3.10)
pytest ► tests.test_drivers_intFracLapl ► testNonlocalInterface[doubleSquare-indicator-indicator-0.2-0.4-0.2-0.2-sin-variableSolJump-fluxJump]
Failed test found in:
test-results-3.10.xml
Error:
runNonlocalInterface_params = ('doubleSquare', 'indicator', 'indicator', '0.2', '0.4', '0.2', ...)
Raw output
runNonlocalInterface_params = ('doubleSquare', 'indicator', 'indicator', '0.2', '0.4', '0.2', ...)
extra = []
@pytest.mark.slow
def testNonlocalInterface(runNonlocalInterface_params, extra):
domain, kernel1, kernel2, s11, s22, horizon1, horizon2, problem = runNonlocalInterface_params
s12 = s11
s21 = s22
base = getPath()+'/../'
py = ['runNonlocalInterface.py',
'--domain', domain,
'--kernel1', kernel1,
'--kernel2', kernel2,
'--s11', s11,
'--s12', s12,
'--s21', s21,
'--s22', s22,
'--horizon1', horizon1,
'--horizon2', horizon2,
'--problem', problem]
path = base+'drivers'
cacheDir = getPath()+'/'
> runDriver(path, py, cacheDir=cacheDir, extra=extra)
tests/test_drivers_intFracLapl.py:228:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = '/home/runner/work/PyNucleus/PyNucleus/tests/../drivers'
py = ['runNonlocalInterface.py', '--domain', 'doubleSquare', '--kernel1', 'indicator', '--kernel2', ...]
python = '/opt/hostedtoolcache/Python/3.10.13/x64/bin/python3', timeout = 600
ranks = 1, cacheDir = '/home/runner/work/PyNucleus/PyNucleus/tests/'
overwriteCache = False, aTol = 1e-12, relTol = 0.01, extra = None
def runDriver(path, py, python=None, timeout=600, ranks=None, cacheDir='',
overwriteCache=False,
aTol=1e-12, relTol=1e-2, extra=None):
from subprocess import Popen, PIPE, TimeoutExpired
import logging
import os
from pathlib import Path
logger = logging.getLogger('__main__')
if not isinstance(py, (list, tuple)):
py = [py]
autotesterOutput = Path('/home/caglusa/autotester/html')
if autotesterOutput.exists():
plotDir = autotesterOutput/('test-plots/'+''.join(py)+'/')
else:
extra = None
if cacheDir != '':
cache = cacheDir+'/cache_' + ''.join(py)
runOutput = cacheDir+'/run_' + ''.join(py)
if ranks is not None:
cache += str(ranks)
runOutput += str(ranks)
py += ['--test', '--testCache={}'.format(cache)]
if overwriteCache:
py += ['--overwriteCache']
else:
py += ['--test']
if extra is not None:
plotDir.mkdir(exist_ok=True, parents=True)
py += ['--plotFolder={}'.format(plotDir), '--plotFormat=png']
else:
py += ['--skipPlots']
assert (Path(path)/py[0]).exists(), 'Driver \"{}\" does not exist'.format(Path(path)/py[0])
if ranks is None:
ranks = 1
if python is None:
import sys
python = sys.executable
cmd = [python] + py
if 'MPIEXEC_FLAGS' in os.environ:
mpi_flags = str(os.environ['MPIEXEC_FLAGS'])
else:
mpi_flags = '--bind-to none'
cmd = ['mpiexec'] + mpi_flags.split(' ') + ['-n', str(ranks)]+cmd
logger.info('Launching "{}" from "{}"'.format(' '.join(cmd), path))
my_env = {}
for key in os.environ:
if key.find('OMPI') == -1:
my_env[key] = os.environ[key]
proc = Popen(cmd, cwd=path,
stdout=PIPE, stderr=PIPE,
universal_newlines=True,
env=my_env)
try:
stdout, stderr = proc.communicate(timeout=timeout)
except TimeoutExpired:
proc.kill()
raise
if len(stdout) > 0:
logger.info(stdout)
if len(stderr) > 0:
logger.error(stderr)
> assert proc.returncode == 0, stderr+'\n\n'+stdout
E AssertionError: Traceback (most recent call last):
E File "/home/runner/work/PyNucleus/PyNucleus/drivers/runNonlocalInterface.py", line 20, in <module>
E from PyNucleus.nl.nonlocalProblems import nonlocalInterfaceProblem
E ImportError: cannot import name 'nonlocalInterfaceProblem' from 'PyNucleus.nl.nonlocalProblems' (/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_nl/nonlocalProblems.py)
E --------------------------------------------------------------------------
E Primary job terminated normally, but 1 process returned
E a non-zero exit code. Per user-direction, the job has been aborted.
E --------------------------------------------------------------------------
E --------------------------------------------------------------------------
E mpiexec detected that one or more processes exited with non-zero status, thus causing
E the job to be terminated. The first process to do so was:
E
E Process name: [[7735,1],0]
E Exit code: 1
E --------------------------------------------------------------------------
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_base/utilsFem.py:1412: AssertionError
Check failure on line 0 in test-results-3.10.xml
github-actions / Test report (Python 3.10)
pytest ► tests.test_drivers_intFracLapl ► testNonlocalInterface[doubleSquare-indicator-indicator-0.2-0.4-0.2-0.4-sin-variableSolJump-fluxJump]
Failed test found in:
test-results-3.10.xml
Error:
runNonlocalInterface_params = ('doubleSquare', 'indicator', 'indicator', '0.2', '0.4', '0.2', ...)
Raw output
runNonlocalInterface_params = ('doubleSquare', 'indicator', 'indicator', '0.2', '0.4', '0.2', ...)
extra = []
@pytest.mark.slow
def testNonlocalInterface(runNonlocalInterface_params, extra):
domain, kernel1, kernel2, s11, s22, horizon1, horizon2, problem = runNonlocalInterface_params
s12 = s11
s21 = s22
base = getPath()+'/../'
py = ['runNonlocalInterface.py',
'--domain', domain,
'--kernel1', kernel1,
'--kernel2', kernel2,
'--s11', s11,
'--s12', s12,
'--s21', s21,
'--s22', s22,
'--horizon1', horizon1,
'--horizon2', horizon2,
'--problem', problem]
path = base+'drivers'
cacheDir = getPath()+'/'
> runDriver(path, py, cacheDir=cacheDir, extra=extra)
tests/test_drivers_intFracLapl.py:228:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = '/home/runner/work/PyNucleus/PyNucleus/tests/../drivers'
py = ['runNonlocalInterface.py', '--domain', 'doubleSquare', '--kernel1', 'indicator', '--kernel2', ...]
python = '/opt/hostedtoolcache/Python/3.10.13/x64/bin/python3', timeout = 600
ranks = 1, cacheDir = '/home/runner/work/PyNucleus/PyNucleus/tests/'
overwriteCache = False, aTol = 1e-12, relTol = 0.01, extra = None
def runDriver(path, py, python=None, timeout=600, ranks=None, cacheDir='',
overwriteCache=False,
aTol=1e-12, relTol=1e-2, extra=None):
from subprocess import Popen, PIPE, TimeoutExpired
import logging
import os
from pathlib import Path
logger = logging.getLogger('__main__')
if not isinstance(py, (list, tuple)):
py = [py]
autotesterOutput = Path('/home/caglusa/autotester/html')
if autotesterOutput.exists():
plotDir = autotesterOutput/('test-plots/'+''.join(py)+'/')
else:
extra = None
if cacheDir != '':
cache = cacheDir+'/cache_' + ''.join(py)
runOutput = cacheDir+'/run_' + ''.join(py)
if ranks is not None:
cache += str(ranks)
runOutput += str(ranks)
py += ['--test', '--testCache={}'.format(cache)]
if overwriteCache:
py += ['--overwriteCache']
else:
py += ['--test']
if extra is not None:
plotDir.mkdir(exist_ok=True, parents=True)
py += ['--plotFolder={}'.format(plotDir), '--plotFormat=png']
else:
py += ['--skipPlots']
assert (Path(path)/py[0]).exists(), 'Driver \"{}\" does not exist'.format(Path(path)/py[0])
if ranks is None:
ranks = 1
if python is None:
import sys
python = sys.executable
cmd = [python] + py
if 'MPIEXEC_FLAGS' in os.environ:
mpi_flags = str(os.environ['MPIEXEC_FLAGS'])
else:
mpi_flags = '--bind-to none'
cmd = ['mpiexec'] + mpi_flags.split(' ') + ['-n', str(ranks)]+cmd
logger.info('Launching "{}" from "{}"'.format(' '.join(cmd), path))
my_env = {}
for key in os.environ:
if key.find('OMPI') == -1:
my_env[key] = os.environ[key]
proc = Popen(cmd, cwd=path,
stdout=PIPE, stderr=PIPE,
universal_newlines=True,
env=my_env)
try:
stdout, stderr = proc.communicate(timeout=timeout)
except TimeoutExpired:
proc.kill()
raise
if len(stdout) > 0:
logger.info(stdout)
if len(stderr) > 0:
logger.error(stderr)
> assert proc.returncode == 0, stderr+'\n\n'+stdout
E AssertionError: Traceback (most recent call last):
E File "/home/runner/work/PyNucleus/PyNucleus/drivers/runNonlocalInterface.py", line 20, in <module>
E from PyNucleus.nl.nonlocalProblems import nonlocalInterfaceProblem
E ImportError: cannot import name 'nonlocalInterfaceProblem' from 'PyNucleus.nl.nonlocalProblems' (/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_nl/nonlocalProblems.py)
E --------------------------------------------------------------------------
E Primary job terminated normally, but 1 process returned
E a non-zero exit code. Per user-direction, the job has been aborted.
E --------------------------------------------------------------------------
E --------------------------------------------------------------------------
E mpiexec detected that one or more processes exited with non-zero status, thus causing
E the job to be terminated. The first process to do so was:
E
E Process name: [[7740,1],0]
E Exit code: 1
E --------------------------------------------------------------------------
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_base/utilsFem.py:1412: AssertionError
Check failure on line 0 in test-results-3.10.xml
github-actions / Test report (Python 3.10)
pytest ► tests.test_drivers_intFracLapl ► testNonlocalInterface[doubleSquare-indicator-fractional-0.2-0.4-0.2-0.2-sin-variableSolJump-fluxJump]
Failed test found in:
test-results-3.10.xml
Error:
runNonlocalInterface_params = ('doubleSquare', 'indicator', 'fractional', '0.2', '0.4', '0.2', ...)
Raw output
runNonlocalInterface_params = ('doubleSquare', 'indicator', 'fractional', '0.2', '0.4', '0.2', ...)
extra = []
@pytest.mark.slow
def testNonlocalInterface(runNonlocalInterface_params, extra):
domain, kernel1, kernel2, s11, s22, horizon1, horizon2, problem = runNonlocalInterface_params
s12 = s11
s21 = s22
base = getPath()+'/../'
py = ['runNonlocalInterface.py',
'--domain', domain,
'--kernel1', kernel1,
'--kernel2', kernel2,
'--s11', s11,
'--s12', s12,
'--s21', s21,
'--s22', s22,
'--horizon1', horizon1,
'--horizon2', horizon2,
'--problem', problem]
path = base+'drivers'
cacheDir = getPath()+'/'
> runDriver(path, py, cacheDir=cacheDir, extra=extra)
tests/test_drivers_intFracLapl.py:228:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = '/home/runner/work/PyNucleus/PyNucleus/tests/../drivers'
py = ['runNonlocalInterface.py', '--domain', 'doubleSquare', '--kernel1', 'indicator', '--kernel2', ...]
python = '/opt/hostedtoolcache/Python/3.10.13/x64/bin/python3', timeout = 600
ranks = 1, cacheDir = '/home/runner/work/PyNucleus/PyNucleus/tests/'
overwriteCache = False, aTol = 1e-12, relTol = 0.01, extra = None
def runDriver(path, py, python=None, timeout=600, ranks=None, cacheDir='',
overwriteCache=False,
aTol=1e-12, relTol=1e-2, extra=None):
from subprocess import Popen, PIPE, TimeoutExpired
import logging
import os
from pathlib import Path
logger = logging.getLogger('__main__')
if not isinstance(py, (list, tuple)):
py = [py]
autotesterOutput = Path('/home/caglusa/autotester/html')
if autotesterOutput.exists():
plotDir = autotesterOutput/('test-plots/'+''.join(py)+'/')
else:
extra = None
if cacheDir != '':
cache = cacheDir+'/cache_' + ''.join(py)
runOutput = cacheDir+'/run_' + ''.join(py)
if ranks is not None:
cache += str(ranks)
runOutput += str(ranks)
py += ['--test', '--testCache={}'.format(cache)]
if overwriteCache:
py += ['--overwriteCache']
else:
py += ['--test']
if extra is not None:
plotDir.mkdir(exist_ok=True, parents=True)
py += ['--plotFolder={}'.format(plotDir), '--plotFormat=png']
else:
py += ['--skipPlots']
assert (Path(path)/py[0]).exists(), 'Driver \"{}\" does not exist'.format(Path(path)/py[0])
if ranks is None:
ranks = 1
if python is None:
import sys
python = sys.executable
cmd = [python] + py
if 'MPIEXEC_FLAGS' in os.environ:
mpi_flags = str(os.environ['MPIEXEC_FLAGS'])
else:
mpi_flags = '--bind-to none'
cmd = ['mpiexec'] + mpi_flags.split(' ') + ['-n', str(ranks)]+cmd
logger.info('Launching "{}" from "{}"'.format(' '.join(cmd), path))
my_env = {}
for key in os.environ:
if key.find('OMPI') == -1:
my_env[key] = os.environ[key]
proc = Popen(cmd, cwd=path,
stdout=PIPE, stderr=PIPE,
universal_newlines=True,
env=my_env)
try:
stdout, stderr = proc.communicate(timeout=timeout)
except TimeoutExpired:
proc.kill()
raise
if len(stdout) > 0:
logger.info(stdout)
if len(stderr) > 0:
logger.error(stderr)
> assert proc.returncode == 0, stderr+'\n\n'+stdout
E AssertionError: Traceback (most recent call last):
E File "/home/runner/work/PyNucleus/PyNucleus/drivers/runNonlocalInterface.py", line 20, in <module>
E from PyNucleus.nl.nonlocalProblems import nonlocalInterfaceProblem
E ImportError: cannot import name 'nonlocalInterfaceProblem' from 'PyNucleus.nl.nonlocalProblems' (/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_nl/nonlocalProblems.py)
E --------------------------------------------------------------------------
E Primary job terminated normally, but 1 process returned
E a non-zero exit code. Per user-direction, the job has been aborted.
E --------------------------------------------------------------------------
E --------------------------------------------------------------------------
E mpiexec detected that one or more processes exited with non-zero status, thus causing
E the job to be terminated. The first process to do so was:
E
E Process name: [[7737,1],0]
E Exit code: 1
E --------------------------------------------------------------------------
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/PyNucleus_base/utilsFem.py:1412: AssertionError