Regression
com.sun.ts.tests.jaspic.spi.soap.Client.ServerAuthContext (from authentication-tck)
Error Message
test result: Failed. Illegal access to test: com.sun.ts.lib.deliverable.PropertyNotSetException: No value found for jimage.dir. Please check your jte file for an appropiate value
Stacktrace
test result: Failed. Illegal access to test: com.sun.ts.lib.deliverable.PropertyNotSetException: No value found for jimage.dir. Please check your jte file for an appropiate value
Standard Output
#Test Results (version 2) #Wed Sep 29 10:41:34 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\:100 Get a ServerAuthContext instance from this ServerAuthConfig.\n The implementation of this method returns a ServerAuthContext instance that encapsulates the ServerAuthModules used to \n validate requests and secure responses associated with the given authContextID. Specifically, this\n method accesses this ServerAuthConfig object with the argument authContextID to determine the \n ServerAuthModules that are to be encapsulated in the returned ServerAuthContext instance. The\n ServerAuthConfig object establishes the request and response MessagePolicy objects that are passed to \n the encapsulated modules when they are initialized by the returned ServerAuthContext instance. It is the\n modules' responsibility to enforce these policies when invoked.\nJASPIC\:JAVADOC\:101 If this method fails.\nJASPIC\:SPEC\:34 If a non-null authentication context object is returned by getAuthContext, the corresponding\n message processing runtime must invoke the methods of the acquired authentication context to process the \n corresponding request and response messages as defined below. Otherwise, the message processing runtime,\n must proceed with its normal processing of the corresponding messages and without invoking the methods \n of an authentication context object.\nJASPIC\:SPEC\:153 When a non-null requestPolicy is used to initialize the authentication modules of the\n ServerAuthContext must be constructed such that the value obtained by calling isMandatory on the \n requestPolicy accurately reflects whether (i.e., true return value) or not (i.e, false return value)\n message protection is required to access the web service invocation corresponding to the MessageInfo \n used to acquire the ServerAuthContext. Similarly, the responsePolicy used to initialize the\n authentication modules must be constructed such that the value obtained by calling isMandatory on the \n responsePolicy accurately reflects whether (i.e., true return value) or not (i.e, false return value)\n message protection is required (within the SOAP messaging layer) on the response(if there is one) \n resulting from the corresponding webservice invocation.\nJASPIC\:SPEC\:156 If the call to validateRequest returns AuthStatus.SUCCESS, the runtime must perform any web\n service authorization processing2 required by the runtime as a prerequisite to accessing the target \n resource. If authentication is required for the request to be authorized, the runtime must determine\n whether the authentication identity \n established in the clientSubject is authorized to access the resource. classname=com.sun.ts.tests.jaspic.spi.soap.Client direction=forward finder=cts id=ServerAuthContext keywords=ServerAuthContext jaspic_soap all jaspic jaspic_soap jaspic_soap_optional ServerAuthContext novehicle forward service_eetest=no testName=ServerAuthContext 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----- 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.soap=localhost namingServiceHost1=${orb.host} namingServiceHost2=${orb.host} namingServicePort1=${orb.port} namingServicePort2=${orb.port} orb.host=localhost orb.port=3700 password=j2ee 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.GlassFishLoginContext porting.ts.login.class.2=com.sun.ts.lib.implementation.sun.javaee.GlassFishLoginContext 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 ts.home=/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../.. user=j2ee 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 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\#ServerAuthContext end=Wed Sep 29 10\:41\:34 UTC 2021 environment=ts_unix execStatus=Failed. Illegal access to test\: com.sun.ts.lib.deliverable.PropertyNotSetException\: No value found for jimage.dir. Please check your jte file for an appropiate value harnessLoaderMode=Classpath Loader harnessVariety=Full Bundle javatestOS=Linux 5.12.7-300.fc34.x86_64 (amd64) javatestVersion=5.0 script=com.sun.ts.lib.harness.TSScript sections=script_messages Deployment TestRun start=Wed Sep 29 10\:41\:34 UTC 2021 test=com/sun/ts/tests/jaspic/spi/soap/Client.java\#ServerAuthContext timeoutSeconds=600 totalTime=15 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:(77/3210)---------- 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 harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all harness.executeMode is set to "0" keywords (to be passed to tests) set to: all result: Passed. Deployment phase completed. However, check the output above to see if actual deployment passed or failed. #section:TestRun ----------messages:(0/0)---------- ----------log:(0/0)---------- result: Failed. Illegal access to test: com.sun.ts.lib.deliverable.PropertyNotSetException: No value found for jimage.dir. Please check your jte file for an appropiate value test result: Failed. Illegal access to test: com.sun.ts.lib.deliverable.PropertyNotSetException: No value found for jimage.dir. Please check your jte file for an appropiate value