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

Ansible request for <fakeroot> on aarch64 #2291

Closed
sophia-guo opened this issue Aug 10, 2021 · 11 comments
Closed

Ansible request for <fakeroot> on aarch64 #2291

sophia-guo opened this issue Aug 10, 2021 · 11 comments
Assignees
Labels

Comments

@sophia-guo
Copy link

  • [ fakeroot on aarch64 ] Missing install

Details:
tools/jpackage/* failed on aarch64 with the error message jdk.jpackage.internal.ConfigException: Can not find fakeroot. Reason: Cannot run program "fakeroot": error=2, No such file or directory. Looks like the environment setup issue. Fake root need to be installed.

Related with adoptium/adoptium#63

https://ci.adoptopenjdk.net/job/Test_openjdk16_hs_extended.openjdk_aarch64_linux/31/#showFailuresLink

@sxa
Copy link
Member

sxa commented Aug 11, 2021

@Haroon-Khel Can you take this one? Should just be a matter of adding the fakeroot package (whatever it's called, and assuming it's available) to the playbooks and the DockerStatic dockkerfiles. We should also verify that fakeroot works correctly in a docker container without additional permissions.

Recreate is in the Grinder mentioned here

@Haroon-Khel Haroon-Khel self-assigned this Aug 17, 2021
@Haroon-Khel
Copy link
Contributor

Recreated the failure on test-docker-ubuntu2004-armv8l-2 https://ci.adoptopenjdk.net/job/Grinder/1220/testReport/
Then after installing fakeroot https://ci.adoptopenjdk.net/job/Grinder/1221/testReport/

Only tools/jpackage/share/jdk/jpackage/tests/JavaOptionsTest.java.JavaOptionsTest continues to fail after installing fakeroot. The failure, after a quick glance, does not seem fakeroot related

java.lang.AssertionError: Unexpected null value: Check output contains [-Dparam2=Some "Param" 2] string
	at jdk.jpackage.test.TKit.error(TKit.java:293)
	at jdk.jpackage.test.TKit.assertNotNull(TKit.java:653)
	at jdk.jpackage.test.TKit$TextStreamVerifier.apply(TKit.java:839)
	at jdk.jpackage.tests.JavaOptionsTest.test(JavaOptionsTest.java:97)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

@sxa
Copy link
Member

sxa commented Aug 17, 2021

@sophia-guo Are you aware of this failure in the previous comment?

@sophia-guo
Copy link
Author

No, I'm not aware of this failure.

@sxa
Copy link
Member

sxa commented Aug 17, 2021

@sophia-guo OK Sounds like that particular might be separate then and so would need to be raised as a separate test issue rather then a conclusion being reached in this infrastructure issue.

@Haroon-Khel
Copy link
Contributor

Closing as #2298 was merged

@sophia-guo
Copy link
Author

I can see same failure on test-docker-ubuntu2004-armv7l-2 on Sep 9 build:
https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_extended.openjdk_arm_linux_testList_0/9/#showFailuresLink

@sophia-guo sophia-guo reopened this Sep 10, 2021
@sxa
Copy link
Member

sxa commented Sep 14, 2021

Now installed on the three Ubuntu 20 armv7l containers - thanks for re-opening

@sxa sxa closed this as completed Sep 14, 2021
@sophia-guo
Copy link
Author

Still failures on test-docker-ubuntu2010-armv8l-2 :28 test failures.
https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_extended.openjdk_aarch64_linux/26/

@sophia-guo sophia-guo reopened this Sep 15, 2021
@sophia-guo
Copy link
Author

@sxa
Copy link
Member

sxa commented Sep 27, 2021

Installed on all remaining containers on dockerhost-ubuntu2004-armv8-1.
@Haroon-Khel this is a good example of why we'll need to start progressing #2070 otherwise this sort of thing is going to be a nightmare going forwards :-) )

@sxa sxa closed this as completed Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants