adoptium / aqa-tests

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

dragonwell8_feature_jdk2_0 fail with Syntax error #3735

Closed sendaoYan closed 2 years ago

sendaoYan commented 2 years ago

Describe the bug dragonwell8_feature_jdk2_0 fail with 'syntax error: end of file unexpected (expecting "}")'

To Reproduce

cd aqa-testsexport JDK_VERSION=8
export JAVA_HOME=~/software/jdk/2022-05/dragonwell-8.11.12
export TEST_JDK_HOME=$JAVA_HOME
export PATH=$JAVA_HOME/bin:$PATH
export USE_TESTENV_PROPERTIES=true
export JDK_IMPL=hotspot
export BUILD_LIST=openjdk
cd aqa-tests
./compile.sh
cd TKG
make _dragonwell8_feature_jdk2_0

Expected behavior run pass

Actucal behavior

===============================================
Running test dragonwell8_feature_jdk2_0 ...
===============================================
dragonwell8_feature_jdk2_0 Start Time: Tue Jun  7 13:53:06 2022 Epoch Time (ms): 1654581186759
Nothing to be done for setup.
variation: NoOptions
JVM_OPTIONS:  
{ itercnt=1; \
mkdir -p "/home/yansendao/aqa-tests-jdk8/TKG/../TKG/output_16545811865141/dragonwell8_feature_jdk2_0"; \
cd "/home/yansendao/aqa-tests-jdk8/TKG/../TKG/output_16545811865141/dragonwell8_feature_jdk2_0"; \
"/home/yansendao/software/jdk/2022-05/dragonwell-8.11.12/bin/java" -Xmx512m -jar "/home/yansendao/aqa-tests-jdk8/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \
                -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc
/bin/sh: 5: Syntax error: end of file unexpected (expecting "}")
make[3]: *** [autoGen.mk:33: dragonwell8_feature_jdk2_0] Error 2
make[3]: Leaving directory '/home/yansendao/aqa-tests-jdk8/openjdk'
make[2]: *** [/home/yansendao/aqa-tests-jdk8/TKG/../TKG/settings.mk:260: dragonwell8_feature_jdk2_0-openjdk] Error 2
make[2]: Leaving directory '/home/yansendao/aqa-tests-jdk8'
make[1]: *** [settings.mk:260: dragonwell8_feature_jdk2_0-..] Error 2
make[1]: Leaving directory '/home/yansendao/aqa-tests-jdk8/TKG'
make: *** [makefile:50: _dragonwell8_feature_jdk2_0] Error 2

Additional context

image

fix patch

git diff openjdk/playlist.xml
diff --git a/openjdk/playlist.xml b/openjdk/playlist.xml
index 7028184..6708981 100644
--- a/openjdk/playlist.xml
+++ b/openjdk/playlist.xml
@@ -1916,8 +1916,8 @@
        <test>
                <testCaseName>dragonwell8_feature_jdk2</testCaseName>
                <command>$(JAVA_COMMAND) -Xmx512m -jar $(Q)$(TEST_RESROOT)$(D)jtreg$(D)lib$(D)jtreg.jar$(Q) \
-                       -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc
-                       -ignore:quiet -timeoutFactor:1 -xml:verify -concurrency:1 -k:'!headful' -vmoptions:"-Xmx512m"
+                       -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc \
+                       -ignore:quiet -timeoutFactor:1 -xml:verify -concurrency:1 -k:'!headful' -vmoptions:"-Xmx512m" \
                        -vmoptions:$(Q)-Xmx512m $(JVM_OPTIONS)$(Q) \
                        -w $(Q)$(REPORTDIR)$(D)work$(Q) \
                        -r $(Q)$(TEST_RESROOT)$(D)report$(Q) \
smlambert commented 2 years ago

@sendaoYan - can you create a PR based on the change you suggested in your fix patch please?

sendaoYan commented 2 years ago

@sendaoYan - can you create a PR based on the change you suggested in your fix patch please?

I would like to do it.