Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13836 Pass the Jakarta EE 9 Platform TCK
  3. WFLY-14126

3 servlet test failures in servlet/spec/errorpage

    XMLWordPrintable

Details

    • Undefined
    • ---
    • ---

    Description

      Failing tests:
      com/sun/ts/tests/servlet/spec/errorpage/URLClient.java#heirarchyErrorMatchTest

      ************************************************************
      11-19-2020 20:43:36: [BaseUrlClient] Test setup OK
      REQUEST LINE: GET /servlet_spec_errorpage_web/TestServlet?testname=heirarchyErrorMatchTest HTTP/1.1
      11-19-2020 20:43:36: [HttpRequest] Dispatching request: 'GET /servlet_spec_errorpage_web/TestServlet?testname=heirarchyErrorMatchTest HTTP/1.1' to target server at 'localhost:8080'
      Nov 19, 2020 8:43:36 PM org.apache.commons.httpclient.HttpConnection releaseConnection
      WARN: HttpConnectionManager is null. Connection cannot be released.
      11-19-2020 20:43:36: ERROR: [WebValidatorBase] Unable to find the following search string in the server's response: 'Exception Type: java.lang.IllegalThreadStateException' at index: 111
      [WebValidatorBase] Server's response:
      -------------------------------------------
      First ErrorPage
      Servlet Name: TestServlet
      Request URI: /servlet_spec_errorpage_web/TestServlet
      Status Code: 500
      Exception Type: jakarta.servlet.ServletException
      Exception: jakarta.servlet.ServletException: java.lang.IllegalThreadStateException: error page invoked
      Message: error page invoked

      -------------------------------------------

      11-19-2020 20:43:36: ERROR: Test case throws exception: [BaseUrlClient] heirarchyErrorMatchTest failed! Check output for cause of failure.
      11-19-2020 20:43:36: ERROR: Exception at:
      11-19-2020 20:43:36: ERROR: com.sun.ts.tests.common.webclient.TestFailureException: Test FAILED!
      at com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:180)
      at com.sun.ts.tests.common.webclient.BaseUrlClient.invoke(BaseUrlClient.java:455)
      at com.sun.ts.tests.servlet.spec.errorpage.URLClient.heirarchyErrorMatchTest(URLClient.java:125)
      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.EETest.getPropsReady(EETest.java:486)
      at com.sun.ts.lib.harness.EETest.run(EETest.java:337)
      at com.sun.ts.tests.servlet.spec.errorpage.URLClient.run(URLClient.java:51)
      at com.sun.ts.tests.servlet.spec.errorpage.URLClient.main(URLClient.java:37)

      11-19-2020 20:43:36: [BaseUrlClient] Test cleanup OK
      STATUS:Failed.Test case throws exception: [BaseUrlClient] heirarchyErrorMatchTest failed! Check output for cause of failure.
      result: Failed. Test case throws exception: [BaseUrlClient] heirarchyErrorMatchTest failed! Check output for cause of failure.

      com/sun/ts/tests/servlet/spec/errorpage/URLClient.java#servletToDifferentErrorPagesTest

      11-19-2020 20:43:38: [BaseUrlClient] Test setup OK
      REQUEST LINE: GET /servlet_spec_errorpage_web/TestServlet?testname=servletErrorPageTest HTTP/1.1
      11-19-2020 20:43:38: [HttpRequest] Dispatching request: 'GET /servlet_spec_errorpage_web/TestServlet?testname=servletErrorPageTest HTTP/1.1' to target server at 'localhost:8080'
      Nov 19, 2020 8:43:38 PM org.apache.commons.httpclient.HttpConnection releaseConnection
      WARN: HttpConnectionManager is null. Connection cannot be released.
      11-19-2020 20:43:38: ERROR: [WebValidatorBase] Unable to find the following search string in the server's response: 'Exception Type: java.lang.IllegalStateException' at index: 111
      [WebValidatorBase] Server's response:
      -------------------------------------------
      First ErrorPage
      Servlet Name: TestServlet
      Request URI: /servlet_spec_errorpage_web/TestServlet
      Status Code: 500
      Exception Type: jakarta.servlet.ServletException
      Exception: jakarta.servlet.ServletException: java.lang.IllegalStateException: error page invoked
      Message: error page invoked

      -------------------------------------------

      11-19-2020 20:43:38: ERROR: Test case throws exception: [BaseUrlClient] servletErrorPageTest failed! Check output for cause of failure.
      11-19-2020 20:43:38: ERROR: Exception at:
      11-19-2020 20:43:38: ERROR: com.sun.ts.tests.common.webclient.TestFailureException: Test FAILED!
      at com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:180)
      at com.sun.ts.tests.common.webclient.BaseUrlClient.invoke(BaseUrlClient.java:455)
      at com.sun.ts.tests.servlet.spec.errorpage.URLClient.servletToDifferentErrorPagesTest(URLClient.java:77)
      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.EETest.getPropsReady(EETest.java:486)
      at com.sun.ts.lib.harness.EETest.run(EETest.java:337)
      at com.sun.ts.tests.servlet.spec.errorpage.URLClient.run(URLClient.java:51)
      at com.sun.ts.tests.servlet.spec.errorpage.URLClient.main(URLClient.java:37)

      com/sun/ts/tests/servlet/spec/errorpage/URLClient.java#wrappedExceptionTest

      11-19-2020 20:43:42: [BaseUrlClient] Test setup OK
      11-19-2020 20:43:42: [HttpRequest] Dispatching request: 'GET /servlet_spec_errorpage_web/WrappedException HTTP/1.1' to target server at 'localhost:8080'
      Nov 19, 2020 8:43:42 PM org.apache.commons.httpclient.HttpConnection releaseConnection
      WARN: HttpConnectionManager is null. Connection cannot be released.
      11-19-2020 20:43:42: ERROR: [WebValidatorBase] Unable to find the following search string in the server's response: 'Exception Type: com.sun.ts.tests.servlet.spec.errorpage.TestException' at index: 122
      [WebValidatorBase] Server's response:
      -------------------------------------------
      Second ErrorPage
      Servlet Name: WrappedException
      Request URI: /servlet_spec_errorpage_web/WrappedException
      Status Code: 500
      Exception Type: jakarta.servlet.ServletException
      Exception: jakarta.servlet.ServletException: com.sun.ts.tests.servlet.spec.errorpage.TestException: error page invoked
      Message: error page invoked

      -------------------------------------------

      11-19-2020 20:43:42: ERROR: Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure.
      11-19-2020 20:43:42: ERROR: Exception at:
      11-19-2020 20:43:42: ERROR: com.sun.ts.tests.common.webclient.TestFailureException: Test FAILED!
      at com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:180)
      at com.sun.ts.tests.common.webclient.BaseUrlClient.invoke(BaseUrlClient.java:455)
      at com.sun.ts.tests.servlet.spec.errorpage.URLClient.wrappedExceptionTest(URLClient.java:154)
      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.EETest.getPropsReady(EETest.java:486)
      at com.sun.ts.lib.harness.EETest.run(EETest.java:337)
      at com.sun.ts.tests.servlet.spec.errorpage.URLClient.run(URLClient.java:51)
      at com.sun.ts.tests.servlet.spec.errorpage.URLClient.main(URLClient.java:37)

      11-19-2020 20:43:42: [BaseUrlClient] Test cleanup OK
      STATUS:Failed.Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure.
      result: Failed. Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure.

      Attachments

        Issue Links

          Activity

            People

              ropalka Richard Opalka
              smarlow1@redhat.com Scott Marlow
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: