The following seven tests fail when the tests are run in
'othervm' mode instead of 'agentvm' mode:
gc/stringdedup/TestStringDeduplicationAgeThreshold.java
gc/stringdedup/TestStringDeduplicationFullGC.java
gc/stringdedup/TestStringDeduplicationInterned.java
gc/stringdedup/TestStringDeduplicationPrintOptions.java
gc/stringdedup/TestStringDeduplicationTableResize.java
gc/stringdedup/TestStringDeduplicationYoungGC.java
runtime/cds/appcds/OldClassTest.java
By default, my do_java_test script runs tests in "othervm":
$ do_java_test -c fastdebug 'gc/stringdedup/TestStringDeduplicationAgeThreshold.java gc/stringdedup/TestStringDeduplicationFullGC.java gc/stringdedup/TestStringDeduplicationInterned.java gc/stringdedup/TestStringDeduplicationPrintOptions.java gc/stringdedup/TestStringDeduplicationTableResize.java gc/stringdedup/TestStringDeduplicationYoungGC.java runtime/cds/appcds/OldClassTest.java'
INFO: GNUMAKE=make
INFO: GNUMAKE version is: GNU Make 3.81
INFO: JTREG options:
INFO: JOBS=1
INFO: TEST_MODE=othervm
INFO: EXTRA_PROBLEM_LISTS=ProblemList-extra.txt
INFO: VM_OPTIONS=
INFO: test_val=gc/stringdedup/TestStringDeduplicationAgeThreshold.java gc/stringdedup/TestStringDeduplicationFullGC.java gc/stringdedup/TestStringDeduplicationInterned.java gc/stringdedup/TestStringDeduplicationPrintOptions.java gc/stringdedup/TestStringDeduplicationTableResize.java gc/stringdedup/TestStringDeduplicationYoungGC.java runtime/cds/appcds/OldClassTest.java
Test Config: macosx-x86_64-normal-server-fastdebug
INFO: TIMEOUT_FACTOR=6
Done testing
Test Run macosx-x86_64-normal-server-fastdebug time: 6.09 minutes.
TEST TOTAL PASS FAIL ERROR
jtreg:open/test/hotspot/jtreg/gc/stringdedup/TestStringDeduplicationAgeThreshold.java
>> 1 0 1 0 <<
jtreg:open/test/hotspot/jtreg/gc/stringdedup/TestStringDeduplicationFullGC.java
>> 1 0 1 0 <<
jtreg:open/test/hotspot/jtreg/gc/stringdedup/TestStringDeduplicationInterned.java
>> 1 0 1 0 <<
jtreg:open/test/hotspot/jtreg/gc/stringdedup/TestStringDeduplicationPrintOptions.java
>> 1 0 1 0 <<
jtreg:open/test/hotspot/jtreg/gc/stringdedup/TestStringDeduplicationTableResize.java
>> 1 0 1 0 <<
jtreg:open/test/hotspot/jtreg/gc/stringdedup/TestStringDeduplicationYoungGC.java
>> 1 0 1 0 <<
jtreg:open/test/hotspot/jtreg/runtime/cds/appcds/OldClassTest.java
>> 1 0 1 0 <<
7 failure(s) found in log=do_java_test.macosx-x86_64-normal-server-fastdebug.log
TEST: gc/stringdedup/TestStringDeduplicationAgeThreshold.java
LOG: build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationAgeThreshold_java/gc/stringdedup/TestStringDeduplicationAgeThreshold.jtr
Saving build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationAgeThreshold_java/gc/stringdedup/TestStringDeduplicationAgeThreshold.jtr as /work/shared/mirrors/src_clones/jdk/jdk_baseline.git/test_failures.2021-05-24-154707/TestStringDeduplicationAgeThreshold.jtr.fastdebug
TEST: gc/stringdedup/TestStringDeduplicationFullGC.java
LOG: build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationFullGC_java/gc/stringdedup/TestStringDeduplicationFullGC.jtr
Saving build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationFullGC_java/gc/stringdedup/TestStringDeduplicationFullGC.jtr as /work/shared/mirrors/src_clones/jdk/jdk_baseline.git/test_failures.2021-05-24-154707/TestStringDeduplicationFullGC.jtr.fastdebug
TEST: gc/stringdedup/TestStringDeduplicationInterned.java
LOG: build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationInterned_java/gc/stringdedup/TestStringDeduplicationInterned.jtr
Saving build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationInterned_java/gc/stringdedup/TestStringDeduplicationInterned.jtr as /work/shared/mirrors/src_clones/jdk/jdk_baseline.git/test_failures.2021-05-24-154707/TestStringDeduplicationInterned.jtr.fastdebug
TEST: gc/stringdedup/TestStringDeduplicationPrintOptions.java
LOG: build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationPrintOptions_java/gc/stringdedup/TestStringDeduplicationPrintOptions.jtr
Saving build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationPrintOptions_java/gc/stringdedup/TestStringDeduplicationPrintOptions.jtr as /work/shared/mirrors/src_clones/jdk/jdk_baseline.git/test_failures.2021-05-24-154707/TestStringDeduplicationPrintOptions.jtr.fastdebug
TEST: gc/stringdedup/TestStringDeduplicationTableResize.java
LOG: build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationTableResize_java/gc/stringdedup/TestStringDeduplicationTableResize.jtr
Saving build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationTableResize_java/gc/stringdedup/TestStringDeduplicationTableResize.jtr as /work/shared/mirrors/src_clones/jdk/jdk_baseline.git/test_failures.2021-05-24-154707/TestStringDeduplicationTableResize.jtr.fastdebug
TEST: gc/stringdedup/TestStringDeduplicationYoungGC.java
LOG: build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationYoungGC_java/gc/stringdedup/TestStringDeduplicationYoungGC.jtr
Saving build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationYoungGC_java/gc/stringdedup/TestStringDeduplicationYoungGC.jtr as /work/shared/mirrors/src_clones/jdk/jdk_baseline.git/test_failures.2021-05-24-154707/TestStringDeduplicationYoungGC.jtr.fastdebug
TEST: runtime/cds/appcds/OldClassTest.java
LOG: build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_runtime_cds_appcds_OldClassTest_java/runtime/cds/appcds/OldClassTest.jtr
Saving build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_runtime_cds_appcds_OldClassTest_java/runtime/cds/appcds/OldClassTest.jtr as /work/shared/mirrors/src_clones/jdk/jdk_baseline.git/test_failures.2021-05-24-154707/OldClassTest.jtr.fastdebug
Total test time: 6.09 minutes.
'othervm' mode instead of 'agentvm' mode:
gc/stringdedup/TestStringDeduplicationAgeThreshold.java
gc/stringdedup/TestStringDeduplicationFullGC.java
gc/stringdedup/TestStringDeduplicationInterned.java
gc/stringdedup/TestStringDeduplicationPrintOptions.java
gc/stringdedup/TestStringDeduplicationTableResize.java
gc/stringdedup/TestStringDeduplicationYoungGC.java
runtime/cds/appcds/OldClassTest.java
By default, my do_java_test script runs tests in "othervm":
$ do_java_test -c fastdebug 'gc/stringdedup/TestStringDeduplicationAgeThreshold.java gc/stringdedup/TestStringDeduplicationFullGC.java gc/stringdedup/TestStringDeduplicationInterned.java gc/stringdedup/TestStringDeduplicationPrintOptions.java gc/stringdedup/TestStringDeduplicationTableResize.java gc/stringdedup/TestStringDeduplicationYoungGC.java runtime/cds/appcds/OldClassTest.java'
INFO: GNUMAKE=make
INFO: GNUMAKE version is: GNU Make 3.81
INFO: JTREG options:
INFO: JOBS=1
INFO: TEST_MODE=othervm
INFO: EXTRA_PROBLEM_LISTS=ProblemList-extra.txt
INFO: VM_OPTIONS=
INFO: test_val=gc/stringdedup/TestStringDeduplicationAgeThreshold.java gc/stringdedup/TestStringDeduplicationFullGC.java gc/stringdedup/TestStringDeduplicationInterned.java gc/stringdedup/TestStringDeduplicationPrintOptions.java gc/stringdedup/TestStringDeduplicationTableResize.java gc/stringdedup/TestStringDeduplicationYoungGC.java runtime/cds/appcds/OldClassTest.java
Test Config: macosx-x86_64-normal-server-fastdebug
INFO: TIMEOUT_FACTOR=6
Done testing
Test Run macosx-x86_64-normal-server-fastdebug time: 6.09 minutes.
TEST TOTAL PASS FAIL ERROR
jtreg:open/test/hotspot/jtreg/gc/stringdedup/TestStringDeduplicationAgeThreshold.java
>> 1 0 1 0 <<
jtreg:open/test/hotspot/jtreg/gc/stringdedup/TestStringDeduplicationFullGC.java
>> 1 0 1 0 <<
jtreg:open/test/hotspot/jtreg/gc/stringdedup/TestStringDeduplicationInterned.java
>> 1 0 1 0 <<
jtreg:open/test/hotspot/jtreg/gc/stringdedup/TestStringDeduplicationPrintOptions.java
>> 1 0 1 0 <<
jtreg:open/test/hotspot/jtreg/gc/stringdedup/TestStringDeduplicationTableResize.java
>> 1 0 1 0 <<
jtreg:open/test/hotspot/jtreg/gc/stringdedup/TestStringDeduplicationYoungGC.java
>> 1 0 1 0 <<
jtreg:open/test/hotspot/jtreg/runtime/cds/appcds/OldClassTest.java
>> 1 0 1 0 <<
7 failure(s) found in log=do_java_test.macosx-x86_64-normal-server-fastdebug.log
TEST: gc/stringdedup/TestStringDeduplicationAgeThreshold.java
LOG: build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationAgeThreshold_java/gc/stringdedup/TestStringDeduplicationAgeThreshold.jtr
Saving build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationAgeThreshold_java/gc/stringdedup/TestStringDeduplicationAgeThreshold.jtr as /work/shared/mirrors/src_clones/jdk/jdk_baseline.git/test_failures.2021-05-24-154707/TestStringDeduplicationAgeThreshold.jtr.fastdebug
TEST: gc/stringdedup/TestStringDeduplicationFullGC.java
LOG: build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationFullGC_java/gc/stringdedup/TestStringDeduplicationFullGC.jtr
Saving build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationFullGC_java/gc/stringdedup/TestStringDeduplicationFullGC.jtr as /work/shared/mirrors/src_clones/jdk/jdk_baseline.git/test_failures.2021-05-24-154707/TestStringDeduplicationFullGC.jtr.fastdebug
TEST: gc/stringdedup/TestStringDeduplicationInterned.java
LOG: build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationInterned_java/gc/stringdedup/TestStringDeduplicationInterned.jtr
Saving build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationInterned_java/gc/stringdedup/TestStringDeduplicationInterned.jtr as /work/shared/mirrors/src_clones/jdk/jdk_baseline.git/test_failures.2021-05-24-154707/TestStringDeduplicationInterned.jtr.fastdebug
TEST: gc/stringdedup/TestStringDeduplicationPrintOptions.java
LOG: build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationPrintOptions_java/gc/stringdedup/TestStringDeduplicationPrintOptions.jtr
Saving build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationPrintOptions_java/gc/stringdedup/TestStringDeduplicationPrintOptions.jtr as /work/shared/mirrors/src_clones/jdk/jdk_baseline.git/test_failures.2021-05-24-154707/TestStringDeduplicationPrintOptions.jtr.fastdebug
TEST: gc/stringdedup/TestStringDeduplicationTableResize.java
LOG: build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationTableResize_java/gc/stringdedup/TestStringDeduplicationTableResize.jtr
Saving build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationTableResize_java/gc/stringdedup/TestStringDeduplicationTableResize.jtr as /work/shared/mirrors/src_clones/jdk/jdk_baseline.git/test_failures.2021-05-24-154707/TestStringDeduplicationTableResize.jtr.fastdebug
TEST: gc/stringdedup/TestStringDeduplicationYoungGC.java
LOG: build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationYoungGC_java/gc/stringdedup/TestStringDeduplicationYoungGC.jtr
Saving build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_gc_stringdedup_TestStringDeduplicationYoungGC_java/gc/stringdedup/TestStringDeduplicationYoungGC.jtr as /work/shared/mirrors/src_clones/jdk/jdk_baseline.git/test_failures.2021-05-24-154707/TestStringDeduplicationYoungGC.jtr.fastdebug
TEST: runtime/cds/appcds/OldClassTest.java
LOG: build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_runtime_cds_appcds_OldClassTest_java/runtime/cds/appcds/OldClassTest.jtr
Saving build/macosx-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_runtime_cds_appcds_OldClassTest_java/runtime/cds/appcds/OldClassTest.jtr as /work/shared/mirrors/src_clones/jdk/jdk_baseline.git/test_failures.2021-05-24-154707/OldClassTest.jtr.fastdebug
Total test time: 6.09 minutes.
- relates to
-
CODETOOLS-7902707 user modules can be used only in othervm
- Resolved
-
JDK-8263158 [TESTBUG] FAILED: runtime/cds/appcds/OldClassTest.java
- Closed
-
JDK-8243945 use driver mode in runtime tests
- Resolved