adoptium / temurin-build

Eclipse Temurin™ build scripts - common across all releases/versions
Apache License 2.0
1.03k stars 251 forks source link

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

Open steelhead31 opened 1 day ago

steelhead31 commented 1 day ago

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:

sxa commented 1 day ago

A few notes:

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 commented 1 day ago

Yes, lets relax the ant version