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

[TESTBUG] runtime/SharedArchiveFile/CdsWriteError.java fails on Mac OS with java.lang.RuntimeException

XMLWordPrintable

    • b08

      Test URL: http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=346833.JAVASE.NIGHTLY.VM.RT_Baseline.2014-01-16-122&show-limit=0&filter=
      Host: vmsqe-mac-11.ru.oracle.com, Intel Macmini6,2 2300 MHz, 8 cores, 8G, MacOSX / Mac OS X Unknown, x86_64
      Options: -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -XX:NativeMemoryTracking=detail -XX:ReservedCodeCacheSize=256M

      #Test Results (version 2)
      #Fri Jan 17 22:21:18 MSK 2014
      #checksum:3eb758b003495240
      #-----testdescription-----
      $file=/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_HS/test/runtime/SharedArchiveFile/CdsWriteError.java
      $root=/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_HS/test
      library=/testlibrary
      run=USER_SPECIFIED main CdsWriteError\n
      source=CdsWriteError.java
      title=Test how VM handles situation when it is impossible to write the CDS archive.

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

      #-----testresult-----
      description=file\:/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_HS/test/runtime/SharedArchiveFile/CdsWriteError.java
      elapsed=3198 0\:00\:03.198
      end=Fri Jan 17 22\:21\:18 MSK 2014
      environment=regtest
      execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.RuntimeException\: 'Unable to create shared archive file' missing from stdout/stderr
      hostname=vmsqe-mac-11.ru.oracle.com
      javatestOS=Mac OS X 10.8.4 (amd64)
      javatestVersion=4.4
      jtregVersion=jtreg 4.1 fcs b06
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Fri Jan 17 22\:21\:14 MSK 2014
      test=runtime/SharedArchiveFile/CdsWriteError.java
      user.name=root
      work=/export/local/aurora/sandbox/results/workDir/runtime/SharedArchiveFile

      #section:script_messages
      ----------messages:(5/315)----------
      JDK under test: (/export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/macosx-amd64)
      java version "1.8.0-ea-fastdebug"
      Java(TM) SE Runtime Environment (build 1.8.0-ea-fastdebug-b123)
      Java HotSpot(TM) 64-Bit Server VM (build 25.0-b62-internal-201401161855.cccheung.hs-jdk9-fastdebug, mixed mode)


      #section:build
      ----------messages:(3/98)----------
      command: build CdsWriteError
      reason: Named class compiled on demand
      elapsed time (seconds): 1.937
      result: Passed. Build successful

      #section:compile
      ----------messages:(3/254)----------
      command: compile -XDignore.symbol.file=true /export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_HS/test/runtime/SharedArchiveFile/CdsWriteError.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 1.937
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/112)----------
      command: main CdsWriteError
      reason: User specified action: run main CdsWriteError
      elapsed time (seconds): 1.26
      ----------System.out:(1/194)----------
      Command line: [/export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/macosx-amd64/bin/java -XX:+UnlockDiagnosticVMOptions -XX:SharedArchiveFile=./tmp/empty.jsa -Xshare:dump ]
      ----------System.err:(30/1621)----------
       stdout: [Loading classes to share ... done.
      Rewriting and linking classes ... done.
      Number of classes 2218
      Calculating fingerprints ... done.
      Removing unshareable information ... done.
      ro space: 6730328 [ 36.8% of total] out of 16777216 bytes [40.1% used] at 0x0000000800000000
      rw space: 9469096 [ 51.7% of total] out of 16777216 bytes [56.4% used] at 0x0000000801000000
      md space: 2072696 [ 11.3% of total] out of 4194304 bytes [49.4% used] at 0x0000000802000000
      mc space: 34053 [ 0.2% of total] out of 122880 bytes [27.7% used] at 0x0000000802400000
      total : 18306173 [100.0% of total] out of 37871616 bytes [48.3% used]
      ];
       stderr: []
       exitValue = 0

      java.lang.RuntimeException: 'Unable to create shared archive file' missing from stdout/stderr

      at com.oracle.java.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:80)
      at CdsWriteError.main(CdsWriteError.java:68)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:744)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: 'Unable to create shared archive file' missing from stdout/stderr

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 'Unable to create shared archive file' missing from stdout/stderr
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'Unable to create shared archive file' missing from stdout/stderr


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'Unable to create shared archive file' missing from stdout/stderr

            mseledtsov Mikhailo Seledtsov
            hseigel Harold Seigel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: