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

Test4796630 fails on win2003 while passes with Win XP and win 2000 Pro

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.2_06
    • other-libs
    • x86
    • windows_2003

      Test4796630 (MultiBufferDuke.java) is failing for 1.4.2._06 b02 on Win 2003 SE only while it is passing on Win XP and Win 2000 Pro.
      The test is trying to set the display mode to FULL SCREEN and it is able to do so in WIn XP and Win 2000 Pro while Win2003 SE is giving error and hence the test is failing .
      This test is failing on Win 2003 SE from 142 FCS and the fail is also seen with 1.4.2_06 b01 as well.
      This does not seem like a JDK bug but is related to how the Full screen display is set . jtr file for the test run is also attached with this
      Please see below information from test.out when run manually

      java.lang.InternalError: Could not get display modes
              at sun.awt.Win32GraphicsDevice.enumDisplayModes(Native Method)
              at sun.awt.Win32GraphicsDevice.getDisplayModes(Win32GraphicsDevice.java:
      335)
              at ChooseDisplay.<init>(MultiBufferDuke.java:79)
              at MultiBufferDuke.main(MultiBufferDuke.java:398)
              at Test4796630$1.run(Test4796630.java:31)
              at java.lang.Thread.run(Thread.java:534)
      Trace:
      Start to wait frame "Frame with title "Choose Display Mode"" opened
      Error:
      Frame "Frame with title "Choose Display Mode"" has not been opened in 60015 mill
      iseconds
      org.netbeans.jemmy.TimeoutExpiredException: Unknown waiting



      Testcase can be obtained from /net/jtest-s14.india/export1/regtests/142/test/CTE_REGTEST/Generic/4796630

      Output from JTR file is given below
      #Test Results (version 2)
      #Wed Sep 01 06:51:38 GMT+05:30 2004
      #checksum:380bd3c3c9338fac
      #-----testdescription-----
      $file=C:\\trash\\4796630\\MultiBufferDuke.java
      $root=C:\\trash
      keywords=bug4796630 shell
      run=USER_SPECIFIED shell Test4796630.sh\r\n
      source=MultiBufferDuke.java
      title=REGRESSION: fullscreen apps crash on NT4 and win98 Fixed in JDK1.4.1_02 Respin

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

      #-----testresult-----
      description=file:///C:/trash/4796630/MultiBufferDuke.java
      end=Wed Sep 01 06:51:38 GMT+05:30 2004
      environment=regtest
      execStatus=Failed. Execution failed: exit code 1
      javatestOS=Windows 2003 5.2 (x86)
      javatestVersion=2.1.6
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages shell
      start=Wed Sep 01 06:50:32 GMT+05:30 2004
      status=Failed. Execution failed: exit code 1
      test=4796630/MultiBufferDuke.java
      work=C:\\export\\updates\\1.4.2_06\\b02\\JTwork\\4796630

      #section:script_messages
      ----------messages:(4/193)----------
      JDK under test: (d:/j2sdk1.4.2_06)
      java version "1.4.2_06"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b02)
      Java HotSpot(TM) Client VM (build 1.4.2_06-b02, mixed mode)

      #section:shell
      ----------messages:(3/122)----------
      command: shell Test4796630.sh
      reason: User specified action: run shell Test4796630.sh
      elapsed time (seconds): 66.656
      ----------System.out:(1/13)----------
      Test Failed
      ----------System.err:(1/34)----------
      java full version "1.4.2_06-b02"
      result: Failed. Execution failed: exit code 1


      test result: Failed. Execution failed: exit code 1

      ###@###.### 2004-09-01
      ###@###.### 2004-09-01

            asaha Abhijit Saha
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: