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

TestAdlFileSystemContractLive#testListStatus assertion failed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.7.0
    • Fix Version/s: None
    • Component/s: fs/adl
    • Labels:
      None
    • Target Version/s:

      Description

      TestAdlFileSystemContractLive.runTest:60->FileSystemContractBaseTest.testListStatus:273 expected:<1> but was:<11>

      Tests run: 32, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 35.118 sec <<< FAILURE! - in org.apache.hadoop.fs.adl.live.TestAdlFileSystemContractLive
      testListStatus(org.apache.hadoop.fs.adl.live.TestAdlFileSystemContractLive)  Time elapsed: 0.518 sec  <<< FAILURE!
      junit.framework.AssertionFailedError: expected:<1> but was:<11>
      	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:234)
      	at junit.framework.Assert.assertEquals(Assert.java:241)
      	at junit.framework.TestCase.assertEquals(TestCase.java:409)
      	at org.apache.hadoop.fs.FileSystemContractBaseTest.testListStatus(FileSystemContractBaseTest.java:273)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at junit.framework.TestCase.runTest(TestCase.java:176)
      	at org.apache.hadoop.fs.adl.live.TestAdlFileSystemContractLive.runTest(TestAdlFileSystemContractLive.java:60)
      

      This is the first time we saw the issue. The test store rwj2dm was created on the fly and destroyed after the test.

      The code base does not have HADOOP-14230 which cleans up the test dir better. Trying to determine whether this might help.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: