-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
tools/jpackage/windows/Win8282351Test.java in jdk_tools_0 fails on most machines, passing on test-azure-win2012r2-x64-3 #2885
Comments
Rerunning build-alibaba-win2012r2-x64-2 https://ci.adoptopenjdk.net/job/Grinder/6358/console |
Passes on test-azure only. I'll take test-ibmcloud-win2012r2-x64-1 offline, but keep build-alibaba-win2012r2-x64-2 online as its a build machine with no test label |
a few other tests got the same issue only pass on test-azure-win2012r2-x64-3 javax/net/ssl/SSLSocket/Tls13PacketSize.java.Tls13PacketSizetools/jpackage/share/PerUserCfgTest.java.PerUserCfgTest |
Since test-azure-win2012r2-x64-* machines have been replaced with test-azure-win2022-x64-* machines, we do not have any machines where this jdk_tools testcase can pass. Check configuration of WIX Toolset on existing test machines as to why...
|
@steelhead31 - could this be a similar issue to what you have seen where 'stuff' as a service on Windows machines has weird characters in the path? I am noting the error msg (see #2885 (comment)) that reads: |
@smlambert its possible, but I think there are a couple of more likely culprits related to windows configuration / group policy settings, the later versions of windows lock down the windows installer service quite a lot, and some of the azure windows images have quite locked down permissions, if you'd like I can break this out into a separate issue, and I can investigate further?... It'd be handy if somebody could give me some pointers on the aqa targets required for me to be able to test this on a command line though! |
re: #2885 (comment) in Jenkins, TARGET=jdk_tools Steps to run from scratch on outside of Jenkins / on commandline (presumes you have a Temurin JDK downloaded onto the machine into /jdkDir replace with actual location of your JDK that you want to test):
For a more complete run of all testcases in the jdk_tools target, not just Win8282351Test, you could change the last line to:
|
Test passed on win2022 machine 3 .
|
Specific test, does pass as both adoptopenjdk and jenkins user on all 3 test-azure-win2022-x64-x machines, testing all tools tests... testing with jdk17.0.9+9.1 |
I've managed to replicate the error via grinder on one machine https://ci.adoptium.net/job/Grinder/8812/console , despite it passing locally.. so it definitely seems machine specific |
Works ok via cli & jenkins on test-azure-win2022-x64-3 , works via cli on test-azure-win2022-x64-1 & test-azure-win2022-x64-2, however fails via grinder on both test-azure-win2022-x64-1 & test-azure-win2022-x64-2.. investigating further, suspect its a windows oddity.... as all 3 machines were built from the same playbooks. |
This is now working on all 3 machines.. ( machine 1: https://ci.adoptium.net/job/Grinder/8826/console , machine 2 : https://ci.adoptium.net/job/Grinder/8827/console & machine 3 : https://ci.adoptium.net/job/Grinder/8825/console ).. .Thanks muchly! |
I believe this to be the same root cause as the WSL detection issue, in that the PATH environment variable was being corrupted by the windows service wrapper used to run jenkins as a service, these machines were switched to using a CLI startup, and I believe this is the reason the tests now pass. |
@steelhead31 So we can close this? |
@karianna yes, I was just waiting on a final confirmation, but it all looks good now. |
tools/jpackage/windows/Win8282351Test.java (in jdk_tools target), fails in error on build-alibaba-win2012r2-x64-2, test-ibmcloud-win2012r2-x64-1, but passes on test-azure-win2012r2-x64-3:
Test_
job on https://ci.adoptopenjdk.net which showed the failureWiX 3.14.0.3910 detected
Test Info
Test Name: jdk_tools_0
Test Duration: 17 min 38 sec
Machine: build-alibaba-win2012r2-x64-2
TRSS link for the test output: https://trss.adoptium.net/output/test?id=63c219e9ed0b30773ba354a9
Build Info
Build Name: Test_openjdk17_hs_extended.openjdk_x86-64_windows_testList_1
Jenkins Build start time: Jan 13 2023, 06:26 pm
Jenkins Build URL: https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_extended.openjdk_x86-64_windows_testList_1/76/
TRSS link for the build: https://trss.adoptium.net/allTestsInfo?buildId=63c218eaed0b30773ba34d89
Java Version
openjdk version "17.0.6" 2023-01-17
OpenJDK Runtime Environment Temurin-17.0.6+8 (build 17.0.6+8)
OpenJDK 64-Bit Server VM Temurin-17.0.6+8 (build 17.0.6+8, mixed mode, sharing)
This test has been failed 2 times since Jan 12 2023, 06:16 am
Java Version when the issue first seen
openjdk version "17.0.6" 2023-01-17
OpenJDK Runtime Environment Temurin-17.0.6+8 (build 17.0.6+8)
OpenJDK 64-Bit Server VM Temurin-17.0.6+8 (build 17.0.6+8, mixed mode, sharing)
Jenkins Build URL: https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_extended.openjdk_x86-64_windows_testList_1/75/
The test failed on machine build-alibaba-win2012r2-x64-2 1 times
The test failed on machine test-ibmcloud-win2012r2-x64-1 1 times
Rerun in Grinder
The text was updated successfully, but these errors were encountered: