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

Regression-test javax/sound/sampled/Mixers/DisabledAssertionCrash.java fails

    XMLWordPrintable

Details

    Description



      Name: iaR10016 Date: 06/24/2004


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b56, JDK1.4.2-b28
      Testbase : Regression-test
      Platform[s] : Cinnabar (Gnome2)
      switch/Mode : -client
      Falling test: javax/sound/sampled/Mixers/DisabledAssertionCrash.java

      Bug 5044140 was marked as "integrated in tiger-beta2" at 05/18/04, however, Regression test
      javax/sound/sampled/Mixers/DisabledAssertionCrash.java still hangs and fails with the same
      output using JDK1.5.0-b56 on my Cinnabar Linux box.

      Please, see the bug 5044140 for more details.

      Please, see "Specific machine info" section to get more information about the tested system
      configuration.

      Please, let me know if you need more information about the failure.

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/all/b56/ws/j2se/test/javax/sound/sampled/Mixers/DisabledAssertionCrash.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b56/regtest/linux/Cinnabar_Gnome__linux-12/workDir/test/javax/sound/sampled/Mixers/DisabledAssertionCrash.jtr

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

      --- script start ---
      #!/bin/sh
      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir

      #Paths in Java Software:
      JT_HOME="/java/re/jct-tools/3.1.2/archive/fcs/binaries"
      JAVA_HOME="/java/re/jdk/1.5.0/promoted/all/b56/binaries/linux-i586"
      TEST_BASE_PATH="/java/re/jdk/1.5.0/promoted/all/b56/ws/j2se/test"

      #Alternative paths outside Java Software
      #JT_HOME="/net/koori.sfbay/onestop/jct-tools/3.1.2/archive/fcs/binaries"
      #JAVA_HOME="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b56/binaries/linux-i586"
      #TEST_BASE_PATH="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b56/ws/j2se/test"

      TESTVMOPTS="-client"
      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"
      TEST="javax/sound/sampled/Mixers/DisabledAssertionCrash.java"

      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1
      #rm $WORK_DIR/jtData/ResultCache.jtw 2>&1
      cd $WORK_DIR/scratch

      $JAVA_HOME/bin/java -showversion -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=$DISPLAY,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=$DISPLAY -DlocalHost=`uname -n` -Dprogram=jtreg com.sun.javatest.regtest.Main -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/$TEST"
      --- script end ---

      Script output:
      ==============
      java version "1.5.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta3-b56)
      Java HotSpot(TM) Client VM (build 1.5.0-beta3-b56, mixed mode)
      JavaTest HTTPd - Success, active on port 1903
      JavaTest HTTPd server available at http://129.144.234.222:1903/
      runner starting test: javax/sound/sampled/Mixers/DisabledAssertionCrash.java
      runner finished test: javax/sound/sampled/Mixers/DisabledAssertionCrash.java
      Failed. Execution failed: Program `/net/linux-15/export/home/java/jdk1.5.0/linux/bin/java' interrupted! (timed out?)
      Test results: failed: 1
      Report written to /net/linux-15/export/home/store/users/ira/bugs/reportDir/report.html
      Results written to /.automount/linux-15/root/export/home/store/users/ira/bugs/workDir/test
      Error: Some tests failed or other problems occurred.

      Test output (jtr part):
      =======================
      ----------System.out:(7/331)----------
      This program hangs if priority is set,
      and assertion is in the code.
      The program crashes the entire Windows system
      if assertions are disabled.
      SourceDataLine: com.sun.media.sound.MixerSourceLine@863399
      TargetDataLine: com.sun.media.sound.SimpleInputDevice$InputDeviceDataLine@5ac072
      Buffer time: 11.609977 millis. 1722 iterations.
      ----------System.err:(0/0)----------
      result: Failed. Execution failed: Program `/export/home/java/jdk1.5.0/bin/java' interrupted! (timed out?)

      test result: Failed. Execution failed: Program `/export/home/java/jdk1.5.0/bin/java' interrupted! (timed out?)

      Specific machine info:
      ======================
      Hostname: linux-12
      OS: Cinnabar (Gnome)
      ...
      % uname -a
      Linux linux-12 2.4.19-4GB #1 Fri Apr 2 19:59:17 UTC 2004 i686 unknown
      % cat /etc/issue

      Welcome to Sun Java Desktop Release2

      % cat /proc/asound/version
      Advanced Linux Sound Architecture Driver Version 0.9.0rc7.
      Compiled on Apr 2 2004 for kernel 2.4.19-4GB.
      %
      ...

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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              irasunw Ira Ira (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Imported:
                Indexed: