Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14435

TestAdlFileSystemContractLive#testMkdirsWithUmask assertion failed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.9.0, 3.0.0-alpha4
    • Fix Version/s: None
    • Component/s: documentation, fs/adl
    • Labels:
      None
    • Release Note:
      The "Other" entry in the default permissions of the ADL store can impact the file system contract test expecting certain permissions.

      Description

      Saw the following assertion failure in branch-2 and trunk:

      Tests run: 43, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 80.189 sec <<< FAILURE! - in org.apache.hadoop.fs.adl.live.TestAdlFileSystemContractLive
      testMkdirsWithUmask(org.apache.hadoop.fs.adl.live.TestAdlFileSystemContractLive)  Time elapsed: 0.71 sec  <<< FAILURE!
      junit.framework.AssertionFailedError: expected:<461> but was:<456>
      	at junit.framework.Assert.fail(Assert.java:57)
      	at junit.framework.Assert.failNotEquals(Assert.java:329)
      	at junit.framework.Assert.assertEquals(Assert.java:78)
      	at junit.framework.Assert.assertEquals(Assert.java:219)
      	at junit.framework.Assert.assertEquals(Assert.java:226)
      	at junit.framework.TestCase.assertEquals(TestCase.java:392)
      	at org.apache.hadoop.fs.FileSystemContractBaseTest.testMkdirsWithUmask(FileSystemContractBaseTest.java:242)
      	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:497)
      	at junit.framework.TestCase.runTest(TestCase.java:176)
      	at org.apache.hadoop.fs.adl.live.TestAdlFileSystemContractLive.runTest(TestAdlFileSystemContractLive.java:59)
      
      
      Results :
      
      Failed tests:
        TestAdlFileSystemContractLive.runTest:59->FileSystemContractBaseTest.testMkdirsWithUmask:242 expected:<461> but was:<456>
      

        Attachments

          Activity

            People

            • Assignee:
              jzhuge John Zhuge
              Reporter:
              jzhuge John Zhuge
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: