-
-
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
TestHeadlessComponents_0_FAILED tar: This does not look like a tar archive #5224
Comments
@andrlos are you able to take a look at this issue? Thanks |
@annaibm Please exclude this test for now. Thanks |
@llxia Should the test be disabled for all platforms and versions? |
I just noticed that this test downloaded hardcoded SDK under
https://ci.adoptium.net/job/Test_openjdk17_hs_dev.functional_x86-64_linux/14/console
https://github.com/rh-openjdk/TestHeadlessComponents/blob/main/testHeadlessComponents.sh#L67-L76 This is wrong as we are not testing the SDK that is produced within the pipeline. And this only tests Temurin latest, no other JVM. @andrlos Is this intended? @annaibm Please exclude this test for all platforms and versions for openj9 and ibm for now. |
- Disabled TestHeadlessComponents all platforms, versions on openj9 and ibm. related: adoptium#5224 Signed-off-by: Anna Babu Palathingal <[email protected]>
- Disabled TestHeadlessComponents all platforms, versions on openj9 and ibm. related: adoptium#5224 Signed-off-by: Anna Babu Palathingal <[email protected]>
That assumption is wrong. Unlkess anythign changed, the dowloaded jdk is used to compile cases, not rune them. Dont forget that it is designed to test headless JRE, which can not have javac.... |
Have you found any trace of why the javac is not found? My assumption is yet again I recall there were some checks if there javac in tested platform, if there is some 3rd party jdk, and so on. So those check must missbehave on your systems. |
We can update to leverage the USE_JRE parameter which is supposed to test the JRE but use the JDK to compile. In this way we can avoid having the underlying test material pulling in and installing untracked uncached JDKs onto test machines. |
Can that wait for @andrlos to get back, or do you want me to look into that? |
It can wait. |
- Disabled TestHeadlessComponents all platforms, versions on openj9 and ibm. related: adoptium#5224 Signed-off-by: Anna Babu Palathingal <[email protected]>
- Disabled TestHeadlessComponents all platforms, versions on openj9 and ibm. related: #5224 Signed-off-by: Anna Babu Palathingal <[email protected]>
andrlos is back! and ready to tackle this.. So basically the idea was really to have a jdk ready for compilation purposes and test only executing with the testJdk.. I have to admit that I can see how clumsy the code is now. I would like to brainstorm a bit how jre test execution is generally handled in adoptium pipeline as we hit probably the very same issue with our jre testing and a generic solution would benefit all |
internal j9 test build.
related: backlog/issues/1372
The test passed
tar --strip-components=1
on aarch64_mac at Adoptium, but failed at a later stage/Users/admin/bootjdk/Contents/Home/bin/javac: No such file or directory
:https://ci.adoptium.net/job/Test_openjdk17_hs_dev.functional_aarch64_mac/11/console
The test was added recently: #4875
The text was updated successfully, but these errors were encountered: