OpenLiberty / open-liberty

Open Liberty is a highly composable, fast to start, dynamic application server runtime environment
https://openliberty.io
Eclipse Public License 2.0
1.15k stars 592 forks source link

Test Failure: io.openliberty.http.monitor.fat.ContainerJSPApplicationTest.jsp_noWebXmlJSP_EE11_FEATURES_MicroProfile_70 #29847

Open fmhwong opened 2 weeks ago

fmhwong commented 2 weeks ago

RTC 301747

jsp_noWebXmlJSP_EE11_FEATURES_MicroProfile_70:junit.framework.AssertionFailedError: 2024-09-08-19:31:14:293 null
    at io.openliberty.http.monitor.fat.ContainerJSPApplicationTest.jsp_noWebXmlJSP(ContainerJSPApplicationTest.java:107)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at componenttest.custom.junit.runner.FATRunner$1.evaluate(FATRunner.java:209)
    at componenttest.rules.repeater.RepeatTests$CompositeRepeatTestActionStatement.evaluate(RepeatTests.java:149)
    at org.testcontainers.containers.FailureDetectingExternalResource$1.evaluate(FailureDetectingExternalResource.java:29)
    at componenttest.custom.junit.runner.FATRunner$2.evaluate(FATRunner.java:374)
    at componenttest.custom.junit.runner.FATRunner.run(FATRunner.java:178)
fmhwong commented 2 weeks ago

Instead of hard coded 4 second wait time, suggest to use a loop to retry every second up to 10 seconds.

Channyboy commented 2 weeks ago

Appears to also suffer from the time out issue between Liberty to the OpenTelemetry Collector. For example:

[10/12/24, 1:54:01:339 UTC] 0000004e io.opentelemetry.exporter.internal.grpc.GrpcExporter         W Failed to export metrics. Server responded with gRPC status code 2. Error message: timeout