Failed
com.sun.ts.tests.jaspic.spi.soap.Client.ClientRuntimeCommonCallbackSupport (from authentication-tck)
Error Message
test result: Failed. unexpected exit code: exit code 1
Stacktrace
test result: Failed. unexpected exit code: exit code 1
Standard Output
#Test Results (version 2) #Fri Mar 26 03:38:04 UTC 2021 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/src/com/sun/ts/tests/jaspic/spi/soap/Client.java $root=/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/src assertion_ids=JASPIC\:JAVADOC\:35 Create a CertStoreCallback.\nJASPIC\:JAVADOC\:36 Used by the CertStore user to obtain the CertStore set within the Callback.\nJASPIC\:JAVADOC\:49 Used to obtain the private key set within the Callback.\nJASPIC\:JAVADOC\:51 Constructs this PrivateKeyCallback with a private key Request object.\n The request object identifies the private key to be returned. The corresponding certificate chain for the private key \n is also returned. If the request object is null, the handler of the callback relies on its own default.\nJASPIC\:JAVADOC\:54 Construct an AliasRequest with an alias.\n The alias is used to directly identify the private key to be returned. The corresponding certificate chain for the \n private key is also returned. If the alias is null, the handler of the callback relies on its own\n default.\nJASPIC\:JAVADOC\:63 Used to obtain the secret key set within the Callback.\nJASPIC\:JAVADOC\:65 Constructs this SecretKeyCallback with a secret key Request object.\n The request object identifies the secret key to be returned. If the alias is null, the handler of the callback relies \n on its own default.\nJASPIC\:JAVADOC\:68 Construct an AliasRequest with an alias.\n The alias is used to directly identify the secret key to be returned. If the alias is null, the handler of the callback \n relies on its own default.\nJASPIC\:JAVADOC\:69 Used by the TrustStore user to obtain the TrustStore set within the Callback.\nJASPIC\:JAVADOC\:71 Create a TrustStoreCallback.\nJASPIC\:SPEC\:114 The CallbackHandler passed to an authentication module's initialize method is determined by\n the handler argument passed in the call to AuthConfigProvider.getClientAuthConfig or getServerAuthConfig \n that acquired the corresponding authentication context configuration object. The handler argument must\n not be null, and the argument handler and the CallbackHandler passed to the initialize method of an \n authentication modules should support the following callbacks, and it must be possible to configure the\n runtime such that the CallbackHandler passed at module initialization supports the following callbacks \n (in addition to any others required to be supported by the applicable internal profile)\:\n CertStoreCallback, PrivateKeyCallback, SecretKeyCallback, TrustStoreCallback classname=com.sun.ts.tests.jaspic.spi.soap.Client direction=forward finder=cts id=ClientRuntimeCommonCallbackSupport keywords=all jaspic jaspic_soap jaspic_soap_optional ClientRuntimeCommonCallbackSupport novehicle forward service_eetest=no testName=ClientRuntimeCommonCallbackSupport testProps=\ log.file.location provider.configuration.file vendor.authconfig.factory webServerHost webServerPort platform.mode user password logical.hostname.soap test_directory=com/sun/ts/tests/jaspic/spi/soap #-----environment----- JAVA_HOME=/opt/jdk-11.0.7 SYSTEMROOT=${env.SystemRoot} TMP=${env.TMP} bin.dir=/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../bin command.testExecuteAppClient=com.sun.ts.lib.harness.ExecTSTestCmd DISPLAY\=${ts.display} HOME\="${user.home}" LD_LIBRARY_PATH\=${jaspic.home}/lib TMP\=${TMP} windir\=${windir} SYSTEMROOT\=${SYSTEMROOT} PATH\="${jaspic.home}/nativelib" APPCPATH\=${pathsep}${ts.home}/lib/tsharness.jar${pathsep}${ts.home}/lib/jaspic.jar${pathsep}${jaspic.home}/lib/tssv.jar TZ\=${tz} ${JAVA_HOME}/bin/java -Dlog.file.location\=${log.file.location} -Djava.util.logging.config.file\=${jaspic.home}/domains/domain1/config/logging.properties -Dservlet.is.jsr115.compatible\=${servlet.is.jsr115.compatible} -Dsoap.is.jsr115.compatible\=${soap.is.jsr115.compatible} -Dprovider.configuration.file\=${provider.configuration.file} -Dlogical.hostname.servlet\=${logical.hostname.servlet} -Djava.security.properties\=${jaspic.home}/domains/domain1/config/ts.java.security -Djava.system.class.loader\=org.glassfish.appclient.client.acc.agent.ACCAgentClassLoader -Djava.security.policy\=${jaspic.home}/lib/appclient/client.policy -Dcts.tmp\=$harness.temp.directory -Djava.security.auth.login.config\=${jaspic.home}/lib/appclient/appclientlogin.conf -Djava.protocol.handler.pkgs\=javax.net.ssl -Dcom.sun.enterprise.home\=${jaspic.home} -Djavax.net.ssl.keyStore\=${bin.dir}/certificates/clientcert.jks -Djavax.net.ssl.keyStorePassword\=changeit -Djavax.net.ssl.trustStore\=${s1as.domain}/${sjsas.instance.config.dir}/cacerts.jks -Dcom.sun.aas.installRoot\=${jaspic.home} -Dcom.sun.aas.imqLib\=${jaspic.home}/imq/lib -Djavax.xml.parsers.SAXParserFactory\=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory\=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.transform.TransformerFactory\=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl -Dorg.xml.sax.driver\=com.sun.org.apache.xerces.internal.parsers.SAXParser -Dorg.xml.sax.parser\=org.xml.sax.helpers.XMLReaderAdapter -Dstartup.login\=false -Dauth.gui\=false -Dcom.sun.aas.configRoot\=${jaspic.home}/config -Ddeliverable.class\=${deliverable.class} -Dcom.sun.xml.ws.transport.http.client.HttpTransportPipe.dump\=true -Dcom.sun.xml.ws.transport.http.HttpAdapter.dump\=true -javaagent\:${jaspic.home}/lib/gf-client.jar\=arg\=-configxml,arg\=${ts.home}/tmp/appclient/jaspic.sun-acc.xml,client\=jar\=$testExecuteArgs deliverable.class=com.sun.ts.lib.deliverable.cts.CTSDeliverable deployment_host.1=${orb.host} deployment_port.1=${s1as.admin.port} harness.executeMode=0 harness.log.delayseconds=1 harness.log.port=2000 harness.log.traceflag=true harness.socket.retry.count=10 harness.temp.directory=${ts.home}/tmp jakarta.persistence.jdbc.driver=org.apache.derby.jdbc.ClientDriver jakarta.persistence.jdbc.password=cts1 jakarta.persistence.jdbc.url=jdbc\:derby\://localhost\:1527/derbyDB;create\=true jakarta.persistence.jdbc.user=cts1 jakarta.persistence.provider=org.eclipse.persistence.jpa.PersistenceProvider jaspic.home=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish javaee.home=${jaspic.home} jpa.provider.implementation.specific.properties=eclipselink.logging.level\=OFF log.file.location=${s1as.domain}/logs logical.hostname.servlet=server logical.hostname.soap=localhost namingServiceHost1=${orb.host} namingServiceHost2=${orb.host} namingServicePort1=${orb.port} namingServicePort2=${orb.port} orb.host=localhost orb.port=3700 password=j2ee pathsep=\: persistence.second.level.caching.supported=true persistence.unit.name=CTS-EM persistence.unit.name.2=JPATCK2 platform.mode=jakartaEE porting.ts.HttpsURLConnection.class.1=com.sun.ts.lib.implementation.sun.javaee.SunRIHttpsURLConnection porting.ts.HttpsURLConnection.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRIHttpsURLConnection porting.ts.deploy.class.1=com.sun.ts.lib.implementation.sun.javaee.glassfish.AutoDeployment porting.ts.deploy.class.2=com.sun.ts.lib.implementation.sun.javaee.glassfish.AutoDeploymentSeparateVM porting.ts.deploy2.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRIDeployment2 porting.ts.jms.class.1=com.sun.ts.lib.implementation.sun.javaee.SunRIJMSAdmin porting.ts.jms.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRIJMSAdmin porting.ts.login.class.1=com.sun.ts.lib.implementation.sun.javaee.SunRILoginContext porting.ts.login.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRILoginContext porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL porting.ts.url.class.2=com.sun.ts.lib.implementation.sun.common.SunRIURL provider.configuration.file=${javaee.home}/domains/domain1/config/ProviderConfiguration.xml s1as.admin.port=4848 s1as.domain=${s1as.domain.dir}/${s1as.domain.name} s1as.domain.dir=${jaspic.home}/domains s1as.domain.name=domain1 securedWebServicePort=1044 securedWebServicePort.2=1045 servlet.is.jsr115.compatible=true sjsas.instance.config.dir=config soap.is.jsr115.compatible=false ts.display=\:0.0 ts.home=/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../.. tz=US/Eastern user=j2ee user.home=? variable.mapper=com.sun.el.lang.VariableMapperImpl vendor.authconfig.factory=com.sun.enterprise.security.jmac.config.GFAuthConfigFactory webServerHost=${orb.host} webServerHost.2=${orb.host} webServerPort=8080 webServerPort.2=8002 windir=${env.windir} wsdlRepository1=${harness.temp.directory}/wsdlRepository1 wsdlRepository2=${harness.temp.directory}/wsdlRepository2 #-----testresult----- description=file\:/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/src/com/sun/ts/tests/jaspic/spi/soap/Client.java\#ClientRuntimeCommonCallbackSupport end=Fri Mar 26 03\:38\:04 UTC 2021 environment=ts_unix execStatus=Failed. unexpected exit code\: exit code 1 harnessLoaderMode=Classpath Loader harnessVariety=Full Bundle javatestOS=Linux 3.10.0-1062.el7.x86_64 (amd64) javatestVersion=5.0 script=com.sun.ts.lib.harness.TSScript sections=script_messages Deployment TestRun start=Fri Mar 26 03\:38\:04 UTC 2021 test=com/sun/ts/tests/jaspic/spi/soap/Client.java\#ClientRuntimeCommonCallbackSupport timeoutSeconds=600 totalTime=94 work=/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tckwork/authentication-tck/com/sun/ts/tests/jaspic/spi/soap #section:script_messages ----------messages:(0/0)---------- #section:Deployment ----------messages:(0/0)---------- ----------log:(83/3626)---------- Undeploying apps... AutoDeployment.isDeployed() AutoDeployment.undeploy() Undeploying apps... AutoDeployment.isDeployed() AutoDeployment.isDeployed() Search for s1as runtime files match:`Hello.ear` Valid runtime files after sweep: /home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../dist/com/sun/ts/tests/jaspic/spi/soap/Hello.ear.sun-application.xml Search for s1as runtime files match:`HelloClnt.ear` Valid runtime files after sweep: Deploying apps for forward rebuildable... Search for s1as runtime files match:`Hello.ear` Valid runtime files after sweep: /home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../tmp/Hello.ear.sun-application.xml getAppNameFromApplicationXML() returning "null" Search for s1as runtime files match:`HelloClnt.ear` Valid runtime files after sweep: getAppNameFromApplicationXML() returning "null" harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: result: Passed. Deployment phase completed. However, check the output above to see if actual deployment passed or failed. #section:TestRun ----------messages:(1/3865)---------- command: com.sun.ts.lib.harness.ExecTSTestCmd DISPLAY=:0.0 HOME=? LD_LIBRARY_PATH=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/lib TMP= windir= SYSTEMROOT= PATH=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/nativelib APPCPATH=:/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../lib/tsharness.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../lib/jaspic.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/lib/tssv.jar TZ=US/Eastern /opt/jdk-11.0.7/bin/java -Dlog.file.location=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/logs -Djava.util.logging.config.file=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/config/logging.properties -Dservlet.is.jsr115.compatible=true -Dsoap.is.jsr115.compatible=false -Dprovider.configuration.file=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/config/ProviderConfiguration.xml -Dlogical.hostname.servlet=server -Djava.security.properties=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/config/ts.java.security -Djava.system.class.loader=org.glassfish.appclient.client.acc.agent.ACCAgentClassLoader -Djava.security.policy=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/lib/appclient/client.policy -Dcts.tmp=/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../tmp -Djava.security.auth.login.config=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/lib/appclient/appclientlogin.conf -Djava.protocol.handler.pkgs=javax.net.ssl -Dcom.sun.enterprise.home=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish -Djavax.net.ssl.keyStore=/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../bin/certificates/clientcert.jks -Djavax.net.ssl.keyStorePassword=changeit -Djavax.net.ssl.trustStore=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/config/cacerts.jks -Dcom.sun.aas.installRoot=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish -Dcom.sun.aas.imqLib=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/imq/lib -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter -Dstartup.login=false -Dauth.gui=false -Dcom.sun.aas.configRoot=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/config -Ddeliverable.class=com.sun.ts.lib.deliverable.cts.CTSDeliverable -Dcom.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true -Dcom.sun.xml.ws.transport.http.HttpAdapter.dump=true -javaagent:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/lib/gf-client.jar=arg=-configxml,arg=/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../tmp/appclient/jaspic.sun-acc.xml,client=jar=/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../dist/com/sun/ts/tests/jaspic/spi/soap/ts_dep/HelloClntClient.jar,arg=-name,arg=HelloClnt_client -jar /home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../dist/com/sun/ts/tests/jaspic/spi/soap/ts_dep/HelloClntClient.jar -p /home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../tmp/tstest.jte -t ClientRuntimeCommonCallbackSupport ----------log:(13/936)---------- Error occurred during initialization of VM java.lang.Error: org.glassfish.appclient.client.acc.agent.ACCAgentClassLoader at java.lang.ClassLoader.initSystemClassLoader(java.base@11.0.7/ClassLoader.java:1989) at java.lang.System.initPhase3(java.base@11.0.7/System.java:2070) Caused by: java.lang.ClassNotFoundException: org.glassfish.appclient.client.acc.agent.ACCAgentClassLoader at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@11.0.7/BuiltinClassLoader.java:581) at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@11.0.7/ClassLoaders.java:178) at java.lang.ClassLoader.loadClass(java.base@11.0.7/ClassLoader.java:521) at java.lang.Class.forName0(java.base@11.0.7/Native Method) at java.lang.Class.forName(java.base@11.0.7/Class.java:398) at java.lang.ClassLoader.initSystemClassLoader(java.base@11.0.7/ClassLoader.java:1975) at java.lang.System.initPhase3(java.base@11.0.7/System.java:2070) result: Failed. unexpected exit code: exit code 1 test result: Failed. unexpected exit code: exit code 1