Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-24493

[flakey test] TestExportSnapshot family of tests failing due to timeout in AbstractDelegationTokenSecretManager$ExpiredTokenRemover

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 3.0.0-alpha-1, 2.3.0
    • test
    • None

    Description

      I've observed another occurrence of this test timing out, over onĀ https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1786/3/

      The failure message is cryptic, but I think i found the issue. This isn't the HBaseClassTestRule invoking the timeout, it's something in the test, I think in the mini-cluster.

      There appears to be a timeout set in some kind of secret manager, which is too aggressive for this mini-cluster test. The last component of the mini-cluster, MapReduce, is finally available at T+273501ms – ~4.5 minutes after process launch. This is how I interpret the log line

      2020-06-02 03:20:49,252 INFO  [Thread-223] server.Server(419): Started @273501ms
      

      a scant 20ms later we get

      2020-06-02 03:20:50,274 ERROR [Thread[Thread-224,5,FailOnTimeoutGroup]] delegation.AbstractDelegationTokenSecretManager$ExpiredTokenRemover(700): ExpiredTokenRemover received java.lang.InterruptedException: sleep interrupted
      2020-06-02 03:20:50,351 INFO  [Time-limited test] hbase.HBaseTestingUtility(1272): Shutting down minicluster
      

      These thread group names have no meaning to me.

      Attachments

        Issue Links

          Activity

            People

              stack Michael Stack
              ndimiduk Nick Dimiduk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: