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

jstl.spec.core.urlresource.importtag positiveImportEncodingNotSpecifiedTest

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.0.0-M7
    • Component/s: None
    • Labels:
      None

      Description

      Follow setup instructions in TOMEE-3140. Then run:

      ./runtests --ee91 -c -j --web tomee-plume com.sun.ts.tests.jstl.spec.core.urlresource.importtag.JSTLClient#positiveImportEncodingNotSpecifiedTest
      

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

      04-11-2021 20:55:08:  TRACE: [WIRE] - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
      04-11-2021 20:55:08:  TRACE: [WIRE] - >> "Host: localhost:54465[\r][\n]"
      04-11-2021 20:55:08:  TRACE: [WIRE] - >> "[\r][\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "HTTP/1.1 200 [\r][\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "HTTP/1.1 200 [\r][\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "Set-Cookie: JSESSIONID=B5E482CF26F4A1DAB41BF04C6C6FB192; Path=/jstl_core_url_import_web; HttpOnly[\r][\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "Content-Type: text/plain;charset=ISO-8859-1[\r][\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "Content-Length: 114[\r][\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "Date: Mon, 12 Apr 2021 03:55:09 GMT[\r][\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "[\r][\n]"
      04-11-2021 20:55:09:  TRACE: [Goldenfile] Loading goldenfile using encoding: ISO-8859-1
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "[\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "[\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "[\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "[\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "[\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "[\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "[\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "[\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "[\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "[\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "output from encoded jsp page[\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "[\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "[\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "[\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "[\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "[0x0]o[0x0]u[0x0]t[0x0]p[0x0]u[0x0]t[0x0] [0x0]f[0x0]r[0x0]o[0x0]m[0x0] [0x0]t[0x0]e[0x0]x[0x0]t[0x0] [0x0]f[0x0]i[0x0]l[0x0]e[0x0]:[0x0] [0x0]T[0x0]e[0x0]s[0x0]t[0x0] [0x0]P[0x0]A[0x0]S[0x0]S[0x0]E[0x0]D[0x0][\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - << "[\n]"
      04-11-2021 20:55:09:  TRACE: [WIRE] - HttpConnectionManager is null.  Connection cannot be released.
      04-11-2021 20:55:09:  ERROR: [TokenizedValidator]: Server's response and goldenfile to not match!
      
                  Goldenfile token: þÿoutput
                  Response token:   output
      04-11-2021 20:55:09:  ERROR: 
      Server Response (below):
      ------------------------------------------
      
      
      
      
      
      
      
      
      
      
      output from encoded jsp page
      
      
      
      
      output from text file: Test PASSED
      
      
      ------------------------------------------
      
      Goldenfile (below):
      ------------------------------------------
      
      
      
      
      
      
      
      
          
      
      
      output from encoded jsp page
      
      
      
      
      
      þÿoutput from text file: Test PASSED
      
      
      ------------------------------------------
      
      04-11-2021 20:55:09:  ERROR: Test case throws exception: [BaseUrlClient] positiveImportEncodingNotSpecifiedTest failed! Check output for cause of failure.
      04-11-2021 20:55:09:  ERROR: Exception at:  
      04-11-2021 20:55:09:  ERROR: com.sun.ts.tests.common.webclient.TestFailureException: Test FAILED!
      	at com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:178)
      	at com.sun.ts.tests.common.webclient.BaseUrlClient.invoke(BaseUrlClient.java:456)
      	at com.sun.ts.tests.jstl.spec.core.urlresource.importtag.JSTLClient.positiveImportEncodingNotSpecifiedTest(JSTLClient.java:400)
      	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.jstl.spec.core.urlresource.importtag.JSTLClient.run(JSTLClient.java:64)
      	at com.sun.ts.tests.jstl.spec.core.urlresource.importtag.JSTLClient.main(JSTLClient.java:50)
      
      04-11-2021 20:55:09:  [BaseUrlClient] Test cleanup OK
      STATUS:Failed.Test case throws exception: [BaseUrlClient] positiveImportEncodingNotSpecifiedTest failed! Check output for cause of failure.
      Failed. Test case throws exception: [BaseUrlClient] positiveImportEncodingNotSpecifiedTest failed! Check output for cause of failure.
      ********************************************************************************
      Finished Test:  FAILED........com/sun/ts/tests/jstl/spec/core/urlresource/importtag/JSTLClient.java#positiveImportEncodingNotSpecifiedTest
      

      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

            • Assignee:
              jlmonteiro Jean-Louis Monteiro
              Reporter:
              dblevins David Blevins
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: