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

Three jdk21u tests in jdk_security1_0 fail on Windows if wsl.exe is available #3853

Open
sxa opened this issue Jan 3, 2025 · 2 comments
Open
Labels

Comments

@sxa
Copy link
Member

sxa commented Jan 3, 2025

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:

Any other details:

  • Renaming wsl.exe allows the tests to pass, although note that this has to be done using cygwin's mv command as ren, move from cmd.exe or renaming via explorer will fail with a permission denied message. THIS HAS BEEN DONE ON TEST-AZURE-WIN2022-X64-1 ONLY FOR NOW
10:29:36  WSLENV=SystemDrive:SystemRoot:TEMP:TMP:windir:TESTFILE:TESTSRC:TESTSRCPATH:TESTCLASSES:TESTCLASSPATH:COMPILEJAVA/p:TESTJAVA/p:TESTVMOPTS:TESTTOOLVMOPTS:TESTJAVACOPTS:TESTJAVAOPTS:TESTTIMEOUTFACTOR:TESTROOT/p:TESTNATIVEPATH:NULL:EXE_SUFFIX:FS:PS \
10:29:36      wsl.exe \
10:29:36          sh /mnt/c/Jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/security/Security/ClassLoaderDeadlock/Deadlock.sh
10:29:36  
10:29:36  TEST RESULT: Failed. Execution failed: exit code 1
10:29:36  --------------------------------------------------
10:30:45  Test results: passed: 218; failed: 3

Note that I'm not currently certain of what has caused this but there have been two potential things recently:

@sxa sxa added the testFail label Jan 3, 2025
@sxa
Copy link
Member Author

sxa commented Jan 3, 2025

Noting that it seems to be able to pass the test ok on test-azure-4 (a new system from December) which has wsl.exe in the same place:
https://ci.adoptium.net/job/Grinder/12165/testReport/java_security_cert_CertificateFactory_slowstream/

@sxa
Copy link
Member Author

sxa commented Jan 6, 2025

NOTE: This doesn't seem to be a problem on machines -2, -3 or -4 so it is currently unclear why the rename of wsl.exe to disable it only causes a problem on -1

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

No branches or pull requests

1 participant