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

Windows Reproducible Build Script - Ant Download And Install Fails #4062

Open
steelhead31 opened this issue Nov 28, 2024 · 2 comments
Open
Assignees
Labels
jenkins Issues that enhance or fix our jenkins server macos Issues that affect or relate to the MAC OS testing Issues that enhance or fix our test suites windows Issues that affect or relate to the WINDOWS OS

Comments

@steelhead31
Copy link
Contributor

What are you trying to do?

The windows reproducible build script fails when trying to download and install a version of Ant deduced from the SBOM ( see 

https://ci.adoptium.net/job/Test_openjdk21_hs_special.system_x86-64_windows/8/consoleFull

The reproducible build test deduced a requirement of Ant 1.10.5 from the SBOM, however newer machines (  test-azure-win2022-x64-4 )  only have the later Ant Version 1.10.15 installed. The jenkins automated process however has insufficient permissions to install an older version.

Expected behaviour:

Test should run ok with any suitable version of Ant.

Observed behaviour:

Test fails, when it should either detect a suitable version (  either  1.10.XXXX is allowed or ANY version of Ant is allowed )

Any other comments:

@github-actions github-actions bot added jenkins Issues that enhance or fix our jenkins server macos Issues that affect or relate to the MAC OS testing Issues that enhance or fix our test suites windows Issues that affect or relate to the WINDOWS OS labels Nov 28, 2024
@steelhead31 steelhead31 self-assigned this Nov 28, 2024
@sxa
Copy link
Member

sxa commented Nov 28, 2024

A few notes:

  • ant update was done under unixPb: Update Ant version to latest 1.10.15 infrastructure#3747
  • The new build machines that I'm trialling were configured with an old version of the playbooks so built with 1.10.5 last night. I'm looking at updating that so it won't recur.
  • The test linked above did pass in the automatic rerun which selected a different machine ;-)

My gut feel is that it makes sense to relax the version of ant as per the proposal here. It's also only used for the SBoM generation so as long as we're using a version that's suitable for that we should be good (I don't think we do a comparison on the SBoM anyway, which which case it really doesn't matter)

Any thoughts @sophia-guo @andrew-m-leonard ?

@andrew-m-leonard
Copy link
Contributor

Yes, lets relax the ant version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jenkins Issues that enhance or fix our jenkins server macos Issues that affect or relate to the MAC OS testing Issues that enhance or fix our test suites windows Issues that affect or relate to the WINDOWS OS
Projects
Status: Todo
Development

No branches or pull requests

3 participants