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

RegTest-test javax/sound/sampled/Clip/Drain/ClipDrain.java fails

    XMLWordPrintable

Details

    • b46
    • x86
    • linux, windows_2000
    • Verified

    Description

      Name: iaR10016 Date: 06/09/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b24, JDK1.4.2-b25, JDK1.5.0-b08, JDK1.4.1-b21
      Testbase : RegTest-test
      Platform[s] : RedHat linux 7.3, Windows 2000 Pro
      switch/Mode : all
      Falling tests : javax/sound/sampled/Clip/Drain/ClipDrain.java

      Test source location:
      =====================
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/javax/sound/sampled/Clip/Drain/ClipDrain.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b24/regtest/win32/win2000_-server_smp_linux-2/workDir/test/javax/sound/sampled/Clip/Drain/ClipDrain.jtr

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

      --- script start ---
      #!/bin/sh
      TESTJAVA="/java/re/jdk/1.5.0/promoted/latest/binaries"
      TEST_BASE_PATH="/java/re/jdk/1.5.0/promoted/latest/ws/j2se/test"
      rm -rf ClipDrain.*
      cp $TEST_BASE_PATH/javax/sound/sampled/Clip/Drain/ClipDrain.java .
      $TESTJAVA/bin/javac ClipDrain.java
      $TESTJAVA/bin/java ClipDrain
      --- script end ---

      Script output:
      ==============
      Testing mixer: Java Sound Audio Engine, version 1.0
        ---------- start --------
      drain ...
      close ...
      ... done
      Playback duration: 9015 milliseconds.
      Exception in thread "main" java.lang.Exception: Drain did not wait long enough to play entire clip.
           at ClipDrain.doMixerClip(ClipDrain.java:50)
           at ClipDrain.doAll(ClipDrain.java:62)
           at ClipDrain.main(ClipDrain.java:73)

      Test output (jtr part):
      =======================
      ----------System.out:(7/170)----------
      --------------
      Testing mixer: Java Sound Audio Engine, version 1.0
        ---------- start --------
      drain ...
      close ...
      .. done
      Playback duration: 8593 milliseconds.
      ----------System.err:(15/881)----------
      java.lang.Exception: Drain did not wait long enough to play entire clip.
           at ClipDrain.doMixerClip(ClipDrain.java:50)
           at ClipDrain.doAll(ClipDrain.java:62)
           at ClipDrain.main(ClipDrain.java:73)
           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:534)

      JavaTest Message: Test threw exception: java.lang.Exception: Drain did not wait long enough to play entire clip.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: Drain did not wait long enough to play entire clip.
      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Drain did not wait long enough to play entire clip.

      test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Drain did not wait long enough to play entire clip.

      Specific machine info:
      ======================
      Hostname: linux-2
      OS: Windows 2000 Pro

      Hostname: linux-14
      OS: RedHat Linux 7.3

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

      Attachments

        Activity

          People

            fbomerssunw Florian Bomers (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: