temurin-build: aarch64 build failure, Hash of java.rmi (...) differs to expected hash
Platform: aarch64 https://ci.adoptopenjdk.net/view/Failing Builds/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-linux-aarch64-openj9-linuxXL/223/consoleFull
01:05:10 * For target support_images_jre:
01:05:10 Error: Hash of java.rmi (5fe5f05db30334fea7371af06d42a7f7e5417acae4022df3ddec5c8d8aaf5e02) differs to expected hash (24f0620202e6705b53c79e3827358915385f2c46b4c91b1b65443e954b4df58f) recorded in java.base
01:05:10 java.lang.module.FindException: Hash of java.rmi (5fe5f05db30334fea7371af06d42a7f7e5417acae4022df3ddec5c8d8aaf5e02) differs to expected hash (24f0620202e6705b53c79e3827358915385f2c46b4c91b1b65443e954b4df58f) recorded in java.base
01:05:10 at java.base/java.lang.module.Resolver.findFail(Resolver.java:877)
01:05:10 at java.base/java.lang.module.Resolver.checkHashes(Resolver.java:461)
01:05:10 at java.base/java.lang.module.Resolver.finish(Resolver.java:360)
01:05:10 at java.base/java.lang.module.Configuration.<init>(Configuration.java:141)
01:05:10 at java.base/java.lang.module.Configuration.resolve(Configuration.java:424)
01:05:10 at java.base/java.lang.module.Configuration.resolve(Configuration.java:256)
01:05:10 at jdk.jlink/jdk.tools.jlink.internal.Jlink$JlinkConfiguration.resolve(Jlink.java:220)
01:05:10 at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImageProvider(JlinkTask.java:486)
01:05:10 at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImage(JlinkTask.java:396)
01:05:10 at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.run(JlinkTask.java:272)
01:05:10 at jdk.jlink/jdk.tools.jlink.internal.Main.run(Main.java:54)
01:05:10 at jdk.jlink/jdk.tools.jlink.internal.Main.main(Main.java:33)
I am suspecting this maybe an openjdk build concurrency issue. Workaround maybe reducing the aarch64 concurrency, it is currently using 29 jobs:
00:43:14 * Cores to use: 29
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 48 (36 by maintainers)
I think this is not a problem with GNU make or makefile because I can reproduce the hash mismatch error with simply running
jmod
command.