adoptium / aqa-tests

Home of test infrastructure for Adoptium builds
https://adoptium.net/aqavit
Apache License 2.0
125 stars 304 forks source link

Rerun job fails if parents job with *_custom as target #5388

Closed sophia-guo closed 2 weeks ago

sophia-guo commented 3 weeks ago

Rerun job fails if parents job with _custom as target. Job with [target as _custom ( normally grinder job) can also trigger the rerun job](https://github.com/adoptium/aqa-tests/blob/master/buildenv/jenkins/JenkinsfileBase#L1329). But rerun will fail if custom_target is not the default.

https://ci.adoptium.net/view/Test_grinder/job/Grinder/10380/ Target:hotspot_custom CUSTOM_TARGET: compiler/arguments/CheckCICompilerCount.java compiler/c2/cr6340864/TestByteVect.java compiler/c2/cr6340864/TestDoubleVect.java compiler/c2/cr6340864/TestFloatVect.java compiler/c2/cr6340864/TestIntVect.java compiler/c2/cr6340864/TestIntVectRotate.java rerun job https://ci.adoptium.net/job/Grinder_rerun/121/console Failed

10:17:34  make -f makeGen.mk AUTO_DETECT=true MODE=tests TESTTARGET=testList TESTLIST=HOTSPOT_CUSTOM_TARGET=compiler/arguments/CheckCICompilerCount.java compiler/c2/cr6340864/TestByteVect.java compiler/c2/cr6340864/TestDoubleVect.java compiler/c2/cr6340864/TestFloatVect.java compiler/c2/cr6340864/TestIntVect.java compiler/c2/cr6340864/TestIntVectRotate.java
10:17:34  make[1]: Entering directory '/cygdrive/f/workspace/workspace/Grinder_rerun/aqa-tests/TKG'
10:17:35  make[1]: *** No rule to make target 'compiler/c2/cr6340864/TestByteVect.java'.  Stop.
10:17:35  make[1]: Leaving directory '/cygdrive/f/workspace/workspace/Grinder_rerun/aqa-tests/TKG'
10:17:35  make: *** [makefile:69: _testList] Error 2