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

Regression test java/util/Date/bug4323273.sh fails on Linux

XMLWordPrintable

    • beta2
    • generic, x86
    • generic, linux, solaris_8
    • Verified

      This regression test creates threads until it receives an error, and then it
      proceeds with the test itself. This is a problem on Linux systems, where the
      total number of threads is limited and the test is therefore unable to complete
      properly when run under the jtreg harness.

      -- mr@eng 2001/7/17

       /////////////////////

      The regression test java/util/Date/bug4323273.sh is failing on Linux 7.1 for the reasons that Mark has outlined above. Because of this failure of this test, more than 600 other regression tests are failing. Mostly because of the unstable condition this test leaves the machine in. This test also fails on win98 but not Win NT or win2000. On Solaris this test passes with no problem.

      al.smith@eng 2001-07-23

      #Test Results (version 2)
      #Mon Jul 23 17:13:11 PDT 2001
      #checksum:423933ff0d83e88d
      #-----testdescription-----
      $file=/.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b72/java/util/Date/bug4323273.sh
      $root=/.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b72
      keywords=bug4323273 shell
      run=USER_SPECIFIED build mtdate\nUSER_SPECIFIED shell/timeout=800 bug4323273.sh\n
      source=bug4323273.sh
      title=Make sure that the static initialization is properly synchronized.

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

      #-----testresult-----
      description=file:///.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b72/java/util/Date/bug4323273.sh
      end=Mon Jul 23 17:13:11 PDT 2001
      environment=regtest
      execStatus=Failed. Execution failed: Program `sh' interrupted! (timed out?)
      javatestOS=Redhat Linux 7.1 (x86)
      javatestVersion=2.1.5
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile shell
      start=Mon Jul 23 16:59:48 PDT 2001
      status=Failed. Execution failed: Program `sh' interrupted! (timed out?)
      test=java/util/Date/bug4323273.sh
      work=/export0/results/regression/merlin/b72/cwbybkr.eng.sun.com2.4.2-2-jth13-jdk14b72-07.23-16.59-java-util-Date/java/util/Date

      #section:script_messages
      ----------messages:(5/289)----------
      JDK under test: (/net/sqesvr/export/st1/jdk14-beta/b72/linux-i386)
      java version "1.4.0-beta_refresh"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b72)
      Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b72, mixed mode)
      Timeout signalled after 800.0 seconds

      #section:build
      ----------messages:(3/102)----------
      command: build mtdate
      reason: User specified action: run build mtdate
      elapsed time (seconds): 2.256
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/200)----------
      command: compile /.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b72/java/util/Date/mtdate.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 2.248
      ----------System.out:(0/0)----------
      ----------System.err:(2/191)----------
      Note: /.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b72/java/util/Date/mtdate.java uses or overrides a deprecated API.
      Note: Recompile with -deprecation for details.
      result: Passed. Compilation successful

      #section:shell
      ----------messages:(3/130)----------
      command: shell bug4323273.sh
      reason: User specified action: run shell/timeout=800 bug4323273.sh
      elapsed time (seconds): 800.022
      ----------System.out:(0/0)----------
      ----------System.err:(9/422)----------
      1014 threads started.
      Exception in thread "main" java.lang.OutOfMemoryError: unable to create new native thread
      at java.lang.Thread.start(Native Method)
      at java.lang.Shutdown.runHooks(Shutdown.java:129)
      at java.lang.Shutdown.sequence(Shutdown.java:168)
      at java.lang.Shutdown.exit(Shutdown.java:213)
      at java.lang.Runtime.exit(Runtime.java:93)
      at java.lang.System.exit(System.java:711)
      at mtdate.main(mtdate.java:61)
      result: Failed. Execution failed: Program `sh' interrupted! (timed out?)


      test result: Failed. Execution failed: Program `sh' interrupted! (timed out?)

            okutsu Masayoshi Okutsu
            mr Mark Reinhold
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: