enonic / xp-distro

Enonic XP full distribution.
GNU General Public License v3.0
3 stars 3 forks source link

jlink instability issues for builds. #225

Closed jsi closed 2 years ago

jsi commented 2 years ago

Last night, a change in xp triggered the five system apps to build, and each one of those in turn triggered a build of xp-distro. Only one of the xp-distro builds passed: app-standardidprovider: https://github.com/enonic/xp-distro/actions/runs/2783538608

The four other builds failed with this or similar messages:

FAILURE: Build failed with an exception.

* What went wrong:
> Task :jlink FAILED
Error: Hash of jdk.management.jfr (1bcbe76bbfd4a1060584692d8bede8dc117135b52155781b5f9b7106b0462c5c) differs to expected hash (271bb19da6cdd5ee7bb4e08ca05b743ad8d35a2027536cb2860f7acd6bef81a5) recorded in java.base
Execution failed for task ':jlink'.
> Process 'command 'jlink'' finished with non-zero exit value 1

Since one build passed, just to make sure it wasn't a problem with concurrent builds of the same item, I triggered the build initiated by app-users to rebuild this morning, but it didn't help: https://github.com/enonic/xp-distro/actions/runs/2783679133

The other builds that failed are these:

When the issue appears, it causes all concurrent build threads to stop immediately.