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

Remove redundant tests in TestOsSecureRandom

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7.0
    • None
    • Reviewed

    Description

      From https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1897/console :

      Running org.apache.hadoop.crypto.random.TestOsSecureRandom
      Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 120.516 sec <<< FAILURE! - in org.apache.hadoop.crypto.random.TestOsSecureRandom
      testOsSecureRandomSetConf(org.apache.hadoop.crypto.random.TestOsSecureRandom)  Time elapsed: 120.013 sec  <<< ERROR!
      java.lang.Exception: test timed out after 120000 milliseconds
      	at java.io.FileInputStream.readBytes(Native Method)
      	at java.io.FileInputStream.read(FileInputStream.java:220)
      	at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
      	at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
      	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
      	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
      	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
      	at java.io.InputStreamReader.read(InputStreamReader.java:167)
      	at java.io.BufferedReader.fill(BufferedReader.java:136)
      	at java.io.BufferedReader.read1(BufferedReader.java:187)
      	at java.io.BufferedReader.read(BufferedReader.java:261)
      	at org.apache.hadoop.util.Shell$ShellCommandExecutor.parseExecResult(Shell.java:715)
      	at org.apache.hadoop.util.Shell.runCommand(Shell.java:524)
      	at org.apache.hadoop.util.Shell.run(Shell.java:455)
      	at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:702)
      	at org.apache.hadoop.crypto.random.TestOsSecureRandom.testOsSecureRandomSetConf(TestOsSecureRandom.java:149)
      

      Attachments

        1. HADOOP-11125-1.patch
          1 kB
          Masanori Oyama

        Issue Links

          Activity

            People

              ooyamams Masanori Oyama
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: