Regression
com.sun.ts.tests.jaspic.spi.servlet.Client.CheckCallbackSupport (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\:27 When the message processing failed without establishing a failure response message (in\n 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\:JAVADOC\:31 Create a CallerPrincipalCallback to set the container's representation of the caller principal.\nJASPIC\:JAVADOC\:32 Get the caller principal name.\nJASPIC\:JAVADOC\:33 Get the caller principal.\nJASPIC\:JAVADOC\:34 Get the Subject in which the handler will distinguish the caller principal\nJASPIC\:JAVADOC\:35 Create a CertStoreCallback.\nJASPIC\:JAVADOC\:36 Used by the CertStore user to obtain the CertStore set within the Callback.\nJASPIC\:JAVADOC\:38 Get the array of group names.\nJASPIC\:JAVADOC\:39 Get the Subject in which the handler will establish the group principals.\nJASPIC\:JAVADOC\:40 Create a GroupPrincipalCallback to establish the container's representation of the corresponding group principals within\n the Subject.\nJASPIC\:JAVADOC\:41 Clear the password.\nJASPIC\:JAVADOC\:42 Get the password.\n Note that this method returns a reference to the password. If a clone of the array is created it is the caller's \n responsibility to zero out the password information after it is no longer needed.\nJASPIC\:JAVADOC\:43 Get the authentication result.\nJASPIC\:JAVADOC\:44 Get the subject.\nJASPIC\:JAVADOC\:46 Create a PasswordValidationCallback.\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\:JAVADOC\:107 If module initialization fails, including for the case where the options argument contains\n elements that are not supported by the module.\nJASPIC\:SPEC\:72 The CallbackHandler passed to ServerAuthModule.initialize must support the following\n callbacks\: CallerPrincipalCallback, GroupPrincipalCallback, PasswordValidationCallback.\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. classname=com.sun.ts.tests.jaspic.spi.servlet.Client direction=forward finder=cts id=CheckCallbackSupport keywords=CheckCallbackSupport jaspic_servlet all jaspic jaspic_servlet javaee jaspic_web_profile javaee_web_profile_optional CheckCallbackSupport novehicle forward service_eetest=no testName=CheckCallbackSupport 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\#CheckCallbackSupport 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\#CheckCallbackSupport timeoutSeconds=600 totalTime=15 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:(61/2611)---------- 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 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