-
-
Notifications
You must be signed in to change notification settings - Fork 314
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
Enable Windows test build #37
Comments
Tests are enabled: However it has taken 4 days to run all regression tests on windows( may not even finished). We will probably need to rethink the schedule of test build on windows or set up a different test group on windows? Will stop the build trigger for now. |
4 days seems a little odd! Are tests timing out? Or is each test just taking a long time (which might just be a CPU / RAM issue we can sort). |
do we know if the tests are using multiple cores? the windows machines is 4CPU and 8GB ram. I hope that we will be able to get some more powerful windows boxes in the near future |
@we have timeoutFactor if timeout test will finish as a failure. I haven't checked out if some tests require multiple cores. Currently we haven't set up concurrency factor for jtreg tests. Some jtreg tests cannot be run concurrently. If we want to use concurrency factor we need to figure out which test can run concurrently and which can't. From console output I could see tests have run for 9 hours and got: Machine is restarted? |
Enable concurrency. Test hours on linux drops from 8 hours to 5 hours. Haven't got data on Windows. It seems when window test machine is offline( either by regular jenkins restart or unknown reason) the next build will continually fail at first step: https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_windows/151/console |
@sophia-guo Can you log into that box? I'm guessing that either .exe files have special permissioning or that we're not running the delete as an Administrator. |
I only have jenkins permission. All files are generated by jenkins. And delete as jenkins. C:\Users\jenkins\workspace\openjdk_test_x86-64_windows\openjdk-test\OpenJDK_Play @bblondin jenkins job files group are "None", is this expected? Thanks. |
@sophia-guo Windows doesn't support group permissions the same way that *nix does. this is normal. |
Yes, Brad. It seems when window test machine is offline( either by regular jenkins restart or unknown reason) the next build will continually fail at first step: https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_windows/151/console |
@sophia-guo Have you considered telling jenkins to delete the workspace before the build and/or afterwards. https://wiki.jenkins.io/display/JENKINS/Workspace+Cleanup+Plugin |
@bblondin yes, for pipeline we use the feature " Wipe out repository & force clone". |
Brad did some more digging and we see now that the permissions of the revokeAll.exe file is incorrect straight out of the gate. In our pipeline, we do a "git clone -b dev https://github.com/AdoptOpenJDK/openjdk-jdk8u.git". We can try to regenerate that file and see if we can get the proper permissions, instructions for regenerating the file are here: https://github.com/AdoptOpenJDK/openjdk-jdk8u/blob/dev/jdk/test/sun/management/windows/README |
Looking into this deeper... GIT Bash: git --verion: 1.9.4.msysgit.0 calling GIT Bash's git from CMD.exe works I've renamed cygwin's git.exe to git.exe.bbb and added C:\Users\jenkins\AppData\Local\Programs\Git\bin\ to the end of the path. @smlambert could you try the test again please |
@bblondin you should be able to specify the tool location for git in the machine configuration page. That way jenkins will always use the version specified there |
Configuration updated: adoptium/infrastructure#23 https://ci.adoptopenjdk.net/view/OpenJDK%20tests/job/openjdk_test_x86-64_windows/231/console |
Is this test running ok when you logon to the machine directly, and only failing when run via Jenkins? |
I believe I tried before got same issue with former configuration as Jenkins user. I will try with configuration updated to see if it's ok running directly on machine. |
Log in windows machine as jenkins user. Using CMD.exe , git clone, running tests, wipe out tests meterials , all works fine. Current problem running by jenkins jenkins user cannot wipe out the workspace created by jenkins user itself. |
As I mentioned in former comment " it happened when window test machine is offline( either by regular jenkins restart or unknown reason) the next build will continually fail at first step "wipe out". We need someone with root/admin permission to wipe out the WS and see updated configuration works or not. |
No this issues in recently build. adoptium/infrastructure#23 closed. Close this one too. |
Now that we have a Windows test machine, we should enable a openjdk_test_x86-64_windows build triggered from successful completion of openjdk_build_x86-64_windows that runs all the tests.
The text was updated successfully, but these errors were encountered: