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

RegTest-test java/net/ipv6tests/TcpTest.java failed, Mercury

XMLWordPrintable

    • x86
    • linux



      Name: aaR10208 Date: 10/11/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0 b20-b23
      Testbase : RegTest-test
      Platform[s] : Mercury
      switch/Mode : generic
      Falling test[s]: java/net/ipv6tests/TcpTest.java

      RegTest-test java/net/ipv6tests/TcpTest.java test fails on JDK1.5.0 b20-b23 on Marcury machine.
      Unable to check with jdk1.4.2 because of 'NoSuchMethodError: java.net.Inet6Address.getScopeId()I'.


      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/all/b23/ws/j2se/test/java/net/ipv6tests/TcpTest.java

      jtr file location:
      ==================
      /net/jtgb4u4c/export/sail15/results.2/tiger/b20/regtest/linux/mercury/workDir/test/java/net/ipv6tests/TcpTest.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)

      --- script start ---
      #!/bin/sh
      JDK=/net/koori/onestop/jdk/1.5.0/promoted/all/b23/binaries/linux-i586
      TEST_BASE=/net/koori/onestop/jdk/1.5.0/promoted/all/b23/ws/j2se/test

      ##JDK=/net/koori/onestop/jdk/1.5.0/promoted/all/b23/binaries/linux-i586
      ##TEST_BASE=/net/jtgb4u4c/export/sail16/TB/test

      TESTSRC=${TEST_BASE}/java/net/ipv6tests/
      TEST=TcpTest
      cp ${TESTSRC}/${TEST}.java .
      cp ${TESTSRC}/Tests.java .
      ${JDK}/bin/javac *.java

      ${JDK}/bin/java -showversion ${TEST}
      --- script end ---

      Script output:
      ==============
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b23)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b23, mixed mode)

      Test1: OK
      Test1: OK
      Test2: OK
      Exception in thread "main" java.lang.RuntimeException: checkTime failed: got 13030 expected 3000
               at Tests.checkTime(Tests.java:107)
               at TcpTest.test3(TcpTest.java:212)
               at TcpTest.main(TcpTest.java:51)

      Test output (jtr part):
      =======================
      ----------System.out:(3/30)----------
      Test1: OK
      Test1: OK
      Test2: OK
      ----------System.err:(15/841)----------
      java.lang.RuntimeException: checkTime failed: got 13030 expected 3000
      at Tests.checkTime(Tests.java:107)
      at TcpTest.test3(TcpTest.java:212)
      at TcpTest.main(TcpTest.java:51)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
      at java.lang.Thread.run(Thread.java:549)

      [...]

      Specific machine info:
      ======================
      Hostname: jtg-li111.sfbay
      OS: Mercury (SuSE Linux Desktop 1.0 (i586))
      uname -a: Linux jtg-li111 2.4.19-4GB #1 Fri Aug 29 14:46:49 UTC 2003 i686 unknown


      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: