Regression
com.sun.ts.tests.jaspic.spi.servlet.Client.ACFInMemoryPrecedenceRules (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:16 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\:SPEC\:328 getConfigProvider()\:\n All factories shall employ the following precedence rules to select the registered AuthConfigProvider that matches the \n layer and appContext arguments\:\n 1. The provider that is specifically registered for both the \n corresponding message layer and appContext shall be selected.\n 2. If no provider is selected according to \n the preceding rule, the provider specifically registered for the corresponding appContext and for all\n message layers shall be selected. \n 3. If no provider is selected according to the preceding rules, the\n provider specifically registered for the corresponding message layer and for all appContexts shall be \n selected.\n 4. If no provider is selected according to the preceding rules, the provider registered for all \n message layers and for all appContexts shall be selected.\n 5. If no provider is selected according to the \n preceding rules, the factory shall terminate its search for a registered provider.\n\n The above precedence \n rules apply equivalently to registrations created with a null or non-null className argument.\nJASPIC\:SPEC\:337 When a listener argument is included in the call to acquire a provider, the factory will invoke the notify method of the\n listener when the correspondence between the provider and the layer and application context for which is \n had been acquired is no longer in effect. When the notify method is invoked by the factory, the runtime\n should reacquire an AuthConfigProvider for the layer and application context.\nJASPIC\:SPEC\:338 notify()\n The AuthConfigFactory will invoke the notify method of the RegistrationListener if the corresponding provider \n registration is unregistered or replaced at the factory.\nJASPIC\:SPEC\:339 detachListener()\n The AuthConfigFactory will invoke the notify method of the RegistrationListener if the corresponding provider \n registration is unregistered or replaced at the factory.\n\n Returns\: An array of String values where each value identifies a provider registration from which the listener was removed. \n This method never returns null; it returns an empty array if the listener was not removed from any\n registrations.\nJASPIC\:SPEC\:344 removeRegistration()\n Remove the identified provider registration from the factory (and from the persistent declarative representation of \n provider registrations, if appropriate) and invoke any listeners associated with the removed\n registration. \n Verify this returns True when there is a registration with the specified identifier and it\n was removed. classname=com.sun.ts.tests.jaspic.spi.servlet.Client direction=forward finder=cts id=ACFInMemoryPrecedenceRules keywords=ACFInMemoryPrecedenceRules jaspic_servlet all jaspic jaspic_servlet javaee jaspic_web_profile javaee_web_profile_optional ACFInMemoryPrecedenceRules novehicle forward service_eetest=no testName=ACFInMemoryPrecedenceRules 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\#ACFInMemoryPrecedenceRules end=Wed Sep 29 10\:41\:16 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\:16 UTC 2021 test=com/sun/ts/tests/jaspic/spi/servlet/Client.java\#ACFInMemoryPrecedenceRules timeoutSeconds=600 totalTime=13 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:(23/1091)---------- 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 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