Regression
com.sun.ts.tests.jaspic.spi.servlet.Client.CheckSecureRespForMandatoryAuth (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:17 UTC 2021 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/src/com/sun/ts/tests/jaspic/spi/servlet/Client.java $root=/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/src assertion_ids=JASPIC\: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\:26 Secure a service response before sending it to the client.\n This method is called to transform the response message acquired by calling getResponseMessage (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\:31 Create a CallerPrincipalCallback to set the container's representation of the caller principal.\nJASPIC\:SPEC\:98 When validateRequest is called before the service invocation on a module initialized with a\n mandatory requestPolicy (as defined by the return value from requestPolicy.isMandatory()), the module \n must only return AuthStatus.SUCCESS if it was able to completely satisfy the request authentication\n policy. In this case, the module (or its context) must also have used the CallbackHandler passed to it \n by the runtime to handle a CallerPrincipalCallback using the clientSubject as argument to the callback.\n If more than one module of a context uses the CallbackHandler to handle this callback, the context is \n responsible for coordinating the calls such that the appropriate caller principal value is established.\nJASPIC\:SPEC\:103 If the module returns AuthStatus.SUCCESS (and the authentication policy was satisfied), the\n module (or its context) must employ a CallerPrincipalCallback. If the authentication policy was not \n satisfied, and yet the module chooses to return AuthStatus.SUCCESS, the module (or its context) must use\n a CallerPrincipalCallback to establish the containers representation of the unauthenticated caller \n within the clientSubject.\nJASPIC\:SPEC\:304 If invocation of the resource completes without throwing an exception, the runtime must\n proceed to point (3) in the message processing model. classname=com.sun.ts.tests.jaspic.spi.servlet.Client direction=forward finder=cts id=CheckSecureRespForMandatoryAuth keywords=CheckSecureRespForMandatoryAuth jaspic_servlet all jaspic jaspic_servlet javaee jaspic_web_profile javaee_web_profile_optional CheckSecureRespForMandatoryAuth novehicle forward service_eetest=no testName=CheckSecureRespForMandatoryAuth testProps=\ log.file.location provider.configuration.file vendor.authconfig.factory logical.hostname.servlet webServerHost webServerPort authuser authpassword user password securedWebServicePort servlet.is.jsr115.compatible test_directory=com/sun/ts/tests/jaspic/spi/servlet #-----environment----- authpassword=javajoe authuser=javajoe 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 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 servlet.is.jsr115.compatible=true 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/servlet/Client.java\#CheckSecureRespForMandatoryAuth end=Wed Sep 29 10\:41\:17 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\:17 UTC 2021 test=com/sun/ts/tests/jaspic/spi/servlet/Client.java\#CheckSecureRespForMandatoryAuth timeoutSeconds=600 totalTime=14 work=/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tckwork/authentication-tck/com/sun/ts/tests/jaspic/spi/servlet #section:script_messages ----------messages:(0/0)---------- #section:Deployment ----------messages:(0/0)---------- ----------log:(79/3331)---------- Undeploying apps... AutoDeployment.isDeployed() AutoDeployment.undeploy() Undeploying apps... AutoDeployment.isDeployed() Search for s1as runtime files match:`spitests_servlet_web.war` Valid runtime files after sweep: /home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../dist/com/sun/ts/tests/jaspic/spi/servlet/spitests_servlet_web.war.sun-web.xml Deploying apps for forward rebuildable... Search for s1as runtime files match:`spitests_servlet_web.war` Valid runtime files after sweep: /home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../tmp/spitests_servlet_web.war.sun-web.xml 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 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