Failed
com.sun.ts.tests.jaspic.spi.soap.Client.MessageInfo (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\:5 Secure a service request message before sending it to the service.\n This method is called to transform the request message acquired by calling getRequestMessage (on messageInfo) into the \n mechanism-specific form to be sent by the runtime. This method conveys the outcome of its message\n processing either by returning an AuthStatus value or by throwing an AuthException.\nJASPIC\:JAVADOC\:9 Get (a reference to) the Map object of this MessageInfo.\n Operations performed on the acquired Map must effect the Map within the MessageI nfo.\nJASPIC\:JAVADOC\:10 Get the request message object from this MessageInfo.\nJASPIC\:JAVADOC\:11 Get the response message object from this MessageInfo.\nJASPIC\:JAVADOC\:28 Authenticate a received service request.\n This method is called to transform the mechanism-specific request message acquired by calling getRequestMessage (on \n messageInfo) into the validated application message to be returned to the message processing runtime. If\n the received message is a (mechanism-specific) meta-message, the method implementation must attempt to \n transform the meta-message into a corresponding mechanism-specific response message, or to the validated\n application request message. The runtime will bind a validated application message into the the \n corresponding service invocation. This method conveys the outcome of its message processing either by\n returning an AuthStatus value or by throwing an AuthException.\nJASPIC\:SPEC\:19 At points (1) and (2) in the messaging model, the message processing runtime must obtain the\n authentication context identifier corresponding to the request message processing being performed by the \n runtime.\nJASPIC\:SPEC\:23 At points (1) and (2) in the messaging model, the message processing runtime must invoke the\n getAuthContext method of the authentication context configuration object (obtained in step 2) to obtain \n the authentication context object corresponding to the message that is to be processed. This is\n accomplished by invoking getAuthContext with the operation/message identifier corresponding to the \n request message and obtained as described above.\nJASPIC\:SPEC\:35 At point (1) in the message processing model \: the message processing runtime must call the\n secureRequest method of the ClientAuthContext.\nJASPIC\:SPEC\:36 (At point 1 in message processing model) The messageInfo argument to the call must have been\n initialized such that its getRequestMessage method will return the request message being processed by \n the runtime. The type of the returned request message must be as defined by the profile being followed.\nJASPIC\:SPEC\:37 (At point 1 in message processing model) If a non-null Subject was used to acquire the\n ClientAuthContext, the same Subject must be passed as the clientSubject in this call. If a non-null \n clientSubject is used in this call, it must not be read-only, and the same clientSubject argument must\n be passed in all calls to validateResponse made for the one or more responses processed to complete the \n message exchange.\nJASPIC\:SPEC\:43 In the call made to validateResponse, the runtime must pass the same MessageInfo instance that\n was passed to secureRequest (at the start of the message exchange). The messageInfo argument must have \n been initialized such that its getResponseMessage method will return the response message being\n processed by the runtime.The type of the required return messages must be as defined by the profile \n being followed.\nJASPIC\:SPEC\:44 The value of the clientSubject argument to the (validateResponse) call must be the same as\n that passed in the call to secureRequest for the corresponding request.\nJASPIC\:SPEC\:51 (at point 2 in MPR model) The messageInfo argument to the call must have been initialized such\n that its getRequestMessage method will return the request message being processed by the runtime. For \n some profiles of this specification, the runtime must also initialize messageInfo such that its\n getResponseMessage method will return the response message being processed by the runtime. The type of \n the required return messages must be as defined by the profile being followed.\nJASPIC\:SPEC\:112 The MessageInfo argument used in any call made by the message processing runtime to\n secureRequest, validateResponse, validateRequest, or secureResponse must have been initialized such that \n the non-null objects returned by the getRequestMessage and getResponseMessage methods of the MessageInfo\n are an instance of jakarta.xml.soap.SOAPMessage.\nJASPIC\:SPEC\:113 The getSupportedMessageTypes method of all authentication modules integrated for use with this\n profile, must include jakarta.xml.soap.SOAPMessage class in its return value.\nJASPIC\:SPEC\:131 The messageInfo argument used in a call to secureRequest must have been initialized by the\n runtime such that its getRequestMessage will return the SOAP request message being processed by the \n runtime.\nJASPIC\:SPEC\:132 When a corresponding call is made to validateResponse, it must be made with the same\n messageInfo and clientSubject arguments used in the corresponding call to secureRequest, and it must \n have been initialized by the runtime such that its getResponseMessage method will return the SOAP\n response message being processed by the runtime. classname=com.sun.ts.tests.jaspic.spi.soap.Client direction=forward finder=cts id=MessageInfo keywords=MessageInfo jaspic_soap all jaspic jaspic_soap jaspic_soap_optional MessageInfo novehicle forward service_eetest=no testName=MessageInfo 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\#MessageInfo 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\#MessageInfo timeoutSeconds=600 totalTime=93 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:(103/4481)---------- 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 = ::: 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/3842)---------- 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 MessageInfo ----------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