Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SharedClassesWorkload* test failed on JDK10-linux_x86-64_cmprssptrs #2315

Closed
llxia opened this issue Jul 4, 2018 · 6 comments
Closed

SharedClassesWorkload* test failed on JDK10-linux_x86-64_cmprssptrs #2315

llxia opened this issue Jul 4, 2018 · 6 comments

Comments

@llxia
Copy link
Contributor

llxia commented Jul 4, 2018

SharedClassesWorkload* tests (following) failed on JDK10-linux_x86-64_cmprssptrs, but passed on JDK8.

  • SharedClassesWorkload_0
  • SharedClassesWorkloadTest_Softmx_Increase_0
  • SharedClassesWorkloadTest_Softmx_IncreaseDecrease_0
  • SharedClassesWorkloadTest_Softmx_Increase_JitAot_Linux_0

Failed on JDK10: https://ci.eclipse.org/openj9/job/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/1/tapResults/

Passed on JDK8: https://ci.adoptopenjdk.net/view/System%20tests/job/openjdk8_j9_systemtest_x86-64_linux/125/tapResults/

Output:

STF 17:27:24.936 - Running command: /home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/openjdkbinary/j2sdk-image/bin/../bin/java -Xshareclasses:name=workload_cache,cacheDir=/home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/openjdk-tests/TestConfig/scripts/testKitGen/../../../TestConfig/test_output_15302923048053/SharedClassesWorkload_0/20180629-172722-SharedClassesWorkload/results/cache -Xcompressedrefs -classpath /home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/jvmtest/systemtest/stf/stf.load/bin:/home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/jvmtest/systemtest/stf/stf.core/bin:/home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/jvmtest/systemtest/systemtest_prereqs/log4j-2.3/log4j-api-2.3.jar:/home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/jvmtest/systemtest/systemtest_prereqs/log4j-2.3/log4j-core-2.3.jar:/home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/jvmtest/systemtest/systemtest_prereqs/junit-4.12/junit-4.12.jar:/home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/jvmtest/systemtest/systemtest_prereqs/junit-4.12/hamcrest-core-1.3.jar:/home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/jvmtest/systemtest/openjdk-systemtest/openjdk.test.lang/bin:/home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/jvmtest/systemtest/openjdk-systemtest/openjdk.test.util/bin:/home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/jvmtest/systemtest/openjdk-systemtest/openjdk.test.math/bin net.adoptopenjdk.loadTest.LoadTest -resultsDir /home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/openjdk-tests/TestConfig/scripts/testKitGen/../../../TestConfig/test_output_15302923048053/SharedClassesWorkload_0/20180629-172722-SharedClassesWorkload/results -resultsPrefix 4.SCL1. -reportFailureLimit 1 -abortAtFailureLimit 10 -maxTotalLogFileSpace 200M -maxSingleLogSize 1/25 -suite.mini-mix.inventoryFile /home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/openjdk-tests/TestConfig/scripts/testKitGen/../../../TestConfig/test_output_15302923048053/SharedClassesWorkload_0/20180629-172722-SharedClassesWorkload/results/4.SCL1.inventory/openjdk.test.load/config/inventories/mix/mini-mix.xml -suite.mini-mix.inventoryExcludeFile /home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/openjdk-tests/TestConfig/scripts/testKitGen/../../../TestConfig/test_output_15302923048053/SharedClassesWorkload_0/20180629-172722-SharedClassesWorkload/results/4.SCL1.inventory/openjdk.test.load/config/inventories/mix/mini-mix_exclude.xml -suite.mini-mix.threadCount 3 -suite.mini-mix.totalNumberTests 600 -suite.mini-mix.selection sequential -suite.mini-mix.seed -1 -suite.mini-mix.repeatCount 1 -suite.mini-mix.thinkingTime 0ms..0ms
STF 17:27:24.936 - Redirecting stderr to /home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/openjdk-tests/TestConfig/scripts/testKitGen/../../../TestConfig/test_output_15302923048053/SharedClassesWorkload_0/20180629-172722-SharedClassesWorkload/results/4.SCL1.stderr
STF 17:27:24.936 - Redirecting stdout to /home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/openjdk-tests/TestConfig/scripts/testKitGen/../../../TestConfig/test_output_15302923048053/SharedClassesWorkload_0/20180629-172722-SharedClassesWorkload/results/4.SCL1.stdout
STF 17:27:24.946 - Monitoring processes: SCL1
STF 17:27:36.153 - Monitoring Report Summary:
STF 17:27:36.153 -   o Process SCL1 ended with the expected exit code (0)
STF 17:27:36.153 - 
STF 17:27:36.153 - +------ Step 5 - List all caches
STF 17:27:36.153 - | Verify contents of shared classes cache
STF 17:27:36.153 - |   Options:           -Xshareclasses:name=workload_cache,cacheDir=/home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/openjdk-tests/TestConfig/scripts/testKitGen/../../../TestConfig/test_output_15302923048053/SharedClassesWorkload_0/20180629-172722-SharedClassesWorkload/results/cache${cacheOperation}
STF 17:27:36.153 - |   CacheName:         workload_cache
STF 17:27:36.153 - |   CacheDir:          /home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/openjdk-tests/TestConfig/scripts/testKitGen/../../../TestConfig/test_output_15302923048053/SharedClassesWorkload_0/20180629-172722-SharedClassesWorkload/results/cache
STF 17:27:36.153 - |   CacheOperation:    ,listAllCaches
STF 17:27:36.154 - |   ExpectedCacheName: workload_cache
STF 17:27:36.154 - |   ExpectedNum:       1
STF 17:27:36.154 - |
STF 17:27:36.154 - Running command: /home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/openjdkbinary/j2sdk-image/bin/../bin/java -Xshareclasses:name=workload_cache,cacheDir=/home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/openjdk-tests/TestConfig/scripts/testKitGen/../../../TestConfig/test_output_15302923048053/SharedClassesWorkload_0/20180629-172722-SharedClassesWorkload/results/cache,listAllCaches -Xcompressedrefs
STF 17:27:36.154 - Redirecting stderr to /home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/openjdk-tests/TestConfig/scripts/testKitGen/../../../TestConfig/test_output_15302923048053/SharedClassesWorkload_0/20180629-172722-SharedClassesWorkload/results/5.SCV.stderr
STF 17:27:36.154 - Redirecting stdout to /home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/openjdk-tests/TestConfig/scripts/testKitGen/../../../TestConfig/test_output_15302923048053/SharedClassesWorkload_0/20180629-172722-SharedClassesWorkload/results/5.SCV.stdout
STF 17:27:36.155 - Monitoring processes: SCV
SCV stderr 
SCV stderr Listing all caches in cacheDir /home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/openjdk-tests/TestConfig/scripts/testKitGen/../../../TestConfig/test_output_15302923048053/SharedClassesWorkload_0/20180629-172722-SharedClassesWorkload/results/cache/
SCV stderr 
SCV stderr Cache name      	level         cache-type      feature         OS shmid       OS semid       last detach time
SCV stderr 
SCV stderr Compatible shared caches
SCV stderr workload_cache  	Java10 64-bit  persistent      cr                                            Fri Jun 29 17:27:36 2018
SCV stderr 
STF 17:27:36.238 - Monitoring Report Summary:
STF 17:27:36.238 -   o Process SCV ended with the expected exit code (1)
**FAILED** at step 5 (List all caches). Expected return value=1 Actual=0 at /home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/openjdk-tests/TestConfig/scripts/testKitGen/../../../TestConfig/test_output_15302923048053/SharedClassesWorkload_0/20180629-172722-SharedClassesWorkload/execute.pl line 165.
STF 17:27:36.274 - **FAILED** execute script failed. Expected return value=0 Actual=1

Logs can be found in https://ci.eclipse.org/openj9/job/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/1/artifact/systemtest_test_output.tar.gz

STF 17:27:24.725 - Java version
STF 17:27:24.725 - Running: /home/jenkins/workspace/Test-extended.system-JDK10-linux_x86-64_cmprssptrs/openjdkbinary/j2sdk-image/bin/../bin/java -version
openjdk version "10.0.1-internal" 2018-04-17
OpenJDK Runtime Environment (build 10.0.1-internal+0-adhoc.jenkins.Build-JDK10-linuxx86-64cmprssptrs)
Eclipse OpenJ9 VM (build master-60254928, JRE 10 Linux amd64-64-Bit Compressed References 20180629_198 (JIT enabled, AOT enabled)
OpenJ9   - 60254928
OMR      - 6b22dda7
JCL      - e180ae0ddb based on jdk-10.0.1+10)
@llxia
Copy link
Contributor Author

llxia commented Jul 4, 2018

fyi @Mesbah-Alam

@llxia
Copy link
Contributor Author

llxia commented Jul 4, 2018

SharedClassesWorkloadTest_Softmx_Increase_JitAot_Linux_0 failure seems related to adoptium/aqa-systemtest#79

@hangshao0
Copy link
Contributor

hangshao0 commented Jul 4, 2018

Do these tests ever pass on JDK10 before ? I see the Java10 shared cache (workload_cache) been found in the output though.

@llxia
Copy link
Contributor Author

llxia commented Jul 4, 2018

Test seems never passed from Adopt history.
https://ci.adoptopenjdk.net/view/System%20tests/job/openjdk10_j9_systemtest_x86-64_linux/

@llxia
Copy link
Contributor Author

llxia commented Jul 4, 2018

In execute.pl:

while (my $line = <LOG>) {
    if ($line =~ 'Java[6789]') {
        $actual_cache_count++;
    }
}

There is no check for 10.
@Mesbah-Alam , could you update the test material? We should make the check more robust.

@llxia llxia added the comp:test label Jul 4, 2018
@Mesbah-Alam
Copy link
Contributor

@llxia thanks for pointing this out. The regex in the test indeed does not support Java 10 and 11 and it needs to be updated. I'm preparing a PR for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants