Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-3140 Jakarta EE 9.1 TCK Failures
  3. TOMEE-3159

jaxrs.ee.rs.container.requestcontext.security getSecurityContextTest

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 9.0.0-M7
    • None
    • None

    Description

      Follow setup instructions in TOMEE-3140. Then run:

      ./runtests --ee91 -c -j --web tomee-plume com.sun.ts.tests.jaxrs.ee.rs.container.requestcontext.security.JAXRSClient#getSecurityContextTest_from_standalone
      

      At the time this issue was filed, the test failed with the following in target/logs/javatest.log

      OpenEJB - Distribute returned moduleID /Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/dist/com/sun/ts/tests/jaxrs/ee/rs/container/requestcontext/security/jaxrs_ee_rs_container_requestcontext_security_web
      04-11-2021 20:21:02:  Harness - amd Obtained CACHED DeploymentManager
      OpenEJBDeploymentManager - connected
      04-11-2021 20:21:02:  Harness - amd Obtained CACHED DeploymentManager
      OpenEJBDeploymentManager - connected
      Deployed apps from - /Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/dist/com/sun/ts/tests/jaxrs/ee/rs/container/requestcontext/security
      Undeploying apps...
      StandardDeployment14.isDeployed()
      Deployed Modules: 
      
      Search for s1as runtime files match:`jaxrs_ee_rs_container_requestcontext_security_web.war`
      Valid runtime files after sweep:
      /Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/dist/com/sun/ts/tests/jaxrs/ee/rs/container/requestcontext/security/jaxrs_ee_rs_container_requestcontext_security_web.war.sun-web.xml
      Deploying apps for forward rebuildable...
      Search for s1as runtime files match:`jaxrs_ee_rs_container_requestcontext_security_web.war`
      Valid runtime files after sweep:
      /Users/dblevins/work/apache/tomee-tck-ee91/./target/harnesstmp//tmp/jaxrs_ee_rs_container_requestcontext_security_web.war.sun-web.xml
      StandardDeployment14.deploy()
      Starting to distribute:  /Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/dist/com/sun/ts/tests/jaxrs/ee/rs/container/requestcontext/security/jaxrs_ee_rs_container_requestcontext_security_web.war
      file: /Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/dist/com/sun/ts/tests/jaxrs/ee/rs/container/requestcontext/security/jaxrs_ee_rs_container_requestcontext_security_web.war
      plan: java.io.ByteArrayInputStream@61fc69e2
      amd Obtained CACHED DeploymentManager
      amd Obtained CACHED DeploymentManager
      $$$$$$$$$$ Deployment SUCCEEDED for "/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/dist/com/sun/ts/tests/jaxrs/ee/rs/container/requestcontext/security/jaxrs_ee_rs_container_requestcontext_security_web.war"
      amd Obtained CACHED DeploymentManager
      amd Obtained CACHED DeploymentManager
      04-11-2021 20:21:02:  Harness - harness.executeMode is set to "0"
      04-11-2021 20:21:02:  Harness - keywords (to be passed to tests) set to:  all
      04-11-2021 20:21:02:  Harness - sClassPathFromExecProps = 
      command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxb-api.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxb-core.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxb-impl.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxb-xjc.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/tsharness.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/cts.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/sigtest.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/javaee-api-8.0-5.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/tomee-tck-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/openejb-core-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/openejb-core-eclipselink-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/activemq-client-5.16.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/activemq-jdbc-store-5.16.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/bval-jsr-2.0.5.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/catalina.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/commons-cli-1.4.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/commons-collections-3.2.2.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/commons-collections4-4.4.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/commons-dbcp2-2.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/commons-lang3-3.11.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/commons-logging-1.2.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/commons-pool2-2.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/cts-9.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/dbprocedures-9.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/derby-10.14.2.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/derbyclient-10.14.2.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/derbynet-10.14.2.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/eclipselink-3.0.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/el-api.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/geronimo-connector-3.1.4.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/geronimo-javamail_1.6_mail-1.0.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/geronimo-jms_1.1_spec-1.1.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/geronimo-mail-2.0.2.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/geronimo-transaction-3.1.4.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/hawtbuf-1.11.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/howl-1.0.1-1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/hsqldb-2.3.2.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/istack-commons-runtime-3.0.11.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/jackson-annotations-2.12.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/jackson-core-2.12.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/jackson-databind-2.12.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/jakarta.activation-1.2.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/jakarta.xml.bind-api-2.3.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/jaspic-api.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/javaee-api-8.0-5.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/jaxb-runtime-2.3.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/jsp-api.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/mbean-annotation-api-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-api-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-core-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-core-eclipselink-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-javaagent-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-javaagent.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-jee-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-jee-accessors-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-jpa-integration-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openejb-loader-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openjpa-3.1.2.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openwebbeans-ee-2.0.22.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openwebbeans-ee-common-2.0.22.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openwebbeans-ejb-2.0.22.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openwebbeans-el22-2.0.22.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openwebbeans-impl-2.0.22.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openwebbeans-spi-2.0.22.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/openwebbeans-web-2.0.22.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/quartz-openejb-shade-2.2.4.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/serp-1.15.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/servlet-api.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/slf4j-api-1.7.21.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/stax-ex-1.8.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/swizzle-stream-1.6.2.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/sxc-jaxb-core-0.8.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/sxc-runtime-0.8.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tomcat-api.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tomcat-juli.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tomcat-util-scan.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tomcat-util.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tomcat-websocket.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tomee-catalina-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tomee-security-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tsharness-9.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/tssv-9.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/txw2-2.3.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/websocket-api.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/whitebox-9.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-asm-util-4.18.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-asm7-shaded-4.14.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-asm8-shaded-4.17.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-asm9-shaded-4.18.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-bundleutils-4.14.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-bundleutils-4.18.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-finder-shaded-4.14.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-finder-shaded-4.18.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-naming-4.14.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-naming-4.18.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-reflect-4.14.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/lib/xbean-reflect-4.18.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/commons-logging-1.2.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/eclipselink-3.0.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/derby-10.14.2.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/derbyclient-10.14.2.0.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/openejb-client-8.0.7-SNAPSHOT.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/javatest.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/tsharness.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/cts.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/dbprocedures.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/commons-httpclient-3.1.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jdom-1.1.3.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxb-api.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxb-impl.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxb-xjc.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/jasper-el.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/cxf-rt-rs-client-3.4.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/cxf-rt-transports-http-3.4.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/cxf-core-3.4.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/woodstox-core-6.2.4.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/stax2-api-4.2.1.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/xmlschema-core-2.2.5.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/cxf-rt-frontend-jaxrs-3.4.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/cxf-rt-rs-sse-3.4.3.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/johnzon-core-1.2.10.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/johnzon-jaxrs-1.2.10.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/johnzon-jsonb-1.2.10.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/johnzon-jsonp-strict-1.2.10.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/johnzon-mapper-1.2.10.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-api.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-coyote.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-dbcp.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-cs.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-de.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-es.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-fr.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-ja.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-ko.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-pt-BR.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-ru.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-i18n-zh-CN.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-jdbc.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-jni.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-util-scan.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-util.jar:/Users/dblevins/work/apache/tomee-tck-ee91/target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/lib/tomcat-websocket.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/javatest.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jdom-1.1.3.jar:/lib/ant.jar:/Users/dblevins/work/tckfun/glassfish6/glassfish/modules/admin-cli.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/http.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/glassfishporting.jar:/Users/dblevins/work/tckfun/glassfish6/glassfish/modules/jakarta.activation-api.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/classes:/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/../lib/tools.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/commons-httpclient-3.1.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/commons-logging-1.1.3.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/commons-codec-1.9.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/cssparser-0.9.25.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/htmlunit-2.15.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/htmlunit-core-js-2.15.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/httpclient-4.5.5.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/httpmime-4.5.5.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/httpcore-4.4.9.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/commons-collections-3.2.1.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/commons-io-2.4.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/commons-lang3-3.3.2.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxen-1.1.6.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/jaxen-core-1.0.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/js-1.6R1.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/nekohtml-1.9.21.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/sac-1.3.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/saxpath.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/xercesImpl-2.11.0.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/xalan-2.7.2.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/tssv.jar:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/lib/xml-apis-1.4.01.jar DISPLAY=:0.0 HOME=/Users/dblevins windir= SYSTEMROOT= PATH=/Users/dblevins/work/tckfun/glassfish6/glassfish/nativelib /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/bin/java -Dcts.tmp=/Users/dblevins/work/apache/tomee-tck-ee91/./target/harnesstmp/ -Djava.protocol.handler.pkgs=javax.net.ssl -Djavax.net.ssl.keyStore=/Users/dblevins/work/apache/tomee-tck-ee91/./src/test/keystores/clientcert.jks -Djavax.net.ssl.keyStorePassword=changeit -Djavax.net.ssl.trustStore=/Users/dblevins/work/apache/tomee-tck-ee91/./src/test/keystores/ssl-truststore -Djavax.net.ssl.trustStorePassword=changeit -Djava.endorsed.dirs=/Users/dblevins/work/tckfun/glassfish6/glassfish/modules/endorsed:/Users/dblevins/work/tcks/jakartaeetck-9.1.0-2021-03-24.1451/endorsedlib -Dcom.sun.aas.installRoot=/Users/dblevins/work/tckfun/glassfish6/glassfish -Dcatalina.base=target/apache-tomee-plume-9.0.0-M7-SNAPSHOT -Dlog.file.location=/Users/dblevins/work/apache/tomee-tck-ee91/./target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/logs -Dservlet.is.jsr115.compatible=false -Dprovider.configuration.file=/Users/dblevins/work/apache/tomee-tck-ee91/./target/apache-tomee-plume-9.0.0-M7-SNAPSHOT/conf/ProviderConfiguration.xml -Dlogical.hostname.servlet=Catalina/localhost -Dcom.sun.aas.configRoot=/Users/dblevins/work/tckfun/glassfish6/glassfish/config -Ddeliverable.class=com.sun.ts.lib.deliverable.cts.CTSDeliverable -Dopenejb.validation.output.level=3 com.sun.ts.tests.common.vehicle.VehicleClient -p /Users/dblevins/work/apache/tomee-tck-ee91/./target/harnesstmp//tmp/tstest.jte -t getSecurityContextTest -vehicle standalone
      ************************************************************
      * props file set to "/var/folders/bd/f9ntqy1m8xj_fs006s6crtjh0000gn/T/dblevins-cts-props.txt"
      ************************************************************
      04-11-2021 20:21:03:  TRACE: #######  Value of harness.socket.retry.count is "10"
      04-11-2021 20:21:03:  TRACE: #######  Value of harness.log.port is "50631"
      04-11-2021 20:21:03:  TRACE: #######  Actual bind value of harness.log.port is "50631"
      04-11-2021 20:21:03:  TRACE: in ServiceEETest.run() method
      04-11-2021 20:21:03:  TRACE: Vehicle to be used for this test is:  standalone
      04-11-2021 20:21:03:  TRACE: [JAXRSCommonClient] Contextroot set at /jaxrs_ee_rs_container_requestcontext_security_web/resource
      04-11-2021 20:21:03:  TRACE: in custom vehicle so call on EETest.
      04-11-2021 20:21:03:  TRACE: *** in EETest.run(argv,p)
      04-11-2021 20:21:03:  TRACE: TESTCLASS=com.sun.ts.tests.jaxrs.ee.rs.container.requestcontext.security.JAXRSClient
      04-11-2021 20:21:03:  TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.jaxrs.ee.rs.container.requestcontext.security.JAXRSClient
      04-11-2021 20:21:03:  TRACE: ** IN getRunMethod: testname=getSecurityContextTest
      04-11-2021 20:21:03:  TRACE: ** GOT RUN METHOD!
      04-11-2021 20:21:03:  TRACE: **runmethod=getSecurityContextTest
      04-11-2021 20:21:03:  TRACE: ABOUT TO GET SETUP METHOD!
      04-11-2021 20:21:03:  TRACE: No setupMethod annotation present
      04-11-2021 20:21:03:  TRACE: getSetupMethod - checking for testcase specific setup method:  getSecurityContextTest_setup
      04-11-2021 20:21:03:  TRACE: getSetupMethod - checking for default class specific setup method
      04-11-2021 20:21:03:  TRACE: GOT SETUP METHOD!
      04-11-2021 20:21:03:  TRACE: No cleanupMethod annotation present
      04-11-2021 20:21:03:  TRACE: getCleanupMethod - checking for testcase specific cleanup method:  getSecurityContextTest_cleanup
      04-11-2021 20:21:03:  TRACE: getCleanupMethod - checking for default class specific cleanup method
      04-11-2021 20:21:03:  TRACE: GOT CLEANUP METHOD!
      04-11-2021 20:21:03:  TRACE: ABOUT TO INVOKE SETUP METHOD!
      04-11-2021 20:21:03:  TRACE: setup method JAXRSCommonClient
      04-11-2021 20:21:03:  [JAXRSCommonClient] Test setup OK
      04-11-2021 20:21:03:  TRACE: INVOKED SETUP METHOD!
      04-11-2021 20:21:03:  TRACE: ABOUT TO INVOKE EETEST RUN METHOD!
      04-11-2021 20:21:03:  TRACE: [JAXRSCommonClient] invoke
      04-11-2021 20:21:03:  TRACE: [JAXRSCommonClient] setTestProperties
      04-11-2021 20:21:03:  TRACE: [JAXRSCommonClient] EXECUTING
      04-11-2021 20:21:03:  [Request] Dispatching request: 'POST http://localhost:50625/jaxrs_ee_rs_container_requestcontext_security_web/resource/' to target server at 'localhost:50625'
      04-11-2021 20:21:03:  ###############################
      04-11-2021 20:21:03:  TRACE: [WIRE] - >> POST http://localhost:50625/jaxrs_ee_rs_container_requestcontext_security_web/resource/
      04-11-2021 20:21:03:  TRACE: [WIRE] - >> Accept:*/*, Authorization:Basic ajJlZTpqMmVl
      04-11-2021 20:21:03:  TRACE: [WIRE] - << 403 FORBIDDEN
      04-11-2021 20:21:03:  TRACE: [WIRE] - << connection: keep-alive
      04-11-2021 20:21:03:  TRACE: [WIRE] - << Content-Language: en
      04-11-2021 20:21:03:  TRACE: [WIRE] - << Content-Length: 716
      04-11-2021 20:21:03:  TRACE: [WIRE] - << content-type: text/html;charset=utf-8
      04-11-2021 20:21:03:  TRACE: [WIRE] - << Date: Mon, 12 Apr 2021 03:21:02 GMT
      04-11-2021 20:21:03:  TRACE: [WIRE] - << Keep-Alive: timeout=20
      04-11-2021 20:21:03:  TRACE: [WIRE] - << <!doctype html><html lang="en"><head><title>HTTP Status 403 – Forbidden</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 403 – Forbidden</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> Access to the requested resource has been denied</p><p><b>Description</b> The server understood the request but refuses to authorize it.</p><hr class="line" /><h3>Apache Tomcat (TomEE)/10.0.4 (9.0.0-M7-SNAPSHOT)</h3></body></html>
      04-11-2021 20:21:03:  ERROR: [WebValidatorBase] Unexpected Status Code recieved from server.  Expected '200' received '403'
      04-11-2021 20:21:03:  ERROR: Test case throws exception: [JAXRSCommonClient] null failed! Check output for cause of failure.
      04-11-2021 20:21:03:  ERROR: Exception at:  
      04-11-2021 20:21:03:  ERROR: com.sun.ts.tests.common.webclient.TestFailureException: Test FAILED!
      	at com.sun.ts.tests.jaxrs.common.client.JaxrsWebTestCase.execute(JaxrsWebTestCase.java:219)
      	at com.sun.ts.tests.jaxrs.common.client.JaxrsCommonClient.invoke(JaxrsCommonClient.java:210)
      	at com.sun.ts.tests.jaxrs.ee.rs.container.requestcontext.security.JAXRSClient.getSecurityContextTest(JAXRSClient.java:72)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.sun.ts.lib.harness.EETest.run(EETest.java:596)
      	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:115)
      	at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:41)
      	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105)
      	at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
      	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209)
      	at com.sun.ts.lib.harness.EETest.run(EETest.java:285)
      	at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:37)
      
      04-11-2021 20:21:03:  [JAXRSCommonClient] Test cleanup OK
      04-11-2021 20:21:04:  TRACE: SLEPT FOR:  1000
      STATUS:Failed.Test case throws exception: [JAXRSCommonClient] null failed! Check output for cause of failure.
      Failed. Test case throws exception: [JAXRSCommonClient] null failed! Check output for cause of failure.
      ********************************************************************************
      Finished Test:  FAILED........com/sun/ts/tests/jaxrs/ee/rs/container/requestcontext/security/JAXRSClient.java#getSecurityContextTest_from_standalone
      

      For tips on debugging/fixing tests, see https://github.com/apache/tomee-tck/blob/master/DEBUGGING.adoc

      If you have any thoughts about what the test is expecting/testing, please add them to the comments.

      Attachments

        Activity

          People

            jlmonteiro Jean-Louis Monteiro
            dblevins David Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: