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

solaris-x64 promoted bits image is missing 32-bit demo files

    Details

      Description

      The solaris-x64 promoted bits image is supposed to be a superset
      of the solaris-i586 promoted bits image. This "feature" allows
      the solaris-x64 promoted bits image to be used for both Solaris X86
      and Solaris X64 testing.

      In my baseline testing of JDK8-B45 on Solaris X86, I noticed that
      the JVM/TI demo tests were failing:

      $ ck_test_results sdk-demo_jvmti-prod-client-prod-mixed.solaris-i586
      Results dir: sdk-demo_jvmti-prod-client-prod-mixed.solaris-i586
          executed: 19 passed: 11 ignored: 0 FAILED: 8
          UNEXPECTED: 6
          time: 2 minute(s)

          Failed test logs:
          test name: demo/jvmti/versionCheck/FailsWhenJvmtiVersionDiffers.java
          log file: sdk-demo_jvmti-prod-client-prod-mixed.solaris-i586/JTwork/demo/jvmti/versionCheck/FailsWhenJvmtiVersionDiffers.jtr
              This is an UNEXPECTED test FAILure.
              on allbugs list via: 6945474 7100130 7140865 7182160
          test name: demo/jvmti/minst/MinstTest.java
          log file: sdk-demo_jvmti-prod-client-prod-mixed.solaris-i586/JTwork/demo/jvmti/minst/MinstTest.jtr
              This is an UNEXPECTED test FAILure.
              on allbugs list via: 7100130 7140865 7182160
          test name: demo/jvmti/waiters/WaitersTest.java
          log file: sdk-demo_jvmti-prod-client-prod-mixed.solaris-i586/JTwork/demo/jvmti/waiters/WaitersTest.jtr
              This is an UNEXPECTED test FAILure.
              on allbugs list via: 7044637 7100130 7140865 7182160
          test name: demo/jvmti/mtrace/TraceJFrame.java
          log file: sdk-demo_jvmti-prod-client-prod-mixed.solaris-i586/JTwork/demo/jvmti/mtrace/TraceJFrame.jtr
              This is an UNEXPECTED test FAILure.
              on allbugs list via: 7100130 7140865 7162111 7182160
          test name: demo/jvmti/heapViewer/HeapViewerTest.java
          log file: sdk-demo_jvmti-prod-client-prod-mixed.solaris-i586/JTwork/demo/jvmti/heapViewer/HeapViewerTest.jtr
              This is an UNEXPECTED test FAILure.
              on allbugs list via: 7100130 7140865 7182160
          test name: demo/jvmti/gctest/Gctest.java
          log file: sdk-demo_jvmti-prod-client-prod-mixed.solaris-i586/JTwork/demo/jvmti/gctest/Gctest.jtr
              This is an UNEXPECTED test FAILure.
              on allbugs list via: 7100130 7140865 7182160


      I'm only showing the Client VM product bits -Xmixed config here,
      but these failures show up in all eight of my testing configs.

      Here is an example failure mode from FailsWhenJvmtiVersionDiffers.jtr:

      ----------System.out:(12/1389)----------
      Starting: /work/shared/baseline_jdks/1.8.0_b45/solaris-x64/jre/bin/java -cp /wor
      k/shared/test_results/jdk8/baseline/solaris-i586/b45/sdk-demo_jvmti-prod-client-
      prod-mixed.solaris-i586/JTwork/classes/demo/jvmti/versionCheck -Dtest.classes=/w
      ork/shared/test_results/jdk8/baseline/solaris-i586/b45/sdk-demo_jvmti-prod-clien
      t-prod-mixed.solaris-i586/JTwork/classes/demo/jvmti/versionCheck -Xcheck:jni -Xv
      erify:all -agentpath:/work/shared/baseline_jdks/1.8.0_b45/solaris-x64/jre/../dem
      o/jvmti/versionCheck/lib/libversionCheck.so Hello
      Error occurred during initialization of VM
      Could not find agent library /work/shared/baseline_jdks/1.8.0_b45/solaris-x64/jr
      e/../demo/jvmti/versionCheck/lib/libversionCheck.so in absolute path, with error
      : ld.so.1: java: fatal: /work/shared/baseline_jdks/1.8.0_b45/solaris-x64/jre/../
      demo/jvmti/versionCheck/lib/libversionCheck.so: open failed: No such file or dir
      ectory
      Exit code is 1
      <beginning of Error Stream buffer>

      <end of buffer>
      <beginning of Input Stream buffer>
      Error occurred during initialization of VM
      Could not find agent library /work/shared/baseline_jdks/1.8.0_b45/solaris-x64/jr
      e/../demo/jvmti/versionCheck/lib/libversionCheck.so in absolute path, with error
      : ld.so.1: java: fatal: /work/shared/baseline_jdks/1.8.0_b45/solaris-x64/jre/../
      demo/jvmti/versionCheck/lib/libversionCheck.so: open failed: No such file or dir
      ectory

      <end of buffer>
      ----------System.err:(19/1059)----------
      java version "1.8.0-ea"
      Java(TM) SE Runtime Environment (build 1.8.0-ea-b45)
      Java HotSpot(TM) Client VM (build 24.0-b14, mixed mode)

      java.lang.RuntimeException: Test failed - exit return code non-zero (exitStatus=
      =1)
              at DemoRun.runit(DemoRun.java:217)
              at DemoRun.runit(DemoRun.java:109)
              at FailsWhenJvmtiVersionDiffers.main(FailsWhenJvmtiVersionDiffers.java:4
      1)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:474)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:
      94)
              at java.lang.Thread.run(Thread.java:722)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed
      - exit return code non-zero (exitStatus==1)
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed -
      exit return code non-zero (exitStatus==1)
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeExcep
      tion: Test failed - exit return code non-zero (exitStatus==1)


      test result: Failed. Execution failed: `main' threw exception: java.lang.Runtime
      Exception: Test failed - exit return code non-zero (exitStatus==1)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                katleman David Katleman
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: