Bug: [Flakey Tests] TestBackupStatusProgress fails opaquely waiting on YARN
Status: Open | Priority: Major | Resolution: 
Created: 19/Jan/22 18:57
Affects Version/s: 3.0.0-alpha-2

The test failed with only this message, followed by a thread dump. Apparently something timed out.

{noformat}
[ERROR] org.apache.hadoop.hbase.backup.TestBackupStatusProgress  Time elapsed: 0.175 s  <<< ERROR!
org.apache.hadoop.yarn.exceptions.YarnRuntimeException: 
java.util.concurrent.TimeoutException: Timed out waiting for condition. Thread diagnostics:
{noformat}

The junit "main" thread in the dump looks like,
{noformat}
"Time-limited test" daemon prio=5 tid=21 runnable
java.lang.Thread.State: RUNNABLE
        at java.lang.Thread.dumpThreads(Native Method)
        at java.lang.Thread.getAllStackTraces(Thread.java:1610)
        at org.apache.hadoop.test.TimedOutTestsListener.buildThreadDump(TimedOutTestsListener.java:87)
        at org.apache.hadoop.test.TimedOutTestsListener.buildThreadDiagnosticString(TimedOutTestsListener.java:73)
        at org.apache.hadoop.test.GenericTestUtils.waitFor(GenericTestUtils.java:389)
        at org.apache.hadoop.mapreduce.v2.MiniMRYarnCluster$JobHistoryServerWrapper.serviceStart(MiniMRYarnCluster.java:260)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:194)
        at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:121)
        at org.apache.hadoop.yarn.server.MiniYARNCluster.serviceStart(MiniYARNCluster.java:322)
        at org.apache.hadoop.mapreduce.v2.MiniMRYarnCluster.serviceStart(MiniMRYarnCluster.java:211)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:194)
        at org.apache.hadoop.mapred.MiniMRClientClusterFactory.create(MiniMRClientClusterFactory.java:80)
        at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:188)
        at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:176)
        at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:168)
        at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:129)
        at org.apache.hadoop.hbase.HBaseTestingUtil.startMiniMapReduceCluster(HBaseTestingUtil.java:2336)
        at org.apache.hadoop.hbase.HBaseTestingUtil.startMiniMapReduceCluster(HBaseTestingUtil.java:2269)
        at org.apache.hadoop.hbase.backup.TestBackupBase.setUpHelper(TestBackupBase.java:300)
        at org.apache.hadoop.hbase.backup.TestBackupBase.setUp(TestBackupBase.java:327)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
        at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at org.apache.hadoop.hbase.SystemExitRule$1.evaluate(SystemExitRule.java:38)
        at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
        at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.lang.Thread.run(Thread.java:748)
{noformat}