-
-
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
Test Jenkins job failed with ERROR: Cannot delete workspace :Malformed input or input contains unmappable characters
on some machines
#2630
Comments
same failure on test-docker-ubuntu2004-armv7l-2 |
Feels most recent sanity.openjdk builds on aarch64 and arm32 are affected. This also happened to compliance builds. Is there a way to escalate this issue's priority? |
If the problem doesn't resolve it will happen at the start cleanup stage , which means job failed before tests are running. Hence tag this with critical as suggested @sxa test-docker-ubuntu2004-armv7l-2 (https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_sanity.openjdk_arm_linux/158/console) |
That's interesting ... The default encoding on the first one I checked (the Ubuntu 22.04 machine) is |
@sophia-guo Can you see if this is the result of a test that has been unexcluded in the last few months? I want to fix it regardless but it would just be good to know why it's occurred, since it's going to be a bit of work to get this changed on every possible machine. |
Verified that the problem does not occur if I add in the encoding defines to the agent JVM, or if It looks like this is only affecting docker containers so the ultimate solution should be something that can be put into the static dockerfiles |
All except [test-docker-alpine314-x64-2](https://ci.adoptopenjdk.net/computer/test%2Ddocker%2Dalpine314%2Dx 64%2D2), test-docker-alpine314-x64-1 test-docker-alpine311-x64-1 should now be ok (Those three currently have jobs running on them so I cannot restart the agent yet) |
Last three done. |
test-docker-fedora35-armv8l-1 is the one without issue with latest run. Might be helpful to see the configuration or docker files difference. https://ci.adoptopenjdk.net/job/Test_openjdk18_hs_sanity.openjdk_aarch64_linux/129/ |
More information about one of the problematic tests java/lang/invoke/lambda/LambdaFileEncodingSerialization.java, which was added specifically to In Adoptium the test was disabled with 18+ on arm as same issue as https://bugs.openjdk.org/browse/JDK-8249079, that is the reason we saw this issue on arm jdk17 and aarch64 17+ only. Based on those information I will disable the tests with 17+ on all platforms. |
Since it hasn't been lsited anywhere else in here the grinder recreate options for this are:
(Or use TARGET=jdk_lang_0 sine that's the group this test is in) |
test-docker-ubuntu2004-armv7l-1 still have same issues. Last Friday July15 's run |
Not sure what happened there - the configuration had been updated for that machine and the agent was showing as having been restarted on the 14th of July. I've just restarted it again and it's definitely got the new parameters so should be ok now. I'll go through them all and verify that they have been correctly started with the new options and restart any that haven't. |
https://ci.adoptopenjdk.net/computer/test%2Ddocker%2Dubuntu2004%2Dx64%2D1/log also needs a restart but is currently running a test (https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_extended.system_x86-64_linux/192/) so I'll restart that one later. [EDIT: Both now restarted] |
java/lang/invoke/lambda/LambdaFileEncodingSerialization.java isn't excluded in jdk20 and casued this problem. Will exclude and test-docker-ubuntu2004-armv8l-3 need to reconfigure and restart as before @sxa ? |
I had presumed that going forward, this PR adoptium/aqa-tests#4344 should avoid this problem ? |
According to https://ci.adoptium.net/job/Test_openjdk20_hs_sanity.openjdk_aarch64_linux/76/ & https://ci.adoptium.net/job/Test_openjdk20_hs_sanity.openjdk_aarch64_linux/77/, the issue still stays. |
It happened in https://github.com/adoptium/aqa-tests/blob/master/buildenv/jenkins/openjdk_tests#L314. I can try the same rm -rf here to see if it works https://ci.adoptium.net/job/Test_openjdk20_hs_sanity.openjdk_aarch64_linux/78/console |
https://ci.adoptium.net/job/Test_openjdk20_hs_sanity.openjdk_aarch64_linux/78/console using this branch https://github.com/adoptium/aqa-tests/compare/master...sophia-guo:openjdk-tests:rm?expand=1 to rerun on the machine test-docker-ubuntu2004-armv8l-3 and didn't hit the issue |
@sophia-guo I wonder if the wsCleanup attempt needs this?:
|
@andrew-m-leonard that definitely helps when cleanWs() at the end of the test build. But for this specific issue the error happened at the beginning of the test build, which we need the clean workspace to do the test build. |
Closing as a workaround has been implemented |
We have seen this failure a few times. Jenkins job failed with
ERROR: Cannot delete workspace :Malformed input or input contains unmappable characters
at post stage.https://ci.adoptopenjdk.net/job/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_1/45/console
The failed job above is on test-docker-ubuntu2204-x64-1.
Recorded another time is on aarch64 adoptium/aqa-tests#3594 (comment).
According to https://support.cloudbees.com/hc/en-us/articles/360004397911-How-to-address-issues-with-unmappable-characters- the build agent’s JVM is most likely the culprit.
Set the agent JVM options as suggested and restart the agent might help.
The text was updated successfully, but these errors were encountered: