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

Testbug: regression testcase java/nio/channels/Selector/OpRead.java is failing on 1.4.2_11b02

    XMLWordPrintable

Details

    • b01
    • sparc
    • solaris

    Description

      java/nio/channels/Selector/OpRead.java is failing on 1.4.2_11b02

      This test has been fixed in the 1.5.0 test base. Please backport to 1.4.2 workspace.
      I ran the 1.5.0 test and it passes with 1.4.2_11b02
      latte 5.8 # pwd
      /deployment1/regtests/142/test/java/nio/channels/Selector
      latte 5.8 #

      latte 5.8 # diff OpRead.java /net/nightsvr.sfbay/export4/integration/1.4.2-latest/j2se/test/java/nio/channels/Selector/OpRead.java
      latte 5.8 #

      So I have the latest against tthe master workspace yopu advised me of.

      This one gives me a fail V. similar to that described in 4993029

      qt2 5.10 $ cat /export/home/Regression/142_11b02_res/work/java/nio/channels/Selector/OpRead.jtr
      #Test Results (version 2)
      #Mon Dec 19 16:15:05 GMT 2005
      #checksum:6128bb28ad5546b8
      #-----testdescription-----
      $file=/net/latte/deployment1/regtests/142/test/java/nio/channels/Selector/OpRead.java
      $root=/net/latte/deployment1/regtests/142/test
      keywords=bug4755720
      library=..
      run=ASSUMED_ACTION main OpRead\n
      source=OpRead.java
      title=Test if OP_READ is detected with OP_WRITE in interestOps

      #-----environment-----

      #-----testresult-----
      description=file:///net/latte/deployment1/regtests/142/test/java/nio/channels/Selector/OpRead.java
      end=Mon Dec 19 16:15:05 GMT 2005
      environment=regtest
      execStatus=Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed
      javatestOS=SunOS 5.10 (x86)
      javatestVersion=2.1.6
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build main
      start=Mon Dec 19 16:15:05 GMT 2005
      status=Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed
      test=java/nio/channels/Selector/OpRead.java
      work=/export/home/Regression/142_11b02_res/work/java/nio/channels/Selector

      #section:script_messages
      ----------messages:(4/213)----------
      JDK under test: (/export/home/JDK/142_11b02/j2sdk1.4.2_11)
      java version "1.4.2_11"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-b02)
      Java HotSpot(TM) Client VM (build 1.4.2_11-b02, mixed mode)

      #section:build
      ----------messages:(3/90)----------
      command: build OpRead
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0
      result: Passed. No need to compile: OpRead.java

      #section:main
      ----------messages:(3/111)----------
      command: main OpRead
      reason: Assumed action based on file name: run main OpRead
      elapsed time (seconds): 0.425
      ----------System.out:(0/0)----------
      ----------System.err:(14/709)----------
      java.lang.RuntimeException: Test failed
              at OpRead.test(OpRead.java:45)
              at OpRead.main(OpRead.java:59)
              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:83)
              at java.lang.Thread.run(Thread.java:534)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed

      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed
      qt2 5.10 $
      qt2 5.10 $ cat /etc/release
                              Solaris 10 1/06 s10x_u1wos_17 X86
                 Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
                              Use is subject to license terms.
                                  Assembled 25 October 2005
      qt2 5.10 $ uname -a
      SunOS qt2 5.10 Generic_118844-22 i86pc i386 i86pc




      I then diffed against 5.0

      latte 5.8 # diff OpRead.java /net/latte/deployment1/regtests/150_TMP/test/java/nio/channels/Selector/OpRead.java
      1c1
      < /* @test 1.2 02/10/14
      ---
      > /* @test 1.3 04/04/09
      44c44
      < if (failCount > 100)
      ---
      > if (failCount > 10)
      45a46
      > Thread.sleep(100);
      59c60
      < test();
      ---
      > test();
      latte 5.8 #
      I tried the 5.0 testcase on 1.4.2_11b02 and it passed.

      Attachments

        Issue Links

          Activity

            People

              asaha Abhijit Saha
              wrockett Walter Rockett (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: