[
https://issues.apache.org/jira/browse/GEODE-9250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17343251#comment-17343251
]
Alberto Bustamante Reyes commented on GEODE-9250:
-------------------------------------------------
I have been taking a look, but I have not been able to find a root cause.
The test case has the following steps:
1: A jar file is deployed in two servers
2: The jar file is undeployed
3: Server's VM are restarted, and Geode server are started again using groups.
Then it is verified that the jar file is still undeployed.
The problem occurred when server2 VM is was restarted. This action is performed
using "bounce()" method, but it did not work properly this time.
Server 1 VM is bounced successfully:
{code:java}
[info 2021/05/07 14:36:16.703 GMT <Test worker> tid=0x1b] Bounced 1. New pid
is 1248 and version is 10240.0.0
{code}
But when server2 VM is bounced:
{code:java}
[info 2021/05/07 14:36:16.727 GMT <Test worker> tid=0x1b] Bouncing 2 old pid
is 89 and version is 10240.0.0
[vm2] [info 2021/05/07 14:36:19.515 GMT <main> tid=0x1] VM2 is launching with
PID 1307
[vm2] gemfire.DUnitLauncher.RMI_PORT=22500
{code}
At this point, on a successful tests execution we should see a info log message
from Test worker saying "Bounced 2. New pid is ....", but:
{code:java}
[info 2021/05/07 14:36:19.676 GMT <Test worker> tid=0x1b] Executing command:
disconnect
Command result for <disconnect>:
Disconnecting from: cce5ec2eafa6[22504]
Disconnected from : cce5ec2eafa6[22504]
[info 2021/05/07 14:36:19.683 GMT <Test worker> tid=0x1b] Executing command:
exit
[info 2021/05/07 14:36:19.684 GMT <Test worker> tid=0x1b] <ExpectedException
action=remove> java.rmi.NoSuchObjectException: no such object in
table</ExpectedException>
{code}
> CI failure: DeployWithGroupsDUnitTest > undeployJarFromAllServersWithRestart
> FAILED
> -----------------------------------------------------------------------------------
>
> Key: GEODE-9250
> URL: https://issues.apache.org/jira/browse/GEODE-9250
> Project: Geode
> Issue Type: Bug
> Components: management
> Reporter: Owen Nichols
> Priority: Major
>
> {noformat}
> org.apache.geode.management.internal.cli.commands.DeployWithGroupsDUnitTest >
> undeployJarFromAllServersWithRestart FAILED
> org.apache.geode.test.dunit.RMIException: While invoking
> org.apache.geode.test.dunit.rules.DistributedRestoreSystemProperties$$Lambda$381/0x000000010066f040.run
> in VM 2 running on Host cce5ec2eafa6 with 4 VMs
> at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:631)
> ...
> at
> org.apache.geode.test.dunit.rules.ClusterStartupRule$1.evaluate(ClusterStartupRule.java:140)
> ...
> Caused by:
> java.lang.NullPointerException
> at
> org.apache.geode.test.dunit.rules.DistributedRestoreSystemProperties.invokeAfter(DistributedRestoreSystemProperties.java:70)
> at
> org.apache.geode.test.dunit.rules.DistributedRestoreSystemProperties.lambda$after$bb17a952$1(DistributedRestoreSystemProperties.java:44)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> at
> jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:566)
> at
> org.apache.geode.test.dunit.internal.MethodInvoker.executeObject(MethodInvoker.java:123)
> at
> org.apache.geode.test.dunit.internal.RemoteDUnitVM.executeMethodOnObject(RemoteDUnitVM.java:78)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> at
> jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:566)
> at
> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:359)
> at sun.rmi.transport.Transport$1.run(Transport.java:200)
> at sun.rmi.transport.Transport$1.run(Transport.java:197)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
> at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562)
> at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796)
> at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677)
> ...{noformat}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)