Regression
com.sun.ts.tests.jaspic.spi.servlet.Client.GetConfigProvider (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\:79 Get a registered AuthConfigProvider from the factory.\n Get the provider of ServerAuthConfig and ClientAuthConfig objects registered for the identified message layer and \n application context. All factories shall employ the following precedence rules to select the registered\n AuthConfigProvider that matches the layer and appContext arguments\: The provider specifically registered \n for the values passed as the layer and appContext arguments shall be selected. If no provider is\n selected according to the preceding rule, the provider specifically registered for the value passed as \n the appContext argument and for all (that is, null) layers shall be selected. If no provider is selected\n according to the preceding rules, the provider specifically registered for the value passed as the layer \n argument and for all (that is, null) appContexts shall be selected. If no provider is selected according\n to the preceding rules, the provider registered for all (that is, null) layers and for all (that is, \n null) appContexts shall be selected. If no provider is selected according to the preceding rules, the\n factory shall terminate its search for a registered provider. The above precedence rules apply \n equivalently to registrations created with a null or non-null className argument.\nJASPIC\:JAVADOC\:84 Registers within the factory and records within the factory's persistent declarative representation of provider registrations\n a provider of ServerAuthConfig and/or ClientAuthConfig objects for a message layer and application \n context identifier.\n This method typically constructs an instance of the provider before registering it with the factory. Factories may \n extend or modify the persisted registrations of existing provider instances, if those instances were\n registered with ClassName and properties arguments equivalent to those passed in the current call. This \n method employs the two argument constructor required to be supported by every implementation of the\n AuthConfigProvider interface, and this method must pass a null value for the factory argument of the \n constructor. AuthConfigProviderImpl AuthConfigProviderImpl(Map properties, AuthConfigFactory factory).\n At most one registration may exist within the factory for a given combination of message layer and \n appContext. Any pre-existing registration with identical values for layer and appContext is replaced by\n a subsequent registration. When replacement occurs, the registration identifier, layer, and appContext \n identifier remain unchanged, and the AuthConfigProvider (with initialization properties) and description\n are replaced. Within the lifetime of its Java process, a factory must assign unique registration \n identifiers to registrations, and must never assign a previously used registration identifier to a\n registration whose message layer and or appContext identifier differ from the previous use. Programmatic \n registrations performed by using this method must update (according to the replacement rules described\n above) the persistent declarative representation of provider registrations employed by the factory \n constructor.\nJASPIC\:JAVADOC\:85 Registers within the (in-memory) factory, a provider of ServerAuthConfig and/or ClientAuthConfig objects for a message layer\n and application context identifier. \n This method does NOT effect the factory's persistent declarative representation of provider registrations, and is\n intended to be used by providers to perform self-Registration. At most one registration may exist within \n the factory for a given combination of message layer and appContext. Any pre-existing registration with\n identical values for layer and appContext is replaced by a subsequent registration. When replacement \n occurs, the registration identifier, layer, and appContext identifier remain unchanged, and the\n AuthConfigProvider (with initialization properties) and description are replaced. Within the lifetime of \n its Java process, a factory must assign unique registration identifiers to registrations, and must never\n assign a previously used registration identifier to a registration whose message layer and or appContext \n identifier differ from the previous use.\nJASPIC\:JAVADOC\:91 Get the persisted status from the registration context.\nJASPIC\:SPEC\:8 The runtime must invoke the getConfigProvider method of the factory to obtain the\n AuthConfigProvider. The runtime must specify appropriate (non-null) layer and application context \n identifiers in its call to getConfigProvider.\nJASPIC\:SPEC\:14 The call to acquire the configuration object must specify the same values for layer and\n application context identifier that were used to acquire the provider classname=com.sun.ts.tests.jaspic.spi.servlet.Client direction=forward finder=cts id=GetConfigProvider keywords=GetConfigProvider jaspic_servlet all jaspic jaspic_servlet javaee jaspic_web_profile javaee_web_profile_optional GetConfigProvider novehicle forward service_eetest=no testName=GetConfigProvider 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\#GetConfigProvider 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\#GetConfigProvider 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:(89/3731)---------- 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 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