-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Quarkus 3.0.0.CR2: Jib fails to build container on Ubuntu #32477
Comments
/cc @evanchooly (kotlin), @geoand (jib,kotlin) |
Is there no more information in the build output? It will be extrelemely hard to fix anything based only on a NPE :( |
Please disregard my comment above, I can reproduce the problem locally. |
@aloubyansky @glefloch I am seeing (by adding Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing io.quarkus.gradle.tasks.worker.BuildWorker
at org.gradle.workers.internal.DefaultWorkerExecutor$WorkItemExecution.waitForCompletion(DefaultWorkerExecutor.java:283)
at org.gradle.internal.work.DefaultAsyncWorkTracker.lambda$waitForItemsAndGatherFailures$2(DefaultAsyncWorkTracker.java:130)
at org.gradle.internal.Factories$1.create(Factories.java:31)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:321)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLocks(DefaultWorkerLeaseService.java:304)
at org.gradle.internal.work.DefaultWorkerLeaseService.withoutLock(DefaultWorkerLeaseService.java:309)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:126)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:88)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForAll(DefaultAsyncWorkTracker.java:78)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForCompletion(DefaultAsyncWorkTracker.java:72)
at org.gradle.workers.internal.DefaultWorkerExecutor.await(DefaultWorkerExecutor.java:210)
at org.gradle.workers.internal.DefaultWorkerExecutor.access$100(DefaultWorkerExecutor.java:58)
at org.gradle.workers.internal.DefaultWorkerExecutor$DefaultWorkQueue.await(DefaultWorkerExecutor.java:308)
at io.quarkus.gradle.tasks.QuarkusBuildTask.generateBuild(QuarkusBuildTask.java:170)
at io.quarkus.gradle.tasks.QuarkusBuildCacheableAppParts.fastJarBuild(QuarkusBuildCacheableAppParts.java:122)
at io.quarkus.gradle.tasks.QuarkusBuildCacheableAppParts.performQuarkusBuild(QuarkusBuildCacheableAppParts.java:81) and later down the line:
Do you have any idea what is going on or what has changed that leads to the problem? |
I wanted to add the full log, but I think its easier if you debug anyways. Thanks for your support @geoand ! |
It looks like it still worked in Beta1 but stopped with CR1. Maybe that helps to narrow it down. |
I have hit this myself and I think its not limited to |
It should be fixed by #32490 |
Describe the bug
When I try to create a JVM container image with jib on ubuntu, it fails with the following error.
I attached a simple reproducer which is just a project created from code.quarkus.io with gradle, kotlin, reaseasy reactive and jib.
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
Reproducer:
2023-04-06-quarkus-3-jib-broken.zip
./gradlew clean assemble -D"quarkus.container-image.build=true"
Output of
uname -a
orver
5.15.90.1-microsoft-standard-WSL2 and github actions ubuntu runner
Output of
java -version
JDK17
GraalVM version (if different from Java)
No response
Quarkus version or git rev
3.0.0.CR2
Build tool (ie. output of
mvnw --version
orgradlew --version
)gradle
Additional information
No response
The text was updated successfully, but these errors were encountered: