JDK-8219513 : compiler/codegen/aes/TestCipherBlockChainingEncrypt.java timeout on Solaris-sparc
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris
  • CPU: sparc
  • Submitted: 2019-02-21
  • Updated: 2020-12-16
  • Resolved: 2019-03-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13
11.0.11-oracleFixed 13 b11Fixed
Related Reports
Relates :  
Relates :  
Description
compiler/codegen/aes/TestCipherBlockChainingEncrypt.java in mach 5

cd /scratch/opt/mach5/mesos/work_dir/281e020a-5919-48dd-9104-25f23487a16f/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_slow_compiler/scratch/1 && \\
HOME=/var/tmp/sparky-temp-home-329945414877241391/user_home \\
JDK8_HOME=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk/11/28/bundles/solaris-sparcv9/jdk-11_solaris-sparcv9_bin.tar.gz/jdk-11 \\
JIB_DATA_DIR=/scratch/opt/mach5/mesos/work_dir/jib-master \\
JIB_HOME=/scratch/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 \\
JTREG_KEYWORDS='"!headful & !stress"' \\
JTREG_VERBOSE=fail,error,time \\
LANG=en_US.UTF-8 \\
LC_ALL= \\
LC_CTYPE= \\
PATH=/bin:/usr/bin \\
TEST_IMAGE_GRAAL_DIR=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.432/solaris-sparcv9-debug.test/hotspot/jtreg/graal \\
TZ=localtime \\
CLASSPATH=/scratch/opt/mach5/mesos/work_dir/281e020a-5919-48dd-9104-25f23487a16f/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_slow_compiler/classes/0/compiler/codegen/aes/TestCipherBlockChainingEncrypt.d:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.432/src.full/open/test/hotspot/jtreg/compiler/codegen/aes:/scratch/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b14/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/scratch/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b14/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar \\
    /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.432/solaris-sparcv9-debug.jdk/jdk-13/fastdebug/bin/java \\
        -Dtest.class.path.prefix=/scratch/opt/mach5/mesos/work_dir/281e020a-5919-48dd-9104-25f23487a16f/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_slow_compiler/classes/0/compiler/codegen/aes/TestCipherBlockChainingEncrypt.d:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.432/src.full/open/test/hotspot/jtreg/compiler/codegen/aes \\
        -Dtest.src=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.432/src.full/open/test/hotspot/jtreg/compiler/codegen/aes \\
        -Dtest.src.path=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.432/src.full/open/test/hotspot/jtreg/compiler/codegen/aes \\
        -Dtest.classes=/scratch/opt/mach5/mesos/work_dir/281e020a-5919-48dd-9104-25f23487a16f/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_slow_compiler/classes/0/compiler/codegen/aes/TestCipherBlockChainingEncrypt.d \\
        -Dtest.class.path=/scratch/opt/mach5/mesos/work_dir/281e020a-5919-48dd-9104-25f23487a16f/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_slow_compiler/classes/0/compiler/codegen/aes/TestCipherBlockChainingEncrypt.d \\
        -Dtest.vm.opts=-XX:MaxRAMPercentage=6 \\
        -Dtest.tool.vm.opts=-J-XX:MaxRAMPercentage=6 \\
        -Dtest.compiler.opts= \\
        -Dtest.java.opts='-XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation' \\
        -Dtest.jdk=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.432/solaris-sparcv9-debug.jdk/jdk-13/fastdebug \\
        -Dcompile.jdk=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.432/solaris-sparcv9-debug.jdk/jdk-13/fastdebug \\
        -Dtest.timeout.factor=8.0 \\
        -Dtest.root=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.432/src.full/open/test/hotspot/jtreg \\
        -Dtest.nativepath=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.432/solaris-sparcv9-debug.test/hotspot/jtreg/native \\
        -XX:MaxRAMPercentage=6 \\
        -XX:+CreateCoredumpOnCrash \\
        -ea \\
        -esa \\
        -XX:CompileThreshold=100 \\
        -XX:+UnlockExperimentalVMOptions \\
        -server \\
        -XX:-TieredCompilation \\
        -Djava.library.path=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.432/solaris-sparcv9-debug.test/hotspot/jtreg/native \\
        -Xbatch \\
        com.sun.javatest.regtest.agent.MainWrapper /scratch/opt/mach5/mesos/work_dir/281e020a-5919-48dd-9104-25f23487a16f/testOutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_slow_compiler/compiler/codegen/aes/TestCipherBlockChainingEncrypt.d/main.0.jta
result: Error. Program `/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.432/solaris-sparcv9-debug.jdk/jdk-13/fastdebug/bin/java' timed out (timeout set to 2400000ms, elapsed time including timeout handling was 2464390ms).


test result: Error. Program `/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.432/solaris-sparcv9-debug.jdk/jdk-13/fastdebug/bin/java' timed out (timeout set to 2400000ms, elapsed time including timeout handling was 2464390ms).


Comments
Fix request (11u): Requesting backport of this test fix because it occurs intermittently in the nightlies. Patch did not apply cleanly. Some minor adoptions had to be made, review thread: https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2019-July/001460.html. After that, the test looks more stable. Risk is low.
23-07-2019

Test case has loop of 5_000 iterations, lately realized that, single test iteration exercises the aes intrinsic several times. There are encrypt and decrypt calls in the loop that all use aes. Reducing count to 2_000 iterations is fine. Another issue observed in this report, as the test case uses timeout of 300 seconds is not sufficient for slow debug builds. That need further adjustment to 600 seconds. Below is the webrev addressing both the issues. http://cr.openjdk.java.net/~fmatte/8219513/webrev.00/
25-02-2019

Test was added by JDK-8209951. Fairoz, could you please have a look?
21-02-2019

ILW = Test fails with timeout (probably test bug, test was pushed by JDK-8209951), single test on Sparc, no workaround = MLH = P4
21-02-2019