adoptium / adoptium/aqa-tests

jdk_other_2 / LdapPoolTimeoutTest.java FAILED in Test_openjdk17_hs_extended.openjdk_x86-64_windows

Open
#3,619 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
155
Forks
346
Avg merge
2d 9h
Merged PRs (30d)
36

Description

**Test Info**
Test Name: jdk_other_2
Test Duration: 3 min 31 sec
Machine: test-ibmcloud-win2012r2-x64-1
TRSS link for the test output: https://trss.adoptium.net/output/test?id=625f58ca72761a4c5c1408f0

**Build Info**
Build Name: Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2
Jenkins Build start time: Apr 19 2022, 07:07 pm
Jenkins Build URL: https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/40/
TRSS link for the build: https://trss.adoptium.net/allTestsInfo?buildId=625f57cf72761a4c5c14063c

**Java Version**
openjdk version "17.0.3" 2022-04-19
OpenJDK Runtime Environment Temurin-17.0.3+7 (build 17.0.3+7)
OpenJDK Server VM Temurin-17.0.3+7 (build 17.0.3+7, mixed mode, emulated-client, sharing)

**This test has been failed 2 times since Apr 10 2022, 11:05 am**
**Java Version when the issue first seen**
openjdk version "17.0.3" 2022-04-19
OpenJDK Runtime Environment Temurin-17.0.3+5 (build 17.0.3+5)
OpenJDK Server VM Temurin-17.0.3+5 (build 17.0.3+5, mixed mode, emulated-client, sharing)
Jenkins Build URL: https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/39/

The test failed on machine test-ibmcloud-win2012r2-x64-1 1 times
The test failed on machine build-alibaba-win2012r2-x64-2 1 times

[Rerun in Grinder](https://ci.adoptopenjdk.net/job/Grinder/parambuild/?SDK_RESOURCE=&TARGET=jdk_other_2&TEST_FLAG=&UPSTREAM_TEST_JOB_NAME=Test_openjdk17_hs_extended.openjdk_x86-32_windows&DOCKER_REQUIRED=false&ACTIVE_NODE_TIMEOUT=0&VENDOR_TEST_DIRS=&EXTRA_DOCKER_ARGS=&TKG_OWNER_BRANCH=adoptium%3Amaster&OPENJ9_SYSTEMTEST_OWNER_BRANCH=eclipse%3Amaster&PLATFORM=x86-32_windows&GENERATE_JOBS=false&KEEP_REPORTDIR=true&PERSONAL_BUILD=false&ADOPTOPENJDK_REPO=https%3A%2F%2Fgithub.com%2Fadoptium%2Faqa-tests.git&LABEL=&EXTRA_OPTIONS=&CUSTOMIZED_SDK_URL=&BUILD_IDENTIFIER=&ADOPTOPENJDK_BRANCH=v0.9.1-release&LIGHT_WEIGHT_CHECKOUT=false&USE_JRE=false&ARTIFACTORY_SERVER=&KEEP_WORKSPACE=false&USER_CREDENTIALS_ID=&JDK_VERSION=17&ITERATIONS=1&VENDOR_TEST_REPOS=&JDK_REPO=https%3A%2F%2Fgithub.com%2Fadoptium%2Fjdk17u&OPENJ9_BRANCH=master&OPENJ9_SHA=&JCK_GIT_REPO=&VENDOR_TEST_BRANCHES=&UPSTREAM_JOB_NAME=build-scripts%2Fjobs%2Fjdk17u%2Fjdk17u-windows-x86-32-temurin&OPENJ9_REPO=https%3A%2F%2Fgithub.com%2Feclipse-openj9%2Fopenj9.git&CLOUD_PROVIDER=&CUSTOM_TARGET=&VENDOR_TEST_SHAS=&JDK_BRANCH=jdk-17.0.3%2B7_adopt&LABEL_ADDITION=&ARTIFACTORY_REPO=&ARTIFACTORY_ROOT_DIR=&UPSTREAM_TEST_JOB_NUMBER=60&DOCKERIMAGE_TAG=&JDK_IMPL=hotspot&TEST_TIME=&SSH_AGENT_CREDENTIAL=&AUTO_DETECT=true&SLACK_CHANNEL=&DYNAMIC_COMPILE=false&ADOPTOPENJDK_SYSTEMTEST_OWNER_BRANCH=adoptium%3Amaster&CUSTOMIZED_SDK_URL_CREDENTIAL_ID=eclipse_temurin_bot_email_and_token&ARCHIVE_TEST_RESULTS=false&NUM_MACHINES=&OPENJDK_SHA=&TRSS_URL=&USE_TESTENV_PROPERTIES=true&BUILD_LIST=openjdk&UPSTREAM_JOB_NUMBER=29&STF_OWNER_BRANCH=adoptium%3Amaster&TIME_LIMIT=10&JVM_OPTIONS=&PARALLEL=None)

---

jdk_other_2 - com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails with
```
19:33:42 STDOUT:
19:33:42 java.lang.AssertionError: expected [true] but found [false]
19:33:42 at org.testng.Assert.fail(Assert.java:99)
19:33:42 at org.testng.Assert.failNotEquals(Assert.java:1037)
19:33:42 at org.testng.Assert.assertTrue(Assert.java:45)
19:33:42 at org.testng.Assert.assertTrue(Assert.java:55)
19:33:42 at LdapPoolTimeoutTest.attemptConnect(LdapPoolTimeoutTest.java:124)
19:33:42 at LdapPoolTimeoutTest.lambda$test$0(LdapPoolTimeoutTest.java:91)
19:33:42 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
19:33:42 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
19:33:42 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
19:33:42 at java.base/java.lang.Thread.run(Thread.java:833)
19:33:42 STDERR:
19:33:42 MSG RTE: javax.naming.CommunicationException: example.com:1234 [Root exception is java.net.ConnectException: Connection timed out: no further information]
19:33:42 MSG: Timed out waiting for lock
```

Rerun on RI (Azul) in [Grinder/4584](https://ci.adoptopenjdk.net/job/Grinder/4584), which is failing in the same way...

Contributor guide

Open the contributing guide

Research direction

Start with LdapPoolTimeoutTest.java, especially attemptConnect at line 124 and test at line 91, then rerun jdk_other_2 through the linked Grinder job. Compare the timeout and lock messages across the reported Windows runs and the RI rerun; done means the failure's cause is identified and the test behaves reliably.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.