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

TestScmSafeMode#testSCMSafeModeRestrictedOp is failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.1
    • test
    • Done

    Description

      [ERROR] testSCMSafeModeRestrictedOp(org.apache.hadoop.ozone.om.TestScmSafeMode)  Time elapsed: 19.316 s  <<< FAILURE!
      java.lang.AssertionError: Expected a org.apache.hadoop.hdds.scm.exceptions.SCMException to be thrown, but got the result: : ContainerInfo{id=1, state=OPEN, pipelineID=PipelineID=100fb566-2cc0-44d6-9897-e688af5c447f, stateEnterTime=137318188, owner=5c69dc7b-2a6b-4650-a625-a63117c11d2d} | Pipeline[ Id: 100fb566-2cc0-44d6-9897-e688af5c447f, Nodes: b91596ea-34ed-4628-a027-a1cdf05095be{ip: 127.0.0.1, host: localhost, networkLocation: /default-rack, certSerialId: null}, Type:STAND_ALONE, Factor:ONE, State:OPEN]
      	at org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:492)
      	at org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:377)
      	at org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:446)
      	at org.apache.hadoop.ozone.om.TestScmSafeMode.testSCMSafeModeRestrictedOp(TestScmSafeMode.java:331)
      	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)
      

      Attachments

        Issue Links

          Activity

            People

              nanda Nandakumar
              nanda Nandakumar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m