Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

jdk_management_0 hang on jdk8 & jdk11 Windows 64 & 32bit #2294

Open
adamfarley opened this issue Feb 22, 2021 · 4 comments
Open

jdk_management_0 hang on jdk8 & jdk11 Windows 64 & 32bit #2294

adamfarley opened this issue Feb 22, 2021 · 4 comments
Labels

Comments

@adamfarley
Copy link
Contributor

adamfarley commented Feb 22, 2021

Describe the bug

jdk_management_0 hangs shortly after initialization, with no output (beyond the bit in "screenshots"). Declared hanging and killed many hours later.

Seen during every recorded run on jdk8 & 11 on Windows 64bit, and at least once on 32bit, but is not seen on other platforms.

Issue spotted on:

  • test-ibmcloud-win2012r2-x64-1
  • test-ibmcloud-win2012r2-x64-2
  • build-azure-win2012r2-x64-2

So I don't think it's a machine-specific issue.

To Reproduce
https://ci.adoptopenjdk.net/job/Grinder/parambuild/?TARGET=extended.openjdk&SDK_RESOURCE=nightly&TEST_FLAG=&UPSTREAM_TEST_JOB_NAME=&DOCKER_REQUIRED=false&ACTIVE_NODE_TIMEOUT=0&EXTRA_DOCKER_ARGS=&VENDOR_TEST_DIRS=&TKG_OWNER_BRANCH=AdoptOpenJDK%3Amaster&PLATFORM=x86-64_windows&KEEP_REPORTDIR=true&PERSONAL_BUILD=false&ADOPTOPENJDK_REPO=https%3A%2F%2Fgithub.com%2FAdoptOpenJDK%2Fopenjdk-tests.git&LABEL=&EXTRA_OPTIONS=&CUSTOMIZED_SDK_URL=&BUILD_IDENTIFIER=&ADOPTOPENJDK_BRANCH=master&ARTIFACTORY_SERVER=&KEEP_WORKSPACE=false&JDK_VERSION=8&USER_CREDENTIALS_ID=&ITERATIONS=1&VENDOR_TEST_REPOS=&JDK_REPO=https%3A%2F%2Fgithub.com%2Fadoptopenjdk%2Fopenjdk-jdk8u&RELEASE_TAG=&OPENJ9_BRANCH=master&OPENJ9_SHA=&JCK_GIT_REPO=&VENDOR_TEST_BRANCHES=&UPSTREAM_JOB_NAME=&OPENJ9_REPO=https%3A%2F%2Fgithub.com%2Feclipse%2Fopenj9.git&CUSTOM_TARGET=&VENDOR_TEST_SHAS=&JDK_BRANCH=dev&LABEL_ADDITION=&ARTIFACTORY_REPO=&ARTIFACTORY_ROOT_DIR=&UPSTREAM_TEST_JOB_NUMBER=&DOCKERIMAGE_TAG=&JDK_IMPL=hotspot&SSH_AGENT_CREDENTIAL=&AUTO_DETECT=true&TKG_SHA=&CUSTOMIZED_SDK_URL_CREDENTIAL_ID=&NUM_MACHINES=&OPENJDK_SHA=&BUILD_LIST=openjdk&UPSTREAM_JOB_NUMBER=&TIME_LIMIT=10&JVM_OPTIONS=&PARALLEL=None

Expected behavior
I expect the tests in the jdk_management set to run and pass/fail.

Screenshots
https://trss.adoptopenjdk.net/output/test?id=603199dc5730424dbc8568be

[2021-02-20T13:56:58.398Z] "E:/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_windows/openjdkbinary/j2sdk-image\\bin\\java" -Xmx512m -jar "E:/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_windows/openjdk-tests///..//jvmtest\\openjdk\\jtreg\\lib\\jtreg.jar" \
[2021-02-20T13:56:58.398Z] -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -timeoutFactor:8 -xml:verify -concurrency:4 -vmoptions:"-Xmx512m  -XX:+UseCompressedOops " \
[2021-02-20T13:56:58.398Z] -w ""E:/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_windows/openjdk-tests/\\TKG\\output_16138267607997\\jdk_management_0"\\work" \
[2021-02-20T13:56:58.398Z] -r "E:/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_windows/openjdk-tests///..//jvmtest\\openjdk\\report" \
[2021-02-20T13:56:58.398Z] -jdk:"E:/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_windows/openjdkbinary/j2sdk-image" \
[2021-02-20T13:56:58.398Z] -exclude:"E:/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_windows/openjdk-tests/\\openjdk\\openjdk-jdk\\jdk\\test\\ProblemList.txt" \
[2021-02-20T13:56:58.398Z] -exclude:"E:/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_windows/openjdk-tests///..//jvmtest\\openjdk\\ProblemList_openjdk8.txt" \
[2021-02-20T13:56:58.398Z] "E:/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_windows/openjdk-tests/\\openjdk\\openjdk-jdk\\jdk\\test:jdk_management"; \
[2021-02-20T13:56:58.398Z] if [ $? -eq 0 ] ; then echo ""; echo "jdk_management_0""_PASSED"; echo ""; cd E:/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_windows/openjdk-tests/;  else echo ""; echo "jdk_management_0""_FAILED"; echo ""; fi; } 2>&1 | tee -a "E:/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_windows/openjdk-tests/\\TKG\\output_16138267607997\\TestTargetResult";
[2021-02-20T13:56:58.938Z] Directory "E:\workspace\Test_openjdk8_hs_extended.openjdk_x86-64_windows\openjdk-tests\TKG\output_16138267607997\jdk_management_0\work" not found: creating
[2021-02-20T13:57:00.179Z] XML output with verification to E:\workspace\Test_openjdk8_hs_extended.openjdk_x86-64_windows\openjdk-tests\TKG\output_16138267607997\jdk_management_0\work
Cancelling nested steps due to timeout
[2021-02-20T23:09:52.605Z] Sending interrupt signal to process
[2021-02-20T23:10:07.103Z] 
[2021-02-20T23:10:07.103Z] jdk_management_0_FAILED

Additional context

On JDK versions 16 and 17, jdk_management_0 passes or fails in under 5 minutes.

Unknown why this wasn't spotted before, as it's been happening for weeks. I think it's because some more test jobs were generated last week, and it's now easier to identify the difference between "missing" test jobs and long-term aborted ones.

Unknown if this is seen on OpenJ9, as it's been disabled since October for no documented reason. See this issue.

@smlambert
Copy link
Contributor

Re: for eclipse-openj9/openj9#10757 - following standard practice of disabling recently enabled extended.openjdk test targets as they work through triaging failures, re-enabling targets one by one as they move through the list.

@karianna karianna added the bug label Feb 23, 2021
@adamfarley adamfarley changed the title jdk_management_0 hang on jdk8 & jdk11 Windows 64bit jdk_management_0 hang on jdk8 & jdk11 Windows 64 & 32bit Mar 1, 2021
@adamfarley
Copy link
Contributor Author

adamfarley commented Mar 1, 2021

Now seen on 32bit too.

https://ci.adoptopenjdk.net/job/Test_openjdk11_hs_extended.openjdk_x86-32_windows/14/consoleFull

Will dig around to verify scope and exclude shortly.

Edit: Seen a jdk_tools overrun on the same machine. build-ibmcloud-win2012r2-x64-2

https://ci.adoptopenjdk.net/job/Test_openjdk16_hs_extended.openjdk_x86-32_windows/7/

Earlier evidence showed this wasn't a machine issue. Could just be a coincidence, or a timeout sharing an underlying cause within the jdk. All theories. Will run a local grinder and get some debug files.

@lumpfish
Copy link
Contributor

lumpfish commented Jun 10, 2021

There are three subtests within jdk_management which hang on Windows, all similar.

PR to exclude those three tests on jdk8 and jdk11 Windows: #2639

jdk_management test runs with the exclusions:

jdk11
win64: https://ci.adoptopenjdk.net/job/Grinder/815/console
win32: https://ci.adoptopenjdk.net/job/Grinder/817/console
jdk8
win64: https://ci.adoptopenjdk.net/job/Grinder/818/console
win32: https://ci.adoptopenjdk.net/job/Grinder/818/console

@SehrishHussain
Copy link
Contributor

These tests (jdk_management_2 FAILED in Test_openjdk18_hs_extended.openjdk_arm_linux_testList_0) fail on arm-linux too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

5 participants