adoptium / adoptium/infrastructure

`jdk_security3_0` and `jdk_security1_0` have problems on Windows systems.

Open
#3,855 7 comments 0 reactions 0 assignees View on GitHub
os:windows testFail
Dominant language
Python
Stars
96
Forks
106
Avg merge
1d 23h
Merged PRs (30d)
13

Description

Please set the title to indicate the test name and machine name where known.

To make it easy for the infrastructure team to repeat and diagnose, please
answer the following questions:

- test suite/name (e.g, BUILD_LIST, TARGET, CUSTOM_TARGET)? jdk_security3_0 and jdk_security1_0
- a link into recent `Test_` job on https://ci.adoptium.net which showed the failure: https://ci.adoptium.net/job/Test_openjdk21_hs_sanity.openjdk_x86-64_windows/211/tapTestReport/ or https://ci.adoptium.net/job/Grinder/12170/testReport/
- **Hyperlink** to re-run in Grinder: [jdk_security3_0 on test-4](https://ci.adoptium.net/job/Grinder/parambuild/?SDK_RESOURCE=nightly&TARGET=testList+TESTLIST=jdk_security3_0&TEST_FLAG=&UPSTREAM_TEST_JOB_NAME=&DOCKER_REQUIRED=false&ACTIVE_NODE_TIMEOUT=5&VENDOR_TEST_DIRS=&EXTRA_DOCKER_ARGS=&TKG_OWNER_BRANCH=adoptium%3Amaster&OPENJ9_SYSTEMTEST_OWNER_BRANCH=eclipse%3Amaster&PLATFORM=x86-64_windows&GENERATE_JOBS=true&KEEP_REPORTDIR=true&PERSONAL_BUILD=false&ADOPTOPENJDK_REPO=https%3A%2F%2Fgithub.com%2Fadoptium%2Faqa-tests.git&RERUN_ITERATIONS=0&LABEL=test-azure-win2022-x64-4&EXTRA_OPTIONS=&CUSTOMIZED_SDK_URL=&BUILD_IDENTIFIER=&ADOPTOPENJDK_BRANCH=master&LIGHT_WEIGHT_CHECKOUT=false&NON_AQA_TEST_REPOS=&USE_JRE=false&ARTIFACTORY_SERVER=&KEEP_WORKSPACE=false&USER_CREDENTIALS_ID=&JDK_VERSION=21&ITERATIONS=1&VENDOR_TEST_REPOS=&JDK_REPO=https%3A%2F%2Fgithub.com%2Fadoptium%2Fjdk21u&OPENJ9_BRANCH=master&OPENJ9_SHA=&JCK_GIT_REPO=&VENDOR_TEST_BRANCHES=&OPENJ9_REPO=https%3A%2F%2Fgithub.com%2Feclipse-openj9%2Fopenj9.git&UPSTREAM_JOB_NAME=&CLOUD_PROVIDER=&PLATFORM_AND_MACHINE=&CUSTOM_TARGET=&VENDOR_TEST_SHAS=&JDK_BRANCH=dev&TEST_IMAGES_REQUIRED=true&LABEL_ADDITION=&ARTIFACTORY_REPO=&ARTIFACTORY_ROOT_DIR=&UPSTREAM_TEST_JOB_NUMBER=&DOCKERIMAGE_TAG=&JDK_IMPL=hotspot&TEST_TIME=&SSH_AGENT_CREDENTIAL=&AUTO_DETECT=true&SLACK_CHANNEL=aqavit-bot&DYNAMIC_COMPILE=false&ADOPTOPENJDK_SYSTEMTEST_OWNER_BRANCH=adoptium%3Amaster&APPLICATION_OPTIONS=&CUSTOMIZED_SDK_URL_CREDENTIAL_ID=eclipse_temurin_bot_email_and_token&ARCHIVE_TEST_RESULTS=false&OPENJDK_SHA=&NUM_MACHINES=&RERUN_FAILURE=false&BUILD_LIST=openjdk&USE_TESTENV_PROPERTIES=false&UPSTREAM_JOB_NUMBER=&STF_OWNER_BRANCH=adoptium%3Amaster&TIME_LIMIT=25&JVM_OPTIONS=&PARALLEL=None)
- Is there an existing issue elsewhere covering this?
- Which machine(s) does it work on? test-azure-win2022-x64-1 doesn't seem to have the math failures
- Which machine(s) does it fail on? test-azure-win20220-x64-4

Any other details:
This is a full dump of links etc. so may have more information not directly relevant to this, especially since some of it covers the wsl issue covered in [another issue in this repostitory:
](https://github.com/adoptium/infrastructure/issues/3853):
Noticed during some experimentation I've been doing on Windows. I initially thought that this was restricted to the new `-4` machine (which is currently offline) but it has also been seen on `-1`:

Original failures on `-1` in jdk_security1 and jdk_security4 (**Some** covered by https://github.com/adoptium/infrastructure/issues/3853)

 - sun/security/krb5/runNameEquals.sh.runNameEquals[java/security/Security/ClassLoaderDeadlock/ClassLoaderDeadlock.sh.ClassLoaderDeadlock](https://ci.adoptium.net/job/Test_openjdk21_hs_sanity.openjdk_x86-64_windows/211/testReport/java_security_Security_ClassLoaderDeadlock_ClassLoaderDeadlock/sh/ClassLoaderDeadlock/) 94 ms [1](https://ci.adoptium.net/job/Test_openjdk21_hs_sanity.openjdk_x86-64_windows/211/)
- [java/security/Security/ClassLoaderDeadlock/ClassLoaderDeadlock.sh.ClassLoaderDeadlock](https://ci.adoptium.net/job/Test_openjdk21_hs_sanity.openjdk_x86-64_windows/211/testReport/java_security_Security_ClassLoaderDeadlock_ClassLoaderDeadlock/sh/ClassLoaderDeadlock_2/) 0.17 sec [1](https://ci.adoptium.net/job/Test_openjdk21_hs_sanity.openjdk_x86-64_windows/211/)
- [java/security/Security/ClassLoaderDeadlock/Deadlock.sh.Deadlock](https://ci.adoptium.net/job/Test_openjdk21_hs_sanity.openjdk_x86-64_windows/211/testReport/java_security_Security_ClassLoaderDeadlock_Deadlock/sh/Deadlock/) 0.17 sec [1](https://ci.adoptium.net/job/Test_openjdk21_hs_sanity.openjdk_x86-64_windows/211/)
- [java/security/Security/ClassLoaderDeadlock/Deadlock.sh.Deadlock](https://ci.adoptium.net/job/Test_openjdk21_hs_sanity.openjdk_x86-64_windows/211/testReport/java_security_Security_ClassLoaderDeadlock_Deadlock/sh/Deadlock_2/) 0.13 sec [1](https://ci.adoptium.net/job/Test_openjdk21_hs_sanity.openjdk_x86-64_windows/211/)
- [java/security/cert/CertificateFactory/slowstream.sh.slowstream](https://ci.adoptium.net/job/Test_openjdk21_hs_sanity.openjdk_x86-64_windows/211/testReport/java_security_cert_CertificateFactory_slowstream/sh/slowstream/) 0.44 sec [1](https://ci.adoptium.net/job/Test_openjdk21_hs_sanity.openjdk_x86-64_windows/211/)
- [java/security/cert/CertificateFactory/slowstream.sh.slowstream](https://ci.adoptium.net/job/Test_openjdk21_hs_sanity.openjdk_x86-64_windows/211/testReport/java_security_cert_CertificateFactory_slowstream/sh/slowstream_2/) 0.11 sec [1](https://ci.adoptium.net/job/Test_openjdk21_hs_sanity.openjdk_x86-64_windows/211/)
- [sun/security/krb5/runNameEquals.sh.runNameEquals](https://ci.adoptium.net/job/Test_openjdk21_hs_sanity.openjdk_x86-64_windows/211/testReport/sun_security_krb5_runNameEquals/sh/runNameEquals/) 0.22 sec [1](https://ci.adoptium.net/job/Test_openjdk21_hs_sanity.openjdk_x86-64_windows/211/)
- [sun/security/krb5/runNameEquals.sh.runNameEquals](https://ci.adoptium.net/job/Test_openjdk21_hs_sanity.openjdk_x86-64_windows/211/testReport/sun_security_krb5_runNameEquals/sh/runNameEquals_2/)

jdk_security3 and jdk_imageio failed in two tests on `-1` (checked after seeing `jdk_security3` failures on `-4`) :

sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java.Symantec[javax/imageio/plugins/jpeg/JPEGsNotAcceleratedTest.java.JPEGsNotAcceleratedTest](https://ci.adoptium.net/job/Grinder/12166/testReport/javax_imageio_plugins_jpeg_JPEGsNotAcceleratedTest/java/JPEGsNotAcceleratedTest/) 2.8 sec [1](https://ci.adoptium.net/job/Grinder/12166/)
- [sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java.Symantec](https://ci.adoptium.net/job/Grinder/12166/testReport/sun_security_ssl_X509TrustManagerImpl_distrust_Symantec/java/Symantec/) 0.92 sec [39](https://ci.adoptium.net/job/Grinder/12128/)
- [sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java.Symantec](https://ci.adoptium.net/job/Grinder/12166/testReport/sun_security_ssl_X509TrustManagerImpl_distrust_Symantec/java/Symantec_2/)

For the above, the first failure is `sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target` and the second is `java.awt.HeadlessException: The application does not have desktop access, but this program performed an operation which requires it.` which should have been fixed by running the agent via a terminal on the logged in machine instead of as a service but doesn't seem to have been fully resolved for some reason...

**The full list of `jdk_security3` failures on `-4` were as follows (The math ones seem to be `Agent error: java.lang.Exception: Agent 38 timed out with a timeout of 960 seconds; check console log for any additional details`:**

sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java.Symantec[javax/net/ssl/SSLSocket/Tls13PacketSize.java.Tls13PacketSize](https://ci.adoptium.net/job/Grinder/12170/testReport/javax_net_ssl_SSLSocket_Tls13PacketSize/java/Tls13PacketSize/) 2.7 sec [1](https://ci.adoptium.net/job/Grinder/12170/)
- [sun/security/util/math/TestIntegerModuloP.java#Curve448OrderField.TestIntegerModuloP_Curve448OrderField](https://ci.adoptium.net/job/Grinder/12170/testReport/sun_security_util_math_TestIntegerModuloP/java_Curve448OrderField/TestIntegerModuloP_Curve448OrderField/) 17 min [1](https://ci.adoptium.net/job/Grinder/12170/)
- [sun/security/util/math/TestIntegerModuloP.java#IntegerPolynomial448.TestIntegerModuloP_IntegerPolynomial448](https://ci.adoptium.net/job/Grinder/12170/testReport/sun_security_util_math_TestIntegerModuloP/java_IntegerPolynomial448/TestIntegerModuloP_IntegerPolynomial448/) 17 min [1](https://ci.adoptium.net/job/Grinder/12170/)
- [sun/security/util/math/TestIntegerModuloP.java#IntegerPolynomialP384.TestIntegerModuloP_IntegerPolynomialP384](https://ci.adoptium.net/job/Grinder/12170/testReport/sun_security_util_math_TestIntegerModuloP/java_IntegerPolynomialP384/TestIntegerModuloP_IntegerPolynomialP384/) 17 min [1](https://ci.adoptium.net/job/Grinder/12170/)
- [sun/security/util/math/TestIntegerModuloP.java#IntegerPolynomialP521.TestIntegerModuloP_IntegerPolynomialP521](https://ci.adoptium.net/job/Grinder/12170/testReport/sun_security_util_math_TestIntegerModuloP/java_IntegerPolynomialP521/TestIntegerModuloP_IntegerPolynomialP521/) 18 min [1](https://ci.adoptium.net/job/Grinder/12170/)
- [sun/security/util/math/TestIntegerModuloP.java#P384OrderField.TestIntegerModuloP_P384OrderField](https://ci.adoptium.net/job/Grinder/12170/testReport/sun_security_util_math_TestIntegerModuloP/java_P384OrderField/TestIntegerModuloP_P384OrderField/) 18 min [1](https://ci.adoptium.net/job/Grinder/12170/)
- [sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java.Symantec](https://ci.adoptium.net/job/Grinder/12170/testReport/sun_security_ssl_X509TrustManagerImpl_distrust_Symantec/java/Symantec/)

Contributor guide

Open the contributing guide

Research direction

Start with the linked Test_openjdk21 and Grinder reports for jdk_security3_0 and jdk_security1_0, comparing failures on test-azure-win2022-x64-1 and test-azure-win2022-x64-4. Re-run the supplied Grinder test list and inspect the agent logs for the certificate, desktop-access, and math-test failures. Done means the Windows-specific causes are identified and the affected tests pass on the relevant machines.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
infrastructure, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.