Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13165

AsyncOfflineTest.testReset random failures

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.1.5.Final, 13.0.0.Dev02
    • Fix Version/s: 13.0.0.Dev04
    • Component/s: Core, Test Suite
    • Labels:
      None

      Description

      DefaultIracManager logs a NETWORK_EXCEPTION and says it's sending the write to the remote site again, but doesn't do anything for 30 seconds and the test times out.

      02:09:20,051 TRACE (blocking-thread-Test-NodeC-p24760-t1:[]) [DefaultIracManager] [IRAC] State.canSend for key testReset-key (status=NEW)
      02:09:20,051 TRACE (blocking-thread-Test-NodeC-p24760-t1:[]) [JGroupsTransport] Test-NodeC sending backup request 16 to SiteMaster(SFO-3): IracPutKeyCommand{key=testReset-key, value=value3, metadata=EmbeddedMetadata{version=null}, iracMetadata=IracMetadata{site='LON-1', version=(LON-1=(10:3))}, originSite='null', cacheName=testReset}
      02:09:20,053 TRACE (jgroups-5,bridge-org.infinispan.xsite.offline.Test,_Test-NodeG:SFO-3:[]) [JGroupsTransport] Test-NodeG sending single request 10 to Test-NodeH: SingleRpcCommand{cacheName='testReset', command=IracPutKeyValueCommand{key=testReset-key, value=value3, metadata=EmbeddedMetadata{version=null}, privateMetadata=PrivateMetadata{iracMetadata=IracMetadata{site='LON-1', version=(LON-1=(10:3))}, entryVersion=null}, successful=true, commandInvocationId=CommandInvocation:Test-NodeG:105708}}
      02:09:20,054 TRACE (jgroups-8,Test-NodeH:[]) [JGroupsTransport] Test-NodeH sending command to [Test-NodeG]: SingleKeyBackupWriteCommand{cacheName=testReset, segment=203, sequence=2, commandInvocationId=CommandInvocation:Test-NodeG:105708, topologyId=9, flags=268435456, operation=WRITE, key=testReset-key, valueOrFunction=value3, metadata=EmbeddedMetadata{version=null}, internalMetadata=PrivateMetadata{iracMetadata=IracMetadata{site='LON-1', version=(LON-1=(10:3))}, entryVersion=null}}
      02:09:20,054 TRACE (jgroups-8,Test-NodeH:[]) [JGroupsTransport] Test-NodeH sending response for request 10 to Test-NodeG: SuccessfulResponse(value)
      02:09:20,056 TRACE (non-blocking-thread-Test-NodeG-p24828-t1:[]) [JGroupsTransport] Test-NodeG sending response for request 16 to Test-NodeC:LON-1: null
      02:09:20,056 TRACE (jgroups-12,Test-NodeC:[]) [DefaultIracManager] [IRAC] Round completed (is clear? false). Result: OK (throwable=null)
      02:09:20,056 TRACE (jgroups-12,Test-NodeC:[]) [DefaultIracManager] [IRAC] State.onSuccess for key testReset-key (status=SENDING)
      02:09:20,056 TRACE (jgroups-12,Test-NodeC:[]) [DefaultIracManager] Replication completed for key 'testReset-key'. Lock Owner='CommandInvocation:Test-NodeA:105532'
      02:09:20,057 TRACE (jgroups-12,Test-NodeC:[]) [JGroupsTransport] Test-NodeC sending command to [Test-NodeC, Test-NodeB]: IracCleanupKeyCommand{key=testReset-key, lockOwner=CommandInvocation:Test-NodeA:105532}
      02:09:20,057 TRACE (jgroups-12,Test-NodeC:[]) [DefaultIracManager] Removing key 'testReset-key'. LockOwner='null', removed=true
      02:09:20,058 TRACE (jgroups-8,Test-NodeB:[]) [DefaultIracManager] Removing key 'testReset-key'. LockOwner='null', removed=true
      02:09:20,151 TRACE (timeout-thread-Test-NodeC-p24761-t1:[]) [DefaultIracManager] [IRAC] Round completed (is clear? false). Result: NETWORK_EXCEPTION (throwable=null)
      02:09:20,151 TRACE (timeout-thread-Test-NodeC-p24761-t1:[]) [DefaultIracManager] [IRAC] State.sendFail for key testReset-key (status=SENDING)
      02:09:20,403 TRACE (blocking-thread-Test-NodeC-p24760-t1:[]) [DefaultIracManager] [IRAC] Sending keys to remote site(s). Has clear? false, keys: []
      
      02:09:50,228 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.xsite.offline.AsyncOfflineTest.testReset
      java.lang.AssertionError: expected:<0>, got:<1>
      	at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.14.3.jar:?]
      	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:237) ~[test-classes/:?]
      	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:216) ~[test-classes/:?]
      	at org.infinispan.test.AbstractInfinispanTest.eventuallyEquals(AbstractInfinispanTest.java:206) ~[test-classes/:?]
      	at org.infinispan.xsite.offline.AsyncOfflineTest.testReset(AsyncOfflineTest.java:129) ~[test-classes/:?]
      

        Attachments

          Activity

            People

            Assignee:
            pruivo Pedro Ruivo
            Reporter:
            dan.berindei Dan Berindei
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: