Failed
com.sun.ts.tests.jaspic.spi.servlet.Client.CheckValidateReqAuthException (from authentication-tck)
Error Message
test result: Failed. Test case throws exception: CheckValidateReqAuthException : FAILED
Stacktrace
test result: Failed. Test case throws exception: CheckValidateReqAuthException : FAILED
Standard Output
#Test Results (version 2) #Fri Mar 26 03:37:10 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\:1 Constructs an AuthException with no detail message.\n A detail message is a String that describes this particular exception.\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\:SPEC\:58 If the call to validateRequest throws an AuthException (Befor Service Invocation) - the\n runtime must NOT proceed to authorize the request or perform the application request processing.\nJASPIC\:SPEC\:94 The call to secureResponse must not be made if the resource throws an exception to the calling\n runtime.\nJASPIC\:SPEC\:320 If the module throws an AuthException, or returns any value other that AuthStatus.SUCCESS, the\n runtime must NOT proceed to the service invocation. The runtime must process an AuthException as \n described above for a request with a mandatory requestPolicy. classname=com.sun.ts.tests.jaspic.spi.servlet.Client direction=forward finder=cts id=CheckValidateReqAuthException keywords=CheckValidateReqAuthException jaspic_servlet all jaspic jaspic_servlet javaee jaspic_web_profile javaee_web_profile_optional CheckValidateReqAuthException novehicle forward service_eetest=no testName=CheckValidateReqAuthException 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----- JAVA_HOME=/opt/jdk-11.0.7 SYSTEMROOT=${env.SystemRoot} authpassword=javajoe authuser=javajoe command.testExecute=com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH\=${jaspic.home.ri}/modules/webservices-osgi.jar\:${jaspic.home.ri}/modules/webservices-security.jar\:${jaspic.home.ri}/modules/ha-api.jar\:${ts.home}/classes\:${ts.harness.classpath}\:${ts.home}/lib/jaxen-1.1.6.jar\:DISPLAY\=${ts.display} HOME\="${user.home}" windir\=${windir} SYSTEMROOT\=${SYSTEMROOT} PATH\="${jaspic.home}/nativelib" ${JAVA_HOME}/bin/java -Dcts.tmp\=$harness.temp.directory -Djava.protocol.handler.pkgs\=javax.net.ssl -Djavax.net.ssl.keyStore\=${ts.home}/bin/certificates/clientcert.jks -Djavax.net.ssl.keyStorePassword\=changeit -Djavax.net.ssl.trustStore\=${s1as.domain}/${sjsas.instance.config.dir}/cacerts.jks -Dcom.sun.aas.installRoot\=${jaspic.home} -Dcom.sun.aas.configRoot\=${jaspic.home}/config -Dlog.file.location\=${log.file.location} -Djava.util.logging.config.file\=${ts.home}/bin/logging.properties -Dservlet.is.jsr115.compatible\=${servlet.is.jsr115.compatible} -Dsoap.is.jsr115.compatible\=${soap.is.jsr115.compatible} -Dprovider.configuration.file\=${provider.configuration.file} -Dlogical.hostname.servlet\=${logical.hostname.servlet} -Djava.security.properties\=${s1as.domain}/config/ts.java.security -Ddeliverable.class\=${deliverable.class} $testExecuteClass $testExecuteArgs deliverable.class=com.sun.ts.lib.deliverable.cts.CTSDeliverable 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.classes=${jaspic.home}/modules/war-util.jar\:${jaspic.home}/modules/jaspic.provider.framework.jar\:${jaspic.home}/modules/security.jar\:${jaspic.home}/modules/security-ee.jar\:${jaspic.home}/modules/kernel.jar\:${jaspic.home}/modules/admin-cli.jar\:${jaspic.home}/modules/annotation-framework.jar\:${jaspic.home}/modules/common-util.jar\:${jaspic.home}/modules/config-api.jar\:${jaspic.home}/modules/connectors-runtime.jar\:${jaspic.home}/modules/container-common.jar\:${jaspic.home}/modules/dol.jar\:${jaspic.home}/modules/gf-connectors-connector.jar\:${jaspic.home}/modules/glassfish.jar\:${jaspic.home}/modules/glassfish-naming.jar\:${jaspic.home}/modules/internal-api.jar\:${jaspic.home}/modules/security.jar\:${jaspic.home}/modules/jakarta.servlet-api.jar\:${jaspic.home}/modules/war-util.jar\:${jaspic.home}/modules/jakarta.mail.jar\:${jaspic.home}/modules/jakarta.enterprise.deploy-api.jar\:${jaspic.home}/modules/webservices-osgi.jar\:${jaspic.home}/modules/jaxb-osgi.jar\:${jaspic.home}/modules/jakarta.jms-api.jar\:${jaspic.home}/modules/jakarta.annotation-api.jar\:${jaspic.home}/modules/webservices-api-osgi.jar\:${jaspic.home}/modules/deployment-client.jar\:${jaspic.home}/modules/jakarta.authentication-api.jar jaspic.home=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish jaspic.home.ri=${jaspic.home} 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.SunRILoginContext porting.ts.login.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRILoginContext 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 sjsas.instance.config.dir=config soap.is.jsr115.compatible=false ts.display=\:0.0 ts.harness.classpath=${ts.home}/lib/jaxb-api.jar\:${ts.home}/lib/jaxb-impl.jar\:${ts.home}/lib/jaxb-xjc.jar\:${ts.home}/lib/tsharness.jar\:${ts.home}/lib/jaspic.jar\:${ts.home}/lib/sigtest.jar\:${ts.run.classpath}\:${ts.home}/lib/javatest.jar\:${ts.home}/lib/jdom-1.1.3.jar\:${ant.home}/lib/ant.jar ts.home=/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../.. ts.run.classpath=${jaspic.classes}\:${ts.home}/lib/tsharness.jar\:${ts.home}/lib/jaspic.jar\:${ts.home}/lib/tssv.jar user=j2ee user.home=? 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 windir=${env.windir} 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\#CheckValidateReqAuthException end=Fri Mar 26 03\:37\:10 UTC 2021 environment=ts_unix execStatus=Failed. Test case throws exception\: CheckValidateReqAuthException \: FAILED harnessLoaderMode=Classpath Loader harnessVariety=Full Bundle javatestOS=Linux 3.10.0-1062.el7.x86_64 (amd64) javatestVersion=5.0 script=com.sun.ts.lib.harness.TSScript sections=script_messages Deployment TestRun start=Fri Mar 26 03\:37\:08 UTC 2021 test=com/sun/ts/tests/jaspic/spi/servlet/Client.java\#CheckValidateReqAuthException timeoutSeconds=600 totalTime=1837 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:(124/5205)---------- 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: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: harness.executeMode is set to "0" keywords (to be passed to tests) set to: !rmi_iiop&!corba sClassPathFromExecProps = :: result: Passed. Deployment phase completed. However, check the output above to see if actual deployment passed or failed. #section:TestRun ----------messages:(1/6160)---------- command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:::/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/webservices-osgi.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/webservices-security.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/ha-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../classes:/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../lib/jaxb-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../lib/jaxb-impl.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../lib/jaxb-xjc.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../lib/tsharness.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../lib/jaspic.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../lib/sigtest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/war-util.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jaspic.provider.framework.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/security.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/security-ee.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/kernel.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/admin-cli.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/annotation-framework.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/common-util.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/config-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/connectors-runtime.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/container-common.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/dol.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/gf-connectors-connector.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/glassfish.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/glassfish-naming.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/internal-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/security.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/war-util.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.mail.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.enterprise.deploy-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/webservices-osgi.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jaxb-osgi.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.jms-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.annotation-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/webservices-api-osgi.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/deployment-client.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.authentication-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../lib/tsharness.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../lib/jaspic.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../lib/tssv.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../lib/javatest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../lib/jdom-1.1.3.jar:/lib/ant.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../lib/jaxen-1.1.6.jar:DISPLAY=:0.0 HOME=? windir= SYSTEMROOT= PATH=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/nativelib /opt/jdk-11.0.7/bin/java -Dcts.tmp=/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../tmp -Djava.protocol.handler.pkgs=javax.net.ssl -Djavax.net.ssl.keyStore=/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../bin/certificates/clientcert.jks -Djavax.net.ssl.keyStorePassword=changeit -Djavax.net.ssl.trustStore=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/config/cacerts.jks -Dcom.sun.aas.installRoot=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish -Dcom.sun.aas.configRoot=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/config -Dlog.file.location=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/logs -Djava.util.logging.config.file=/home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../bin/logging.properties -Dservlet.is.jsr115.compatible=true -Dsoap.is.jsr115.compatible=false -Dprovider.configuration.file=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/config/ProviderConfiguration.xml -Dlogical.hostname.servlet=server -Djava.security.properties=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/config/ts.java.security -Ddeliverable.class=com.sun.ts.lib.deliverable.cts.CTSDeliverable com.sun.ts.tests.jaspic.spi.servlet.Client -p /home/jenkins/agent/workspace/jakartaee-tck_master/authentication-tck/bin/xml/../../tmp/tstest.jte -t CheckValidateReqAuthException ----------log:(69/7027)---------- ************************************************************ * props file set to "/tmp/?-cts-props.txt" ************************************************************ 03-26-2021 03:37:08: TRACE: ####### Value of harness.socket.retry.count is "10" 03-26-2021 03:37:08: TRACE: ####### Value of harness.log.port is "2000" 03-26-2021 03:37:08: TRACE: ####### Actual bind value of harness.log.port is "2000" 03-26-2021 03:37:08: TRACE: *** in EETest.run(argv,p) 03-26-2021 03:37:08: TRACE: TESTCLASS=com.sun.ts.tests.jaspic.spi.servlet.Client 03-26-2021 03:37:08: TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.jaspic.spi.servlet.Client 03-26-2021 03:37:08: TRACE: ** IN getRunMethod: testname=CheckValidateReqAuthException 03-26-2021 03:37:08: TRACE: ** GOT RUN METHOD! 03-26-2021 03:37:08: TRACE: **runmethod=CheckValidateReqAuthException 03-26-2021 03:37:08: TRACE: ABOUT TO GET SETUP METHOD! 03-26-2021 03:37:08: TRACE: No setupMethod annotation present 03-26-2021 03:37:08: TRACE: getSetupMethod - checking for testcase specific setup method: CheckValidateReqAuthException_setup 03-26-2021 03:37:08: TRACE: getSetupMethod - checking for default class specific setup method 03-26-2021 03:37:08: TRACE: GOT SETUP METHOD! 03-26-2021 03:37:08: TRACE: No cleanupMethod annotation present 03-26-2021 03:37:08: TRACE: getCleanupMethod - checking for testcase specific cleanup method: CheckValidateReqAuthException_cleanup 03-26-2021 03:37:08: TRACE: getCleanupMethod - checking for default class specific cleanup method 03-26-2021 03:37:08: TRACE: GOT CLEANUP METHOD! 03-26-2021 03:37:08: TRACE: ABOUT TO INVOKE SETUP METHOD! 03-26-2021 03:37:08: setup(): logFileLocation = /home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/logs 03-26-2021 03:37:08: setup(): providerConfigFileLoc = /home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/config/ProviderConfiguration.xml 03-26-2021 03:37:08: setup(): appContextHostname = server 03-26-2021 03:37:08: setup(): contextPath = /spitests_servlet_web 03-26-2021 03:37:08: setup(): appContext = server /spitests_servlet_web 03-26-2021 03:37:08: setup(): servletAppContext = server /spitests_servlet_web 03-26-2021 03:37:08: TestSuite Provider ConfigFile = /home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/config/ProviderConfiguration.xml 03-26-2021 03:37:08: Vendor AuthConfigFactory class = com.sun.enterprise.security.jmac.config.GFAuthConfigFactory 03-26-2021 03:37:08: log.file.location = /home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/logs 03-26-2021 03:37:08: Setup ok Log File = /home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/logs/TSSVLog.txt 03-26-2021 03:37:08: TRACE: INVOKED SETUP METHOD! 03-26-2021 03:37:08: TRACE: ABOUT TO INVOKE EETEST RUN METHOD! 03-26-2021 03:37:08: sContext = /spitests_servlet_web/ModuleAuthStatusThrowExNoDispatch?log.file.location=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/logs&provider.configuration.file=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/config/ProviderConfiguration.xml&vendor.authconfig.factory=com.sun.enterprise.security.jmac.config.GFAuthConfigFactory 03-26-2021 03:37:08: passing to servlet: log.file.location = /home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/logs 03-26-2021 03:37:08: passing to servlet: provider.configuration.file = /home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/config/ProviderConfiguration.xml 03-26-2021 03:37:08: passing to servlet: vendor.authconfig.factory = com.sun.enterprise.security.jmac.config.GFAuthConfigFactory 03-26-2021 03:37:08: authData : j2ee:j2ee 03-26-2021 03:37:08: encoded authData : ajJlZTpqMmVl 03-26-2021 03:37:08: called HttpURLConnection.connect() for url: http://localhost:8080/spitests_servlet_web/ModuleAuthStatusThrowExNoDispatch?log.file.location=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/logs&provider.configuration.file=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/config/ProviderConfiguration.xml&vendor.authconfig.factory=com.sun.enterprise.security.jmac.config.GFAuthConfigFactory 03-26-2021 03:37:08: Got response code of: 200 03-26-2021 03:37:08: Got response string of: OK 03-26-2021 03:37:08: ERROR: AuthException returned Response with invalid HTTP status code returned status code was 200 : FAILED 03-26-2021 03:37:08: Abnormal return status encountered while invoking /spitests_servlet_web/ModuleAuthStatusThrowExNoDispatch?log.file.location=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/logs&provider.configuration.file=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/config/ProviderConfiguration.xml&vendor.authconfig.factory=com.sun.enterprise.security.jmac.config.GFAuthConfigFactory 03-26-2021 03:37:08: Exception Message was: AuthException returned Response with invalid HTTP status code returned status code was 200 : FAILED Log File = /home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/logs/TSSVLog.txt 03-26-2021 03:37:08: Leaving checkAuthStatus() 03-26-2021 03:37:08: Searching log records for record :HttpServlet profile with servletName=/ModuleAuthStatusThrowExNoDispatch returning AuthStatus=AuthException 03-26-2021 03:37:08: Record collection has: 1252 records. 03-26-2021 03:37:08: No Matching log Record(s) found for the following String(s) : 03-26-2021 03:37:08: HttpServlet profile with servletName=/ModuleAuthStatusThrowExNoDispatch returning AuthStatus=AuthException 03-26-2021 03:37:08: ERROR: CheckValidateReqAuthException : FAILED 03-26-2021 03:37:08: ERROR: Test case throws exception: CheckValidateReqAuthException : FAILED 03-26-2021 03:37:08: ERROR: Exception at: 03-26-2021 03:37:08: ERROR: com.sun.ts.lib.harness.EETest$Fault: CheckValidateReqAuthException : FAILED at com.sun.ts.tests.jaspic.spi.servlet.Client.CheckValidateReqAuthException(Client.java:525) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.sun.ts.lib.harness.EETest.run(EETest.java:596) at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486) at com.sun.ts.lib.harness.EETest.run(EETest.java:337) at com.sun.ts.lib.harness.EETest.run(EETest.java:285) at com.sun.ts.tests.jaspic.spi.servlet.Client.main(Client.java:131) STATUS:Failed.Test case throws exception: CheckValidateReqAuthException : FAILED result: Failed. Test case throws exception: CheckValidateReqAuthException : FAILED test result: Failed. Test case throws exception: CheckValidateReqAuthException : FAILED