JDK-8214722 : javax/xml/crypto/dsig/GenerationTests.java times out
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.xml.crypto
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_11
  • CPU: x86_64,sparc_64
  • Submitted: 2018-12-03
  • Updated: 2018-12-06
  • Resolved: 2018-12-06
Related Reports
Duplicate :  
Description
The following was observed when running javax/xml/crypto/dsig/GenerationTests.java on solaris build st_035.

#-----testdescription-----
$file=/opt/jdk/jdk11local/test/jdk/javax/xml/crypto/dsig/GenerationTests.java
$root=/opt/jdk/jdk11local/test/jdk
author=Sean Mullan
keywords=bug4635230 bug6283345 bug6303830 bug6824440 bug6867348 bug7094155 bug8038184 bug8038349 bug8046949 bug8046724 bug8079693 bug8177334 othervm
maxTimeout=300
modules=java.base/sun.security.util java.base/sun.security.x509 java.xml.crypto/org.jcp.xml.dsig.internal.dom jdk.httpserver/com.sun.net.httpserver
run=USER_SPECIFIED compile -XDignore.symbol.file KeySelectors.java SignatureValidator.java X509KeySelector.java GenerationTests.java\nUSER_SPECIFIED main/othervm/timeout\=300 GenerationTests\n
source=GenerationTests.java
title=Basic unit tests for generating XML Signatures with JSR 105

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

#-----testresult-----
description=file\:/opt/jdk/jdk11local/test/jdk/javax/xml/crypto/dsig/GenerationTests.java
elapsed=1501422 0\:25\:01.422
end=Wed Nov 28 20\:08\:38 UTC 2018
environment=regtest
execStatus=Error. Program `/usr/jdk/jdk-11.0.1/bin/java' timed out (timeout set to 1500000ms, elapsed time including timeout handling was 1501076ms).
harnessLoaderMode=Classpath Loader
harnessVariety=Full Bundle
hostname=spv-t5-2-01-ld8
javatestOS=SunOS 5.11 (sparcv9)
javatestVersion=5.0
jtregVersion=jtreg 4.2 fcs b12
modules=java.base/sun.security.util java.base/sun.security.x509 java.xml.crypto/org.jcp.xml.dsig.internal.dom jdk.httpserver/com.sun.net.httpserver
script=com.sun.javatest.regtest.exec.RegressionScript
sections=script_messages compile build main
start=Wed Nov 28 19\:43\:37 UTC 2018
test=javax/xml/crypto/dsig/GenerationTests.java
testJDK=/usr/jdk/jdk-11.0.1
totalTime=1501422
user.name=root
work=/autohome/jdk.2135926/work/javax/xml/crypto/dsig
Comments
It might be better just to download the latest source code of GenerationTests.java from the JDK11u repository and try it to see if the timeout goes away as there have been several timeout related issues fixed: http://hg.openjdk.java.net/jdk-updates/jdk11u/file/f7090fdf3222/test/jdk/javax/xml/crypto/dsig/GenerationTests.java
06-12-2018

ok - just for clarification use "-Dsun.net.httpserver.nodelay=true" in exection command, such as... $JTREG -testjdk:$JAVA_HOME -w $JT_WORK -r $JT_REPORT -dir:/opt/jdk/jdk11local/test/jdk/ -agentvm -automatic -Dsun.net.httpserver.nodelay=true Is this correct?
06-12-2018

See also JDK-8205507 for another timeout related fix.
06-12-2018

Could be a dup of JDK-8210736, so closing for now. Please see that bug for more info and try adding -Dsun.net.httpserver.nodelay=true to see if the timeout is resolved. If it is still an issue, feel free to reopen the bug.
06-12-2018