Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14915

EE 9.1 TCK servlet TCK failures with SE 17

    XMLWordPrintable

Details

    • Hide

      When running the EE 9.1 TCK against WF Preview using SE 17 we see two failures:

      test=com/sun/ts/tests/servlet/spec/security/clientcert/Client.java#clientCertTest
      test=com/sun/ts/tests/servlet/spec/security/clientcertanno/Client.java#clientCertTest

      Both fail with something like this in the jtr file:

      06-10-2021 21:57:47:  ERROR: Test case throws exception: clientCertTest: FAILED
      06-10-2021 21:57:47:  ERROR: Exception at:  
      06-10-2021 21:57:47:  ERROR: java.io.IOException: Server returned HTTP response code: 403 for URL: https://localhost:8443/clientcert_web/ServletSecTest
      	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1985)
      	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1577)
      	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
      	at com.sun.ts.lib.implementation.sun.javaee.SunRIHttpsURLConnection.getInputStream(SunRIHttpsURLConnection.java:148)
      	at com.sun.ts.lib.porting.TSHttpsURLConnection.getInputStream(TSHttpsURLConnection.java:163)
      	at com.sun.ts.tests.servlet.spec.security.clientcert.Client.clientCertTest(Client.java:139)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      	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.servlet.spec.security.clientcert.Client.main(Client.java:71)
      
      06-10-2021 21:57:47:  cleanup...
      STATUS:Failed.Test case throws exception: clientCertTest: FAILED
      result: Failed. Test case throws exception: clientCertTest: FAILED
      
      Show
      When running the EE 9.1 TCK against WF Preview using SE 17 we see two failures: test=com/sun/ts/tests/servlet/spec/security/clientcert/Client.java#clientCertTest test=com/sun/ts/tests/servlet/spec/security/clientcertanno/Client.java#clientCertTest Both fail with something like this in the jtr file: 06-10-2021 21:57:47: ERROR: Test case throws exception: clientCertTest: FAILED 06-10-2021 21:57:47: ERROR: Exception at: 06-10-2021 21:57:47: ERROR: java.io.IOException: Server returned HTTP response code: 403 for URL: https: //localhost:8443/clientcert_web/ServletSecTest at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1985) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1577) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224) at com.sun.ts.lib.implementation.sun.javaee.SunRIHttpsURLConnection.getInputStream(SunRIHttpsURLConnection.java:148) at com.sun.ts.lib.porting.TSHttpsURLConnection.getInputStream(TSHttpsURLConnection.java:163) at com.sun.ts.tests.servlet.spec.security.clientcert.Client.clientCertTest(Client.java:139) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) 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.servlet.spec.security.clientcert.Client.main(Client.java:71) 06-10-2021 21:57:47: cleanup... STATUS:Failed.Test case throws exception: clientCertTest: FAILED result: Failed. Test case throws exception: clientCertTest: FAILED

    Attachments

      Issue Links

        Activity

          People

            fjuma1@redhat.com Farah Juma
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: