jdk_security3_1

[2025-02-27T08:46:17.170Z] Running test jdk_security3_1 ... [2025-02-27T08:46:17.170Z] =============================================== [2025-02-27T08:46:17.170Z] jdk_security3_1 Start Time: Thu Feb 27 08:46:10 2025 Epoch Time (ms): 1740645970258 [2025-02-27T08:46:17.170Z] variation: Mode650 [2025-02-27T08:46:17.170Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-27T08:46:17.170Z] { \ [2025-02-27T08:46:17.170Z] echo ""; echo "TEST SETUP:"; \ [2025-02-27T08:46:17.170Z] echo "Nothing to be done for setup."; \ [2025-02-27T08:46:17.170Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17406421335085/jdk_security3_1"; \ [2025-02-27T08:46:17.170Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17406421335085/jdk_security3_1"; \ [2025-02-27T08:46:17.170Z] echo ""; echo "TESTING:"; \ [2025-02-27T08:46:17.170Z] "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/java" -Xmx512m -jar "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \ [2025-02-27T08:46:17.170Z] -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -timeoutFactor:8 -xml:verify -concurrency:3 -nativepath:"/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native" -vmoptions:"-Xmx512m -XX:-UseCompressedOops " \ [2025-02-27T08:46:17.170Z] \ [2025-02-27T08:46:17.170Z] -w ""/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17406421335085/jdk_security3_1"/work" \ [2025-02-27T08:46:17.170Z] -r ""/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17406421335085/jdk_security3_1"/report" \ [2025-02-27T08:46:17.170Z] -jdk:"/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image" \ [2025-02-27T08:46:17.170Z] -exclude:"/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/ProblemList.txt" \ [2025-02-27T08:46:17.170Z] -exclude:"/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../../jvmtest/openjdk/excludes/ProblemList_openjdk17.txt" \ [2025-02-27T08:46:17.170Z] \ [2025-02-27T08:46:17.170Z] -exclude:"/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../openjdk/excludes/vendors/eclipse/ProblemList_openjdk17.txt" \ [2025-02-27T08:46:17.170Z] "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk:jdk_security3"; \ [2025-02-27T08:46:17.170Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_security3_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-27T08:46:17.170Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-27T08:46:17.170Z] echo "Nothing to be done for teardown."; \ [2025-02-27T08:46:17.170Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17406421335085/TestTargetResult"; [2025-02-27T08:46:17.170Z] [2025-02-27T08:46:17.170Z] TEST SETUP: [2025-02-27T08:46:17.170Z] Nothing to be done for setup. [2025-02-27T08:46:17.170Z] [2025-02-27T08:46:17.170Z] TESTING: [2025-02-27T08:46:17.170Z] Directory "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17406421335085/jdk_security3_1/work" not found: creating [2025-02-27T08:46:17.170Z] Directory "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17406421335085/jdk_security3_1/report" not found: creating [2025-02-27T08:46:37.966Z] XML output with verification to /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work [2025-02-27T09:56:52.642Z] -------------------------------------------------- [2025-02-27T09:56:52.642Z] TEST: sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java [2025-02-27T09:56:52.642Z] TEST JDK: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image [2025-02-27T09:56:52.642Z] [2025-02-27T09:56:52.642Z] ACTION: build -- Passed. Build successful [2025-02-27T09:56:52.642Z] REASON: Named class compiled on demand [2025-02-27T09:56:52.642Z] TIME: 0.072 seconds [2025-02-27T09:56:52.642Z] messages: [2025-02-27T09:56:52.642Z] command: build SSLSocketCloseHang [2025-02-27T09:56:52.642Z] reason: Named class compiled on demand [2025-02-27T09:56:52.642Z] started: Thu Feb 27 09:56:33 UTC 2025 [2025-02-27T09:56:52.642Z] Test directory: [2025-02-27T09:56:52.642Z] compile: SSLSocketCloseHang [2025-02-27T09:56:52.642Z] finished: Thu Feb 27 09:56:33 UTC 2025 [2025-02-27T09:56:52.642Z] elapsed time (seconds): 0.072 [2025-02-27T09:56:52.642Z] [2025-02-27T09:56:52.642Z] ACTION: compile -- Passed. Compilation successful [2025-02-27T09:56:52.642Z] REASON: .class file out of date or does not exist [2025-02-27T09:56:52.642Z] TIME: 0.072 seconds [2025-02-27T09:56:52.642Z] messages: [2025-02-27T09:56:52.642Z] command: compile /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java [2025-02-27T09:56:52.642Z] reason: .class file out of date or does not exist [2025-02-27T09:56:52.642Z] started: Thu Feb 27 09:56:33 UTC 2025 [2025-02-27T09:56:52.642Z] Mode: agentvm [2025-02-27T09:56:52.642Z] Agent id: 1 [2025-02-27T09:56:52.642Z] finished: Thu Feb 27 09:56:33 UTC 2025 [2025-02-27T09:56:52.642Z] elapsed time (seconds): 0.072 [2025-02-27T09:56:52.642Z] configuration: [2025-02-27T09:56:52.642Z] Boot Layer (javac runtime environment) [2025-02-27T09:56:52.642Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-02-27T09:56:52.642Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-02-27T09:56:52.642Z] patch: java.base /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/patches/java.base [2025-02-27T09:56:52.642Z] [2025-02-27T09:56:52.642Z] javac compilation environment [2025-02-27T09:56:52.642Z] source path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/SSLSocketImpl [2025-02-27T09:56:52.642Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/SSLSocketImpl [2025-02-27T09:56:52.642Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/1/sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.d [2025-02-27T09:56:52.642Z] [2025-02-27T09:56:52.642Z] rerun: [2025-02-27T09:56:52.642Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/scratch/1 && \ [2025-02-27T09:56:52.642Z] DISPLAY=:0 \ [2025-02-27T09:56:52.642Z] HOME=/home/jenkins \ [2025-02-27T09:56:52.642Z] LANG=C.UTF-8 \ [2025-02-27T09:56:52.642Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-27T09:56:52.642Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/javac \ [2025-02-27T09:56:52.642Z] -J-ea \ [2025-02-27T09:56:52.642Z] -J-esa \ [2025-02-27T09:56:52.642Z] -J-Xmx512m \ [2025-02-27T09:56:52.642Z] -J-XX:-UseCompressedOops \ [2025-02-27T09:56:52.642Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-27T09:56:52.642Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-27T09:56:52.642Z] -J-Dtest.compiler.opts= \ [2025-02-27T09:56:52.642Z] -J-Dtest.java.opts= \ [2025-02-27T09:56:52.642Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T09:56:52.642Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T09:56:52.642Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-27T09:56:52.642Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T09:56:52.642Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-27T09:56:52.642Z] -J-Dtest.name=sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java \ [2025-02-27T09:56:52.642Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java \ [2025-02-27T09:56:52.642Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/SSLSocketImpl \ [2025-02-27T09:56:52.642Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/SSLSocketImpl \ [2025-02-27T09:56:52.642Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/1/sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.d \ [2025-02-27T09:56:52.642Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/1/sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.d \ [2025-02-27T09:56:52.642Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/1/sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/SSLSocketImpl \ [2025-02-27T09:56:52.642Z] -d /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/1/sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.d \ [2025-02-27T09:56:52.642Z] -sourcepath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/SSLSocketImpl \ [2025-02-27T09:56:52.642Z] -classpath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/SSLSocketImpl:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/1/sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.d /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java [2025-02-27T09:56:52.642Z] [2025-02-27T09:56:52.642Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.net.SocketTimeoutException: Read timed out [2025-02-27T09:56:52.642Z] REASON: User specified action: run main/othervm SSLSocketCloseHang TLSv1.2 [2025-02-27T09:56:52.642Z] TIME: 9.893 seconds [2025-02-27T09:56:52.642Z] messages: [2025-02-27T09:56:52.642Z] command: main SSLSocketCloseHang TLSv1.2 [2025-02-27T09:56:52.642Z] reason: User specified action: run main/othervm SSLSocketCloseHang TLSv1.2 [2025-02-27T09:56:52.642Z] started: Thu Feb 27 09:56:33 UTC 2025 [2025-02-27T09:56:52.642Z] Mode: othervm [/othervm specified] [2025-02-27T09:56:52.642Z] finished: Thu Feb 27 09:56:43 UTC 2025 [2025-02-27T09:56:52.642Z] elapsed time (seconds): 9.893 [2025-02-27T09:56:52.642Z] configuration: [2025-02-27T09:56:52.642Z] STDOUT: [2025-02-27T09:56:52.642Z] waiting on server [2025-02-27T09:56:52.642Z] server ready [2025-02-27T09:56:52.642Z] STDERR: [2025-02-27T09:56:52.642Z] Server accepting: 10258759025569624 [2025-02-27T09:56:52.642Z] Server accepted: 10258760656358455 [2025-02-27T09:56:52.642Z] Client starting handshake: 10258760656350006 [2025-02-27T09:56:52.642Z] java.net.SocketTimeoutException: Read timed out [2025-02-27T09:56:52.642Z] at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:288) [2025-02-27T09:56:52.642Z] at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:314) [2025-02-27T09:56:52.642Z] at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:355) [2025-02-27T09:56:52.642Z] at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:808) [2025-02-27T09:56:52.642Z] at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966) [2025-02-27T09:56:52.642Z] at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:484) [2025-02-27T09:56:52.642Z] at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:478) [2025-02-27T09:56:52.642Z] at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160) [2025-02-27T09:56:52.642Z] at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111) [2025-02-27T09:56:52.642Z] at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1510) [2025-02-27T09:56:52.642Z] at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1425) [2025-02-27T09:56:52.642Z] at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455) [2025-02-27T09:56:52.642Z] at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426) [2025-02-27T09:56:52.642Z] at SSLSocketCloseHang.doClientSide(SSLSocketCloseHang.java:149) [2025-02-27T09:56:52.642Z] at SSLSocketCloseHang.startClient(SSLSocketCloseHang.java:320) [2025-02-27T09:56:52.642Z] at SSLSocketCloseHang.<init>(SSLSocketCloseHang.java:246) [2025-02-27T09:56:52.642Z] at SSLSocketCloseHang.main(SSLSocketCloseHang.java:232) [2025-02-27T09:56:52.642Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-27T09:56:52.642Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-02-27T09:56:52.642Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-27T09:56:52.642Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-02-27T09:56:52.642Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T09:56:52.642Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-02-27T09:56:52.642Z] [2025-02-27T09:56:52.642Z] JavaTest Message: Test threw exception: java.net.SocketTimeoutException: Read timed out [2025-02-27T09:56:52.642Z] JavaTest Message: shutting down test [2025-02-27T09:56:52.642Z] [2025-02-27T09:56:52.642Z] STATUS:Failed.`main' threw exception: java.net.SocketTimeoutException: Read timed out [2025-02-27T09:56:52.642Z] rerun: [2025-02-27T09:56:52.642Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/scratch/1 && \ [2025-02-27T09:56:52.642Z] DISPLAY=:0 \ [2025-02-27T09:56:52.642Z] HOME=/home/jenkins \ [2025-02-27T09:56:52.642Z] LANG=C.UTF-8 \ [2025-02-27T09:56:52.642Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-27T09:56:52.642Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/1/sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/SSLSocketImpl:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-02-27T09:56:52.642Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/java \ [2025-02-27T09:56:52.642Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-27T09:56:52.642Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-27T09:56:52.642Z] -Dtest.compiler.opts= \ [2025-02-27T09:56:52.642Z] -Dtest.java.opts= \ [2025-02-27T09:56:52.642Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T09:56:52.642Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T09:56:52.642Z] -Dtest.timeout.factor=8.0 \ [2025-02-27T09:56:52.642Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T09:56:52.642Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-27T09:56:52.642Z] -Dtest.name=sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java \ [2025-02-27T09:56:52.642Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java \ [2025-02-27T09:56:52.642Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/SSLSocketImpl \ [2025-02-27T09:56:52.642Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/SSLSocketImpl \ [2025-02-27T09:56:52.642Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/1/sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.d \ [2025-02-27T09:56:52.642Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/1/sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.d \ [2025-02-27T09:56:52.642Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/1/sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/SSLSocketImpl \ [2025-02-27T09:56:52.642Z] -ea \ [2025-02-27T09:56:52.642Z] -esa \ [2025-02-27T09:56:52.642Z] -Xmx512m \ [2025-02-27T09:56:52.642Z] -XX:-UseCompressedOops \ [2025-02-27T09:56:52.642Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T09:56:52.642Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.d/main.0.jta TLSv1.2 [2025-02-27T09:56:52.642Z] [2025-02-27T09:56:52.642Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.net.SocketTimeoutException: Read timed out [2025-02-27T09:56:52.642Z] -------------------------------------------------- [2025-02-27T09:58:12.004Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-27T09:58:12.004Z] TEST JDK: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image [2025-02-27T09:58:12.004Z] [2025-02-27T09:58:12.004Z] ACTION: build -- Passed. Build successful [2025-02-27T09:58:12.004Z] REASON: Named class compiled on demand [2025-02-27T09:58:12.004Z] TIME: 0.382 seconds [2025-02-27T09:58:12.004Z] messages: [2025-02-27T09:58:12.004Z] command: build Camerfirma [2025-02-27T09:58:12.004Z] reason: Named class compiled on demand [2025-02-27T09:58:12.004Z] started: Thu Feb 27 09:57:57 UTC 2025 [2025-02-27T09:58:12.004Z] Test directory: [2025-02-27T09:58:12.004Z] compile: Camerfirma [2025-02-27T09:58:12.004Z] finished: Thu Feb 27 09:57:58 UTC 2025 [2025-02-27T09:58:12.004Z] elapsed time (seconds): 0.382 [2025-02-27T09:58:12.004Z] [2025-02-27T09:58:12.004Z] ACTION: compile -- Passed. Compilation successful [2025-02-27T09:58:12.004Z] REASON: .class file out of date or does not exist [2025-02-27T09:58:12.004Z] TIME: 0.381 seconds [2025-02-27T09:58:12.004Z] messages: [2025-02-27T09:58:12.004Z] command: compile /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-27T09:58:12.004Z] reason: .class file out of date or does not exist [2025-02-27T09:58:12.004Z] started: Thu Feb 27 09:57:57 UTC 2025 [2025-02-27T09:58:12.004Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T09:58:12.004Z] Mode: agentvm [2025-02-27T09:58:12.004Z] Agent id: 2 [2025-02-27T09:58:12.004Z] finished: Thu Feb 27 09:57:58 UTC 2025 [2025-02-27T09:58:12.004Z] elapsed time (seconds): 0.381 [2025-02-27T09:58:12.004Z] configuration: [2025-02-27T09:58:12.004Z] Boot Layer (javac runtime environment) [2025-02-27T09:58:12.004Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-02-27T09:58:12.004Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-02-27T09:58:12.004Z] patch: java.base /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/patches/java.base [2025-02-27T09:58:12.004Z] [2025-02-27T09:58:12.004Z] javac compilation environment [2025-02-27T09:58:12.004Z] add modules: java.base [2025-02-27T09:58:12.004Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T09:58:12.004Z] source path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-27T09:58:12.004Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-02-27T09:58:12.004Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-27T09:58:12.004Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d [2025-02-27T09:58:12.004Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/test/lib [2025-02-27T09:58:12.004Z] [2025-02-27T09:58:12.004Z] rerun: [2025-02-27T09:58:12.004Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/scratch/2 && \ [2025-02-27T09:58:12.004Z] DISPLAY=:0 \ [2025-02-27T09:58:12.004Z] HOME=/home/jenkins \ [2025-02-27T09:58:12.004Z] LANG=C.UTF-8 \ [2025-02-27T09:58:12.004Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-27T09:58:12.004Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/javac \ [2025-02-27T09:58:12.004Z] -J-ea \ [2025-02-27T09:58:12.004Z] -J-esa \ [2025-02-27T09:58:12.004Z] -J-Xmx512m \ [2025-02-27T09:58:12.004Z] -J-XX:-UseCompressedOops \ [2025-02-27T09:58:12.004Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-27T09:58:12.004Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-27T09:58:12.004Z] -J-Dtest.compiler.opts= \ [2025-02-27T09:58:12.004Z] -J-Dtest.java.opts= \ [2025-02-27T09:58:12.004Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T09:58:12.004Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T09:58:12.004Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-27T09:58:12.004Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T09:58:12.004Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-27T09:58:12.004Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-27T09:58:12.004Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-27T09:58:12.004Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-27T09:58:12.004Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-27T09:58:12.004Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-27T09:58:12.004Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/test/lib \ [2025-02-27T09:58:12.004Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/test/lib \ [2025-02-27T09:58:12.004Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-27T09:58:12.004Z] --add-modules java.base \ [2025-02-27T09:58:12.004Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T09:58:12.004Z] -d /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-27T09:58:12.004Z] -sourcepath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-27T09:58:12.004Z] -classpath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/test/lib /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-27T09:58:12.004Z] direct: [2025-02-27T09:58:12.004Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:31: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.004Z] import sun.security.validator.Validator; [2025-02-27T09:58:12.004Z] ^ [2025-02-27T09:58:12.004Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:32: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.004Z] import sun.security.validator.ValidatorException; [2025-02-27T09:58:12.004Z] ^ [2025-02-27T09:58:12.004Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.004Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-27T09:58:12.004Z] ^ [2025-02-27T09:58:12.004Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.004Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-27T09:58:12.004Z] ^ [2025-02-27T09:58:12.004Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:68: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.004Z] Validator.VAR_CODE_SIGNING, [2025-02-27T09:58:12.004Z] ^ [2025-02-27T09:58:12.004Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.004Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-27T09:58:12.004Z] ^ [2025-02-27T09:58:12.004Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:134: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.004Z] if (ce instanceof ValidatorException) { [2025-02-27T09:58:12.004Z] ^ [2025-02-27T09:58:12.004Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:135: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.004Z] ValidatorException ve = (ValidatorException) ce; [2025-02-27T09:58:12.004Z] ^ [2025-02-27T09:58:12.004Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:135: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.004Z] ValidatorException ve = (ValidatorException) ce; [2025-02-27T09:58:12.004Z] ^ [2025-02-27T09:58:12.004Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:136: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.004Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-02-27T09:58:12.004Z] ^ [2025-02-27T09:58:12.004Z] Note: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API. [2025-02-27T09:58:12.004Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-27T09:58:12.004Z] Note: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-02-27T09:58:12.004Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-27T09:58:12.004Z] 10 warnings [2025-02-27T09:58:12.004Z] [2025-02-27T09:58:12.004Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T09:58:12.004Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-27T09:58:12.004Z] TIME: 3.368 seconds [2025-02-27T09:58:12.004Z] messages: [2025-02-27T09:58:12.004Z] command: main Camerfirma after policyOn invalid [2025-02-27T09:58:12.004Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-27T09:58:12.004Z] started: Thu Feb 27 09:57:58 UTC 2025 [2025-02-27T09:58:12.004Z] Mode: othervm [/othervm specified] [2025-02-27T09:58:12.004Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T09:58:12.004Z] finished: Thu Feb 27 09:58:01 UTC 2025 [2025-02-27T09:58:12.004Z] elapsed time (seconds): 3.368 [2025-02-27T09:58:12.004Z] configuration: [2025-02-27T09:58:12.004Z] Boot Layer [2025-02-27T09:58:12.004Z] add modules: java.base [2025-02-27T09:58:12.004Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T09:58:12.004Z] [2025-02-27T09:58:12.004Z] STDOUT: [2025-02-27T09:58:12.004Z] STDERR: [2025-02-27T09:58:12.004Z] Testing camerfirmachamberscommerceca [2025-02-27T09:58:12.004Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T09:58:12.004Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) [2025-02-27T09:58:12.004Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) [2025-02-27T09:58:12.004Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-02-27T09:58:12.004Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:242) [2025-02-27T09:58:12.004Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-27T09:58:12.004Z] at Distrust.testTM(Distrust.java:125) [2025-02-27T09:58:12.004Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T09:58:12.004Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-27T09:58:12.004Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-27T09:58:12.004Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-02-27T09:58:12.004Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-27T09:58:12.004Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-02-27T09:58:12.004Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T09:58:12.004Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-02-27T09:58:12.004Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T09:58:12.004Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-27T09:58:12.004Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-27T09:58:12.004Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-27T09:58:12.004Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) [2025-02-27T09:58:12.004Z] ... 13 more [2025-02-27T09:58:12.004Z] java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T09:58:12.004Z] at Distrust.testTM(Distrust.java:138) [2025-02-27T09:58:12.004Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T09:58:12.004Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-27T09:58:12.004Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-27T09:58:12.004Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-02-27T09:58:12.004Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-27T09:58:12.004Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-02-27T09:58:12.004Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T09:58:12.004Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-02-27T09:58:12.004Z] [2025-02-27T09:58:12.004Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T09:58:12.004Z] JavaTest Message: shutting down test [2025-02-27T09:58:12.004Z] [2025-02-27T09:58:12.004Z] STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T09:58:12.004Z] rerun: [2025-02-27T09:58:12.004Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/scratch/2 && \ [2025-02-27T09:58:12.004Z] DISPLAY=:0 \ [2025-02-27T09:58:12.004Z] HOME=/home/jenkins \ [2025-02-27T09:58:12.004Z] LANG=C.UTF-8 \ [2025-02-27T09:58:12.004Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-27T09:58:12.004Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-02-27T09:58:12.004Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/java \ [2025-02-27T09:58:12.004Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-27T09:58:12.004Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-27T09:58:12.004Z] -Dtest.compiler.opts= \ [2025-02-27T09:58:12.004Z] -Dtest.java.opts= \ [2025-02-27T09:58:12.004Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T09:58:12.004Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T09:58:12.004Z] -Dtest.timeout.factor=8.0 \ [2025-02-27T09:58:12.004Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T09:58:12.004Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-27T09:58:12.004Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-27T09:58:12.004Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-27T09:58:12.004Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-27T09:58:12.004Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-27T09:58:12.005Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-27T09:58:12.005Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/test/lib \ [2025-02-27T09:58:12.005Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/test/lib \ [2025-02-27T09:58:12.005Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-27T09:58:12.005Z] --add-modules java.base \ [2025-02-27T09:58:12.005Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T09:58:12.005Z] -ea \ [2025-02-27T09:58:12.005Z] -esa \ [2025-02-27T09:58:12.005Z] -Xmx512m \ [2025-02-27T09:58:12.005Z] -XX:-UseCompressedOops \ [2025-02-27T09:58:12.005Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T09:58:12.005Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d/main.0.jta after policyOn invalid [2025-02-27T09:58:12.005Z] [2025-02-27T09:58:12.005Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T09:58:12.005Z] -------------------------------------------------- [2025-02-27T09:58:12.005Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-27T09:58:12.005Z] TEST JDK: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image [2025-02-27T09:58:12.005Z] [2025-02-27T09:58:12.005Z] ACTION: build -- Passed. Build successful [2025-02-27T09:58:12.005Z] REASON: Named class compiled on demand [2025-02-27T09:58:12.005Z] TIME: 0.27 seconds [2025-02-27T09:58:12.005Z] messages: [2025-02-27T09:58:12.005Z] command: build Entrust [2025-02-27T09:58:12.005Z] reason: Named class compiled on demand [2025-02-27T09:58:12.005Z] started: Thu Feb 27 09:58:01 UTC 2025 [2025-02-27T09:58:12.005Z] Test directory: [2025-02-27T09:58:12.005Z] compile: Entrust [2025-02-27T09:58:12.005Z] finished: Thu Feb 27 09:58:01 UTC 2025 [2025-02-27T09:58:12.005Z] elapsed time (seconds): 0.27 [2025-02-27T09:58:12.005Z] [2025-02-27T09:58:12.005Z] ACTION: compile -- Passed. Compilation successful [2025-02-27T09:58:12.005Z] REASON: .class file out of date or does not exist [2025-02-27T09:58:12.005Z] TIME: 0.267 seconds [2025-02-27T09:58:12.005Z] messages: [2025-02-27T09:58:12.005Z] command: compile /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-27T09:58:12.005Z] reason: .class file out of date or does not exist [2025-02-27T09:58:12.005Z] started: Thu Feb 27 09:58:01 UTC 2025 [2025-02-27T09:58:12.005Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T09:58:12.005Z] Mode: agentvm [2025-02-27T09:58:12.005Z] Agent id: 2 [2025-02-27T09:58:12.005Z] finished: Thu Feb 27 09:58:01 UTC 2025 [2025-02-27T09:58:12.005Z] elapsed time (seconds): 0.267 [2025-02-27T09:58:12.005Z] configuration: [2025-02-27T09:58:12.005Z] Boot Layer (javac runtime environment) [2025-02-27T09:58:12.005Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-02-27T09:58:12.005Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-02-27T09:58:12.005Z] patch: java.base /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/patches/java.base [2025-02-27T09:58:12.005Z] [2025-02-27T09:58:12.005Z] javac compilation environment [2025-02-27T09:58:12.005Z] add modules: java.base [2025-02-27T09:58:12.005Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T09:58:12.005Z] source path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-27T09:58:12.005Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-02-27T09:58:12.005Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-27T09:58:12.005Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d [2025-02-27T09:58:12.005Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/test/lib [2025-02-27T09:58:12.005Z] [2025-02-27T09:58:12.005Z] rerun: [2025-02-27T09:58:12.005Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/scratch/2 && \ [2025-02-27T09:58:12.005Z] DISPLAY=:0 \ [2025-02-27T09:58:12.005Z] HOME=/home/jenkins \ [2025-02-27T09:58:12.005Z] LANG=C.UTF-8 \ [2025-02-27T09:58:12.005Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-27T09:58:12.005Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/javac \ [2025-02-27T09:58:12.005Z] -J-ea \ [2025-02-27T09:58:12.005Z] -J-esa \ [2025-02-27T09:58:12.005Z] -J-Xmx512m \ [2025-02-27T09:58:12.005Z] -J-XX:-UseCompressedOops \ [2025-02-27T09:58:12.005Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-27T09:58:12.005Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-27T09:58:12.005Z] -J-Dtest.compiler.opts= \ [2025-02-27T09:58:12.005Z] -J-Dtest.java.opts= \ [2025-02-27T09:58:12.005Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T09:58:12.005Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T09:58:12.005Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-27T09:58:12.005Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T09:58:12.005Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-27T09:58:12.005Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-27T09:58:12.005Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-27T09:58:12.005Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-27T09:58:12.005Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-27T09:58:12.005Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-27T09:58:12.005Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/test/lib \ [2025-02-27T09:58:12.005Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/test/lib \ [2025-02-27T09:58:12.005Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-27T09:58:12.005Z] --add-modules java.base \ [2025-02-27T09:58:12.005Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T09:58:12.005Z] -d /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-27T09:58:12.005Z] -sourcepath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-27T09:58:12.005Z] -classpath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/test/lib /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-27T09:58:12.005Z] direct: [2025-02-27T09:58:12.005Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:31: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.005Z] import sun.security.validator.Validator; [2025-02-27T09:58:12.005Z] ^ [2025-02-27T09:58:12.005Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:32: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.005Z] import sun.security.validator.ValidatorException; [2025-02-27T09:58:12.005Z] ^ [2025-02-27T09:58:12.005Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.005Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-27T09:58:12.005Z] ^ [2025-02-27T09:58:12.005Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.005Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-27T09:58:12.005Z] ^ [2025-02-27T09:58:12.005Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:68: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.005Z] Validator.VAR_CODE_SIGNING, [2025-02-27T09:58:12.005Z] ^ [2025-02-27T09:58:12.005Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.005Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-27T09:58:12.005Z] ^ [2025-02-27T09:58:12.005Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:134: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.005Z] if (ce instanceof ValidatorException) { [2025-02-27T09:58:12.005Z] ^ [2025-02-27T09:58:12.005Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:135: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.005Z] ValidatorException ve = (ValidatorException) ce; [2025-02-27T09:58:12.005Z] ^ [2025-02-27T09:58:12.005Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:135: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.005Z] ValidatorException ve = (ValidatorException) ce; [2025-02-27T09:58:12.005Z] ^ [2025-02-27T09:58:12.005Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:136: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-27T09:58:12.005Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-02-27T09:58:12.005Z] ^ [2025-02-27T09:58:12.005Z] Note: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API. [2025-02-27T09:58:12.005Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-27T09:58:12.005Z] Note: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-02-27T09:58:12.005Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-27T09:58:12.005Z] 10 warnings [2025-02-27T09:58:12.005Z] [2025-02-27T09:58:12.005Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T09:58:12.005Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-27T09:58:12.005Z] TIME: 8.207 seconds [2025-02-27T09:58:12.005Z] messages: [2025-02-27T09:58:12.005Z] command: main Entrust after policyOn invalid [2025-02-27T09:58:12.005Z] reason: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-27T09:58:12.005Z] started: Thu Feb 27 09:58:01 UTC 2025 [2025-02-27T09:58:12.005Z] Mode: othervm [/othervm specified] [2025-02-27T09:58:12.005Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T09:58:12.005Z] finished: Thu Feb 27 09:58:09 UTC 2025 [2025-02-27T09:58:12.005Z] elapsed time (seconds): 8.207 [2025-02-27T09:58:12.005Z] configuration: [2025-02-27T09:58:12.005Z] Boot Layer [2025-02-27T09:58:12.005Z] add modules: java.base [2025-02-27T09:58:12.005Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T09:58:12.005Z] [2025-02-27T09:58:12.005Z] STDOUT: [2025-02-27T09:58:12.005Z] STDERR: [2025-02-27T09:58:12.005Z] Testing entrustevca [2025-02-27T09:58:12.005Z] Testing entrustrootcaec1 [2025-02-27T09:58:12.005Z] Testing entrustrootcag2 [2025-02-27T09:58:12.005Z] Testing entrustrootcag4 [2025-02-27T09:58:12.005Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T09:58:12.005Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) [2025-02-27T09:58:12.005Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) [2025-02-27T09:58:12.005Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-02-27T09:58:12.005Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:242) [2025-02-27T09:58:12.005Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-27T09:58:12.005Z] at Distrust.testTM(Distrust.java:125) [2025-02-27T09:58:12.005Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T09:58:12.005Z] at Entrust.main(Entrust.java:66) [2025-02-27T09:58:12.005Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-27T09:58:12.005Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-02-27T09:58:12.005Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-27T09:58:12.005Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-02-27T09:58:12.005Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T09:58:12.005Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-02-27T09:58:12.005Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T09:58:12.005Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-27T09:58:12.005Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-27T09:58:12.005Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-27T09:58:12.005Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) [2025-02-27T09:58:12.005Z] ... 13 more [2025-02-27T09:58:12.005Z] java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T09:58:12.005Z] at Distrust.testTM(Distrust.java:138) [2025-02-27T09:58:12.005Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T09:58:12.005Z] at Entrust.main(Entrust.java:66) [2025-02-27T09:58:12.005Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-27T09:58:12.005Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-02-27T09:58:12.005Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-27T09:58:12.005Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-02-27T09:58:12.005Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T09:58:12.005Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-02-27T09:58:12.005Z] [2025-02-27T09:58:12.005Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T09:58:12.005Z] JavaTest Message: shutting down test [2025-02-27T09:58:12.005Z] [2025-02-27T09:58:12.005Z] STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T09:58:12.005Z] rerun: [2025-02-27T09:58:12.005Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/scratch/2 && \ [2025-02-27T09:58:12.005Z] DISPLAY=:0 \ [2025-02-27T09:58:12.005Z] HOME=/home/jenkins \ [2025-02-27T09:58:12.005Z] LANG=C.UTF-8 \ [2025-02-27T09:58:12.005Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-27T09:58:12.005Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-02-27T09:58:12.005Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/java \ [2025-02-27T09:58:12.005Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-27T09:58:12.005Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-27T09:58:12.005Z] -Dtest.compiler.opts= \ [2025-02-27T09:58:12.005Z] -Dtest.java.opts= \ [2025-02-27T09:58:12.005Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T09:58:12.005Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T09:58:12.005Z] -Dtest.timeout.factor=8.0 \ [2025-02-27T09:58:12.005Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T09:58:12.005Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-27T09:58:12.005Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-27T09:58:12.005Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-27T09:58:12.005Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-27T09:58:12.005Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-27T09:58:12.005Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-27T09:58:12.005Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/test/lib \ [2025-02-27T09:58:12.005Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/classes/2/test/lib \ [2025-02-27T09:58:12.005Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-27T09:58:12.005Z] --add-modules java.base \ [2025-02-27T09:58:12.005Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T09:58:12.005Z] -ea \ [2025-02-27T09:58:12.005Z] -esa \ [2025-02-27T09:58:12.005Z] -Xmx512m \ [2025-02-27T09:58:12.005Z] -XX:-UseCompressedOops \ [2025-02-27T09:58:12.006Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T09:58:12.006Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d/main.0.jta after policyOn invalid [2025-02-27T09:58:12.006Z] [2025-02-27T09:58:12.006Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T09:58:12.006Z] -------------------------------------------------- [2025-02-27T11:16:09.546Z] Test results: passed: 870; failed: 3 [2025-02-27T11:16:34.246Z] Report written to /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/report/html/report.html [2025-02-27T11:16:34.246Z] Results written to /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17406421335085/jdk_security3_1/work [2025-02-27T11:16:34.246Z] Error: Some tests failed or other problems occurred. [2025-02-27T11:16:34.246Z] ----------------------------------- [2025-02-27T11:16:34.246Z] jdk_security3_1_FAILED [2025-02-27T11:16:34.246Z] ----------------------------------- [2025-02-27T11:16:34.246Z] [2025-02-27T11:16:34.246Z] TEST TEARDOWN: [2025-02-27T11:16:34.246Z] Nothing to be done for teardown. [2025-02-27T11:16:34.246Z] jdk_security3_1 Finish Time: Thu Feb 27 11:16:31 2025 Epoch Time (ms): 1740654991747