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

[camel-main] ical Dataformat fails in native #6218

Closed
JiriOndrusek opened this issue Jun 21, 2024 · 1 comment
Closed

[camel-main] ical Dataformat fails in native #6218

JiriOndrusek opened this issue Jun 21, 2024 · 1 comment

Comments

@JiriOndrusek
Copy link
Contributor

JiriOndrusek commented Jun 21, 2024

Bug description

With the update of ical, there is a native failure.

Simple solutions of the failure causes other failures (with any stacktrace)

  • If I add --initialize-at-build-time=net.fortuna.ical4j.model.TimeZoneLoader, I'm getting
[ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 2, Time elapsed: 66.76 s <<< FAILURE! -- in org.apache.camel.quarkus.component.dataformat.it.DataformatIT
[ERROR] org.apache.camel.quarkus.component.dataformat.it.DataformatIT.ical -- Time elapsed: 0.015 s <<< ERROR!
java.lang.RuntimeException: java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.throwBootFailureException(QuarkusIntegrationTestExtension.java:373)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.beforeEach(QuarkusIntegrationTestExtension.java:117)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details
	at io.quarkus.test.common.LauncherUtil.waitForCapturedListeningData(LauncherUtil.java:102)
	at io.quarkus.test.common.DefaultNativeImageLauncher.start(DefaultNativeImageLauncher.java:110)
	at io.quarkus.test.junit.IntegrationTestUtil.startLauncher(IntegrationTestUtil.java:194)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.doProcessStart(QuarkusIntegrationTestExtension.java:301)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.ensureStarted(QuarkusIntegrationTestExtension.java:169)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.beforeAll(QuarkusIntegrationTestExtension.java:130)
	... 1 more
  • If I add --initialize-at-run-time=java.time.zone.ZoneRulesProvider, I'm getting
[ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 2, Time elapsed: 7.039 s <<< FAILURE! -- in org.apache.camel.quarkus.component.dataformat.it.DataformatIT
[ERROR] org.apache.camel.quarkus.component.dataformat.it.DataformatIT.ical -- Time elapsed: 0.015 s <<< ERROR!
java.lang.RuntimeException: java.lang.RuntimeException: Unable to successfully launch process '250733'. Exit code is: '1'.
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.throwBootFailureException(QuarkusIntegrationTestExtension.java:373)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.beforeEach(QuarkusIntegrationTestExtension.java:117)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: Unable to successfully launch process '250733'. Exit code is: '1'.
	at io.quarkus.test.common.LauncherUtil.ensureProcessIsAlive(LauncherUtil.java:124)
	at io.quarkus.test.common.LauncherUtil.waitForCapturedListeningData(LauncherUtil.java:87)
	at io.quarkus.test.common.DefaultNativeImageLauncher.start(DefaultNativeImageLauncher.java:110)
	at io.quarkus.test.junit.IntegrationTestUtil.startLauncher(IntegrationTestUtil.java:194)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.doProcessStart(QuarkusIntegrationTestExtension.java:301)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.ensureStarted(QuarkusIntegrationTestExtension.java:169)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.beforeAll(QuarkusIntegrationTestExtension.java:130)
	... 1 more

[DEBUG] Closing the fork 1 after saying GoodBye.

The native test is disabled for now.

@JiriOndrusek JiriOndrusek added the bug Something isn't working label Jun 21, 2024
@jamesnetherton jamesnetherton changed the title [camel-main] Dataformat fails in native [camel-main] ical Dataformat fails in native Jun 22, 2024
@jamesnetherton jamesnetherton self-assigned this Jun 24, 2024
@jamesnetherton
Copy link
Contributor

Should be fixed in 83a01bb.

@jamesnetherton jamesnetherton added this to the 3.13.0 milestone Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants