Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16392

TestWebHdfsFileSystemContract#testResponseCode fails

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • test

    Description

      We can find a lot of failed cases with searching "TestWebHdfsFileSystemContract" in "pull requests" (https://github.com/apache/hadoop/pulls?q=is%3Apr+is%3Aopen+TestWebHdfsFileSystemContract)

      And they all have the following exception log

      [ERROR] testResponseCode(org.apache.hadoop.hdfs.web.TestWebHdfsFileSystemContract)  Time elapsed: 30.019 s  <<< ERROR!
      org.junit.runners.model.TestTimedOutException: test timed out after 30000 milliseconds
      	at java.net.SocketInputStream.socketRead0(Native Method)
      	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
              ...
      
      [ERROR] org.apache.hadoop.hdfs.web.TestWebHdfsFileSystemContract.testResponseCode(org.apache.hadoop.hdfs.web.TestWebHdfsFileSystemContract)
      [ERROR]   Run 1: TestWebHdfsFileSystemContract.testResponseCode:473 » TestTimedOut test timed o...
      [ERROR]   Run 2: TestWebHdfsFileSystemContract.testResponseCode:473 » TestTimedOut test timed o...
      [ERROR]   Run 3: TestWebHdfsFileSystemContract.testResponseCode:473 » TestTimedOut test timed o...
      

      This issue has the same root cause as HDFS-16168

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            secfree.teng secfree
            secfree.teng secfree
            Votes:
            0 Vote for this issue
            Watchers:
            1 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

                Slack

                  Issue deployment