Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-509

TestStorageContainerManager is flaky

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2.1
    • Component/s: test
    • Labels:
      None
    • Target Version/s:

      Description

      TestStorageContainerManager is failing with the below exception

      [ERROR] testRpcPermission(org.apache.hadoop.ozone.TestStorageContainerManager)  Time elapsed: 10.415 s  <<< FAILURE!
      org.junit.ComparisonFailure: expected:<[Access denied for user unknownUser. Superuser privilege is required.]> but was:<[ChillModePrecheck failed for allocateContainer]>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.apache.hadoop.ozone.TestStorageContainerManager.verifyPermissionDeniedException(TestStorageContainerManager.java:195)
      	at org.apache.hadoop.ozone.TestStorageContainerManager.testRpcPermissionWithConf(TestStorageContainerManager.java:156)
      	at org.apache.hadoop.ozone.TestStorageContainerManager.testRpcPermission(TestStorageContainerManager.java:114)
      	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:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
      
      
      [ERROR] testSCMChillModeRestrictedOp(org.apache.hadoop.ozone.TestStorageContainerManager)  Time elapsed: 5.564 s  <<< FAILURE!
      java.lang.AssertionError
      	at org.junit.Assert.fail(Assert.java:86)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.junit.Assert.assertFalse(Assert.java:64)
      	at org.junit.Assert.assertFalse(Assert.java:74)
      	at org.apache.hadoop.ozone.TestStorageContainerManager.testSCMChillModeRestrictedOp(TestStorageContainerManager.java:595)
      

        Attachments

        1. HDDS-509-ozone-0.2.001.patch
          2 kB
          Xiaoyu Yao
        2. HDDS-509-ozone-0.2.002.patch
          1 kB
          Ajay Kumar

          Activity

            People

            • Assignee:
              xyao Xiaoyu Yao
              Reporter:
              nanda Nanda kumar
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: