Solr
  1. Solr
  2. SOLR-6309

AsyncMigrateRouteKeyTest failure

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.10, Trunk
    • Component/s: SolrCloud, Tests
    • Labels:
      None

      Description

      Just saw this on my private jenkins:

      Error Message
      
      Task 20140128 not found in completed tasks. expected:<found 20140128 in [completed] tasks> but was:<found 20140128 in [running] tasks>
      Stacktrace
      
      org.junit.ComparisonFailure: Task 20140128 not found in completed tasks. expected:<found 20140128 in [completed] tasks> but was:<found 20140128 in [running] tasks>
      	at __randomizedtesting.SeedInfo.seed([531157FE6D39FBB:84D79B67918CFF87]:0)
      	at org.junit.Assert.assertEquals(Assert.java:125)
      	at org.apache.solr.cloud.AsyncMigrateRouteKeyTest.checkAsyncRequestForCompletion(AsyncMigrateRouteKeyTest.java:61)
      	at org.apache.solr.cloud.AsyncMigrateRouteKeyTest.invokeMigrateApi(AsyncMigrateRouteKeyTest.java:78)
      	at org.apache.solr.cloud.MigrateRouteKeyTest.multipleShardMigrateTest(MigrateRouteKeyTest.java:202)
      	at org.apache.solr.cloud.AsyncMigrateRouteKeyTest.doTest(AsyncMigrateRouteKeyTest.java:46)
      	at org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:865)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      
      1. SOLR-6309.patch
        1 kB
        Shalin Shekhar Mangar

        Activity

        Hide
        Shalin Shekhar Mangar added a comment -

        Same problem as the other async test. It polls for status every 1 second but waits for just 20 seconds for a migrate command to finish and gives up. That is too low. I've seen a simple shard split take more than 90 seconds on jenkins so this should wait for at least a couple of minutes before giving up.

        Show
        Shalin Shekhar Mangar added a comment - Same problem as the other async test. It polls for status every 1 second but waits for just 20 seconds for a migrate command to finish and gives up. That is too low. I've seen a simple shard split take more than 90 seconds on jenkins so this should wait for at least a couple of minutes before giving up.
        Hide
        Shalin Shekhar Mangar added a comment -

        Increase max wait to 2 minutes.

        Show
        Shalin Shekhar Mangar added a comment - Increase max wait to 2 minutes.
        Hide
        ASF subversion and git services added a comment -

        Commit 1615075 from shalin@apache.org in branch 'dev/trunk'
        [ https://svn.apache.org/r1615075 ]

        SOLR-6309: Increase timeouts for AsyncMigrateRouteKeyTest

        Show
        ASF subversion and git services added a comment - Commit 1615075 from shalin@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1615075 ] SOLR-6309 : Increase timeouts for AsyncMigrateRouteKeyTest
        Hide
        ASF subversion and git services added a comment -

        Commit 1615076 from shalin@apache.org in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1615076 ]

        SOLR-6309: Increase timeouts for AsyncMigrateRouteKeyTest

        Show
        ASF subversion and git services added a comment - Commit 1615076 from shalin@apache.org in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1615076 ] SOLR-6309 : Increase timeouts for AsyncMigrateRouteKeyTest

          People

          • Assignee:
            Shalin Shekhar Mangar
            Reporter:
            Shalin Shekhar Mangar
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development