mandrel icon indicating copy to clipboard operation
mandrel copied to clipboard

[CI] Quarkus main fails with Java 23 mandrel build of `graal/master` on Linux

Open zakkak opened this issue 2 years ago • 160 comments

This issue is automatically updated by CI to report issues with Quarkus main and mandrel builds of graal/master

zakkak avatar Dec 21 '23 07:12 zakkak

Unfortunately, the build failed!

mandrel-bot avatar Dec 21 '23 12:12 mandrel-bot

The build is still failing!

mandrel-bot avatar Dec 22 '23 03:12 mandrel-bot

Failures are due to https://github.com/adoptium/api.adoptium.net/issues/840

zakkak avatar Dec 22 '23 09:12 zakkak

The build is still failing!

mandrel-bot avatar Dec 23 '23 05:12 mandrel-bot

The build is still failing!

mandrel-bot avatar Dec 24 '23 03:12 mandrel-bot

The build is still failing!

mandrel-bot avatar Dec 25 '23 03:12 mandrel-bot

The build is still failing!

mandrel-bot avatar Dec 26 '23 03:12 mandrel-bot

The build is still failing!

mandrel-bot avatar Dec 27 '23 03:12 mandrel-bot

The build is still failing!

mandrel-bot avatar Dec 28 '23 03:12 mandrel-bot

The build is still failing!

mandrel-bot avatar Dec 29 '23 03:12 mandrel-bot

The build is still failing!

mandrel-bot avatar Dec 30 '23 05:12 mandrel-bot

The build is still failing!

mandrel-bot avatar Dec 31 '23 03:12 mandrel-bot

The build is still failing!

mandrel-bot avatar Jan 01 '24 03:01 mandrel-bot

The build is still failing!

mandrel-bot avatar Jan 02 '24 03:01 mandrel-bot

The build is still failing!

2024-01-03T02:39:22.8304764Z Error: Class initialization of io.vertx.pgclient.impl.codec.DataTypeCodec failed. Use the option 
2024-01-03T02:43:36.2686381Z Error: Class initialization of io.vertx.pgclient.impl.codec.DataTypeCodec failed. Use the option 
2024-01-03T02:46:27.6158206Z [INFO] Quarkus - Integration Tests - Hibernate Reactive - PostgreSQL FAILURE [ 59.492 s]
2024-01-03T02:46:27.6159885Z [INFO] Quarkus - Integration Tests - Reactive Pg Client ... FAILURE [ 49.243 s]
2024-01-03T02:48:41.4162183Z Error: Class initialization of io.vertx.pgclient.impl.codec.DataTypeCodec failed. Use the option 
2024-01-03T02:50:34.9998862Z Error: Class initialization of io.vertx.pgclient.impl.codec.DataTypeCodec failed. Use the option 
2024-01-03T02:50:35.0167757Z Error: Class initialization of io.vertx.pgclient.impl.codec.DataTypeCodec failed. This error is reported at image build time because class io.vertx.pgclient.impl.codec.DataTypeCodec is registered for linking at image build time by command line and command line. Use the option 
2024-01-03T03:02:46.4275460Z [INFO] Quarkus - Integration Tests - Hibernate Reactive with Panache FAILURE [01:28 min]
2024-01-03T03:02:46.4277451Z [INFO] Quarkus - Integration Tests - Hibernate Reactive with Panache and Kotlin FAILURE [01:53 min]
2024-01-03T03:03:44.6785984Z [INFO] Quarkus - Integration Tests - Kafka OAUTH with Keycloak FAILURE [ 38.335 s]
2024-01-03T02:49:45.3201460Z Error: Class initialization of io.vertx.pgclient.impl.codec.DataTypeCodec failed. Use the option 
2024-01-03T02:56:32.4713089Z [INFO] Quarkus - Integration Tests - Security WebAuthn .... FAILURE [01:26 min]

Link to failing CI run: https://github.com/graalvm/mandrel/actions/runs/7392445998

mandrel-bot avatar Jan 03 '24 03:01 mandrel-bot

The build is still failing!

2024-01-04T02:36:33.6440861Z Error: Class initialization of io.vertx.pgclient.impl.codec.DataTypeCodec failed. Use the option 
2024-01-04T02:40:50.2079566Z Error: Class initialization of io.vertx.pgclient.impl.codec.DataTypeCodec failed. Use the option 
2024-01-04T02:43:38.6341291Z [INFO] Quarkus - Integration Tests - Hibernate Reactive - PostgreSQL FAILURE [01:10 min]
2024-01-04T02:43:38.6342784Z [INFO] Quarkus - Integration Tests - Reactive Pg Client ... FAILURE [ 52.646 s]
2024-01-04T02:48:40.1616773Z Error: Class initialization of io.vertx.pgclient.impl.codec.DataTypeCodec failed. Use the option 
2024-01-04T02:48:40.1718812Z Error: Class initialization of io.vertx.pgclient.impl.codec.DataTypeCodec failed. This error is reported at image build time because class io.vertx.pgclient.impl.codec.DataTypeCodec is registered for linking at image build time by command line and command line. Use the option 
2024-01-04T02:49:52.4221725Z Error: Class initialization of io.vertx.pgclient.impl.codec.DataTypeCodec failed. Use the option 
2024-01-04T03:01:03.4117702Z [INFO] Quarkus - Integration Tests - Hibernate Reactive with Panache FAILURE [01:32 min]
2024-01-04T03:01:03.4119257Z [INFO] Quarkus - Integration Tests - Hibernate Reactive with Panache and Kotlin FAILURE [01:12 min]
2024-01-04T03:01:52.1197488Z [INFO] Quarkus - Integration Tests - Kafka OAUTH with Keycloak FAILURE [ 45.977 s]
2024-01-04T02:46:29.5516306Z Error: Class initialization of io.vertx.pgclient.impl.codec.DataTypeCodec failed. Use the option 
2024-01-04T02:54:31.5666940Z [INFO] Quarkus - Integration Tests - Security WebAuthn .... FAILURE [01:32 min]

Link to failing CI run: https://github.com/graalvm/mandrel/actions/runs/7404435178

mandrel-bot avatar Jan 04 '24 03:01 mandrel-bot

The build is still failing!

mandrel-bot avatar Jan 05 '24 03:01 mandrel-bot

The build is still failing!

mandrel-bot avatar Jan 06 '24 05:01 mandrel-bot

The build is still failing!

mandrel-bot avatar Jan 07 '24 03:01 mandrel-bot

The build is still failing!

mandrel-bot avatar Jan 08 '24 03:01 mandrel-bot

The build is still failing!

mandrel-bot avatar Jan 09 '24 03:01 mandrel-bot

Build fix in progress in https://github.com/graalvm/mandrel-packaging/pull/384

jerboaa avatar Jan 09 '24 09:01 jerboaa

The build is still failing!

2024-01-10T02:33:28.4662399Z [INFO] Quarkus - Integration Tests - Kafka OAUTH with Keycloak FAILURE [ 34.281 s]
2024-01-10T02:26:42.2436980Z Error: Image build request for 'quarkus-integration-test-test-extension-tests-999-SNAPSHOT-runner' (pid: 2919, path: /home/runner/work/mandrel/mandrel/quarkus/integration-tests/test-extension/tests/target/quarkus-integration-test-test-extension-tests-999-SNAPSHOT-native-image-source-jar) failed with exit status 30
2024-01-10T02:39:47.4667777Z [INFO] Quarkus - Integration Tests - Test Extension - Tests FAILURE [10:25 min]

Link to failing CI run: https://github.com/graalvm/mandrel/actions/runs/7469148591

mandrel-bot avatar Jan 10 '24 03:01 mandrel-bot

  • Q IT Main issue is https://github.com/quarkusio/quarkus/issues/37809 (fix WIP)
  • Q IT Messaging1 issue is https://github.com/quarkusio/quarkus/issues/37862 (fix WIP)
  • Q IT Misc2 issue is https://github.com/quarkusio/quarkus/issues/37657 (upstream issue: https://github.com/oracle/graal/issues/8075)

zakkak avatar Jan 10 '24 09:01 zakkak

The build is still failing!

2024-01-11T01:37:53.8952685Z Error: Invalid library path /home/runner/work/mandrel/mandrelvm/lib/svm/clibraries/linux-amd64/glibc

Link to failing CI run: https://github.com/graalvm/mandrel/actions/runs/7483055122

mandrel-bot avatar Jan 11 '24 03:01 mandrel-bot

The build is still failing!

2024-01-11T09:32:06.3637054Z Error: Invalid library path /home/runner/work/mandrel/mandrelvm/lib/svm/clibraries/linux-amd64/glibc

Link to failing CI run: https://github.com/graalvm/mandrel/actions/runs/7483055122

mandrel-bot avatar Jan 11 '24 09:01 mandrel-bot

When generating the native-image-agent the build fails with:

        58 types,    58 fields, and    52 methods registered for JNI access
        4 native libraries: dl, pthread, rt, z

Error: Invalid library path /home/runner/work/mandrel/mandrelvm/lib/svm/clibraries/linux-amd64/glibc

I'll look into it.

jerboaa avatar Jan 11 '24 09:01 jerboaa

The full error is:

Error: Invalid library path /disk/graal/upstream-sources/graal/mandrel-build/lib/svm/clibraries/linux-amd64/glibc
com.oracle.svm.core.util.UserError$UserException: Invalid library path /disk/graal/upstream-sources/graal/mandrel-build/lib/svm/clibraries/linux-amd64/glibc
	at org.graalvm.nativeimage.builder/com.oracle.svm.core.util.UserError.abort(UserError.java:94)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.c.NativeLibraries.getAllStaticLibs(NativeLibraries.java:480)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.c.NativeLibraries.getStaticLibraries(NativeLibraries.java:453)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.VMFeature.afterAnalysis(VMFeature.java:102)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.lambda$runPointsToAnalysis$13(NativeImageGenerator.java:823)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.FeatureHandler.forEachFeature(FeatureHandler.java:92)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:823)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:571)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:537)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:526)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:701)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.start(NativeImageGeneratorRunner.java:140)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:95)
Caused by: java.nio.file.NoSuchFileException: /disk/graal/upstream-sources/graal/mandrel-build/lib/svm/clibraries/linux-amd64/glibc
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.asIOException(UnixException.java:115)
	at java.base/sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:501)
	at java.base/java.nio.file.Files.newDirectoryStream(Files.java:482)
	at java.base/java.nio.file.Files.list(Files.java:3790)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.c.NativeLibraries.getAllStaticLibs(NativeLibraries.java:475)
	... 11 more
------------------------------------------------------------------------------------------------------------------------

And the path indeed doesn't exist. This is a mandrel-packaging bug.

jerboaa avatar Jan 11 '24 10:01 jerboaa

This is a mandrel-packaging bug.

Proposed fix in https://github.com/graalvm/mandrel-packaging/pull/385

jerboaa avatar Jan 11 '24 10:01 jerboaa

The build is still failing!

mandrel-bot avatar Jan 12 '24 03:01 mandrel-bot