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

[CI] Quarkus main fails with Java 22 mandrel build of mandrel/24.0 on Windows #645

Closed
mandrel-bot opened this issue Dec 19, 2023 · 40 comments
Labels
affects/JDK22 affects/24.0 bug Something isn't working os/windows Windows specific testing CI and testing related issues and PRs

Comments

@mandrel-bot
Copy link

Automatic issue reporting for mandrel 24.0 on Windows

@mandrel-bot mandrel-bot added bug Something isn't working testing CI and testing related issues and PRs os/windows Windows specific affects/JDK22 affects/24.0 labels Dec 19, 2023
@mandrel-bot mandrel-bot reopened this Jan 16, 2024
@mandrel-bot
Copy link
Author

Unfortunately, the build failed!

@zakkak
Copy link
Collaborator

zakkak commented Jan 16, 2024

The issue is tracked in #661

@mandrel-bot
Copy link
Author

The build is still failing!

@zakkak
Copy link
Collaborator

zakkak commented Jan 17, 2024

Still #661

@mandrel-bot
Copy link
Author

The build is still failing!

@jerboaa
Copy link
Collaborator

jerboaa commented Jan 18, 2024

Still #661

@mandrel-bot
Copy link
Author

The build is still failing!

@zakkak
Copy link
Collaborator

zakkak commented Jan 19, 2024

Still #661

@mandrel-bot
Copy link
Author

Build fixed:

@mandrel-bot
Copy link
Author

Unfortunately, the build failed!

2024-04-08T01:53:18.5012982Z [INFO] Quarkus - Documentation ............................ FAILURE [  8.425 s]

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

@zakkak
Copy link
Collaborator

zakkak commented Apr 8, 2024

Caused by: java.lang.OutOfMemoryError: Java heap space

This is the second time we see this lately.

@jerboaa
Copy link
Collaborator

jerboaa commented Apr 8, 2024

Indeed. I wonder if we need to bump the heap space on Windows.

@mandrel-bot
Copy link
Author

Build fixed:

@mandrel-bot
Copy link
Author

Unfortunately, the build failed!

2024-04-15T03:59:06.5796710Z [INFO] Quarkus - Documentation ............................ FAILURE [  7.984 s]

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

@jerboaa
Copy link
Collaborator

jerboaa commented Apr 15, 2024

Again heap size issue:

Caused by: java.lang.OutOfMemoryError: Java heap space
    at org.codehaus.plexus.archiver.zip.ByteArrayOutputStream.needNewBuffer (ByteArrayOutputStream.java:153)

https://github.com/graalvm/mandrel/actions/runs/8682934417/job/23808168753#step:7:68089

@zakkak
Copy link
Collaborator

zakkak commented Apr 15, 2024

I mentioned it on zulip to see if upstream Quarkus has observed something similar before just increasing the heap size.

@mandrel-bot
Copy link
Author

The build is still failing!

@zakkak
Copy link
Collaborator

zakkak commented Apr 16, 2024

Hmmm, these steps shouldn't be running in the first place...

PR fixing this: #711

@mandrel-bot
Copy link
Author

Build fixed:

@mandrel-bot
Copy link
Author

Unfortunately, the build failed!

2024-04-17T01:57:21.4061823Z [INFO] Quarkus - Documentation ............................ FAILURE [ 11.326 s]

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

@zakkak
Copy link
Collaborator

zakkak commented Apr 17, 2024

OOM again. I didn't hear back from the Quarkus team so I will go ahead and increase the max heap size in our CI.

@mandrel-bot
Copy link
Author

Build fixed:

@mandrel-bot
Copy link
Author

Unfortunately, the build failed!

@jerboaa
Copy link
Collaborator

jerboaa commented Apr 18, 2024

Hopefully this new failure isn't related to: #714 We'll see if it re-appears. It looks infra related.

@zakkak
Copy link
Collaborator

zakkak commented Apr 18, 2024

It looks irrelevant to #714, more like a GH infra related timeout:

2024-04-18T01:49:28.5236459Z With the provided path, there will be 1 file uploaded
2024-04-18T01:49:28.5242797Z Artifact name is valid!
2024-04-18T01:49:28.5246073Z Root directory input is valid!
2024-04-18T01:49:33.5642319Z Attempt 1 of 5 failed with error: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact. Retrying request in 3000 ms...
2024-04-18T01:49:41.5747543Z Attempt 2 of 5 failed with error: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact. Retrying request in 6603 ms...
2024-04-18T01:49:53.1870700Z Attempt 3 of 5 failed with error: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact. Retrying request in 8557 ms...
2024-04-18T01:50:06.7589556Z Attempt 4 of 5 failed with error: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact. Retrying request in 10540 ms...
2024-04-18T01:50:22.3197237Z ##[error]Failed to CreateArtifact: Failed to make request after 5 attempts: Request timeout: /twirp/

@mandrel-bot
Copy link
Author

The build is still failing!

@zakkak
Copy link
Collaborator

zakkak commented Apr 19, 2024

Fails with:

Failed generating 'quarkus-integration-test-resteasy-jackson-999-SNAPSHOT-runner' after 29.1s.

The build process encountered an unexpected error:

com.oracle.svm.core.util.VMError$HostedError: InternalFeature defined by com.oracle.svm.hosted.SecurityServicesFeature unexpectedly failed with a(n) com.oracle.svm.util.ReflectionUtil$ReflectionUtilError
	at org.graalvm.nativeimage.builder/com.oracle.svm.core.util.VMError.shouldNotReachHere(VMError.java:86)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.FeatureHandler.handleFeatureError(FeatureHandler.java:293)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.FeatureHandler.forEachFeature(FeatureHandler.java:95)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:784)
	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: com.oracle.svm.util.ReflectionUtil$ReflectionUtilError: java.lang.NoSuchFieldException: constructorParameterClassName
	at org.graalvm.nativeimage.base/com.oracle.svm.util.ReflectionUtil.lookupField(ReflectionUtil.java:161)
	at org.graalvm.nativeimage.base/com.oracle.svm.util.ReflectionUtil.lookupField(ReflectionUtil.java:133)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.SecurityServicesFeature.getConstructorParameterClassAccessor(SecurityServicesFeature.java:662)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.SecurityServicesFeature.registerServiceReachabilityHandlers(SecurityServicesFeature.java:527)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.SecurityServicesFeature.beforeAnalysis(SecurityServicesFeature.java:332)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.lambda$runPointsToAnalysis$10(NativeImageGenerator.java:784)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.FeatureHandler.forEachFeature(FeatureHandler.java:93)
	... 7 more
Caused by: java.lang.NoSuchFieldException: constructorParameterClassName
	at java.base/java.lang.Class.getDeclaredField(Class.java:2792)
	at org.graalvm.nativeimage.base/com.oracle.svm.util.ReflectionUtil.lookupField(ReflectionUtil.java:140)
	... 13 more

which seems the same issue as in #644 (comment)

@zakkak
Copy link
Collaborator

zakkak commented Apr 19, 2024

Tracked in #716

@mandrel-bot
Copy link
Author

The build is still failing!

@mandrel-bot
Copy link
Author

The build is still failing!

@mandrel-bot
Copy link
Author

The build is still failing!

@jerboaa
Copy link
Collaborator

jerboaa commented Apr 22, 2024

@mandrel-bot
Copy link
Author

The build is still failing!

2024-04-23T01:51:24.1416718Z [INFO] Quarkus - Integration Tests - WebJar Locator ....... FAILURE [  0.031 s]

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

@mandrel-bot
Copy link
Author

The build is still failing!

2024-04-23T06:35:57.0267820Z [INFO] Quarkus - Integration Tests - WebJar Locator ....... FAILURE [  0.029 s]

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

@jerboaa
Copy link
Collaborator

jerboaa commented Apr 23, 2024

Quarkus build failure is: quarkusio/quarkus#40213

@mandrel-bot
Copy link
Author

The build is still failing!

@jerboaa
Copy link
Collaborator

jerboaa commented Apr 26, 2024

Still #716

@mandrel-bot
Copy link
Author

The build is still failing!

@jerboaa
Copy link
Collaborator

jerboaa commented Apr 29, 2024

Still #716 (Should pass once the weekly build picks up #722)

@mandrel-bot
Copy link
Author

Build fixed:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/JDK22 affects/24.0 bug Something isn't working os/windows Windows specific testing CI and testing related issues and PRs
Projects
None yet
Development

No branches or pull requests

3 participants