Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.12.1, 1.13.2, 1.14.0
Description
MicrometerBinderTest fails with the below stack trace:
org.apache.geode.metrics.MicrometerBinderTest > jvmMemoryMetricsBinderExists FAILED org.junit.ComparisonFailure: [Exit value from process started by [9ead38795d00b100: gfsh -e connect --jmx-manager=localhost[25533] -e deploy --jar=/tmp/junit909471762194553718/function.jar]] expected:<[0]> but was:<[1]> at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at org.apache.geode.test.junit.rules.gfsh.GfshExecution.awaitTermination(GfshExecution.java:137) at org.apache.geode.test.junit.rules.gfsh.GfshRule.execute(GfshRule.java:128) at org.apache.geode.test.junit.rules.gfsh.GfshRule.execute(GfshRule.java:114) at org.apache.geode.metrics.MicrometerBinderTest.startServer(MicrometerBinderTest.java:95)
Test output shows that the connect command succeeds, but the deploy command fails:
[info 2021/01/29 10:05:28.790 GMT <pool-10-thread-1> tid=0x2e] (1) Executing - connect --jmx-manager=localhost[25533] [info 2021/01/29 10:05:28.791 GMT <pool-10-thread-1> tid=0x2e] [info 2021/01/29 10:05:28.807 GMT <pool-10-thread-1> tid=0x2e] Connecting to Manager at [host=localhost, port=25533] .. [info 2021/01/29 10:05:29.046 GMT <pool-10-thread-1> tid=0x2e] Successfully connected to: [host=localhost, port=25533] [info 2021/01/29 10:05:29.046 GMT <pool-10-thread-1> tid=0x2e] [info 2021/01/29 10:05:29.046 GMT <pool-10-thread-1> tid=0x2e] You are connected to a cluster of version: 1.12.1-build.0 [info 2021/01/29 10:05:29.047 GMT <pool-10-thread-1> tid=0x2e] [info 2021/01/29 10:05:29.048 GMT <pool-10-thread-1> tid=0x2e] [info 2021/01/29 10:05:29.048 GMT <pool-10-thread-1> tid=0x2e] (2) Executing - deploy --jar=/tmp/junit909471762194553718/function.jar [info 2021/01/29 10:05:29.048 GMT <pool-10-thread-1> tid=0x2e] [error 2021/01/29 10:05:39.404 GMT <pool-11-thread-1> tid=0x2f] Member | Deployed JAR | Deployed JAR Location [error 2021/01/29 10:05:39.404 GMT <pool-11-thread-1> tid=0x2f] ------ | ------------ | -------------------------------------------------------------- [error 2021/01/29 10:05:39.405 GMT <pool-11-thread-1> tid=0x2f] server | | ERROR: java.rmi.NoSuchObjectException: no such object in table
Attachments
Issue Links
- links to