Giter Club home page Giter Club logo

aqa-tests's Introduction

Logo


License contributors commit-activity closed-issues closed-pr release-date
slack Twitter

Adoptium Testing

Guide to the Test Jobs at Adoptium

For nightly and release builds, there are test jobs running as part of the Adoptium continuous delivery pipelines. There is a blog post and brief presentation that explains what testing we run and how they fit into the overall delivery pipeline. As the world of testing at Adoptium is evolving and improving quickly, some documentation may fall behind the march of progress. Please let us know and help us keep it up-to-date, and ask questions at the Adoptium testing Slack channel!

CI pipeline view

Test 'Inventory'

The directory structure in this aqa-tests repository is meant to reflect the different types of test we run (and pull from lots of other locations). The diagrams below show the test make target for each of the types, along with in-plan, upcoming additions (denoted by dotted line grey boxes). The provided links jump to test jobs in Jenkins (ci.adoptium.net).

graph TD
    A[openjdk-tests] -->B[make _perf]
    A[openjdk-tests] -->C[make _openjdk]
    A[openjdk-tests] -->D[make _system]
    A[openjdk-tests] -->E[make _functional]
    A[openjdk-tests] -->F[make _jck]
    A[openjdk-tests] -->G[make _external]
    B[make _perf] -->|perf|H[performance]
    H[performance] -->|_sanity.perf|I[.....]
    H[performance] -->|_extended.perf|J[..]
    C[make _openjdk] -->|openjdk|K[openjdk]
    D[make _system] -->|system|L[system]
    E[make _functional] -->|functional|M[functional]
    F[make _jck] -->|jck|N[jck]
    G[make _external] -->|external|O[external]
    O[external] -->|_sanity.external|P[...]
    O[external] -->|_extended.external|Q[....] 
    
Loading

openjdk tests - OpenJDK regression tests

Tests from OpenJDK


system tests - System and load tests

Tests from the adoptium/aqa-systemtest repo


external tests - 3rd party application tests

Test suites from a variety of applications, along with microprofile TCKs, run in Docker containers

graph TD
 A[openjdk-tests] -->|make _external| B[external]
    B --> C[derby]
    B --> D[elasticsearch]
    B --> E[example]
    B --> F[jenkins]
    B --> G[kafka]
    B --> H[lucene-solr]
    B -->|_sanity.external|I[scala]
    B --> J[tomcat]
    B --> K[wildfly]
    B --> L[openliberty]
    B --> M[geode]
    B --> N[hbase]
    B --> O[akka]
    B --> P[logstash]
    B --> Q[openliberty-mp-tck]
    B -->|_extended.external|R[payara-mp-tck]
    B --> S[thorntail-mp-tck]
   
Loading

perf tests - Performance benchmark suites

Performance benchmark tests (both full suites and microbenches) from different open-source projects such as Acme-Air and adoptium/bumblebench

graph TD
 A[openjdk-tests] -->|make _perf| B[performance]
    B -->|_sanity.perf| C[bbench]
    B --> D[idle_micro]
    B --> E[odm]
    B -->|_extended.perf| F[liberty_dt]
    B --> G[acme_air]
Loading

functional tests - Unit and functional tests

Functional tests not originating from the openjdk regression suite, that include locale/language tests and a subset of implementation agnostic tests from the openj9 project.


jck tests - Compliance tests

TCK tests (under the OpenJDK Community TCK License Agreement), in compliance with the license agreement. While this test material is currently not run at the Adoptium project (see the support statement for details), those with their own OCTLA agreements may use the Adoptium test automation infrastructure to execute their TCK test material in their own private Jenkins servers.


Guide to Running the Tests Yourself

For more details on how to run the same tests that we run at Adoptium on your laptop or in your build farm, please consult our User Guide (work in progress).

What is our motivation?

We want:

  • better, more flexible tests, with the ability to apply certain types of testing to different builds
  • a common way to easily add, edit, group, include, exclude and execute tests on adoptium builds
  • the latitude to use a variety of tests that use many different test frameworks
  • test results to have a common look & feel for easier viewing and comparison

There are a great number of tests available to test a JVM, starting with the OpenJDK regression tests. In addition to running the OpenJDK regression tests, we will increase the amount of testing and coverage by pulling in other open tests. These new tests are not necessarily written using the jtreg format.

Why the need for other testing? The OpenJDK regression tests are a great start, but eventually you may want to be able to test how performant is your code, and whether some 3rd party applications still work. We will begin to incorporate more types of testing, including:

  • additional API and functional tests
  • stress/load tests
  • system level tests such as 3rd party application tests
  • performance tests
  • TCK tests

The test infrastructure in this repository allows us to lightly yoke a great variety of tests together to be applied to testing the adoptium binaries. By using an intentionally thin wrapper around a varied set of tests, we can more easily run all types of tests via make targets and as stages in our Jenkins CI pipeline builds.

How can you help?

You can:

aqa-tests's People

Contributors

adam-thorpe avatar adambrousseau avatar adamfarley avatar andrew-m-leonard avatar annaibm avatar babsingh avatar bblondin avatar ben-walsh avatar chengjin01 avatar dependabot[bot] avatar fengxue-is avatar gdams avatar github-actions[bot] avatar jasonfengj9 avatar kkes335 avatar knn-k avatar llxia avatar longyuzhang avatar lumpfish avatar m-davies avatar mesbah-alam avatar piyush286 avatar pshipton avatar renfeiw avatar sendaoyan avatar smlambert avatar sophia-guo avatar sxa avatar takiguc avatar zzambers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aqa-tests's Issues

PR build break

We are using PRbuild in jenkins pipeline. It used to work. Seems started to break when plugin or jenkins itself updated.

https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/PR_sanity_openjdk_test_x86-64_linux/18/console

git fetch --tags --progress https://github.com/AdoptOpenJDK/openjdk-tests.git +refs/heads/:refs/remotes/origin/
git rev-parse origin/${sha}^{commit} # timeout=10
git rev-parse ${sha}^{commit} # timeout=10
Setting status of 88a2f7b to FAILURE with url https://ci.adoptopenjdk.net/job/PR_sanity_openjdk_test_x86-64_linux/18/ and message: 'There are sanity test failures
'
Using context: running sanity tests
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
Finished: FAILURE.

janinko/ghprb#347

jdk_security3: sun/security/pkcs11/Signature/TestDSAKeyLength.java

sun/security/pkcs11/Signature/TestDSAKeyLength.java fails with java.lang.Exception: Test Failed - expected IKE not thrown (libsoftokn3 version not found, set to 0.0: /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so, similar to issue #66):

20:43:50 HOME=/home/jenkins
20:43:50 LANG=en_US.UTF-8
20:43:50 PATH=/bin:/usr/bin
20:43:50 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/java
20:43:50 -Dtest.class.path.prefix=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/Signature:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/Signature:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11
20:43:50 -Dtest.src=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/Signature
20:43:50 -Dtest.src.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/Signature:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11
20:43:50 -Dtest.classes=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/Signature
20:43:50 -Dtest.class.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/Signature:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11
20:43:50 -Dtest.vm.opts='-ea -esa -Xmx512m'
20:43:50 -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m'
20:43:50 -Dtest.compiler.opts=
20:43:50 -Dtest.java.opts=
20:43:50 -Dtest.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:43:50 -Dcompile.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:43:50 -Dtest.timeout.factor=4.0
20:43:50 -classpath /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/Signature:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/Signature:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/javatest.jar:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/jtreg.jar
20:43:50 TestDSAKeyLength
20:43:50 STDOUT:
20:43:50 Beginning test run TestDSAKeyLength...
20:43:50 Running test with provider SunPKCS11-NSS...
20:43:50 libsoftokn3 version not found, set to 0.0: /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so
20:43:50 STDERR:
20:43:50 java.lang.Exception: Test Failed - expected IKE not thrown
20:43:50 at TestDSAKeyLength.main(TestDSAKeyLength.java:69)
20:43:50 at PKCS11Test.premain(PKCS11Test.java:88)
20:43:50 at PKCS11Test.testNSS(PKCS11Test.java:403)
20:43:50 at PKCS11Test.main(PKCS11Test.java:98)
20:43:50 at TestDSAKeyLength.main(TestDSAKeyLength.java:39)
20:43:50 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:43:50 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
20:43:50 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20:43:50 at java.lang.reflect.Method.invoke(Method.java:498)
20:43:50 at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
20:43:50 at java.lang.Thread.run(Thread.java:748)
20:43:50
20:43:50 JavaTest Message: Test threw exception: java.lang.Exception
20:43:50 JavaTest Message: shutting down test
20:43:50
20:43:50
20:43:50 TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.Exception: Test Failed - expected IKE not thrown

jdk_tools: sun/tools/jstatd/TestJstatdDefaults.java fails (malformed VM identifier)

jstat fails to start due to Malformed VM Identifier: [email protected], output from https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_linux/34/consoleFull:

21:33:25 Start jstat:
21:33:25 [/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/jstat -J-XX:+UsePerfData -J-Duser.language=en -gcutil [email protected] 250 5]
21:33:25 Malformed VM Identifier: [email protected]
21:33:25 Usage: jstat -help|-options
21:33:25 jstat - [-t] [-h] [ []]
21:33:25
21:33:25 Definitions:
21:33:25 An option reported by the -options option
21:33:25 Virtual Machine Identifier. A vmid takes the following form:
21:33:25 [@[:]]
21:33:25 Where is the local vm identifier for the target
21:33:25 Java virtual machine, typically a process id; is
21:33:25 the name of the host running the target Java virtual machine;
21:33:25 and is the port number for the rmiregistry on the
21:33:25 target host. See the jvmstat documentation for a more complete
21:33:25 description of the Virtual Machine Identifier.
21:33:25 Number of samples between header lines.
21:33:25 Sampling interval. The following forms are allowed:
21:33:25 ["ms"|"s"]
21:33:25 Where is an integer and the suffix specifies the units as
21:33:25 milliseconds("ms") or seconds("s"). The default units are "ms".
21:33:25 Number of samples to take before terminating.
21:33:25 -J Pass directly to the runtime system.
21:33:25
21:33:25 ProcessThread.stopProcess() will kill process
21:33:25 --- ProcessLog ---
21:33:25 cmd: /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/jstatd -J-XX:+UsePerfData -J-Djava.security.policy=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/tools/jstatd/all.policy -J-Dparent.pid.19954
21:33:25 exitvalue: 143
21:33:25 stderr:
21:33:25 stdout:
21:33:25
21:33:25 STDERR:
21:33:25 stdout: [];
21:33:25 stderr: [Malformed VM Identifier: [email protected]
21:33:25 Usage: jstat -help|-options
21:33:25 jstat - [-t] [-h] [ []]
21:33:25
21:33:25 Definitions:
21:33:25 An option reported by the -options option
21:33:25 Virtual Machine Identifier. A vmid takes the following form:
21:33:25 [@[:]]
21:33:25 Where is the local vm identifier for the target
21:33:25 Java virtual machine, typically a process id; is
21:33:25 the name of the host running the target Java virtual machine;
21:33:25 and is the port number for the rmiregistry on the
21:33:25 target host. See the jvmstat documentation for a more complete
21:33:25 description of the Virtual Machine Identifier.
21:33:25 Number of samples between header lines.
21:33:25 Sampling interval. The following forms are allowed:
21:33:25 ["ms"|"s"]
21:33:25 Where is an integer and the suffix specifies the units as
21:33:25 milliseconds("ms") or seconds("s"). The default units are "ms".
21:33:25 Number of samples to take before terminating.
21:33:25 -J Pass directly to the runtime system.
21:33:25 ]
21:33:25 exitValue = 1
21:33:25
21:33:25 java.lang.RuntimeException: Expected to get exit value of [0]
21:33:25
21:33:25 at jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:361)
21:33:25 at JstatdTest.verifyJstatOutput(JstatdTest.java:246)
21:33:25 at JstatdTest.runToolsAndVerify(JstatdTest.java:259)
21:33:25 at JstatdTest.doTest(JstatdTest.java:361)
21:33:25 at TestJstatdDefaults.main(TestJstatdDefaults.java:35)
21:33:25 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
21:33:25 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
21:33:25 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
21:33:25 at java.lang.reflect.Method.invoke(Method.java:498)
21:33:25 at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
21:33:25 at java.lang.Thread.run(Thread.java:748)
21:33:25
21:33:25 JavaTest Message: Test threw exception: java.lang.RuntimeException
21:33:25 JavaTest Message: shutting down test
21:33:25
21:33:25
21:33:25 TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

jdk_nio: Agent communication error during java.nio.Buffer test (SIGSEGV crash)

Agent crashes during java/nio/Buffer test, SIGSEGV (0xb) at pc=0x00007f12a483e058, pid=28852, tid=0x00007f128c392700

Problematic frame:
20:21:58 [2017-06-14 18:22:25,715] Agent[0]: stdout: # C [libjava.so+0xe058] Java_java_nio_Bits_copyToShortArray+0x1d8

output from https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_linux/34/consoleFull:

20:21:58 [2017-06-14 18:22:25,714] Agent[0]: stdout: #
20:21:58 [2017-06-14 18:22:25,714] Agent[0]: stdout: # A fatal error has been detected by the Java Runtime Environment:
20:21:58 [2017-06-14 18:22:25,715] Agent[0]: stdout: #
20:21:58 [2017-06-14 18:22:25,715] Agent[0]: stdout: # SIGSEGV (0xb) at pc=0x00007f12a483e058, pid=28852, tid=0x00007f128c392700
20:21:58 [2017-06-14 18:22:25,715] Agent[0]: stdout: #
20:21:58 [2017-06-14 18:22:25,715] Agent[0]: stdout: # JRE version: OpenJDK Runtime Environment (8.0) (build 1.8.0-internal-jenkins_2017_05_17_18_01-b00)
20:21:58 [2017-06-14 18:22:25,715] Agent[0]: stdout: # Java VM: OpenJDK 64-Bit Server VM (25.71-b00 mixed mode linux-amd64 compressed oops)
20:21:58 [2017-06-14 18:22:25,715] Agent[0]: stdout: # Problematic frame:
20:21:58 [2017-06-14 18:22:25,715] Agent[0]: stdout: # C [libjava.so+0xe058] Java_java_nio_Bits_copyToShortArray+0x1d8
20:21:58 [2017-06-14 18:22:25,716] Agent[0]: stdout: #
20:21:58 [2017-06-14 18:22:25,716] Agent[0]: stdout: # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
20:21:58 [2017-06-14 18:22:25,716] Agent[0]: stdout: #
20:21:58 [2017-06-14 18:22:25,716] Agent[0]: stdout: # An error report file with more information is saved as:
20:21:58 [2017-06-14 18:22:25,716] Agent[0]: stdout: # /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/scratch/0/hs_err_pid28852.log
20:21:58 [2017-06-14 18:22:25,796] Agent[0]: stdout: #
20:21:58 [2017-06-14 18:22:25,796] Agent[0]: stdout: # If you would like to submit a bug report, please visit:
20:21:58 [2017-06-14 18:22:25,796] Agent[0]: stdout: # http://bugreport.java.com/bugreport/crash.jsp
20:21:58 [2017-06-14 18:22:25,796] Agent[0]: stdout: #
20:21:58 TEST: java/nio/Buffer/Basic.java
20:21:58 TEST JDK: /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:21:58
20:21:58 ACTION: build -- Passed. All files up to date
20:21:58 REASON: Named class compiled on demand
20:21:58 TIME: 0.002 seconds
20:21:58 messages:
20:21:58 command: build Basic
20:21:58 reason: Named class compiled on demand
20:21:58 elapsed time (seconds): 0.002
20:21:58
20:21:58 ACTION: main -- Error. Agent communication error: java.io.EOFException; check console log for any additional details
20:21:58 REASON: Assumed action based on file name: run main Basic
20:21:58 TIME: 4.982 seconds
20:21:58 messages:
20:21:58 command: main Basic
20:21:58 reason: Assumed action based on file name: run main Basic
20:21:58 Mode: agentvm
20:21:58 Agent id: 0
20:21:58 elapsed time (seconds): 4.982
20:21:58 configuration:
20:21:58 Boot Layer
20:21:58 class path: /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar
20:21:58 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/javatest.jar
20:21:58 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/jtreg.jar
20:21:58
20:21:58 Test Layer
20:21:58 class path: /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/1/java/nio/Buffer
20:21:58 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/nio/Buffer
20:21:58
20:21:58 rerun:
20:21:58 HOME=/home/jenkins
20:21:58 LANG=en_US.UTF-8
20:21:58 PATH=/bin:/usr/bin
20:21:58 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/java
20:21:58 -Dtest.class.path.prefix=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/1/java/nio/Buffer:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/nio/Buffer
20:21:58 -Dtest.src=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/nio/Buffer
20:21:58 -Dtest.src.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/nio/Buffer
20:21:58 -Dtest.classes=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/1/java/nio/Buffer
20:21:58 -Dtest.class.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/1/java/nio/Buffer
20:21:58 -Dtest.vm.opts='-ea -esa -Xmx512m'
20:21:58 -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m'
20:21:58 -Dtest.compiler.opts=
20:21:58 -Dtest.java.opts=
20:21:58 -Dtest.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:21:58 -Dcompile.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:21:58 -Dtest.timeout.factor=4.0
20:21:58 -classpath /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/1/java/nio/Buffer:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/nio/Buffer:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/javatest.jar:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/jtreg.jar
20:21:58 Basic
20:21:58
20:21:58 TEST RESULT: Error. Agent communication error: java.io.EOFException; check console log for any additional details

Jenkins pipeline can't set correct environment variables on windows

Backslash is discarded when interpolated in groovy string.
Environment variable JAVA_BIN="$WORKSPACE/openjdkbinary/j2sdk-image/jre/bin" ( OPENJDK_TEST="$WORKSPACE/openjdk-test") can not be set up correctly.

On Windows WORKSPACE=C:\Users\jenkins\workspace\openjdk_test_x86-64_windows $WORKSPACE is interpolated as C:Usersjenkinsworkspaceopenjdk_test_x86-64_windows.

Enable junit xml output in OpenJDK regression test runs

We shall enable the generation of junit xml files in the jtreg tests by using -xml:verify commandline option. This should allow us to use either the testng or junit Jenkins plugin to display the richer set of results.

Improvements to the README

As a user new to the Adopt OpenJDK area the README needs to have more information in it. It would benefit from a section along the lines of 'what is in this repository and why would I want to use it?'

In addition I've been trying to follow the steps outlined and there are some changes required there too. In the section below there isn't a test directory, the instruction cd /test/TestConfig doesn't work as TestConfig is at the top level. In addition it would be useful to put in an example for the format of the platform_on_which_to_test. Ideally there would be a list of all the available platforms which are valid for running tests on (this could be a link out to another github project containing the releases).

cd /test/TestConfig
  export JAVA_BIN=/location_of_JVM_under_test
  export SPEC=platform_on_which_to_test
  export JAVA_VERSION=[SE80|SE90] (SE90 default value)
  make -f run_configure.mk

Add new test nodes in Jenkins

We'd like to start testing on other platforms also, and to try out running tests in parallel. So a couple additional linux_x86-64 nodes and some for other platform testing will be good. Priority on adding more linux test nodes.

Myriad of warnings generated when running make configure

I have been following the instructions in the README and the make -f run_configure.mk step generates a large number of warnings. Are these warnings things which the user needs to take account of or can they be removed or suppressed as I feel that this renders the output unusable? (see example output below)

helens-mbp:TestConfig helenmasters$ make -f run_configure.mk
cd /Users/helenmasters/openjdk-tests/TestConfig/scripts/testKitGen; \
	perl testKitGen.pl ; \
	cd /Users/helenmasters/openjdk-tests/TestConfig;
projectRootDir is not provided. Set projectRootDir = /Users/helenmasters/openjdk-tests/TestConfig/scripts/testKitGen/../../..
graphSpecs is not provided. Set graphSpecs = aix_ppc,aix_ppc-64,aix_ppc-64_purec,aix_ppc_purec,linux_390,linux_390-64,linux_390-64_cs,linux_390-64_purec,linux_390_purec,linux_arm,linux_ppc-64_le,linux_ppc-64_le_purec,linux_x86,linux_x86-64,linux_x86-64_purec,linux_x86_purec,win_x86,win_x86-64,win_x86-64_purec,win_x86_purec,zos_390,zos_390-64,zos_390-64_purec,zos_390_purec
JCL_VERSION is latest
Warning: Cannot get data from modes service! Getting data from modes.xml and ottawa.csv...
Cannot open modes.xml. You can provide the file with option --modeXml=<path>.
Cannot open ottawa.csv. You can provide the file with option --ottawaCsv=<path>.

Generating make file based on /Users/helenmasters/openjdk-tests/TestConfig/scripts/testKitGen/../../../OpenJDK_Playlist/playlist.xml...
Generated /Users/helenmasters/openjdk-tests/TestConfig/scripts/testKitGen/../../../OpenJDK_Playlist/autoGenTest.mk!

Generating make file based on /Users/helenmasters/openjdk-tests/TestConfig/scripts/testKitGen/../../../TestExample/playlist.xml...
Generated /Users/helenmasters/openjdk-tests/TestConfig/scripts/testKitGen/../../../TestExample/autoGenTest.mk!

Generating make file based on subdirs...
Generated /Users/helenmasters/openjdk-tests/TestConfig/scripts/testKitGen/../../../autoGenTest.mk!

Warning: cannot find spec aix_ppc in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec aix_ppc-64 in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec aix_ppc-64_purec in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec aix_ppc_purec in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec linux_390 in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec linux_390-64 in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec linux_390-64_cs in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec linux_390-64_purec in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec linux_390_purec in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec linux_arm in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec linux_ppc-64_le in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec linux_ppc-64_le_purec in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec linux_x86 in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec linux_x86-64 in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec linux_x86-64_purec in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec linux_x86_purec in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec win_x86 in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec win_x86-64 in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec win_x86-64_purec in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec win_x86_purec in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec zos_390 in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec zos_390-64 in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec zos_390-64_purec in ModesDictionaryService or ottawa.csv file!

Warning: cannot find spec zos_390_purec in ModesDictionaryService or ottawa.csv file!

Generated /Users/helenmasters/openjdk-tests/TestConfig/scripts/testKitGen/../../../TestConfig/specToPlat.mk!
Generated /Users/helenmasters/openjdk-tests/TestConfig/scripts/testKitGen/../../../TestConfig/jvmTest.mk!

TEST AUTO GEN SUCCESSFUL

jdk_security3: sun/security/pkcs11/tls/TestKeyMaterial.java fails (could not generate key)

sun/security/pkcs11/tls/TestKeyMaterial.java fails with java.security.ProviderException: Could not generate key caused by ...
sun.security.pkcs11.wrapper.PKCS11Exception: CKR_MECHANISM_PARAM_INVALID:

20:43:51 HOME=/home/jenkins
20:43:51 LANG=en_US.UTF-8
20:43:51 PATH=/bin:/usr/bin
20:43:51 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/java
20:43:51 -Dtest.class.path.prefix=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/tls:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/tls:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11
20:43:51 -Dtest.src=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/tls
20:43:51 -Dtest.src.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/tls:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11
20:43:51 -Dtest.classes=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/tls
20:43:51 -Dtest.class.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/tls:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11
20:43:51 -Dtest.vm.opts='-ea -esa -Xmx512m'
20:43:51 -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m'
20:43:51 -Dtest.compiler.opts=
20:43:51 -Dtest.java.opts=
20:43:51 -Dtest.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:43:51 -Dcompile.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:43:51 -Dtest.timeout.factor=4.0
20:43:51 -classpath /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/tls:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/tls:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/javatest.jar:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/jtreg.jar
20:43:51 TestKeyMaterial
20:43:51 STDOUT:
20:43:51 Beginning test run TestKeyMaterial...
20:43:51 Running test with provider SunPKCS11-NSS...
20:43:51 ..................................................................STDERR:
20:43:51 java.security.ProviderException: Could not generate key
20:43:51 at sun.security.pkcs11.P11TlsKeyMaterialGenerator.engineGenerateKey(P11TlsKeyMaterialGenerator.java:206)
20:43:51 at javax.crypto.KeyGenerator.generateKey(KeyGenerator.java:540)
20:43:51 at TestKeyMaterial.main(TestKeyMaterial.java:140)
20:43:51 at PKCS11Test.premain(PKCS11Test.java:88)
20:43:51 at PKCS11Test.testNSS(PKCS11Test.java:403)
20:43:51 at PKCS11Test.main(PKCS11Test.java:98)
20:43:51 at TestKeyMaterial.main(TestKeyMaterial.java:50)
20:43:51 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:43:51 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
20:43:51 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20:43:51 at java.lang.reflect.Method.invoke(Method.java:498)
20:43:51 at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
20:43:51 at java.lang.Thread.run(Thread.java:748)
20:43:51 Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_MECHANISM_PARAM_INVALID
20:43:51 at sun.security.pkcs11.wrapper.PKCS11.C_DeriveKey(Native Method)
20:43:51 at sun.security.pkcs11.P11TlsKeyMaterialGenerator.engineGenerateKey(P11TlsKeyMaterialGenerator.java:164)
20:43:51 ... 12 more
20:43:51
20:43:51 JavaTest Message: Test threw exception: java.security.ProviderException
20:43:51 JavaTest Message: shutting down test
20:43:51
20:43:51
20:43:51 TEST RESULT: Failed. Execution failed: `main' threw exception: java.security.ProviderException: Could not generate key

Investigate Test_Thread failure in jdk_lang tests

Once we have the openjdk_test_x86-64_linux build tied to the image builds, we should verify if the Test_Thread test still fails.

If so, compare it against the run done by the jtreg.sh script to see if there is any difference in the configuration of the tests, that cause it to fail in one place, but pass in another.

Add mac_os to graphSpecs list

For use when people set SPEC= for testing (linux_x86-64 currently works for mac_os testing, but to avoid confusion, we should add it to the list.

Add Build dir to openjdk-tests repo

build/ansible/<contents from the openjdk-build/ansible dir, & tweak playbooks for test machines>
build/jenkins/<eventually contains jenkinsfiles for each platform... Jenkinsfile_x86-64_linux, etc>

Could also have a Jenkinsfile_x86-64_linux_docker file (which does not refer to specific nodes/labels so our Docker image of this test build still works).

Look at taking parameters into the groovy script and organize the stages to reuse the same Jenkinsfile to run just sanity tests for PR builds and all tests for nightlies (triggered off the successful completion of openjdk_build_x86-64_linux builds).

jdk_rmi: sun/rmi/transport/proxy/EagerHttpFallback.java fails (ConnectException)

sun/rmi/transport/proxy/EagerHttpFallback.java fails with ConnectException
(call on registry stub with port 45852did not successfully perform HTTP fallback to 36799, java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused (Connection refused), output from https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_linux/34/consoleFull:

20:38:25 HOME=/home/jenkins
20:38:25 LANG=en_US.UTF-8
20:38:25 PATH=/bin:/usr/bin
20:38:25 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/javac
20:38:25 -J-ea
20:38:25 -J-esa
20:38:25 -J-Xmx512m
20:38:25 -J-Dtest.src=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/rmi/transport/proxy
20:38:25 -J-Dtest.src.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/rmi/transport/proxy:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/rmi/testlibrary
20:38:25 -J-Dtest.classes=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/3/sun/rmi/transport/proxy
20:38:25 -J-Dtest.class.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/3/sun/rmi/transport/proxy:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/3/java/rmi/testlibrary
20:38:25 -J-Dtest.vm.opts='-ea -esa -Xmx512m'
20:38:25 -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m'
20:38:25 -J-Dtest.compiler.opts=
20:38:25 -J-Dtest.java.opts=
20:38:25 -J-Dtest.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:38:25 -J-Dcompile.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:38:25 -J-Dtest.timeout.factor=4.0
20:38:25 -d /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/3/sun/rmi/transport/proxy
20:38:25 -sourcepath /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/rmi/transport/proxy:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/rmi/testlibrary
20:38:25 -classpath /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/rmi/transport/proxy:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/3/sun/rmi/transport/proxy:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/3/java/rmi/testlibrary:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar
20:38:25 -XDignore.symbol.file=true /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/rmi/transport/proxy/EagerHttpFallback.java
20:38:25 STDOUT:
20:38:25 STDERR:
20:38:25
20:38:25 ACTION: main -- Failed. Execution failed: main' threw exception: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused (Connection refused) 20:38:25 REASON: User specified action: run main/othervm EagerHttpFallback 20:38:25 TIME: 1.12 seconds 20:38:25 messages: 20:38:25 command: main EagerHttpFallback 20:38:25 reason: User specified action: run main/othervm EagerHttpFallback 20:38:25 Mode: othervm [/othervm specified] 20:38:25 elapsed time (seconds): 1.12 20:38:25 configuration: 20:38:25 STDOUT: 20:38:25 STDERR: 20:38:25 call on registry stub with port 45852did not successfully perform HTTP fallback to 36799 20:38:25 java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: 20:38:25 java.net.ConnectException: Connection refused (Connection refused) 20:38:25 at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619) 20:38:25 at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216) 20:38:25 at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202) 20:38:25 at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:342) 20:38:25 at sun.rmi.registry.RegistryImpl_Stub.list(Unknown Source) 20:38:25 at EagerHttpFallback.main(EagerHttpFallback.java:60) 20:38:25 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:38:25 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 20:38:25 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:38:25 at java.lang.reflect.Method.invoke(Method.java:498) 20:38:25 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115) 20:38:25 at java.lang.Thread.run(Thread.java:748) 20:38:25 Caused by: java.net.ConnectException: Connection refused (Connection refused) 20:38:25 at java.net.PlainSocketImpl.socketConnect(Native Method) 20:38:25 at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) 20:38:25 at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) 20:38:25 at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) 20:38:25 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) 20:38:25 at java.net.Socket.connect(Socket.java:589) 20:38:25 at java.net.Socket.connect(Socket.java:538) 20:38:25 at java.net.Socket.<init>(Socket.java:434) 20:38:25 at java.net.Socket.<init>(Socket.java:211) 20:38:25 at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40) 20:38:25 at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148) 20:38:25 at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613) 20:38:25 ... 11 more 20:38:25 20:38:25 JavaTest Message: Test threw exception: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: 20:38:25 java.net.ConnectException: Connection refused (Connection refused) 20:38:25 JavaTest Message: shutting down test 20:38:25 20:38:25 STATUS:Failed.main' threw exception: java.rmi.ConnectException: Connection refused to host: 127.0.0.1

jdk_tools: sun/jvmstat/monitor/MonitoredVm/CR6672135.java fails (process not found)

This test may be trying to attach to a process it can not find, java.lang.IllegalArgumentException: Process not found, output from https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_linux/34/consoleFull:

21:32:19 HOME=/home/jenkins
21:32:19 LANG=en_US.UTF-8
21:32:19 PATH=/bin:/usr/bin
21:32:19 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/javac
21:32:19 -J-ea
21:32:19 -J-esa
21:32:19 -J-Xmx512m
21:32:19 -J-Dtest.class.path.prefix=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/2/sun/jvmstat/monitor/MonitoredVm:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/jvmstat/monitor/MonitoredVm
21:32:19 -J-Dtest.src=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/jvmstat/monitor/MonitoredVm
21:32:19 -J-Dtest.src.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/jvmstat/monitor/MonitoredVm
21:32:19 -J-Dtest.classes=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/2/sun/jvmstat/monitor/MonitoredVm
21:32:19 -J-Dtest.class.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/2/sun/jvmstat/monitor/MonitoredVm
21:32:19 -J-Dtest.vm.opts='-ea -esa -Xmx512m'
21:32:19 -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m'
21:32:19 -J-Dtest.compiler.opts=
21:32:19 -J-Dtest.java.opts=
21:32:19 -J-Dtest.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
21:32:19 -J-Dcompile.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
21:32:19 -J-Dtest.timeout.factor=4.0
21:32:19 -d /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/2/sun/jvmstat/monitor/MonitoredVm
21:32:19 -sourcepath /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/jvmstat/monitor/MonitoredVm
21:32:19 -classpath /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/jvmstat/monitor/MonitoredVm:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/2/sun/jvmstat/monitor/MonitoredVm:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar
21:32:19 -XDignore.symbol.file=true /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/jvmstat/monitor/MonitoredVm/CR6672135.java
21:32:19
21:32:19 ACTION: main -- Failed. Execution failed: main' threw exception: java.lang.Error: Test failed 21:32:19 REASON: User specified action: run main/othervm -XX:+UsePerfData CR6672135 21:32:19 TIME: 0.859 seconds 21:32:19 messages: 21:32:19 command: main -XX:+UsePerfData CR6672135 21:32:19 reason: User specified action: run main/othervm -XX:+UsePerfData CR6672135 21:32:19 Mode: othervm [/othervm specified] 21:32:19 elapsed time (seconds): 0.859 21:32:19 configuration: 21:32:19 STDOUT: 21:32:19 STDERR: 21:32:19 java.lang.Error: Test failed 21:32:19 at CR6672135.main(CR6672135.java:60) 21:32:19 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 21:32:19 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 21:32:19 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 21:32:19 at java.lang.reflect.Method.invoke(Method.java:498) 21:32:19 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115) 21:32:19 at java.lang.Thread.run(Thread.java:748) 21:32:19 Caused by: sun.jvmstat.monitor.MonitorException: 20864 not found 21:32:19 at sun.jvmstat.perfdata.monitor.protocol.local.PerfDataBuffer.<init>(PerfDataBuffer.java:84) 21:32:19 at sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.<init>(LocalMonitoredVm.java:68) 21:32:19 at sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.getMonitoredVm(MonitoredHostProvider.java:77) 21:32:19 at sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.getMonitoredVm(MonitoredHostProvider.java:67) 21:32:19 at CR6672135.main(CR6672135.java:53) 21:32:19 ... 6 more 21:32:19 Caused by: java.lang.IllegalArgumentException: Process not found 21:32:19 at sun.misc.Perf.attach(Native Method) 21:32:19 at sun.misc.Perf.attachImpl(Perf.java:270) 21:32:19 at sun.misc.Perf.attach(Perf.java:200) 21:32:19 at sun.jvmstat.perfdata.monitor.protocol.local.PerfDataBuffer.<init>(PerfDataBuffer.java:64) 21:32:19 ... 10 more 21:32:19 21:32:19 JavaTest Message: Test threw exception: java.lang.Error: Test failed 21:32:19 JavaTest Message: shutting down test 21:32:19 21:32:19 STATUS:Failed.main' threw exception: java.lang.Error: Test failed
21:32:19 rerun:
21:32:19 HOME=/home/jenkins
21:32:19 LANG=en_US.UTF-8
21:32:19 PATH=/bin:/usr/bin
21:32:19 CLASSPATH=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/2/sun/jvmstat/monitor/MonitoredVm:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/jvmstat/monitor/MonitoredVm:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/javatest.jar:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/jtreg.jar
21:32:19 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/java
21:32:19 -Dtest.class.path.prefix=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/2/sun/jvmstat/monitor/MonitoredVm:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/jvmstat/monitor/MonitoredVm
21:32:19 -Dtest.src=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/jvmstat/monitor/MonitoredVm
21:32:19 -Dtest.src.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/jvmstat/monitor/MonitoredVm
21:32:19 -Dtest.classes=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/2/sun/jvmstat/monitor/MonitoredVm
21:32:19 -Dtest.class.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/2/sun/jvmstat/monitor/MonitoredVm
21:32:19 -Dtest.vm.opts='-ea -esa -Xmx512m'
21:32:19 -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m'
21:32:19 -Dtest.compiler.opts=
21:32:19 -Dtest.java.opts=
21:32:19 -Dtest.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
21:32:19 -Dcompile.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
21:32:19 -Dtest.timeout.factor=4.0
21:32:19 -ea
21:32:19 -esa
21:32:19 -Xmx512m
21:32:19 -XX:+UsePerfData
21:32:19 com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/sun/jvmstat/monitor/MonitoredVm/CR6672135.d/main.0.jta
21:32:19
21:32:19 TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.Error: Test failed

Add 3rd party dependencies wget file

We depend on some 3rd party jars, which we pick up from external sites. We can add the file that contains the links to the TestConfig/lib folder, so that a user can run wget -f dependencies.txt to pick them up and have them in TestConfig/lib (where we expect them to be found).

We will also need to update README to indicate these dependencies (will be done as part of issue 1).

Add openjdk regression tests to test build

Right now the test build runs just the 2 example tests provided in this repo.

Next step is to start running some of the openjdk regression tests. 2 parts to this task:

  1. Ensuring the tests are available on the test machines as part of setup stage.
  2. Edit the OpenJDK_Playlist/playlist.xml file. We can leverage what has already been done in the jtreg.sh script (can even call it directly with the appropriate parameters as long as we grab the script as part of setup stage too).

Depending on how fast the different groups of jtreg tests run, we can tag them as sanity if fast, extended if longer running.

First group to include in the test build can be the hotspot tests.

Add link to test results details from TAP list view

We generate TAP results for all tests that we run from this test infrastructure. Since many different types of test frameworks can be called by this infrastructure, we wanted to have this standardized high-level view of test results.

The many types of test frameworks each produce their own type of test results, which we will also like to show, if they are present. Currently you can see more detailed test output from the console view, but this is not convenient to search through. When there are extra test results / artifacts, we should try to link to a view of them from the TAP results list view (for each test group).

For testing tests, this means linking to the html (or xml) pages that get created).
For jtreg tests and other types of tests/frameworks, we should determine which output files contain most useful information to link to.

This means we should ensure that test artifacts are kept for the Jenkins test builds that we keep.

jdk_management: DcmdMBeanPermissionsTest error (java.lang.SecurityException)

Output from https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_linux/34/consoleFull:

20:14:46 Note: /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/com/sun/management/DiagnosticCommandMBean/DcmdMBeanPermissionsTest.java uses unchecked or unsafe operations.
20:14:46 Note: Recompile with -Xlint:unchecked for details.
20:14:46
20:14:46 ACTION: main -- Failed. Unexpected exit from test [exit code: 1]
20:14:46 REASON: User specified action: run main/othervm DcmdMBeanPermissionsTest
20:14:46 TIME: 1.25 seconds
20:14:46 messages:
20:14:46 command: main DcmdMBeanPermissionsTest
20:14:46 reason: User specified action: run main/othervm DcmdMBeanPermissionsTest
20:14:46 Mode: othervm [/othervm specified]
20:14:46 elapsed time (seconds): 1.25
20:14:46 configuration:
20:14:46 STDOUT:
20:14:46 Testing gcClassHistogram
20:14:46 Testing gcClassStats
20:14:46 Testing gcRotateLog
20:14:46 Testing gcRun
20:14:46 Testing gcRunFinalization
20:14:46 Testing help
20:14:46 Testing threadPrint
20:14:46 Testing vmCommandLine
20:14:46 Testing vmFlags
20:14:46 Testing vmNativeMemory
20:14:46 Testing vmSystemProperties
20:14:46 Testing vmUptime
20:14:46 Testing vmVersion
20:14:46 TEST PASSED
20:14:46 STDERR:
20:14:46 Exception in thread "main" java.lang.SecurityException: ("java.io.FilePermission" "/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/javatest.jar" "read")
20:14:46 at DcmdMBeanPermissionsTest$CustomSecurityManager.checkPermission(DcmdMBeanPermissionsTest.java:90)
20:14:46 at java.net.URLClassLoader$4.run(URLClassLoader.java:709)
20:14:46 at java.net.URLClassLoader$4.run(URLClassLoader.java:707)
20:14:46 at java.security.AccessController.doPrivileged(Native Method)
20:14:46 at java.net.URLClassLoader.getPermissions(URLClassLoader.java:707)
20:14:46 at sun.misc.Launcher$AppClassLoader.getPermissions(Launcher.java:343)
20:14:46 at java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:206)
20:14:46 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
20:14:46 at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
20:14:46 at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
20:14:46 at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
20:14:46 at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
20:14:46 at java.security.AccessController.doPrivileged(Native Method)
20:14:46 at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
20:14:46 at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
20:14:46 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
20:14:46 at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
20:14:46 at com.sun.javatest.regtest.agent.RStatus.passed(RStatus.java:36)
20:14:46 at com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:83)

TAP plugin fails with parse error when tests fail

some tests fail will cause TAP plugin fails with parse error
https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_linux/13/
01:24:31 Error: Some tests failed or other problems occurred.
01:24:31 ]: special characters are not allowed
01:24:31 at org.tap4j.parser.Tap13Parser.parseDiagnostics(Tap13Parser.java:435)
01:24:31 at org.tap4j.parser.Tap13Parser.parseLine(Tap13Parser.java:262)
01:24:31 at org.tap4j.parser.Tap13Parser.parseTapStream(Tap13Parser.java:224)
01:24:31 ... 15 more
01:24:31 Caused by: unacceptable character '�' (0x7) special characters are not allowed
01:24:31 in "'string'", position 447721
01:24:31 at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:67)
01:24:31 at org.yaml.snakeyaml.reader.StreamReader.(StreamReader.java:47)
01:24:31 at org.yaml.snakeyaml.Yaml.load(Yaml.java:369)
01:24:31 at org.tap4j.parser.Tap13Parser.parseDiagnostics(Tap13Parser.java:430)
01:24:31 ... 17 more
01:24:31 TAP parse errors found in the build. Marking build as UNSTABLE
01:24:31 TAP Reports Processing: FINISH

Enable Windows test build

Now that we have a Windows test machine, we should enable a openjdk_test_x86-64_windows build triggered from successful completion of openjdk_build_x86-64_windows that runs all the tests.

jdk_rmi: java/rmi/Naming/legalRegistryNames/LegalRegistryNames.java fails (MalformedURLException)

java/rmi/Naming/legalRegistryNames/LegalRegistryNames.java fails testing form: //test-packet-x64-ubuntu-16.04-1/MyName
with java.net.MalformedURLException: invalid authority: //test-packet-x64-ubuntu-16.04-1/MyName
20:34:18 at java.rmi.Naming.intParseURL(Naming.java:330), output from https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_linux/34/consoleFull:

20:34:18 TEST: java/rmi/Naming/legalRegistryNames/LegalRegistryNames.java#id0
20:34:18 TEST JDK: /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:34:18
20:34:18 ACTION: build -- Passed. All files up to date
20:34:18 REASON: User specified action: run build TestLibrary Legal LegalRegistryNames_Stub
20:34:18 TIME: 0.0 seconds
20:34:18 messages:
20:34:18 command: build TestLibrary Legal LegalRegistryNames_Stub
20:34:18 reason: User specified action: run build TestLibrary Legal LegalRegistryNames_Stub
20:34:18 elapsed time (seconds): 0.0
20:34:18
20:34:18 ACTION: build -- Passed. All files up to date
20:34:18 REASON: Named class compiled on demand
20:34:18 TIME: 0.001 seconds
20:34:18 messages:
20:34:18 command: build LegalRegistryNames
20:34:18 reason: Named class compiled on demand
20:34:18 elapsed time (seconds): 0.001
20:34:18
20:34:18 ACTION: main -- Failed. Execution failed: main' threw exception: TestFailedException: TEST FAILED: Test failed 20:34:18 REASON: User specified action: run main LegalRegistryNames 20:34:18 TIME: 1.109 seconds 20:34:18 messages: 20:34:18 command: main LegalRegistryNames 20:34:18 reason: User specified action: run main LegalRegistryNames 20:34:18 Mode: othervm 20:34:18 elapsed time (seconds): 1.109 20:34:18 configuration: 20:34:18 STDOUT: 20:34:18 STDERR: 20:34:18 20:34:18 Regression test for bug/rfe 4254808 20:34:18 20:34:18 Starting registry on default port 20:34:18 20:34:18 testing form: ///MyName 20:34:18 form ///MyName OK 20:34:18 20:34:18 testing form: //:1099/MyName 20:34:18 form //:1099/MyName OK 20:34:18 20:34:18 testing form: //127.0.0.1/MyName 20:34:18 form //127.0.0.1/MyName OK 20:34:18 20:34:18 testing form: //127.0.0.1:1099/MyName 20:34:18 form //127.0.0.1:1099/MyName OK 20:34:18 20:34:18 testing form: //localhost/MyName 20:34:18 form //localhost/MyName OK 20:34:18 20:34:18 testing form: //localhost:1099/MyName 20:34:18 form //localhost:1099/MyName OK 20:34:18 20:34:18 testing form: //test-packet-x64-ubuntu-16.04-1/MyName 20:34:18 java.net.MalformedURLException: invalid authority: //test-packet-x64-ubuntu-16.04-1/MyName 20:34:18 at java.rmi.Naming.intParseURL(Naming.java:330) 20:34:18 at java.rmi.Naming.parseURL(Naming.java:237) 20:34:18 at java.rmi.Naming.rebind(Naming.java:171) 20:34:18 at LegalRegistryNames.main(LegalRegistryNames.java:89) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 20:34:18 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:34:18 at java.lang.reflect.Method.invoke(Method.java:498) 20:34:18 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115) 20:34:18 at java.lang.Thread.run(Thread.java:748) 20:34:18 unexpected lookup or unbind exception for form: //test-packet-x64-ubuntu-16.04-1/MyNameinvalid authority: //test-packet-x64-ubuntu-16.04-1/MyName 20:34:18 20:34:18 testing form: //test-packet-x64-ubuntu-16.04-1:1099/MyName 20:34:18 java.net.MalformedURLException: invalid authority: //test-packet-x64-ubuntu-16.04-1:1099/MyName 20:34:18 at java.rmi.Naming.intParseURL(Naming.java:330) 20:34:18 at java.rmi.Naming.parseURL(Naming.java:237) 20:34:18 at java.rmi.Naming.rebind(Naming.java:171) 20:34:18 at LegalRegistryNames.main(LegalRegistryNames.java:89) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 20:34:18 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:34:18 at java.lang.reflect.Method.invoke(Method.java:498) 20:34:18 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115) 20:34:18 at java.lang.Thread.run(Thread.java:748) 20:34:18 unexpected lookup or unbind exception for form: //test-packet-x64-ubuntu-16.04-1:1099/MyNameinvalid authority: //test-packet-x64-ubuntu-16.04-1:1099/MyName 20:34:18 20:34:18 testing form: MyName 20:34:18 form MyName OK 20:34:18 20:34:18 testing form: /MyName 20:34:18 form /MyName OK 20:34:18 20:34:18 testing form: rmi:///MyName 20:34:18 form rmi:///MyName OK 20:34:18 20:34:18 testing form: rmi://:1099/MyName 20:34:18 form rmi://:1099/MyName OK 20:34:18 20:34:18 testing form: rmi://127.0.0.1/MyName 20:34:18 form rmi://127.0.0.1/MyName OK 20:34:18 20:34:18 testing form: rmi://127.0.0.1:1099/MyName 20:34:18 form rmi://127.0.0.1:1099/MyName OK 20:34:18 20:34:18 testing form: rmi://localhost/MyName 20:34:18 form rmi://localhost/MyName OK 20:34:18 20:34:18 testing form: rmi://localhost:1099/MyName 20:34:18 form rmi://localhost:1099/MyName OK 20:34:18 20:34:18 testing form: rmi://test-packet-x64-ubuntu-16.04-1/MyName 20:34:18 java.net.MalformedURLException: invalid authority: rmi://test-packet-x64-ubuntu-16.04-1/MyName 20:34:18 at java.rmi.Naming.intParseURL(Naming.java:330) 20:34:18 at java.rmi.Naming.parseURL(Naming.java:237) 20:34:18 at java.rmi.Naming.rebind(Naming.java:171) 20:34:18 at LegalRegistryNames.main(LegalRegistryNames.java:89) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 20:34:18 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:34:18 at java.lang.reflect.Method.invoke(Method.java:498) 20:34:18 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115) 20:34:18 at java.lang.Thread.run(Thread.java:748) 20:34:18 unexpected lookup or unbind exception for form: rmi://test-packet-x64-ubuntu-16.04-1/MyNameinvalid authority: rmi://test-packet-x64-ubuntu-16.04-1/MyName 20:34:18 20:34:18 testing form: rmi://test-packet-x64-ubuntu-16.04-1:1099/MyName 20:34:18 java.net.MalformedURLException: invalid authority: rmi://test-packet-x64-ubuntu-16.04-1:1099/MyName 20:34:18 at java.rmi.Naming.intParseURL(Naming.java:330) 20:34:18 at java.rmi.Naming.parseURL(Naming.java:237) 20:34:18 at java.rmi.Naming.rebind(Naming.java:171) 20:34:18 at LegalRegistryNames.main(LegalRegistryNames.java:89) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 20:34:18 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:34:18 at java.lang.reflect.Method.invoke(Method.java:498) 20:34:18 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115) 20:34:18 at java.lang.Thread.run(Thread.java:748) 20:34:18 unexpected lookup or unbind exception for form: rmi://test-packet-x64-ubuntu-16.04-1:1099/MyNameinvalid authority: rmi://test-packet-x64-ubuntu-16.04-1:1099/MyName 20:34:18 TEST FAILED: Test failed 20:34:18 TestFailedException: TEST FAILED: Test failed 20:34:18 at TestLibrary.bomb(TestLibrary.java:121) 20:34:18 at TestLibrary.bomb(TestLibrary.java:124) 20:34:18 at LegalRegistryNames.main(LegalRegistryNames.java:115) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 20:34:18 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:34:18 at java.lang.reflect.Method.invoke(Method.java:498) 20:34:18 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115) 20:34:18 at java.lang.Thread.run(Thread.java:748) 20:34:18 20:34:18 JavaTest Message: Test threw exception: TestFailedException: TEST FAILED: Test failed 20:34:18 JavaTest Message: shutting down test 20:34:18 20:34:18 STATUS:Failed.main' threw exception: TestFailedException: TEST FAILED: Test failed

jdk_security3: sun/security/ssl/com/sun/net/ssl/internal/ssl/X509KeyManager/PreferredKey fails

sun/security/ssl/com/sun/net/ssl/internal/ssl/X509KeyManager/PreferredKey fails with java.lang.Exception: Failed to get the preferable key aliases

20:47:11 HOME=/home/jenkins
20:47:11 LANG=en_US.UTF-8
20:47:11 PATH=/bin:/usr/bin
20:47:11 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/javac
20:47:11 -J-ea
20:47:11 -J-esa
20:47:11 -J-Xmx512m
20:47:11 -J-Dtest.class.path.prefix=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509KeyManager:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509KeyManager
20:47:11 -J-Dtest.src=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509KeyManager
20:47:11 -J-Dtest.src.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509KeyManager
20:47:11 -J-Dtest.classes=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509KeyManager
20:47:11 -J-Dtest.class.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509KeyManager
20:47:11 -J-Dtest.vm.opts='-ea -esa -Xmx512m'
20:47:11 -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m'
20:47:11 -J-Dtest.compiler.opts=
20:47:11 -J-Dtest.java.opts=
20:47:11 -J-Dtest.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:47:11 -J-Dcompile.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:47:11 -J-Dtest.timeout.factor=4.0
20:47:11 -d /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509KeyManager
20:47:11 -sourcepath /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509KeyManager
20:47:11 -classpath /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509KeyManager:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509KeyManager:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar
20:47:11 -XDignore.symbol.file=true /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509KeyManager/PreferredKey.java
20:47:11
20:47:11 ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.Exception: Failed to get the preferable key aliases

openjddk_test_x86-64_windows build broke

https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_windows/5/console
exception:
Caused by: java.io.IOException: Cannot run program "git" (in directory "C:\Users\jenkins\workspace\openjdk_test_x86-64_windows\openjdk-test"): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at hudson.Proc$LocalProc.(Proc.java:245)
at hudson.Proc$LocalProc.(Proc.java:214)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:846)
at hudson.Launcher$ProcStarter.start(Launcher.java:384)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1873)

Eanble parameterized build

Enable parameterized build using pipeline parameters, which could be shared with multiple builds.

This is the first step for PR pull request for different test group running.

jdk_security1: java/security/Signature/NoProvider.java fails (NullPointerException)

Test fails with java.lang.NullPointerException
at java.security.Signature.initVerify(Signature.java:462)
at NoProvider.main(NoProvider.java:97), output from https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_linux/34/consoleFull:

20:40:19 TEST: java/security/Signature/NoProvider.java
20:40:19 TEST JDK: /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:40:19
20:40:19 ACTION: build -- Passed. All files up to date
20:40:19 REASON: Named class compiled on demand
20:40:19 TIME: 0.0 seconds
20:40:19 messages:
20:40:19 command: build NoProvider
20:40:19 reason: Named class compiled on demand
20:40:19 elapsed time (seconds): 0.0
20:40:19
20:40:19 ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
20:40:19 REASON: User specified action: run main/othervm -Djava.security.debug=provider NoProvider
20:40:19 TIME: 0.515 seconds
20:40:19 messages:
20:40:19 command: main -Djava.security.debug=provider NoProvider
20:40:19 reason: User specified action: run main/othervm -Djava.security.debug=provider NoProvider
20:40:19 Mode: othervm [/othervm specified]
20:40:19 elapsed time (seconds): 0.515
20:40:19 configuration:
20:40:19 STDOUT:
20:40:19 STDERR:
20:40:19 java.lang.NullPointerException
20:40:19 at java.security.Signature.initVerify(Signature.java:462)
20:40:19 at NoProvider.main(NoProvider.java:97)
20:40:19 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:40:19 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
20:40:19 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20:40:19 at java.lang.reflect.Method.invoke(Method.java:498)
20:40:19 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
20:40:19 at java.lang.Thread.run(Thread.java:748)
20:40:19
20:40:19 JavaTest Message: Test threw exception: java.lang.NullPointerException
20:40:19 JavaTest Message: shutting down test

jdk_core: sun/security/tools/jarsigner/emptymanifest.sh test failure

Missing files (emptymanifest.jks and em.jar), zip may also be required by this test (emptymanifest.sh: zip: not found), output from https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_linux/34/consoleFull:

19:42:57 TEST: sun/security/tools/jarsigner/emptymanifest.sh#id0
19:42:57 TEST JDK: /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
19:42:57 
19:42:57 ACTION: shell -- Failed. Execution failed: exit code 1
19:42:57 REASON: User specified action: run shell emptymanifest.sh 
19:42:57 TIME:   7.444 seconds
19:42:57 messages:
19:42:57 command: shell emptymanifest.sh
19:42:57 reason: User specified action: run shell emptymanifest.sh 
19:42:57 elapsed time (seconds): 7.444
19:42:57 STDOUT:
19:42:57 jarsigner: unable to open jar file: em.jar
19:42:57 STDERR:
19:42:57 rm: cannot remove 'emptymanifest.jks': No such file or directory
19:42:57 rm: cannot remove 'em.jar': No such file or directory
19:42:57 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/tools/jarsigner/emptymanifest.sh: 69: /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/tools/jarsigner/emptymanifest.sh: zip: not found

Window test get "Unable to locate tools.jar" error

ant -f /cygdrive/c/Users/jenkins/workspace/openjdk_test_x86-64_windows/openjdk-t
est/TestConfig/../TestConfig/scripts/build_test.xml -DSRC_ROOT=/cygdrive/c/Users
/jenkins/workspace/openjdk_test_x86-64_windows/openjdk-test/TestConfig/.. -DBUIL
D_ROOT=/cygdrive/c/Users/jenkins/workspace/openjdk_test_x86-64_windows/openjdk-t
est/TestConfig/../../jvmtest -DJAVA_BIN=C:/Users/jenkins/workspace/openjdk_test_
x86-64_windows/openjdkbinary/j2sdk-image/jre/bin -DJAVA_VERSION='SE80' -DJCL_VER
SION='current'
Unable to locate tools.jar. Expected to find it in C:\Program Files (x86)\Java\j
re1.8.0_131\lib\tools.jar
Buildfile: \cygdrive\c\Users\jenkins\workspace\openjdk_test_x86-64_windows\openj
dk-test\TestConfig..\TestConfig\scripts\build_test.xml does not exist!
Build failed
make: *** [makefile:229: compile] Error 1

jdk_security3: sun/security/pkcs11/ec/TestECGenSpec|TestKeyFactory.java fail (InvalidAlgorithmParameterException)

sun/security/pkcs11/ec/TestECGenSpec.java and sun/security/pkcs11/ec/TestKeyFactory.java fail with java.security.InvalidAlgorithmParameterException: EC key must be at least 256 bits. The specific key size 192 is not supported, output from https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_linux/34/consoleFull:

20:43:33 HOME=/home/jenkins
20:43:33 LANG=en_US.UTF-8
20:43:33 PATH=/bin:/usr/bin
20:43:33 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/javac
20:43:33 -J-ea
20:43:33 -J-esa
20:43:33 -J-Xmx512m
20:43:33 -J-Dtest.class.path.prefix=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/ec:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/ec:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11
20:43:33 -J-Dtest.src=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/ec
20:43:33 -J-Dtest.src.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/ec:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11
20:43:33 -J-Dtest.classes=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/ec
20:43:33 -J-Dtest.class.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/ec:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11
20:43:33 -J-Dtest.vm.opts='-ea -esa -Xmx512m'
20:43:33 -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m'
20:43:33 -J-Dtest.compiler.opts=
20:43:33 -J-Dtest.java.opts=
20:43:33 -J-Dtest.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:43:33 -J-Dcompile.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:43:33 -J-Dtest.timeout.factor=4.0
20:43:33 -d /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/ec
20:43:33 -sourcepath /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/ec:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11
20:43:33 -classpath /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/ec:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/ec:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar
20:43:33 -XDignore.symbol.file=true /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/ec/TestECGenSpec.java
20:43:33
20:43:33 ACTION: main -- Failed. Execution failed: `main' threw exception: java.security.InvalidAlgorithmParameterException: EC key must be at least 256 bits. The specific key size 192 is not supported
20:43:33 REASON: Assumed action based on file name: run main TestECGenSpec
20:43:33 TIME: 0.235 seconds
20:43:33 messages:
20:43:33 command: main TestECGenSpec
20:43:33 reason: Assumed action based on file name: run main TestECGenSpec
20:43:33 Mode: agentvm
20:43:33 Agent id: 1
20:43:33 elapsed time (seconds): 0.235
20:43:33 configuration:
20:43:33 Boot Layer
20:43:33 class path: /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar
20:43:33 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/javatest.jar
20:43:33 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/jtreg.jar
20:43:33
20:43:33 Test Layer
20:43:33 class path: /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/ec
20:43:33 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/ec
20:43:33 /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11
20:43:33 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11

jdk_rmi: java/rmi/registry/serialFilter/RegistryFilterTest.java impleDepthBuiltinNonRejectable() fails

RegistryFilterTest.impleDepthBuiltinNonRejectable(): fails with java.lang.AssertionError: Registry filter should not have rejected depth: 20, output from https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_linux/34/consoleFull:

20:34:41 HOME=/home/jenkins
20:34:41 LANG=en_US.UTF-8
20:34:41 PATH=/bin:/usr/bin
20:34:41 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/javac
20:34:41 -J-ea
20:34:41 -J-esa
20:34:41 -J-Xmx512m
20:34:41 -J-Dtest.src=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/rmi/registry/serialFilter
20:34:41 -J-Dtest.src.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/rmi/registry/serialFilter:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/rmi/testlibrary
20:34:41 -J-Dtest.classes=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/rmi/registry/serialFilter
20:34:41 -J-Dtest.class.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/rmi/registry/serialFilter:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/rmi/testlibrary
20:34:41 -J-Dtest.vm.opts='-ea -esa -Xmx512m'
20:34:41 -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m'
20:34:41 -J-Dtest.compiler.opts=
20:34:41 -J-Dtest.java.opts=
20:34:41 -J-Dtest.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:34:41 -J-Dcompile.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:34:41 -J-Dtest.timeout.factor=4.0
20:34:41 -J-Dtest.modules='java.rmi/sun.rmi.registry java.rmi/sun.rmi.server java.rmi/sun.rmi.transport java.rmi/sun.rmi.transport.tcp'
20:34:41 -d /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/rmi/registry/serialFilter
20:34:41 -sourcepath /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/rmi/registry/serialFilter:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/rmi/testlibrary
20:34:41 -classpath /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/rmi/registry/serialFilter:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/rmi/registry/serialFilter:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/rmi/testlibrary:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/testng.jar:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/jcommander.jar:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar
20:34:41 -XDignore.symbol.file=true /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/rmi/registry/serialFilter/RegistryFilterTest.java
20:34:41 STDOUT:
20:34:41 STDERR:
20:34:41
20:34:41 ACTION: testng -- Failed. Execution failed: `main' threw exception: java.lang.Exception: failures: 1
20:34:41 REASON: User specified action: run testng/othervm RegistryFilterTest
20:34:41 TIME: 1.75 seconds
20:34:41 messages:
20:34:41 command: testng RegistryFilterTest
20:34:41 reason: User specified action: run testng/othervm RegistryFilterTest
20:34:41 Mode: othervm [/othervm specified]
20:34:41 elapsed time (seconds): 1.75
20:34:41 configuration:
20:34:41 STDOUT:
20:34:41 [TestNG] Running:
20:34:41 java/rmi/registry/serialFilter/RegistryFilterTest.java#id0
20:34:41
20:34:41 RMI Registry filter: null
20:34:41 config RegistryFilterTest.setupRegistry(): success
20:34:41 test RegistryFilterTest.simpleBind("byte[max]", RegistryFilterTest$XX@c11f161, false): success
20:34:41 test RegistryFilterTest.simpleBind("String", RegistryFilterTest$XX@2cb48e04, false): success
20:34:41 test RegistryFilterTest.simpleBind("String[]", RegistryFilterTest$XX@472f40d6, false): success
20:34:41 test RegistryFilterTest.simpleBind("Long[4]", RegistryFilterTest$XX@e101f5c, false): success
20:34:41 test RegistryFilterTest.simpleBind("rej-byte[toobig]", RegistryFilterTest$XX@142f80e1, true): success
20:34:41 test RegistryFilterTest.simpleBind("rej-MarshalledObject", RegistryFilterTest$XX@d7250dc, true): success
20:34:41 test RegistryFilterTest.simpleBind("rej-RejectableClass", RegistryFilterTest$RejectableClass@25e2eeb7, false): success
20:34:41 overrideDepth: 20, filter: null
20:34:41 test RegistryFilterTest.simpleDepthBuiltinNonRejectable(): failure
20:34:41 java.lang.AssertionError: Registry filter should not have rejected depth: 20
20:34:41 at org.testng.Assert.fail(Assert.java:94)
20:34:41 at RegistryFilterTest.simpleDepthBuiltinNonRejectable(RegistryFilterTest.java:170)
20:34:41 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:34:41 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
20:34:41 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20:34:41 at java.lang.reflect.Method.invoke(Method.java:498)
20:34:41 at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
20:34:41 at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
20:34:41 at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
20:34:41 at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
20:34:41 at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
20:34:41 at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
20:34:41 at org.testng.TestRunner.privateRun(TestRunner.java:773)
20:34:41 at org.testng.TestRunner.run(TestRunner.java:623)
20:34:41 at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
20:34:41 at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
20:34:41 at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
20:34:41 at org.testng.SuiteRunner.run(SuiteRunner.java:259)
20:34:41 at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
20:34:41 at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
20:34:41 at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
20:34:41 at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
20:34:41 at org.testng.TestNG.run(TestNG.java:1018)
20:34:41 at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
20:34:41 at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
20:34:41 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:34:41 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
20:34:41 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20:34:41 at java.lang.reflect.Method.invoke(Method.java:498)
20:34:41 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
20:34:41 at java.lang.Thread.run(Thread.java:748)
20:34:41 overrideDepth: 20, filter: null
20:34:41 test RegistryFilterTest.simpleDepthRejectable(): success
20:34:41 test RegistryFilterTest.simpleRejectableClass(): success

jdk_security3: sun/security/pkcs11/ec/TestECDH|TestECDSA.java fails (InvalidKeySpecException)

Both sun/security/pkcs11/ec/TestECDH.java and sun/security/pkcs11/ec/TestECDSA.java fails with java.security.spec.InvalidKeySpecException: Could not create EC [public|private] key (libsoftokn3 version not found, set to 0.0: /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so), output from https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_linux/34/consoleFull:

20:43:31 HOME=/home/jenkins
20:43:31 LANG=en_US.UTF-8
20:43:31 PATH=/bin:/usr/bin
20:43:31 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/java
20:43:31 -Dtest.class.path.prefix=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/ec:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/ec:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/security/testlibrary:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11
20:43:31 -Dtest.src=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/ec
20:43:31 -Dtest.src.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/ec:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/security/testlibrary:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11
20:43:31 -Dtest.classes=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/ec
20:43:31 -Dtest.class.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/ec:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/security/testlibrary:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11
20:43:31 -Dtest.vm.opts='-ea -esa -Xmx512m'
20:43:31 -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m'
20:43:31 -Dtest.compiler.opts=
20:43:31 -Dtest.java.opts=
20:43:31 -Dtest.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:43:31 -Dcompile.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:43:31 -Dtest.timeout.factor=4.0
20:43:31 -classpath /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/ec:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/ec:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/security/testlibrary:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/security/testlibrary:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/javatest.jar:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/jtreg.jar
20:43:31 TestECDH
20:43:31 STDOUT:
20:43:31 Beginning test run TestECDH...
20:43:31 Running test with provider SunPKCS11-NSS...
20:43:31 libsoftokn3 version not found, set to 0.0: /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so
20:43:31 STDERR:
20:43:31 java.security.spec.InvalidKeySpecException: Could not create EC public key
20:43:31 at sun.security.pkcs11.P11ECKeyFactory.engineGeneratePublic(P11ECKeyFactory.java:173)
20:43:31 at java.security.KeyFactory.generatePublic(KeyFactory.java:328)
20:43:31 at TestECDH.test(TestECDH.java:94)
20:43:31 at TestECDH.main(TestECDH.java:86)
20:43:31 at PKCS11Test.premain(PKCS11Test.java:88)
20:43:31 at PKCS11Test.testNSS(PKCS11Test.java:403)
20:43:31 at PKCS11Test.main(PKCS11Test.java:98)
20:43:31 at TestECDH.main(TestECDH.java:124)
20:43:31 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:43:31 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
20:43:31 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20:43:31 at java.lang.reflect.Method.invoke(Method.java:498)
20:43:31 at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
20:43:31 at java.lang.Thread.run(Thread.java:748)
20:43:31 Caused by: java.security.InvalidKeyException: Could not create EC public key
20:43:31 at sun.security.pkcs11.P11ECKeyFactory.implTranslatePublicKey(P11ECKeyFactory.java:130)
20:43:31 at sun.security.pkcs11.P11ECKeyFactory.engineGeneratePublic(P11ECKeyFactory.java:171)
20:43:31 ... 13 more
20:43:31 Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID
20:43:31 at sun.security.pkcs11.wrapper.PKCS11.C_CreateObject(Native Method)
20:43:31 at sun.security.pkcs11.P11ECKeyFactory.generatePublic(P11ECKeyFactory.java:254)
20:43:31 at sun.security.pkcs11.P11ECKeyFactory.implTranslatePublicKey(P11ECKeyFactory.java:110)
20:43:31 ... 14 more
20:43:31
20:43:31 JavaTest Message: Test threw exception: java.security.spec.InvalidKeySpecException
20:43:31 JavaTest Message: shutting down test
20:43:31
20:43:31
20:43:31 TEST RESULT: Failed. Execution failed: `main' threw exception: java.security.spec.InvalidKeySpecException: Could not create EC public key

jdk_security1: java/security/KeyStore/PKCS12/StoreTrustedCertKeytool.java fails (key pair not generated)

java/security/KeyStore/PKCS12/StoreTrustedCertKeytool.java fails as the keytool fails with java.lang.Exception: Key pair not generated, alias <testkey_stckey> already exists,

output from https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_linux/34/consoleFull:

20:39:34 HOME=/home/jenkins
20:39:34 LANG=en_US.UTF-8
20:39:34 PATH=/bin:/usr/bin
20:39:34 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/java
20:39:34 -Dtest.class.path.prefix=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/security/KeyStore/PKCS12:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/security/KeyStore/PKCS12:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/lib/testlibrary:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/security/KeyStore
20:39:34 -Dtest.src=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/security/KeyStore/PKCS12
20:39:34 -Dtest.src.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/security/KeyStore/PKCS12:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/lib/testlibrary:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/security/KeyStore
20:39:34 -Dtest.classes=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/security/KeyStore/PKCS12
20:39:34 -Dtest.class.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/security/KeyStore/PKCS12:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/lib/testlibrary:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/security/KeyStore
20:39:34 -Dtest.vm.opts='-ea -esa -Xmx512m'
20:39:34 -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m'
20:39:34 -Dtest.compiler.opts=
20:39:34 -Dtest.java.opts=
20:39:34 -Dtest.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:39:34 -Dcompile.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:39:34 -Dtest.timeout.factor=4.0
20:39:34 -classpath /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/security/KeyStore/PKCS12:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/security/KeyStore/PKCS12:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/lib/testlibrary:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/lib/testlibrary:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/security/KeyStore:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/security/KeyStore:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/javatest.jar:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/jtreg.jar
20:39:34 StoreTrustedCertKeytool
20:39:34 STDOUT:
20:39:34 Command line: [/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/keytool -debug -genkeypair -alias testkey_stckey -keystore /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/security/KeyStore/PKCS12/ks.pkcs12 -dname CN=TestKey, T=FuncTestCertKey, O=Oracle, OU=JDKSQE, C=US -storepass passwd -keypass passwd -validity 7300 -keyalg rsa -storetype pkcs12]
20:39:34 --- ProcessLog ---
20:39:34 cmd: /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/keytool -debug -genkeypair -alias testkey_stckey -keystore /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/security/KeyStore/PKCS12/ks.pkcs12 -dname CN=TestKey, T=FuncTestCertKey, O=Oracle, OU=JDKSQE, C=US -storepass passwd -keypass passwd -validity 7300 -keyalg rsa -storetype pkcs12
20:39:34 exitvalue: 1
20:39:34 stderr: Exception in thread "main" java.lang.Exception: Key pair not generated, alias <testkey_stckey> already exists
20:39:34 at sun.security.tools.keytool.Main.doGenKeyPair(Main.java:1597)
20:39:34 at sun.security.tools.keytool.Main.doCommands(Main.java:966)
20:39:34 at sun.security.tools.keytool.Main.run(Main.java:343)
20:39:34 at sun.security.tools.keytool.Main.main(Main.java:336)
20:39:34
20:39:34 stdout: keytool error: java.lang.Exception: Key pair not generated, alias <testkey_stckey> already exists
20:39:34
20:39:34
20:39:34 keytool error: java.lang.Exception: Key pair not generated, alias <testkey_stckey> already exists
20:39:34 Exception in thread "main" java.lang.Exception: Key pair not generated, alias <testkey_stckey> already exists
20:39:34 at sun.security.tools.keytool.Main.doGenKeyPair(Main.java:1597)
20:39:34 at sun.security.tools.keytool.Main.doCommands(Main.java:966)
20:39:34 at sun.security.tools.keytool.Main.run(Main.java:343)
20:39:34 at sun.security.tools.keytool.Main.main(Main.java:336)
20:39:34
20:39:34 STDERR:
20:39:34 stdout: [keytool error: java.lang.Exception: Key pair not generated, alias <testkey_stckey> already exists
20:39:34 ];
20:39:34 stderr: [Exception in thread "main" java.lang.Exception: Key pair not generated, alias <testkey_stckey> already exists
20:39:34 at sun.security.tools.keytool.Main.doGenKeyPair(Main.java:1597)
20:39:34 at sun.security.tools.keytool.Main.doCommands(Main.java:966)
20:39:34 at sun.security.tools.keytool.Main.run(Main.java:343)
20:39:34 at sun.security.tools.keytool.Main.main(Main.java:336)
20:39:34 ]
20:39:34 exitValue = 1
20:39:34
20:39:34 java.lang.RuntimeException: Expected to get exit value of [0]
20:39:34
20:39:34 at jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:361)
20:39:34 at Utils.executeKeytoolCommand(Utils.java:68)
20:39:34 at Utils.createKeyStore(Utils.java:108)
20:39:34 at Utils.createKeyStore(Utils.java:87)
20:39:34 at Utils.createKeyStore(Utils.java:81)
20:39:34 at StoreTrustedCertKeytool.setUp(StoreTrustedCertKeytool.java:123)
20:39:34 at StoreTrustedCertKeytool.run(StoreTrustedCertKeytool.java:58)
20:39:34 at StoreTrustedCertKeytool.main(StoreTrustedCertKeytool.java:118)
20:39:34 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:39:34 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
20:39:34 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20:39:34 at java.lang.reflect.Method.invoke(Method.java:498)
20:39:34 at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
20:39:34 at java.lang.Thread.run(Thread.java:748)
20:39:34 java.lang.RuntimeException: Keytool Command execution failed : [/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/keytool, -debug, -genkeypair, -alias, testkey_stckey, -keystore, /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/java/security/KeyStore/PKCS12/ks.pkcs12, -dname, CN=TestKey, T=FuncTestCertKey, O=Oracle, OU=JDKSQE, C=US, -storepass, passwd, -keypass, passwd, -validity, 7300, -keyalg, rsa, -storetype, pkcs12]
20:39:34 at Utils.executeKeytoolCommand(Utils.java:74)
20:39:34 at Utils.createKeyStore(Utils.java:108)
20:39:34 at Utils.createKeyStore(Utils.java:87)
20:39:34 at Utils.createKeyStore(Utils.java:81)
20:39:34 at StoreTrustedCertKeytool.setUp(StoreTrustedCertKeytool.java:123)
20:39:34 at StoreTrustedCertKeytool.run(StoreTrustedCertKeytool.java:58)
20:39:34 at StoreTrustedCertKeytool.main(StoreTrustedCertKeytool.java:118)
20:39:34 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:39:34 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
20:39:34 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20:39:34 at java.lang.reflect.Method.invoke(Method.java:498)
20:39:34 at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
20:39:34 at java.lang.Thread.run(Thread.java:748)
20:39:34 Caused by: java.lang.RuntimeException: Expected to get exit value of [0]
20:39:34
20:39:34 at jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:361)
20:39:34 at Utils.executeKeytoolCommand(Utils.java:68)
20:39:34 ... 12 more
20:39:34
20:39:34 JavaTest Message: Test threw exception: java.lang.RuntimeException
20:39:34 JavaTest Message: shutting down test

jdk_security3: sun/security/pkcs11/Secmod/AddTrustedCert.java fails (KeyStoreException)

sun/security/pkcs11/Secmod/AddTrustedCert.java fails with java.security.KeyStoreException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ATTRIBUTE_READ_ONLY, output from https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_linux/34/consoleFull:

20:43:46 HOME=/home/jenkins
20:43:46 LANG=en_US.UTF-8
20:43:46 PATH=/bin:/usr/bin
20:43:46 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/javac
20:43:46 -J-ea
20:43:46 -J-esa
20:43:46 -J-Xmx512m
20:43:46 -J-Dtest.class.path.prefix=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11
20:43:46 -J-Dtest.src=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/Secmod
20:43:46 -J-Dtest.src.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11
20:43:46 -J-Dtest.classes=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/Secmod
20:43:46 -J-Dtest.class.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11
20:43:46 -J-Dtest.vm.opts='-ea -esa -Xmx512m'
20:43:46 -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m'
20:43:46 -J-Dtest.compiler.opts=
20:43:46 -J-Dtest.java.opts=
20:43:46 -J-Dtest.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:43:46 -J-Dcompile.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
20:43:46 -J-Dtest.timeout.factor=4.0
20:43:46 -d /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/Secmod
20:43:46 -sourcepath /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11
20:43:46 -classpath /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar
20:43:46 -XDignore.symbol.file=true /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/Secmod/AddTrustedCert.java
20:43:46
20:43:46 ACTION: main -- Failed. Execution failed: main' threw exception: java.security.KeyStoreException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ATTRIBUTE_READ_ONLY 20:43:46 REASON: User specified action: run main/othervm AddTrustedCert 20:43:46 TIME: 1.868 seconds 20:43:46 messages: 20:43:46 command: main AddTrustedCert 20:43:46 reason: User specified action: run main/othervm AddTrustedCert 20:43:46 Mode: othervm [/othervm specified] 20:43:46 elapsed time (seconds): 1.868 20:43:46 configuration: 20:43:46 STDOUT: 20:43:46 SunPKCS11-NSSKeyStore version 1.8 20:43:46 entries: 1 20:43:46 [mykey] 20:43:46 first entry = Trusted certificate entry: 20:43:46 [ 20:43:46 [ 20:43:46 Version: V3 20:43:46 Subject: [email protected], CN=OpenTSA Root CA, O=OpenTSA, L=Dublin, ST=Co. Dublin, C=IE 20:43:46 Signature Algorithm: SHA1withRSA, OID = 1.2.840.113549.1.1.5 20:43:46 20:43:46 Key: Sun RSA public key, 2048 bits 20:43:46 modulus: 28015647916364875829141896049677220882914191436294605577513377891910662717336292436491710471594406842772073838695462019009454723293288506992417485761129126311538268002377286178684649711932051555842344360775863345218752895239460508761587090794001550599392104457188635329925564746414056111210478603450167440907565077703922928621867939042884745257219423496925695838757642236269036957557147241224660577528253185760515264362748497612078896510637739121732184250485539505699485155279825000189178169555672844007672373755234739866676449460941418806853690713277829199399068163905100762713680303566487520616527043839846563616127 20:43:46 public exponent: 65537 20:43:46 Validity: [From: Thu Oct 17 20:51:34 UTC 2002, 20:43:46 To: Mon Oct 16 20:51:34 UTC 2006] 20:43:46 Issuer: [email protected], CN=OpenTSA Root CA, O=OpenTSA, L=Dublin, ST=Co. Dublin, C=IE 20:43:46 SerialNumber: [ 00] 20:43:46 20:43:46 Certificate Extensions: 6 20:43:46 [1]: ObjectId: 2.5.29.35 Criticality=false 20:43:46 AuthorityKeyIdentifier [ 20:43:46 KeyIdentifier [ 20:43:46 0000: 2D 9D F7 1D 7E 65 77 9A F4 D9 B4 99 B1 17 3B C4 -....ew.......;. 20:43:46 0010: 2F C8 AD A5 /... 20:43:46 ] 20:43:46 [[email protected], CN=OpenTSA Root CA, O=OpenTSA, L=Dublin, ST=Co. Dublin, C=IE] 20:43:46 SerialNumber: [ 00] 20:43:46 ] 20:43:46 20:43:46 [2]: ObjectId: 2.5.29.19 Criticality=false 20:43:46 BasicConstraints:[ 20:43:46 CA:true 20:43:46 PathLen:2147483647 20:43:46 ] 20:43:46 20:43:46 [3]: ObjectId: 2.5.29.15 Criticality=false 20:43:46 KeyUsage [ 20:43:46 Key_CertSign 20:43:46 Crl_Sign 20:43:46 ] 20:43:46 20:43:46 [4]: ObjectId: 2.16.840.1.113730.1.1 Criticality=false 20:43:46 NetscapeCertType [ 20:43:46 SSL CA 20:43:46 S/MIME CA 20:43:46 ] 20:43:46 20:43:46 [5]: ObjectId: 2.5.29.17 Criticality=false 20:43:46 SubjectAlternativeName [ 20:43:46 RFC822Name: [email protected] 20:43:46 ] 20:43:46 20:43:46 [6]: ObjectId: 2.5.29.14 Criticality=false 20:43:46 SubjectKeyIdentifier [ 20:43:46 KeyIdentifier [ 20:43:46 0000: 2D 9D F7 1D 7E 65 77 9A F4 D9 B4 99 B1 17 3B C4 -....ew.......;. 20:43:46 0010: 2F C8 AD A5 /... 20:43:46 ] 20:43:46 ] 20:43:46 20:43:46 ] 20:43:46 Algorithm: [SHA1withRSA] 20:43:46 Signature: 20:43:46 0000: 26 A9 2D 41 7E 71 12 DA BB 89 AE 0C 84 E4 FC FC &.-A.q.......... 20:43:46 0010: 71 6B 13 1E 41 2C 85 A0 51 BA 81 90 4C 9A 2C A4 qk..A,..Q...L.,. 20:43:46 0020: 61 ED 7B 61 AC A4 13 C7 6C 07 E9 46 E4 F6 C3 05 a..a....l..F.... 20:43:46 0030: 31 96 C2 42 FC 39 2D 43 37 34 24 8B EB 3E 90 FC 1..B.9-C74$..>.. 20:43:46 0040: F5 FE 64 37 1F 8C 24 98 E6 FC 62 FC 9C 2C 05 B4 ..d7..$...b..,.. 20:43:46 0050: 7F 59 4E 28 DA 22 64 0B 5C 35 BA 0B DE 81 53 0B .YN(."d.\5....S. 20:43:46 0060: 80 9B 3A FD BE A7 ED 63 09 EE AB 52 B7 DE 96 12 ..:....c...R.... 20:43:46 0070: 1E 58 87 DE C0 61 31 56 86 BB 93 9A DF 20 63 20 .X...a1V..... c 20:43:46 0080: F6 EF F9 B8 28 1B 6E 0E 36 35 BE A2 8A D2 F9 D1 ....(.n.65...... 20:43:46 0090: 54 04 29 18 5E 27 72 65 8B 63 22 A7 43 2A AB 39 T.).^'re.c".C*.9 20:43:46 00A0: AE EF CF D5 FF D1 9C 21 FB 8C 96 D5 12 D1 51 12 .......!......Q. 20:43:46 00B0: 15 33 DB 96 96 AA 5E 55 9D B2 C5 E8 83 22 FA 08 .3....^U.....".. 20:43:46 00C0: EF 8C 51 80 A8 59 6B EC 80 19 F7 6E 6B C8 80 53 ..Q..Yk....nk..S 20:43:46 00D0: 8F 30 D8 F8 B3 83 31 ED E3 5C CE 5C 47 D8 2F 71 .0....1..\.\G./q 20:43:46 00E0: C8 88 78 D0 90 B4 D6 39 64 0D 05 8A 86 C4 63 B5 ..x....9d.....c. 20:43:46 00F0: 9B 63 3F DF A2 E6 28 39 D0 67 27 75 4D E2 CF 1E .c?...(9.g'uM... 20:43:46 20:43:46 ] 20:43:46 STDERR: 20:43:46 java.security.KeyStoreException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ATTRIBUTE_READ_ONLY 20:43:46 at sun.security.pkcs11.P11KeyStore.engineSetEntry(P11KeyStore.java:1048) 20:43:46 at sun.security.pkcs11.P11KeyStore.engineSetCertificateEntry(P11KeyStore.java:516) 20:43:46 at java.security.KeyStore.setCertificateEntry(KeyStore.java:1201) 20:43:46 at AddTrustedCert.main(AddTrustedCert.java:79) 20:43:46 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:43:46 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 20:43:46 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:43:46 at java.lang.reflect.Method.invoke(Method.java:498) 20:43:46 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115) 20:43:46 at java.lang.Thread.run(Thread.java:748) 20:43:46 Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ATTRIBUTE_READ_ONLY 20:43:46 at sun.security.pkcs11.wrapper.PKCS11.C_CreateObject(Native Method) 20:43:46 at sun.security.pkcs11.P11KeyStore.storeCert(P11KeyStore.java:1564) 20:43:46 at sun.security.pkcs11.P11KeyStore.engineSetEntry(P11KeyStore.java:1044) 20:43:46 ... 9 more 20:43:46 20:43:46 JavaTest Message: Test threw exception: java.security.KeyStoreException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ATTRIBUTE_READ_ONLY 20:43:46 JavaTest Message: shutting down test 20:43:46 20:43:46 STATUS:Failed.main' threw exception: java.security.KeyStoreException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ATTRIBUTE_READ_ONLY

Jenkin stages skipped due to ERROR: script returned exit code -1

https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_windows/101/console

Jenkins stops at stage Setup which running sh '$OPENJDK_TEST/get.sh $WORKSPACE $OPENJDK_TEST

It seems process stops at command line:

wget https://github.com/AdoptOpenJDK/openjdk-releases/releases/download/jdk8u152-b04/OpenJDK8_x64_Win_jdk8u152-b04.zip

in get.sh and return code -1.

However if logged to windows machine I could see all the following commands in get.sh are correctly executed.

I have also tried to enforce the wget command and the last command in get.sh return 0 to make Jenkins to continue. Doesn't work.

Enable jdk_awt tests and x11 DISPLAY env var set properly

There are currently a large number of failures in the jdk_awt group related to the x11 display not being set properly, in order to run those tests. Expect the bulk of awt failures to go away after setting correctly.

23:42:59 ACTION: main -- Failed. Execution failed: `main' threw exception: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.

jdk_security3: sun/security/pkcs11/rsa/TestCACerts.java fails (SignatureException SHA256withRSA)

sun/security/pkcs11/rsa/TestCACerts.java and sun/security/rsa/TestCACerts.java fails with
java.security.SignatureException: Signature does not match. (Signature algorithm: SHA256withRSA), output from https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_linux/34/consoleFull:

/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/rsa/TestCACerts.java
20:43:39
20:43:39 ACTION: main -- Failed. Execution failed: main' threw exception: java.security.SignatureException: Signature does not match. 20:43:39 REASON: Assumed action based on file name: run main TestCACerts 20:43:39 TIME: 0.813 seconds 20:43:39 messages: 20:43:39 command: main TestCACerts 20:43:39 reason: Assumed action based on file name: run main TestCACerts 20:43:39 Mode: agentvm 20:43:39 Agent id: 1 20:43:39 elapsed time (seconds): 0.813 20:43:39 configuration: 20:43:39 Boot Layer 20:43:39 class path: /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar 20:43:39 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/javatest.jar 20:43:39 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/jtreg.jar 20:43:39 20:43:39 Test Layer 20:43:39 class path: /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/rsa 20:43:39 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/rsa 20:43:39 /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11 20:43:39 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11 20:43:39 20:43:39 rerun: 20:43:39 HOME=/home/jenkins \ 20:43:39 LANG=en_US.UTF-8 \ 20:43:39 PATH=/bin:/usr/bin \ 20:43:39 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/java \ 20:43:39 -Dtest.class.path.prefix=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/rsa:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/rsa:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11 \ 20:43:39 -Dtest.src=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/rsa \ 20:43:39 -Dtest.src.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/rsa:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11 \ 20:43:39 -Dtest.classes=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/rsa \ 20:43:39 -Dtest.class.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/rsa:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11 \ 20:43:39 -Dtest.vm.opts='-ea -esa -Xmx512m' \ 20:43:39 -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ 20:43:39 -Dtest.compiler.opts= \ 20:43:39 -Dtest.java.opts= \ 20:43:39 -Dtest.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../.. \ 20:43:39 -Dcompile.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../.. \ 20:43:39 -Dtest.timeout.factor=4.0 \ 20:43:39 -classpath /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11/rsa:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11/rsa:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/0/sun/security/pkcs11:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/javatest.jar:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/TestConfig/lib/jtreg/lib/jtreg.jar \ 20:43:39 TestCACerts 20:43:39 STDOUT: 20:43:39 Beginning test run TestCACerts... 20:43:39 Running test with provider SunPKCS11-NSS... 20:43:39 * Testing cn=t-telesec globalroot class 3,ou=t-systems trust center,o=t-systems enterprise services gmbh,c=de... 20:43:39 Signature algorithm: SHA256withRSA 20:43:39 * Testing cn=digicert high assurance ev root ca,ou=www.digicert.com,o=digicert inc,c=us... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=ca wosign ecc root,o=wosign ca limited,c=cn... 20:43:39 Skipping cert with key: EC 20:43:39 * Testing cn=china internet network information center ev certificates root,o=china internet network information center,c=cn... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=teliasonera root ca v1,o=teliasonera... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing ou=trustis fps root ca,o=trustis limited,c=gb... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=secure global ca,o=securetrust corporation,c=us... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=entrust root certification authority - ec1,ou=(c) 2012 entrust\, inc. - for authorized use only,ou=see www.entrust.net/legal-terms,o=entrust\, inc.,c=us... 20:43:39 Skipping cert with key: EC 20:43:39 * Testing cn=digicert assured id root g3,ou=www.digicert.com,o=digicert inc,c=us... 20:43:39 Skipping cert with key: EC 20:43:39 * Testing ou=security communication rootca1,o=secom trust.net,c=jp... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=microsec e-szigno root ca,ou=e-szigno ca,o=microsec ltd.,l=budapest,c=hu... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=twca root certification authority,ou=root ca,o=taiwan-ca,c=tw... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=d-trust root class 3 ca 2 ev 2009,o=d-trust gmbh,c=de... 20:43:39 Signature algorithm: SHA256withRSA 20:43:39 * Testing cn=sonera class2 ca,o=sonera,c=fi... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=entrust root certification authority - g2,ou=(c) 2009 entrust\, inc. - for authorized use only,ou=see www.entrust.net/legal-terms,o=entrust\, inc.,c=us... 20:43:39 Signature algorithm: SHA256withRSA 20:43:39 * Testing cn=opentrust root ca g1,o=opentrust,c=fr... 20:43:39 Signature algorithm: SHA256withRSA 20:43:39 * Testing cn=securesign rootca11,o=japan certification services\, inc.,c=jp... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=globalsign root ca,ou=root ca,o=globalsign nv-sa,c=be... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=entrust root certification authority,ou=(c) 2006 entrust\, inc.,ou=www.entrust.net/cps is incorporated by reference,o=entrust\, inc.,c=us... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=secure certificate services,o=comodo ca limited,l=salford,st=greater manchester,c=gb... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing ou=starfield class 2 certification authority,o=starfield technologies\, inc.,c=us... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=addtrust class 1 ca root,ou=addtrust ttp network,o=addtrust ab,c=se... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=verisign class 3 public primary certification authority - g5,ou=(c) 2006 verisign\, inc. - for authorized use only,ou=verisign trust network,o=verisign\, inc.,c=us... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=comodo certification authority,o=comodo ca limited,l=salford,st=greater manchester,c=gb... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=visa ecommerce root,ou=visa international service association,o=visa,c=us... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing ou=epki root certification authority,o=chunghwa telecom co.\, ltd.,c=tw... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=twca global root ca,ou=root ca,o=taiwan-ca,c=tw... 20:43:39 Signature algorithm: SHA256withRSA 20:43:39 * Testing ou=certsign root ca,o=certsign,c=ro... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=ca disig root r2,o=disig a.s.,l=bratislava,c=sk... 20:43:39 Signature algorithm: SHA256withRSA 20:43:39 * Testing cn=entrust.net certification authority (2048),ou=(c) 1999 entrust.net limited,ou=www.entrust.net/cps_2048 incorp. by ref. (limits liab.),o=entrust.net... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=identrust public sector root ca 1,o=identrust,c=us... 20:43:39 Signature algorithm: SHA256withRSA 20:43:39 * Testing cn=ca disig root r1,o=disig a.s.,l=bratislava,c=sk... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=quovadis root ca 2 g3,o=quovadis limited,c=bm... 20:43:39 Signature algorithm: SHA256withRSA 20:43:39 * Testing c=es,o=accv,ou=pkiaccv,cn=accvraiz1... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=affirmtrust premium,o=affirmtrust,c=us... 20:43:39 Signature algorithm: SHA384withRSA 20:43:39 * Testing cn=geotrust primary certification authority - g2,ou=(c) 2007 geotrust inc. - for authorized use only,o=geotrust inc.,c=us... 20:43:39 Skipping cert with key: EC 20:43:39 * Testing cn=opentrust root ca g2,o=opentrust,c=fr... 20:43:39 Signature algorithm: SHA512withRSA 20:43:39 * Testing cn=affirmtrust premium ecc,o=affirmtrust,c=us... 20:43:39 Skipping cert with key: EC 20:43:39 * Testing cn=amazon root ca 2,o=amazon,c=us... 20:43:39 Signature algorithm: SHA384withRSA 20:43:39 * Testing cn=certification authority of wosign g2,o=wosign ca limited,c=cn... 20:43:39 Signature algorithm: SHA256withRSA 20:43:39 * Testing cn=staat der nederlanden root ca - g3,o=staat der nederlanden,c=nl... 20:43:39 Signature algorithm: SHA256withRSA 20:43:39 * Testing cn=xramp global certification authority,o=xramp security services inc,ou=www.xrampsecurity.com,c=us... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=starfield root certificate authority - g2,o=starfield technologies\, inc.,l=scottsdale,st=arizona,c=us... 20:43:39 Signature algorithm: SHA256withRSA 20:43:39 * Testing cn=global chambersign root,ou=http://www.chambersign.org,o=ac camerfirma sa cif a82743287,c=eu... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=usertrust rsa certification authority,o=the usertrust network,l=jersey city,st=new jersey,c=us... 20:43:39 Signature algorithm: SHA384withRSA 20:43:39 * Testing cn=opentrust root ca g3,o=opentrust,c=fr... 20:43:39 Skipping cert with key: EC 20:43:39 * Testing cn=aaa certificate services,o=comodo ca limited,l=salford,st=greater manchester,c=gb... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=global chambersign root - 2008,o=ac camerfirma s.a.,2.5.4.5=#1309413832373433323837,l=madrid (see current address at www.camerfirma.com/address),c=eu... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=thawte primary root ca - g3,ou=(c) 2008 thawte\, inc. - for authorized use only,ou=certification services division,o=thawte\, inc.,c=us... 20:43:39 Signature algorithm: SHA256withRSA 20:43:39 * Testing cn=geotrust global ca 2,o=geotrust inc.,c=us... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=staat der nederlanden root ca - g2,o=staat der nederlanden,c=nl... 20:43:39 Signature algorithm: SHA256withRSA 20:43:39 * Testing cn=quovadis root certification authority,ou=root certification authority,o=quovadis limited,c=bm... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing o=türktrust bilgi i̇letişim ve bilişim güvenliği hizmetleri a.ş. (c) aralık 2007,l=ankara,c=tr,cn=türktrust elektronik sertifika hizmet sağlayıcısı... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=baltimore cybertrust root,ou=cybertrust,o=baltimore,c=ie... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=certum trusted network ca,ou=certum certification authority,o=unizeto technologies s.a.,c=pl... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing ou=security communication ev rootca1,o=secom trust systems co.\,ltd.,c=jp... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=quovadis root ca 2,o=quovadis limited,c=bm... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing 1.2.840.113549.1.9.1=#1610696e666f40652d737a69676e6f2e6875,cn=microsec e-szigno root ca 2009,o=microsec ltd.,l=budapest,c=hu... 20:43:39 Signature algorithm: SHA256withRSA 20:43:39 * Testing cn=network solutions certificate authority,o=network solutions l.l.c.,c=us... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=ec-acc,ou=jerarquia entitats de certificacio catalanes,ou=vegeu https://www.catcert.net/verarrel (c)03,ou=serveis publics de certificacio,o=agencia catalana de certificacio (nif q-0801176-i),c=es... 20:43:39 Signature algorithm: SHA1withRSA 20:43:39 * Testing cn=hellenic academic and research institutions rootca 2015,o=hellenic academic and research institutions cert. authority,l=athens,c=gr... 20:43:39 Signature algorithm: SHA256withRSA 20:43:39 * Testing cn=digicert global root g2,ou=www.digicert.com,o=digicert inc,c=us... 20:43:39 Signature algorithm: SHA256withRSA 20:43:39 * Testing cn=pscprocert,c=ve,o=sistema nacional de certificacion electronica,ou=proveedor de certificados procert,st=miranda,l=chacao,1.2.840.113549.1.9.1=#1617636f6e746163746f4070726f636572742e6e65742e7665... 20:43:39 Signature algorithm: SHA256withRSA 20:43:39 STDERR: 20:43:39 java.security.SignatureException: Signature does not match. 20:43:39 at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:449) 20:43:39 at TestCACerts.main(TestCACerts.java:68) 20:43:39 at PKCS11Test.premain(PKCS11Test.java:88) 20:43:39 at PKCS11Test.testNSS(PKCS11Test.java:403) 20:43:39 at PKCS11Test.main(PKCS11Test.java:98) 20:43:39 at TestCACerts.main(TestCACerts.java:45) 20:43:39 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:43:39 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 20:43:39 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:43:39 at java.lang.reflect.Method.invoke(Method.java:498) 20:43:39 at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230) 20:43:39 at java.lang.Thread.run(Thread.java:748) 20:43:39 20:43:39 JavaTest Message: Test threw exception: java.security.SignatureException 20:43:39 JavaTest Message: shutting down test 20:43:39 20:43:39 20:43:39 TEST RESULT: Failed. Execution failed: main' threw exception: java.security.SignatureException: Signature does not match.
20:43:39 --------------------------------------------------

jdk_beans: java/beans/Introspector/Test8027648.java fails

Test threw exception: java.lang.Error: the child property type is not override the parent property type
18:29:50 java.lang.Error: the child property type is not override the parent property type
18:29:50 at Test8027648.test(Test8027648.java:45)
18:29:50 at Test8027648.main(Test8027648.java:38),
output from https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_linux/34/consoleFull:

18:29:50 HOME=/home/jenkins
18:29:50 LANG=en_US.UTF-8
18:29:50 PATH=/bin:/usr/bin
18:29:50 /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../bin/javac
18:29:50 -J-ea
18:29:50 -J-esa
18:29:50 -J-Xmx512m
18:29:50 -J-Dtest.src=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/beans/Introspector
18:29:50 -J-Dtest.src.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/beans/Introspector
18:29:50 -J-Dtest.classes=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/3/java/beans/Introspector
18:29:50 -J-Dtest.class.path=/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/3/java/beans/Introspector
18:29:50 -J-Dtest.vm.opts='-ea -esa -Xmx512m'
18:29:50 -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m'
18:29:50 -J-Dtest.compiler.opts=
18:29:50 -J-Dtest.java.opts=
18:29:50 -J-Dtest.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
18:29:50 -J-Dcompile.jdk=/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../..
18:29:50 -J-Dtest.timeout.factor=4.0
18:29:50 -d /home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/3/java/beans/Introspector
18:29:50 -sourcepath /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/beans/Introspector
18:29:50 -classpath /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/beans/Introspector:/home/jenkins/workspace/openjdk_test_x86-64_linux/jvmtest/OpenJDK_Playlist/SE80/work/classes/3/java/beans/Introspector:/home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar
18:29:50 -XDignore.symbol.file=true /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdk-test/OpenJDK_Playlist/openjdk-jdk8u/jdk/test/java/beans/Introspector/Test8027648.java
18:29:50 STDOUT:
18:29:50 STDERR:
18:29:50
18:29:50 ACTION: main -- Failed. Execution failed: main' threw exception: java.lang.Error: the child property type is not override the parent property type 18:29:50 REASON: Assumed action based on file name: run main Test8027648 18:29:50 TIME: 0.572 seconds 18:29:50 messages: 18:29:50 command: main Test8027648 18:29:50 reason: Assumed action based on file name: run main Test8027648 18:29:50 Mode: othervm 18:29:50 elapsed time (seconds): 0.572 18:29:50 configuration: 18:29:50 STDOUT: 18:29:50 STDERR: 18:29:50 java.lang.Error: the child property type is not override the parent property type 18:29:50 at Test8027648.test(Test8027648.java:45) 18:29:50 at Test8027648.main(Test8027648.java:38) 18:29:50 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 18:29:50 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 18:29:50 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 18:29:50 at java.lang.reflect.Method.invoke(Method.java:498) 18:29:50 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115) 18:29:50 at java.lang.Thread.run(Thread.java:748) 18:29:50 18:29:50 JavaTest Message: Test threw exception: java.lang.Error: the child property type is not override the parent property type 18:29:50 JavaTest Message: shutting down test 18:29:50 18:29:50 STATUS:Failed.main' threw exception: java.lang.Error: the child property type is not override the parent property type

TestExample fails to compile with javac not found on SE80

I am following the instructions in the README and having run make -f run_configure.mk to configure the environment I then ran make test and the build fails because it can't find the javac compiler (see output below)

helens-mbp:TestConfig helenmasters$ make test
Running make 3.81
set JAVA_BIN to /Users/helenmasters/openjdk/j2sdk-image/bin
set SPEC to SPEC=linux_x86-64
set JAVA_VERSION to SE80
set SRC_ROOT to /Users/helenmasters/openjdk-tests/TestConfig/..
set BUILD_ROOT to /Users/helenmasters/openjdk-tests/TestConfig/../../jvmtest
set JAVA_VERSION to SE80
ant -f /Users/helenmasters/openjdk-tests/TestConfig/../TestConfig/scripts/build_test.xml -DSRC_ROOT=/Users/helenmasters/openjdk-tests/TestConfig/.. -DBUILD_ROOT=/Users/helenmasters/openjdk-tests/TestConfig/../../jvmtest -DJAVA_BIN=/Users/helenmasters/openjdk/j2sdk-image/bin -DJAVA_VERSION=SE80 -DJCL_VERSION=latest
Buildfile: /Users/helenmasters/openjdk-tests/TestConfig/scripts/build_test.xml
     [echo]  JAVA_BIN is /Users/helenmasters/openjdk/j2sdk-image/bin 

-create_test_directory:

stage_test_material:
     [copy] Copying 3 files to /Users/helenmasters/jvmtest

build:

build:

init:

dist:
     [copy] Copying 1 file to /Users/helenmasters/jvmtest/OpenJDK_Playlist

build:

init:

compile:
     [echo] Ant version is Apache Ant(TM) version 1.10.1 compiled on February 2 2017
     [echo] ============COMPILER SETTINGS============
     [echo] ===fork:				yes
     [echo] ===executable:			/Users/helenmasters/openjdk/j2sdk-image/bin/../../bin/javac
     [echo] ===debug:				on
     [echo] ===destdir:				/Users/helenmasters/jvmtest/TestExample/SE80
    [javac] Compiling 4 source files to /Users/helenmasters/openjdk-tests/TestExample/bin

BUILD FAILED
/Users/helenmasters/openjdk-tests/TestConfig/scripts/build_test.xml:40: The following error occurred while executing this line:
/Users/helenmasters/openjdk-tests/TestExample/build.xml:58: The following error occurred while executing this line:
/Users/helenmasters/openjdk-tests/TestExample/build.xml:29: Error running /Users/helenmasters/openjdk/j2sdk-image/bin/../../bin/javac compiler

Total time: 0 seconds
make: *** [compile] Error 1

need slave machines to set up build

We need labeled machine to set up build to run test. For now we can at least get one machine labeled with linux&&x64&&test to run the build

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.