Regression
com.sun.ts.tests.jaspic.spi.soap.Client.ClientAppContextId (from authentication-tck)
Error Message
test result: Failed. Test case throws exception: java.lang.NoClassDefFoundError: com/sun/ts/tests/jaspic/util/WebServiceUtils
Stacktrace
test result: Failed. Test case throws exception: java.lang.NoClassDefFoundError: com/sun/ts/tests/jaspic/util/WebServiceUtils
Standard Output
#Test Results (version 2) #Mon Aug 17 06:36:03 UTC 2020 #-----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\:SPEC\:208 The application context identifier used by a client-runtime to acquire the AuthConfigProvider and\nClientAuthConfig objects pertaining to the client side processing of a web service invocation shall begin \nwith a client scope identifier that identifies the client. If the client-runtime may host multiple client\napplications, then the client scope identifier must differentiate among the client applications deployed \nwithin the runtime. In runtimes where applications are differentiated by unambiguous application\nidentifiers, an application identifier may be used as the client scope identifier. Where application \nidentifiers are not defined or suitable, the location (for example, its file path) of the client archive from\nwhich the invocation will originate may be used as the client scope identifier \n In addition to its client scope identifier, the application context identifier must include a client\nreference to the service. If a service reference is defined for the invocation (for example, by using a \n WebServiceRef annotation as defined in the JAXWS 2.0 or JAXWS 2.1 Specifications), the client\nreference to the service must be the name value of the service reference. If a service reference was not \ndefined for the invocation, the client reference to the service must be the web service URL.\nA client application context identifier must be the String value composed by concatenating the client \nscope identifier, a blank separator character, and the client reference to the service.\nAppContextID \:\:\= client-scope-identfier blank client-reference classname=com.sun.ts.tests.jaspic.spi.soap.Client direction=forward finder=cts id=ClientAppContextId keywords=ClientAppContextId jaspic_soap all jaspic jaspic_soap jaspic_soap_optional ClientAppContextId novehicle forward service_eetest=no testName=ClientAppContextId 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/jdk1.8.0_191/jre 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 -Djava.endorsed.dirs\=${s1as.java.endorsed.dirs} -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 -Djava.ext.dirs\=${JAVA_HOME}/lib/ext -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} endorsed.dirs=${jaspic.home}/modules/endorsed 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 s1as.java.endorsed.dirs=${endorsed.dirs} 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\#ClientAppContextId end=Mon Aug 17 06\:36\:03 UTC 2020 environment=ts_unix execStatus=Failed. Test case throws exception\: java.lang.NoClassDefFoundError\: com/sun/ts/tests/jaspic/util/WebServiceUtils harnessLoaderMode=Classpath Loader harnessVariety=Full Bundle javatestOS=Linux 3.10.0-1127.el7.x86_64 (amd64) javatestVersion=5.0 script=com.sun.ts.lib.harness.TSScript sections=script_messages Deployment TestRun start=Mon Aug 17 06\:35\:59 UTC 2020 test=com/sun/ts/tests/jaspic/spi/soap/Client.java\#ClientAppContextId timeoutSeconds=600 totalTime=4488 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:(71/2944)---------- 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: all getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: all getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: all getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: all getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: all getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: all getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: all getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: all getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: all getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: all getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: all getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: all getAppNameFromApplicationXML() returning "null" sClassPathFromExecProps = ::: harness.executeMode is set to "0" keywords (to be passed to tests) set to: all 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/4011)---------- 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/jdk1.8.0_191/jre/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 -Djava.endorsed.dirs=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/endorsed -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 -Djava.ext.dirs=/opt/jdk1.8.0_191/jre/lib/ext -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 ClientAppContextId ----------log:(56/4201)---------- ************************************************************ * props file set to "/tmp/?-cts-props.txt" ************************************************************ 08-17-2020 02:36:02: TRACE: ####### Value of harness.socket.retry.count is "10" 08-17-2020 02:36:02: TRACE: ####### Value of harness.log.port is "2000" 08-17-2020 02:36:02: TRACE: ####### Actual bind value of harness.log.port is "2000" 08-17-2020 02:36:02: TRACE: *** in EETest.run(argv,p) 08-17-2020 02:36:02: TRACE: TESTCLASS=com.sun.ts.tests.jaspic.spi.soap.Client 08-17-2020 02:36:02: TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.jaspic.spi.soap.Client 08-17-2020 02:36:02: TRACE: ** IN getRunMethod: testname=ClientAppContextId 08-17-2020 02:36:02: TRACE: ** GOT RUN METHOD! 08-17-2020 02:36:02: TRACE: **runmethod=ClientAppContextId 08-17-2020 02:36:02: TRACE: ABOUT TO GET SETUP METHOD! 08-17-2020 02:36:02: TRACE: No setupMethod annotation present 08-17-2020 02:36:02: TRACE: getSetupMethod - checking for testcase specific setup method: ClientAppContextId_setup 08-17-2020 02:36:02: TRACE: getSetupMethod - checking for default class specific setup method 08-17-2020 02:36:02: TRACE: GOT SETUP METHOD! 08-17-2020 02:36:02: TRACE: No cleanupMethod annotation present 08-17-2020 02:36:02: TRACE: getCleanupMethod - checking for testcase specific cleanup method: ClientAppContextId_cleanup 08-17-2020 02:36:02: TRACE: getCleanupMethod - checking for default class specific cleanup method 08-17-2020 02:36:02: TRACE: GOT CLEANUP METHOD! 08-17-2020 02:36:02: TRACE: ABOUT TO INVOKE SETUP METHOD! 08-17-2020 02:36:02: Log file location = /home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/logs 08-17-2020 02:36:02: TestSuite Provider ConfigFile = /home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/config/ProviderConfiguration.xml 08-17-2020 02:36:02: Vendor AuthConfigFactory class = com.sun.enterprise.security.jmac.config.GFAuthConfigFactory 08-17-2020 02:36:02: ERROR: Test case throws exception: java.lang.NoClassDefFoundError: com/sun/ts/tests/jaspic/util/WebServiceUtils 08-17-2020 02:36:02: ERROR: Exception at: 08-17-2020 02:36:02: ERROR: java.lang.NoClassDefFoundError: com/sun/ts/tests/jaspic/util/WebServiceUtils at com.sun.ts.tests.jaspic.spi.soap.Client.getStandAlonePort(Client.java:1252) at com.sun.ts.tests.jaspic.spi.soap.Client.sayHelloProtected(Client.java:192) at com.sun.ts.tests.jaspic.spi.soap.Client.setup(Client.java:159) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.sun.ts.lib.harness.EETest.run(EETest.java:569) at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486) at com.sun.ts.lib.harness.EETest.run(EETest.java:337) at com.sun.ts.lib.harness.EETest.run(EETest.java:285) at com.sun.ts.tests.jaspic.spi.soap.Client.main(Client.java:119) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.glassfish.appclient.client.acc.AppClientContainer.launch(AppClientContainer.java:422) at org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:159) at org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:41) Caused by: java.lang.ClassNotFoundException: com.sun.ts.tests.jaspic.util.WebServiceUtils at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at org.glassfish.appclient.client.acc.ACCClassLoader.findClass(ACCClassLoader.java:213) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 19 more 08-17-2020 02:36:02: cleanup ok STATUS:Failed.Test case throws exception: java.lang.NoClassDefFoundError: com/sun/ts/tests/jaspic/util/WebServiceUtils result: Failed. Test case throws exception: java.lang.NoClassDefFoundError: com/sun/ts/tests/jaspic/util/WebServiceUtils test result: Failed. Test case throws exception: java.lang.NoClassDefFoundError: com/sun/ts/tests/jaspic/util/WebServiceUtils