You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jean-Louis Monteiro (Jira)" <ji...@apache.org> on 2021/04/13 19:19:00 UTC

[jira] [Assigned] (TOMEE-3209) jstl.spec.core.urlresource.importtag positiveImportEncodingNotSpecifiedTest

     [ https://issues.apache.org/jira/browse/TOMEE-3209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Louis Monteiro reassigned TOMEE-3209:
------------------------------------------

    Assignee: Jean-Louis Monteiro

> jstl.spec.core.urlresource.importtag positiveImportEncodingNotSpecifiedTest
> ---------------------------------------------------------------------------
>
>                 Key: TOMEE-3209
>                 URL: https://issues.apache.org/jira/browse/TOMEE-3209
>             Project: TomEE
>          Issue Type: Sub-task
>            Reporter: David Blevins
>            Assignee: Jean-Louis Monteiro
>            Priority: Major
>
> Follow setup instructions in TOMEE-3140.  Then run:
> {code}
> ./runtests --ee91 -c -j --web tomee-plume com.sun.ts.tests.jstl.spec.core.urlresource.importtag.JSTLClient#positiveImportEncodingNotSpecifiedTest
> {code}
> At the time this issue was filed, the test failed with the following in {{target/logs/javatest.log}}
> {code}
> 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
> {code}
> 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.*



--
This message was sent by Atlassian Jira
(v8.3.4#803005)