-
Bug
-
Resolution: Fixed
-
P2
-
11.0.7
-
b01
-
generic
-
generic
-
Verified
This is an OpenJDK 11u (11.0.7 dev) only bug. After the backport of JDK-8232834 running tier1 tests via "make run-test-tier1" fails with:
/usr/bin/bash: -c: line 0: syntax error near unexpected token `)'
Full error:
Running test 'jtreg:test/hotspot/jtreg:tier1'
( /usr/bin/rm -f /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-support/jtreg_test_hotspot_jtreg_tier1/jtreg.log && ( /usr/lib/jvm/java-11-openjdk/bin/java -Xms64M -Xmx1600M -XX:ThreadStackSize=1536 -Duser.language=en -Duser.country=US -XX:+UnlockDiagnosticVMOptions -XX:-VerifySharedSpaces -XX:SharedArchiveFile=/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/configure-support/classes.jsa -Xshare:auto -Djava.library.path="/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/images/test/failure_handler" -Dprogram=jtreg -jar /disk/openjdk/upstream-sources/jtreg/lib/jtreg.jar -agentvm -verbose:fail,error,summary -retain:fail,error -concurrency:4 -timeoutFactor:4 -vmoption:-XX:MaxRAMPercentage=6 -automatic -ignore:quiet -e:JIB_DATA_DIR -e:JDK8_HOME=/usr/lib/jvm/java-11-openjdk -vmoption:--illegal-access=deny -nativepath:/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/images/test/hotspot/jtreg/native -exclude:/disk/openjdk/upstream-sources/openjdk-11-dev/test/hotspot/jtreg/ProblemList.txt -e:TEST_IMAGE_DIR=/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/images/test -e:TEST_IMAGE_GRAAL_DIR=/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/images/test/hotspot/jtreg/graal -testjdk:/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/images/jdk -dir:/disk/openjdk/upstream-sources/openjdk-11-dev -reportDir:/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-results/jtreg_test_hotspot_jtreg_tier1 -workDir:/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-support/jtreg_test_hotspot_jtreg_tier1 -timeoutHandlerDir:/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/images/test/failure_handler/jtregFailureHandler.jar -observerDir:/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/images/test/failure_handler/jtregFailureHandler.jar -timeoutHandler:jdk.test.failurehandler.jtreg.GatherProcessInfoTimeoutHandler -observer:jdk.test.failurehandler.jtreg.GatherDiagnosticInfoObserver -timeoutHandlerTimeout:0 test/hotspot/jtreg:tier1 && /usr/bin/echo $? > /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-results/jtreg_test_hotspot_jtreg_tier1/exitcode.txt || /usr/bin/echo $? > /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-results/jtreg_test_hotspot_jtreg_tier1/exitcode.txt ) > >(/usr/bin/tee -a /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-support/jtreg_test_hotspot_jtreg_tier1/jtreg.log) 2> >(/usr/bin/tee -a /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-support/jtreg_test_hotspot_jtreg_tier1/jtreg.log >&2) || ( exitcode=$? && /usr/bin/cp /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-support/jtreg_test_hotspot_jtreg_tier1/jtreg.log /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/make-support/failure-logs/test-support_jtreg_test_hotspot_jtreg_tier1_jtreg.log && /usr/bin/cp /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-support/jtreg_test_hotspot_jtreg_tier1/jtreg.cmdline /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/make-support/failure-logs/test-support_jtreg_test_hotspot_jtreg_tier1_jtreg.cmdline && exit $exitcode ) ))
/usr/bin/bash: -c: line 0: syntax error near unexpected token `)'
gmake[3]: *** [RunTests.gmk:874: run-test-jtreg_test_hotspot_jtreg_tier1] Error 2
gmake[3]: Leaving directory '/disk/openjdk/upstream-sources/openjdk-11-dev/make'
gmake[2]: *** [make/Main.gmk:465: run-test-tier1] Error 2
gmake[2]: Leaving directory '/disk/openjdk/upstream-sources/openjdk-11-dev'
The backport patch had one closing bracket too many in two places.
/usr/bin/bash: -c: line 0: syntax error near unexpected token `)'
Full error:
Running test 'jtreg:test/hotspot/jtreg:tier1'
( /usr/bin/rm -f /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-support/jtreg_test_hotspot_jtreg_tier1/jtreg.log && ( /usr/lib/jvm/java-11-openjdk/bin/java -Xms64M -Xmx1600M -XX:ThreadStackSize=1536 -Duser.language=en -Duser.country=US -XX:+UnlockDiagnosticVMOptions -XX:-VerifySharedSpaces -XX:SharedArchiveFile=/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/configure-support/classes.jsa -Xshare:auto -Djava.library.path="/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/images/test/failure_handler" -Dprogram=jtreg -jar /disk/openjdk/upstream-sources/jtreg/lib/jtreg.jar -agentvm -verbose:fail,error,summary -retain:fail,error -concurrency:4 -timeoutFactor:4 -vmoption:-XX:MaxRAMPercentage=6 -automatic -ignore:quiet -e:JIB_DATA_DIR -e:JDK8_HOME=/usr/lib/jvm/java-11-openjdk -vmoption:--illegal-access=deny -nativepath:/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/images/test/hotspot/jtreg/native -exclude:/disk/openjdk/upstream-sources/openjdk-11-dev/test/hotspot/jtreg/ProblemList.txt -e:TEST_IMAGE_DIR=/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/images/test -e:TEST_IMAGE_GRAAL_DIR=/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/images/test/hotspot/jtreg/graal -testjdk:/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/images/jdk -dir:/disk/openjdk/upstream-sources/openjdk-11-dev -reportDir:/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-results/jtreg_test_hotspot_jtreg_tier1 -workDir:/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-support/jtreg_test_hotspot_jtreg_tier1 -timeoutHandlerDir:/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/images/test/failure_handler/jtregFailureHandler.jar -observerDir:/disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/images/test/failure_handler/jtregFailureHandler.jar -timeoutHandler:jdk.test.failurehandler.jtreg.GatherProcessInfoTimeoutHandler -observer:jdk.test.failurehandler.jtreg.GatherDiagnosticInfoObserver -timeoutHandlerTimeout:0 test/hotspot/jtreg:tier1 && /usr/bin/echo $? > /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-results/jtreg_test_hotspot_jtreg_tier1/exitcode.txt || /usr/bin/echo $? > /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-results/jtreg_test_hotspot_jtreg_tier1/exitcode.txt ) > >(/usr/bin/tee -a /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-support/jtreg_test_hotspot_jtreg_tier1/jtreg.log) 2> >(/usr/bin/tee -a /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-support/jtreg_test_hotspot_jtreg_tier1/jtreg.log >&2) || ( exitcode=$? && /usr/bin/cp /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-support/jtreg_test_hotspot_jtreg_tier1/jtreg.log /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/make-support/failure-logs/test-support_jtreg_test_hotspot_jtreg_tier1_jtreg.log && /usr/bin/cp /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/test-support/jtreg_test_hotspot_jtreg_tier1/jtreg.cmdline /disk/openjdk/upstream-sources/openjdk-11-dev/build/linux-x86_64-normal-server-release/make-support/failure-logs/test-support_jtreg_test_hotspot_jtreg_tier1_jtreg.cmdline && exit $exitcode ) ))
/usr/bin/bash: -c: line 0: syntax error near unexpected token `)'
gmake[3]: *** [RunTests.gmk:874: run-test-jtreg_test_hotspot_jtreg_tier1] Error 2
gmake[3]: Leaving directory '/disk/openjdk/upstream-sources/openjdk-11-dev/make'
gmake[2]: *** [make/Main.gmk:465: run-test-tier1] Error 2
gmake[2]: Leaving directory '/disk/openjdk/upstream-sources/openjdk-11-dev'
The backport patch had one closing bracket too many in two places.
- relates to
-
JDK-8232834 RunTest sometimes fails to produce valid exitcode.txt
- Resolved