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

AIX builds failing on ar commands #2734

Open
sxa opened this issue Sep 30, 2021 · 5 comments
Open

AIX builds failing on ar commands #2734

sxa opened this issue Sep 30, 2021 · 5 comments
Labels
aix Issues that affect or relate to the AIX OS buildbreak High priority issues that cause build breaks in jenkins or build scripts macos Issues that affect or relate to the MAC OS openj9 Issues that are enhancements or bugs raised against the OpenJ9 group

Comments

@sxa
Copy link
Member

sxa commented Sep 30, 2021

Thank you for reporting a broken build! Please fill in the following details:

@sxa sxa added the buildbreak High priority issues that cause build breaks in jenkins or build scripts label Sep 30, 2021
@github-actions github-actions bot added aix Issues that affect or relate to the AIX OS macos Issues that affect or relate to the MAC OS openj9 Issues that are enhancements or bugs raised against the OpenJ9 group labels Sep 30, 2021
@sxa
Copy link
Member Author

sxa commented Sep 30, 2021

At @aixtools' suggestion I've set OBJECT_MODE=64 on the jenkins agent configuration for the two AIX build machines to see if that resolves the problem.

@jerboaa
Copy link
Contributor

jerboaa commented Sep 30, 2021

Posting the failure here for posterity:

20:25:53  	Use the -X option to specify the desired object mode.
20:25:53  ar: 0707-126 /home/jenkins/workspace/build-scripts/jobs/jdk11u/jdk11u-aix-ppc64-hotspot/workspace/build/src/build/aix-ppc64-normal-server-release/support/native/java.management/libmanagement/static/VMManagementImpl.o is not valid with the current object file mode.

@jerboaa
Copy link
Contributor

jerboaa commented Sep 30, 2021

If this keep failing, we can disable static-libs for AIX. It wouldn't be a supported OS for Graal VM/Mandrel builds anyway.

@sxa sxa changed the title AIX buids failing on ar commands AIX builds failing on ar commands Sep 30, 2021
@sxa
Copy link
Member Author

sxa commented Sep 30, 2021

Seems to be working ok, but that's a fair point about the builds not being supported for that use case. For some reason after enabling it the builds have got very slow (2h15 vs 40 minutes), but unclear if that's just a one off.

I'm assuming the use of OBJECT_MODE=64 isn't causing any other side effects. If it turns out to be the correct solution (relative to disabling the static libs on AIX, or any other option we try) then we should put that into the aix.sh in this repository rather than in the jenkins agent configuration.

@adamfarley
Copy link
Contributor

This issue appears to have been seen again on test-osuosl-aix72-ppc64-6. The Jenkins environment variables have been checked, and it seems OBJECT_MODE was never set for this machine (nor test-osuosl-aix72-ppc64-5).

The OBJECT_MODE variables have now been set on both of these machines, and I ask that the jenkins agent be reset at the earliest opportunity.

Also, this error is in the same job output: "1586-495 (U) SYSTEM LIMIT EXCEEDED: Too many processes are active."

So please also review the ulimits on these machines, as well as the mechanism for setting both ulimits and jenkins environment variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aix Issues that affect or relate to the AIX OS buildbreak High priority issues that cause build breaks in jenkins or build scripts macos Issues that affect or relate to the MAC OS openj9 Issues that are enhancements or bugs raised against the OpenJ9 group
Projects
Status: Todo
Development

No branches or pull requests

3 participants