-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Make mutable-jar work with jib in all cases #15480
Conversation
@mswiderski mind giving it a try please? It worked fine for me |
Sure thing @geoand will take it first thing in the morning and let you know |
Thanks |
@geoand I tried it and now container is build with the required files but it does not seem to start. Kubernetes is reporting it as running but there are no logs written by the container. When logging into the container itself it shows java process running but none of the app endpoints are accessible. No idea how to trace what is going wrong there.... |
What happens when you run the container locally? |
same thing, no logs ... just hangs as soon as I set |
I'll have a look later on today. Thanks for checking |
I can't reproduce the problem in either regular Do you have a reproducer you could share? |
interesting .... about reproducer it won't be easy as it relies on quite few unreleased yet version of different libraries... working on operator. Don't want you to build up everything from sources etc so maybe you could give me a hint where to start debugging (the bootstrap code) so maybe I could gather more info? |
I would start debugging in |
Alright, debugging showed this exception when starting
it is thrown from here is the list of extensions in use
|
I was still not able to reproduce the problem with the extensions you mentioned. Also |
ok, correction when it comes to line number as I am running on top of 1.12.0.CR1 - https://github.com/quarkusio/quarkus/blob/1.12.0.CR1/extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/devmode/console/ConfigEditorProcessor.java#L37 and the failure is because of |
OK, that part has changed significatly. Would it possible for you to try |
most likely won't be that simple but will do so as it seems it has changed quite a bit. Will report back when done the testing on top of master |
@geoand anyway I think we can proceed with this PR to be merged as it does fix the container image build with jib for mutable-jar the other issue I ran into is independent of this change. I can either post back the results here or on the mailing list thread. |
I was going to propose the same :). Feel free to post the results back here and then we can discuss how to proceed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@geoand running on top of master I get this
|
Can you open a new issue with that information?
…On Fri, Mar 5, 2021 at 3:49 PM Maciej Swiderski ***@***.***> wrote:
@geoand <https://github.com/geoand> running on top of master I get this
2021-03-05 13:47:05,497 ERROR [io.qua.dep.dev.IsolatedDevModeMain] (main) Failed to create compiler, runtime compilation will be unavailable: java.lang.NullPointerException
at java.base/java.io.File.<init>(File.java:276)
at io.quarkus.deployment.dev.ClassLoaderCompiler.lambda$new$0(ClassLoaderCompiler.java:149)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1085)
at io.quarkus.deployment.dev.ClassLoaderCompiler.<init>(ClassLoaderCompiler.java:144)
at io.quarkus.deployment.dev.IsolatedDevModeMain.setupRuntimeCompilation(IsolatedDevModeMain.java:222)
at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:372)
at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:56)
at io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:127)
at io.quarkus.bootstrap.app.CuratedApplication.runInAugmentClassLoader(CuratedApplication.java:84)
at io.quarkus.deployment.mutability.DevModeTask.main(DevModeTask.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.quarkus.bootstrap.runner.DevModeMediator.doStart(DevModeMediator.java:50)
at io.quarkus.bootstrap.runner.DevModeMediator.doDevMode(DevModeMediator.java:29)
at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:35)
at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:25)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15480 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBMDPYJQP6TXIU6SD5OSA3TCDOOJANCNFSM4YTVTRQA>
.
|
Offtopic: Can we leave this open for a little while? By chance I picked this PR to check how the incremental build is doing and in this case here it is building too much and I'm trying to understand why. /cc @gsmet Edit: I'll continue here: https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/Incremental.20build/near/228975996 |
Fixes: #15477