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

java/util/concurrent/CyclicBarrier/Basic.java fails

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 11
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      jib > TEST: java/util/concurrent/CyclicBarrier/Basic.java
      jib > TEST JDK: /opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/solaris-sparcv9-debug.jdk/jdk-11/fastdebug
      jib >
      jib > ACTION: build -- Passed. Build successful
      jib > REASON: Named class compiled on demand
      jib > TIME: 0.822 seconds
      jib > messages:
      jib > command: build Basic
      jib > reason: Named class compiled on demand
      jib > Test directory:
      jib > compile: Basic
      jib > elapsed time (seconds): 0.822
      jib >
      jib > ACTION: compile -- Passed. Compilation successful
      jib > REASON: .class file out of date or does not exist
      jib > TIME: 0.821 seconds
      jib > messages:
      jib > command: compile /opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/java/util/concurrent/CyclicBarrier/Basic.java
      jib > reason: .class file out of date or does not exist
      jib > Mode: agentvm
      jib > Agent id: 1
      jib > elapsed time (seconds): 0.821
      jib > configuration:
      jib > Boot Layer (javac runtime environment)
      jib > class path: /opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar
      jib > /opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar
      jib > patch: java.base /opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/patches/java.base
      jib >
      jib > javac compilation environment
      jib > source path: /opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/java/util/concurrent/CyclicBarrier
      jib > /opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/lib/testlibrary
      jib > class path: /opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/java/util/concurrent/CyclicBarrier
      jib > /opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/java/util/concurrent/CyclicBarrier/Basic.d
      jib > /opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/lib/testlibrary
      jib > /opt/mach5/mesos/work_dir/jib-master/install/com/oracle/java/jib/jib/3.0-SNAPSHOT/jib-3.0-SNAPSHOT-distribution.zip/jib-3.0-SNAPSHOT-distribution/lib/jib-3.0-SNAPSHOT.jar
      jib >
      jib > rerun:
      jib > cd /opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/scratch/5 && \
      jib > CPAPPEND=/opt/mach5/mesos/work_dir/jib-master/install/com/oracle/java/jib/jib/3.0-SNAPSHOT/jib-3.0-SNAPSHOT-distribution.zip/jib-3.0-SNAPSHOT-distribution/lib/jib-3.0-SNAPSHOT.jar \
      jib > HOME=/var/tmp/sparky-temp-home-8662059381044946578/user_home \
      jib > JDK8_HOME=/opt/mach5/mesos/work_dir/jib-master/install/jdk/10/46/bundles/solaris-sparcv9/jdk-10_solaris-sparcv9_bin.tar.gz/jdk-10 \
      jib > JIB_DATA_DIR=/opt/mach5/mesos/work_dir/jib-master \
      jib > JTREG_SHOWAGENT=true \
      jib > JTREG_TIMEOUT_OPTION=-timeoutFactor:10 \
      jib > JTREG_VERBOSE=fail,error,time \
      jib > LANG=C \
      jib > LC_ALL= \
      jib > LC_CTYPE= \
      jib > PATH=/bin:/usr/bin \
      jib > TZ=localtime \
      jib > /opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/solaris-sparcv9-debug.jdk/jdk-11/fastdebug/bin/javac \
      jib > -J-XX:MaxRAMPercentage=2 \
      jib > -J-ea \
      jib > -J-esa \
      jib > -J-Xmx512m \
      jib > -J-Xcomp \
      jib > -J-XX:+CreateCoredumpOnCrash \
      jib > -J-ea \
      jib > -J-esa \
      jib > -J-XX:CompileThreshold=100 \
      jib > -J-XX:+UnlockExperimentalVMOptions \
      jib > -J-server \
      jib > -J-XX:+TieredCompilation \
      jib > -J-Djava.library.path=/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/solaris-sparcv9-debug.test/jdk/jtreg/native \
      jib > -J-Dtest.class.path.prefix=/opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/java/util/concurrent/CyclicBarrier/Basic.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/java/util/concurrent/CyclicBarrier:/opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/lib/testlibrary \
      jib > -J-Dtest.src=/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/java/util/concurrent/CyclicBarrier \
      jib > -J-Dtest.src.path=/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/java/util/concurrent/CyclicBarrier:/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/lib/testlibrary \
      jib > -J-Dtest.classes=/opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/java/util/concurrent/CyclicBarrier/Basic.d \
      jib > -J-Dtest.class.path=/opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/java/util/concurrent/CyclicBarrier/Basic.d:/opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/lib/testlibrary \
      jib > -J-Dtest.vm.opts='-XX:MaxRAMPercentage=2 -ea -esa -Xmx512m' \
      jib > -J-Dtest.tool.vm.opts='-J-XX:MaxRAMPercentage=2 -J-ea -J-esa -J-Xmx512m' \
      jib > -J-Dtest.compiler.opts= \
      jib > -J-Dtest.java.opts='-Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation' \
      jib > -J-Dtest.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/solaris-sparcv9-debug.jdk/jdk-11/fastdebug \
      jib > -J-Dcompile.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/solaris-sparcv9-debug.jdk/jdk-11/fastdebug \
      jib > -J-Dtest.timeout.factor=10.0 \
      jib > -J-Dtest.nativepath=/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/solaris-sparcv9-debug.test/jdk/jtreg/native \
      jib > -d /opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/java/util/concurrent/CyclicBarrier/Basic.d \
      jib > -sourcepath /opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/java/util/concurrent/CyclicBarrier:/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/lib/testlibrary \
      jib > -classpath /opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/java/util/concurrent/CyclicBarrier:/opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/java/util/concurrent/CyclicBarrier/Basic.d:/opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/lib/testlibrary:/opt/mach5/mesos/work_dir/jib-master/install/com/oracle/java/jib/jib/3.0-SNAPSHOT/jib-3.0-SNAPSHOT-distribution.zip/jib-3.0-SNAPSHOT-distribution/lib/jib-3.0-SNAPSHOT.jar /opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/java/util/concurrent/CyclicBarrier/Basic.java
      jib > direct:
      jib > Note: Some input files use or override a deprecated API.
      jib > Note: Recompile with -Xlint:deprecation for details.
      jib >
      jib > ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed
      jib > REASON: Assumed action based on file name: run main Basic
      jib > TIME: 1.756 seconds
      jib > messages:
      jib > command: main Basic
      jib > reason: Assumed action based on file name: run main Basic
      jib > Mode: agentvm
      jib > Agent id: 16
      jib > elapsed time (seconds): 1.756
      jib > configuration:
      jib > Boot Layer
      jib > class path: /opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar
      jib > /opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar
      jib > patch: java.base /opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/patches/java.base
      jib >
      jib > Test Layer
      jib > class path: /opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/java/util/concurrent/CyclicBarrier/Basic.d
      jib > /opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/java/util/concurrent/CyclicBarrier
      jib > /opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/lib/testlibrary
      jib > /opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/lib/testlibrary
      jib > /opt/mach5/mesos/work_dir/jib-master/install/com/oracle/java/jib/jib/3.0-SNAPSHOT/jib-3.0-SNAPSHOT-distribution.zip/jib-3.0-SNAPSHOT-distribution/lib/jib-3.0-SNAPSHOT.jar
      jib >
      jib > rerun:
      jib > cd /opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/scratch/5 && \
      jib > CPAPPEND=/opt/mach5/mesos/work_dir/jib-master/install/com/oracle/java/jib/jib/3.0-SNAPSHOT/jib-3.0-SNAPSHOT-distribution.zip/jib-3.0-SNAPSHOT-distribution/lib/jib-3.0-SNAPSHOT.jar \
      jib > HOME=/var/tmp/sparky-temp-home-8662059381044946578/user_home \
      jib > JDK8_HOME=/opt/mach5/mesos/work_dir/jib-master/install/jdk/10/46/bundles/solaris-sparcv9/jdk-10_solaris-sparcv9_bin.tar.gz/jdk-10 \
      jib > JIB_DATA_DIR=/opt/mach5/mesos/work_dir/jib-master \
      jib > JTREG_SHOWAGENT=true \
      jib > JTREG_TIMEOUT_OPTION=-timeoutFactor:10 \
      jib > JTREG_VERBOSE=fail,error,time \
      jib > LANG=C \
      jib > LC_ALL= \
      jib > LC_CTYPE= \
      jib > PATH=/bin:/usr/bin \
      jib > TZ=localtime \
      jib > /opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/solaris-sparcv9-debug.jdk/jdk-11/fastdebug/bin/java \
      jib > -Dtest.class.path.prefix=/opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/java/util/concurrent/CyclicBarrier/Basic.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/java/util/concurrent/CyclicBarrier:/opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/lib/testlibrary \
      jib > -Dtest.src=/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/java/util/concurrent/CyclicBarrier \
      jib > -Dtest.src.path=/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/java/util/concurrent/CyclicBarrier:/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/lib/testlibrary \
      jib > -Dtest.classes=/opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/java/util/concurrent/CyclicBarrier/Basic.d \
      jib > -Dtest.class.path=/opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/java/util/concurrent/CyclicBarrier/Basic.d:/opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/lib/testlibrary \
      jib > -Dtest.vm.opts='-XX:MaxRAMPercentage=2 -ea -esa -Xmx512m' \
      jib > -Dtest.tool.vm.opts='-J-XX:MaxRAMPercentage=2 -J-ea -J-esa -J-Xmx512m' \
      jib > -Dtest.compiler.opts= \
      jib > -Dtest.java.opts='-Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation' \
      jib > -Dtest.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/solaris-sparcv9-debug.jdk/jdk-11/fastdebug \
      jib > -Dcompile.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/solaris-sparcv9-debug.jdk/jdk-11/fastdebug \
      jib > -Dtest.timeout.factor=10.0 \
      jib > -Dtest.nativepath=/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/solaris-sparcv9-debug.test/jdk/jtreg/native \
      jib > -classpath /opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/java/util/concurrent/CyclicBarrier/Basic.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/java/util/concurrent/CyclicBarrier:/opt/mach5/mesos/work_dir/916a7491-8bd7-4a20-a39d-d8f640458a80/testoutput/jtreg/JTwork/classes/11/lib/testlibrary:/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.511/src.full/open/test/jdk/lib/testlibrary:/opt/mach5/mesos/work_dir/jib-master/install/com/oracle/java/jib/jib/3.0-SNAPSHOT/jib-3.0-SNAPSHOT-distribution.zip/jib-3.0-SNAPSHOT-distribution/lib/jib-3.0-SNAPSHOT.jar:/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar \
      jib > Basic
      jib > STDOUT:
      jib > OK!
      jib > OK!
      jib > OK!
      jib > OK!
      jib > 3 not equal to 4
      jib >
      jib > Passed = 310, failed = 1
      jib >
      jib > STDERR:
      jib > java.lang.Exception: Stack trace
      jib > at java.base/java.lang.Thread.dumpStack(Thread.java:1425)
      jib > at Basic.fail(Basic.java:416)
      jib > at Basic.fail(Basic.java:417)
      jib > at Basic.equal(Basic.java:422)
      jib > at Basic.testInterrupts(Basic.java:405)
      jib > at Basic.realMain(Basic.java:289)
      jib > at Basic.main(Basic.java:424)
      jib > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      jib > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      jib > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      jib > at java.base/java.lang.reflect.Method.invoke(Method.java:569)
      jib > at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
      jib > at java.base/java.lang.Thread.run(Thread.java:832)
      jib > java.lang.AssertionError: Some tests failed
      jib > at Basic.main(Basic.java:426)
      jib > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      jib > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      jib > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      jib > at java.base/java.lang.reflect.Method.invoke(Method.java:569)
      jib > at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
      jib > at java.base/java.lang.Thread.run(Thread.java:832)
      jib >
      jib > JavaTest Message: Test threw exception: java.lang.AssertionError
      jib > JavaTest Message: shutting down test
      jib >
      jib >
      jib > TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed
      jib > --------------------------------------------------

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                martin Martin Buchholz
                Reporter:
                qianqli Lily Li
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: