Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6479223

sun/net/ftp/B6427768.java failures on Windows and Linux-i586

XMLWordPrintable

    • b05
    • generic
    • generic
    • Verified

      On Windows and Linux-i586 the new regression test has occasional failures:

      TEST: sun/net/ftp/B6427768.java
      JDK under test: (/java/security/ws/jdk7-integrations/nightlies/ws/control/build/
      linux-i586/j2sdk-image)
      java version "1.7.0-internal"
      Java(TM) SE Runtime Environment (build 1.7.0-internal-b99)
      Java HotSpot(TM) Client VM (build 1.7.0-ea-b01, mixed mode)

      ACTION: build -- Passed. Compilation successful
      REASON: User specified action: run build FtpServer FtpCommandHandler FtpAuthHand
      ler FtpFileSystemHandler
      TIME: 18.687 seconds

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 5.213 seconds
      STDOUT:
      STDERR:

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 4.314 seconds
      STDOUT:
      STDERR:

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 2.954 seconds
      STDOUT:
      STDERR:

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 6.194 seconds
      STDOUT:
      STDERR:

      ACTION: build -- Passed. Compilation successful
      REASON: Named class compiled on demand
      TIME: 6.083 seconds

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 6.082 seconds
      STDOUT:
      STDERR:
      /.automount/shimmer/root/export/home/otto/nightlies/jdk7/ws/test/linux-i586/J2SE
      _TESTS/sun/net/ftp/B6427768.java:94: warning: sun.net.ftp.FtpLoginException is S
      un proprietary API and may be removed in a future release
      } catch(sun.net.ftp.FtpLoginException e) {
      ^
      1 warning

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.Runt
      imeException: URLConnection didn't close the ftp connection on failure to login
      REASON: User specified action: run main/othervm/timeout=500 B6427768
      TIME: 0.738 seconds
      STDOUT:
      line: USER user
      parse: cmd = USER arg = user
      line: PASS passwd
      parse: cmd = PASS arg = passwd
      line: QUIT
      parse: cmd = QUIT arg =
      STDERR:
      java.lang.RuntimeException: URLConnection didn't close the ftp connection on fai
      lure to login
      at B6427768.main(B6427768.java:99)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:
      83)
      at java.lang.Thread.run(Thread.java:619)
      Now occasionally getting the following error:

      STDOUT:
      line: USER user
      parse: cmd = USER arg = user
      line: PASS passwd
      parse: cmd = PASS arg = passwd
      line: QUIT
      parse: cmd = QUIT arg =
      STDERR:
      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
              at java.util.ArrayList.RangeCheck(ArrayList.java:547)
              at java.util.ArrayList.get(ArrayList.java:322)
              at FtpServer.killClients(FtpServer.java:75)
              at B6427768.main(B6427768.java:98)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:
      83)
              at java.lang.Thread.run(Thread.java:619)

      JavaTest Message: Test threw exception: java.lang.IndexOutOfBoundsException: Ind
      ex: 0, Size: 0
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.IndexOutOfBoundsException: Index
      : 0, Size: 0

      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.IndexOu
      tOfBoundsException: Index: 0, Size: 0

            jccollet Jean-Christophe Collet (Inactive)
            jccollet Jean-Christophe Collet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: