Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 standalone JSP tests failing #624

Closed
alwin-joseph opened this issue Feb 26, 2021 · 9 comments
Closed

2 standalone JSP tests failing #624

alwin-joseph opened this issue Feb 26, 2021 · 9 comments
Labels
9.1 9.1 release

Comments

@alwin-joseph
Copy link
Contributor

alwin-joseph commented Feb 26, 2021

Describe the bug
Two JSP standalone tests failing

com/sun/ts/tests/jsp/spec/el/jsp/URLClient.java#eLDeferredValueCoercionTest
com/sun/ts/tests/jsp/spec/el/language/URLClient.java#rValueCoercion2Test

jsplogs.txt

complete test run logs at https://ci.eclipse.org/jakartaee-tck/blue/rest/organizations/jenkins/pipelines/jakartaee-tck/branches/master/runs/1243/nodes/74/steps/295/log/?start=0

To Reproduce
Download https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee9-eftl/staged-910/jakarta-pages-tck-3.0.0.zip
Run JSP standalone tck in JDK11 .
docker/jsptck.sh has the tck run scripts

@alwin-joseph alwin-joseph added the 9.1 9.1 release label Feb 26, 2021
@arjantijms
Copy link
Contributor

@scottmarlow
Copy link
Contributor

scottmarlow commented Mar 9, 2021

@arjantijms @smillidge who can help resolve the eLDeferredValueCoercionTest + rValueCoercion2Test failures?

From yesterdays https://ci.eclipse.org/jakartaee-tck/job/9.1/job/eftl-standalonetck-build-run-910/25/artifact/pages-tck-results.tar.gz test run:

  1. eLDeferredValueCoercionTest failure:
test=com/sun/ts/tests/jsp/spec/el/jsp/URLClient.java\#eLDeferredValueCoercionTest
timeoutSeconds=600
totalTime=1758
work=/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tckwork/pages-tck/com/sun/ts/tests/jsp/spec/el/jsp

#section:script_messages
----------messages:(0/0)----------

#section:TestRun
----------messages:(1/1574)----------
command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:/opt/jdk-11.0.7/lib/rt.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/tsharness.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/jsptck.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/javatest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../classes:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet.jsp.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet.jsp-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.el.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.el-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/commons-httpclient-3.1.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/commons-logging-1.1.3.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/commons-codec-1.9.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/sigtest.jar HOME=? windir= SYSTEMROOT= /opt/jdk-11.0.7/bin/java com.sun.ts.tests.jsp.spec.el.jsp.URLClient -p /home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../tmp/tstest.jte -t eLDeferredValueCoercionTest
----------log:(97/9258)*----------
************************************************************
* props file set to "/tmp/?-cts-props.txt"
************************************************************
03-08-2021 22:47:54:  TRACE: #######  Value of harness.socket.retry.count is "10"
03-08-2021 22:47:54:  TRACE: #######  Value of harness.log.port is "2000"
03-08-2021 22:47:54:  TRACE: #######  Actual bind value of harness.log.port is "2000"
03-08-2021 22:47:54:  TRACE: *** in EETest.run(argv,p)
03-08-2021 22:47:54:  TRACE: TESTCLASS=com.sun.ts.tests.jsp.spec.el.jsp.URLClient
03-08-2021 22:47:54:  TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.jsp.spec.el.jsp.URLClient
03-08-2021 22:47:54:  TRACE: ** IN getRunMethod: testname=eLDeferredValueCoercionTest
03-08-2021 22:47:54:  TRACE: ** GOT RUN METHOD!
03-08-2021 22:47:54:  TRACE: **runmethod=eLDeferredValueCoercionTest
03-08-2021 22:47:54:  TRACE: ABOUT TO GET SETUP METHOD!
03-08-2021 22:47:54:  TRACE: No setupMethod annotation present
03-08-2021 22:47:54:  TRACE: getSetupMethod - checking for testcase specific setup method:  eLDeferredValueCoercionTest_setup
03-08-2021 22:47:54:  TRACE: getSetupMethod - checking for default class specific setup method
03-08-2021 22:47:54:  TRACE: GOT SETUP METHOD!
03-08-2021 22:47:54:  TRACE: No cleanupMethod annotation present
03-08-2021 22:47:54:  TRACE: getCleanupMethod - checking for testcase specific cleanup method:  eLDeferredValueCoercionTest_cleanup
03-08-2021 22:47:54:  TRACE: getCleanupMethod - checking for default class specific cleanup method
03-08-2021 22:47:54:  TRACE: GOT CLEANUP METHOD!
03-08-2021 22:47:54:  TRACE: ABOUT TO INVOKE SETUP METHOD!
03-08-2021 22:47:54:  [BaseUrlClient] Test setup OK
03-08-2021 22:47:54:  TRACE: INVOKED SETUP METHOD!
03-08-2021 22:47:54:  TRACE: ABOUT TO INVOKE EETEST RUN METHOD!
03-08-2021 22:47:54:  TRACE: [BaseUrlClient] EXECUTING
03-08-2021 22:47:54:  [HttpRequest] Dispatching request: 'GET /jsp_el_jsp_web/ELDeferredValueCoercion.jsp HTTP/1.1' to target server at 'localhost:8080'
03-08-2021 22:47:54:  TRACE: ########## The real value set: false
03-08-2021 22:47:54:  TRACE: [WIRE] - >> "GET /jsp_el_jsp_web/ELDeferredValueCoercion.jsp HTTP/1.1[\\r][\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\\r][\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - >> "Host: localhost:8080[\\r][\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - >> "[\\r][\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "HTTP/1.1 500 Internal Server Error[\\r][\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "HTTP/1.1 500 Internal Server Error[\\r][\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "Content-Language: [\\r][\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "Content-Type: text/html[\\r][\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "Connection: close[\\r][\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "Content-Length: 1911[\\r][\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "[\\r][\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Eclipse GlassFish  6.1.0  - Error report</title><style type="text/css"><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - Internal Server Error</h1><hr/><p><b>type</b> Exception report</p><p><b>message</b>Internal Server Error</p><p><b>description</b>The server encountered an internal error that prevented it from fulfilling this request.</p><p><b>exception</b> <pre>org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP[\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "[\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "PWC6199: Generated servlet error:[\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "package com.sun.ts.tests.common.el.spec does not exist[\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "[\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "PWC6197: An error occurred at line: 23 in the jsp file: /ELDeferredValueCoercion.jsp[\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "PWC6199: Generated servlet error:[\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "cannot find symbol[\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "  symbol:   class Book[\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "  location: class org.apache.jsp.ELDeferredValueCoercion_jsp[\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "[\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "PWC6197: An error occurred at line: 23 in the jsp file: /ELDeferredValueCoercion.jsp[\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "PWC6199: Generated servlet error:[\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "cannot find symbol[\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "  symbol:   class Book[\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "  location: class org.apache.jsp.ELDeferredValueCoercion_jsp[\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "[\\n]"
03-08-2021 22:47:54:  TRACE: [WIRE] - << "</pre></p><p><b>note</b> <u>The full stack traces of the exception and its root causes are available in the Eclipse GlassFish  6.1.0  logs.</u></p><hr/><h3>Eclipse GlassFish  6.1.0 </h3></body></html>"
03-08-2021 22:47:54:  TRACE: [WIRE] - HttpConnectionManager is null.  Connection cannot be released.
03-08-2021 22:47:54:  ERROR: [WebValidatorBase] Unexpected '500' received from target server!
Error response recieved from server:
------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Eclipse GlassFish  6.1.0  - Error report</title><style type="text/css"><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - Internal Server Error</h1><hr/><p><b>type</b> Exception report</p><p><b>message</b>Internal Server Error</p><p><b>description</b>The server encountered an internal error that prevented it from fulfilling this request.</p><p><b>exception</b> <pre>org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP

PWC6199: Generated servlet error:
package com.sun.ts.tests.common.el.spec does not exist

PWC6197: An error occurred at line: 23 in the jsp file: /ELDeferredValueCoercion.jsp
PWC6199: Generated servlet error:
cannot find symbol
  symbol:   class Book
  location: class org.apache.jsp.ELDeferredValueCoercion_jsp

PWC6197: An error occurred at line: 23 in the jsp file: /ELDeferredValueCoercion.jsp
PWC6199: Generated servlet error:
cannot find symbol
  symbol:   class Book
  location: class org.apache.jsp.ELDeferredValueCoercion_jsp

</pre></p><p><b>note</b> <u>The full stack traces of the exception and its root causes are available in the Eclipse GlassFish  6.1.0  logs.</u></p><hr/><h3>Eclipse GlassFish  6.1.0 </h3></body></html>
03-08-2021 22:47:54:  ERROR: Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure.
03-08-2021 22:47:54:  ERROR: Exception at:  
03-08-2021 22:47:54:  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.jsp.spec.el.jsp.URLClient.eLDeferredValueCoercionTest(URLClient.java:110)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	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.jsp.spec.el.jsp.URLClient.run(URLClient.java:51)
	at com.sun.ts.tests.jsp.spec.el.jsp.URLClient.main(URLClient.java:37)

03-08-2021 22:47:54:  [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.


test result: Failed. Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure.
</system-out>
</testcase>
  <testcase 
 name="rValueCoercion2Test"
 classname="com.sun.ts.tests.jsp.spec.el.language.URLClient"

rValueCoercion2Test failure:

$file=/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/src/com/sun/ts/tests/jsp/spec/el/language/URLClient.java
$root=/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/src
assertion_ids=EL\:SPEC\:3  When parsing a value expression, an expected type is\n\t\t\t\tprovided. In \n\t\t\t\tthe case of an rvalue, the expected type is what the\n\t\t\t\tresult of the expression \n\t\t\t\tevaluation is coerced to. [RValueCoercion]
classname=com.sun.ts.tests.jsp.spec.el.language.URLClient
direction=forward
finder=cts
id=rValueCoercion2Test
keywords=all jsp javaee javaee_web_profile rValueCoercion2Test novehicle forward
service_eetest=no
testName=rValueCoercion2Test
testProps=\ webServerHost  webServerPort  ts_home
test_directory=com/sun/ts/tests/jsp/spec/el/language

#-----environment-----
JAVA_HOME=/opt/jdk-11.0.7
JAVA_OPTIONS=
LOCAL_CLASSES=/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/tsharness.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/jsptck.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/javatest.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../classes\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet-api.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet.jsp.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet.jsp-api.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.el.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.el-api.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/commons-httpclient-3.1.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/commons-logging-1.1.3.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/commons-codec-1.9.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/sigtest.jar
SYSTEMROOT=${env.SystemRoot}
TS_HOME=/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../..
command.testExecute=com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH\=${JAVA_HOME}/lib/rt.jar${pathsep}${LOCAL_CLASSES} HOME\=&quot;${user.home}&quot; windir\=${windir} SYSTEMROOT\=${SYSTEMROOT} ${JAVA_HOME}/bin/java ${JAVA_OPTIONS} $testExecuteClass $testExecuteArgs
harness.executeMode=2
harness.log.delayseconds=1 
harness.log.port=2000
harness.log.traceflag=true
harness.socket.retry.count=10
harness.temp.directory=${ts.home}/tmp
jimage.dir=${ts.home}/tmp/jdk-bundles
pathsep=\:
porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL
ts.home=/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../..
ts_home=${TS_HOME}
user.home=?
webServerHost=localhost
webServerPort=8080
windir=${env.windir}

#-----testresult-----
description=file\:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/src/com/sun/ts/tests/jsp/spec/el/language/URLClient.java\#rValueCoercion2Test
end=Mon Mar 08 22\:48\:27 UTC 2021
environment=ts_unix
execStatus=Failed. Test case throws exception\: [BaseUrlClient] null failed\! Check output for cause of failure.
harnessLoaderMode=Classpath Loader
harnessVariety=Full Bundle
javatestOS=Linux 3.10.0-1127.10.1.el7.x86_64 (amd64)
javatestVersion=5.0
script=com.sun.ts.lib.harness.TSScript
sections=script_messages TestRun
start=Mon Mar 08 22\:48\:26 UTC 2021
test=com/sun/ts/tests/jsp/spec/el/language/URLClient.java\#rValueCoercion2Test
timeoutSeconds=600
totalTime=1771
work=/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tckwork/pages-tck/com/sun/ts/tests/jsp/spec/el/language

#section:script_messages
----------messages:(0/0)----------

#section:TestRun
----------messages:(1/1571)----------
command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:/opt/jdk-11.0.7/lib/rt.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/tsharness.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/jsptck.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/javatest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../classes:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet.jsp.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet.jsp-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.el.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.el-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/commons-httpclient-3.1.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/commons-logging-1.1.3.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/commons-codec-1.9.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../lib/sigtest.jar HOME=? windir= SYSTEMROOT= /opt/jdk-11.0.7/bin/java com.sun.ts.tests.jsp.spec.el.language.URLClient -p /home/jenkins/agent/workspace/jakartaee-tck_master/pages-tck/bin/xml/../../tmp/tstest.jte -t rValueCoercion2Test
----------log:(85/8471)*----------
************************************************************
* props file set to &quot;/tmp/?-cts-props.txt&quot;
************************************************************
03-08-2021 22:48:26:  TRACE: #######  Value of harness.socket.retry.count is &quot;10&quot;
03-08-2021 22:48:26:  TRACE: #######  Value of harness.log.port is &quot;2000&quot;
03-08-2021 22:48:26:  TRACE: #######  Actual bind value of harness.log.port is &quot;2000&quot;
03-08-2021 22:48:26:  TRACE: *** in EETest.run(argv,p)
03-08-2021 22:48:26:  TRACE: TESTCLASS=com.sun.ts.tests.jsp.spec.el.language.URLClient
03-08-2021 22:48:26:  TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.jsp.spec.el.language.URLClient
03-08-2021 22:48:26:  TRACE: ** IN getRunMethod: testname=rValueCoercion2Test
03-08-2021 22:48:26:  TRACE: ** GOT RUN METHOD!
03-08-2021 22:48:26:  TRACE: **runmethod=rValueCoercion2Test
03-08-2021 22:48:26:  TRACE: ABOUT TO GET SETUP METHOD!
03-08-2021 22:48:26:  TRACE: No setupMethod annotation present
03-08-2021 22:48:26:  TRACE: getSetupMethod - checking for testcase specific setup method:  rValueCoercion2Test_setup
03-08-2021 22:48:26:  TRACE: getSetupMethod - checking for default class specific setup method
03-08-2021 22:48:26:  TRACE: GOT SETUP METHOD!
03-08-2021 22:48:26:  TRACE: No cleanupMethod annotation present
03-08-2021 22:48:26:  TRACE: getCleanupMethod - checking for testcase specific cleanup method:  rValueCoercion2Test_cleanup
03-08-2021 22:48:26:  TRACE: getCleanupMethod - checking for default class specific cleanup method
03-08-2021 22:48:26:  TRACE: GOT CLEANUP METHOD!
03-08-2021 22:48:26:  TRACE: ABOUT TO INVOKE SETUP METHOD!
03-08-2021 22:48:26:  [BaseUrlClient] Test setup OK
03-08-2021 22:48:26:  TRACE: INVOKED SETUP METHOD!
03-08-2021 22:48:26:  TRACE: ABOUT TO INVOKE EETEST RUN METHOD!
03-08-2021 22:48:26:  TRACE: [BaseUrlClient] EXECUTING
03-08-2021 22:48:26:  [HttpRequest] Dispatching request: &apos;GET /jsp_el_language_web/RValueCoercion2.jsp HTTP/1.1&apos; to target server at &apos;localhost:8080&apos;
03-08-2021 22:48:26:  TRACE: ########## The real value set: false
03-08-2021 22:48:26:  TRACE: [WIRE] - &gt;&gt; &quot;GET /jsp_el_language_web/RValueCoercion2.jsp HTTP/1.1[\\r][\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &gt;&gt; &quot;User-Agent: Jakarta Commons-HttpClient/3.1[\\r][\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &gt;&gt; &quot;Host: localhost:8080[\\r][\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &gt;&gt; &quot;[\\r][\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;HTTP/1.1 500 Internal Server Error[\\r][\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;HTTP/1.1 500 Internal Server Error[\\r][\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;Content-Language: [\\r][\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;Content-Type: text/html[\\r][\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;Connection: close[\\r][\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;Content-Length: 1672[\\r][\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;[\\r][\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;head&gt;&lt;title&gt;Eclipse GlassFish  6.1.0  - Error report&lt;/title&gt;&lt;style type=&quot;text/css&quot;&gt;&lt;!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}--&gt;&lt;/style&gt; &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTTP Status 500 - Internal Server Error&lt;/h1&gt;&lt;hr/&gt;&lt;p&gt;&lt;b&gt;type&lt;/b&gt; Exception report&lt;/p&gt;&lt;p&gt;&lt;b&gt;message&lt;/b&gt;Internal Server Error&lt;/p&gt;&lt;p&gt;&lt;b&gt;description&lt;/b&gt;The server encountered an internal error that prevented it from fulfilling this request.&lt;/p&gt;&lt;p&gt;&lt;b&gt;exception&lt;/b&gt; &lt;pre&gt;org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP[\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;[\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;PWC6199: Generated servlet error:[\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;package com.sun.ts.tests.common.el.spec does not exist[\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;[\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;PWC6197: An error occurred at line: 30 in the jsp file: /RValueCoercion2.jsp[\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;PWC6199: Generated servlet error:[\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;cannot find symbol[\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;  symbol:   class Book[\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;  location: class org.apache.jsp.RValueCoercion2_jsp[\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;[\\n]&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - &lt;&lt; &quot;&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;note&lt;/b&gt; &lt;u&gt;The full stack traces of the exception and its root causes are available in the Eclipse GlassFish  6.1.0  logs.&lt;/u&gt;&lt;/p&gt;&lt;hr/&gt;&lt;h3&gt;Eclipse GlassFish  6.1.0 &lt;/h3&gt;&lt;/body&gt;&lt;/html&gt;&quot;
03-08-2021 22:48:26:  TRACE: [WIRE] - HttpConnectionManager is null.  Connection cannot be released.
03-08-2021 22:48:26:  ERROR: [WebValidatorBase] Unexpected &apos;500&apos; received from target server!
Error response recieved from server:
------------------------------------------------
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;head&gt;&lt;title&gt;Eclipse GlassFish  6.1.0  - Error report&lt;/title&gt;&lt;style type=&quot;text/css&quot;&gt;&lt;!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}--&gt;&lt;/style&gt; &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTTP Status 500 - Internal Server Error&lt;/h1&gt;&lt;hr/&gt;&lt;p&gt;&lt;b&gt;type&lt;/b&gt; Exception report&lt;/p&gt;&lt;p&gt;&lt;b&gt;message&lt;/b&gt;Internal Server Error&lt;/p&gt;&lt;p&gt;&lt;b&gt;description&lt;/b&gt;The server encountered an internal error that prevented it from fulfilling this request.&lt;/p&gt;&lt;p&gt;&lt;b&gt;exception&lt;/b&gt; &lt;pre&gt;org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP

PWC6199: Generated servlet error:
package com.sun.ts.tests.common.el.spec does not exist

PWC6197: An error occurred at line: 30 in the jsp file: /RValueCoercion2.jsp
PWC6199: Generated servlet error:
cannot find symbol
  symbol:   class Book
  location: class org.apache.jsp.RValueCoercion2_jsp

&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;note&lt;/b&gt; &lt;u&gt;The full stack traces of the exception and its root causes are available in the Eclipse GlassFish  6.1.0  logs.&lt;/u&gt;&lt;/p&gt;&lt;hr/&gt;&lt;h3&gt;Eclipse GlassFish  6.1.0 &lt;/h3&gt;&lt;/body&gt;&lt;/html&gt;
03-08-2021 22:48:26:  ERROR: Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure.
03-08-2021 22:48:26:  ERROR: Exception at:  
03-08-2021 22:48:26:  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.jsp.spec.el.language.URLClient.rValueCoercion2Test(URLClient.java:118)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	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.jsp.spec.el.language.URLClient.run(URLClient.java:48)
	at com.sun.ts.tests.jsp.spec.el.language.URLClient.main(URLClient.java:37)

03-08-2021 22:48:26:  [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.

@smillidge
Copy link

Servlet project I would think as GlassFish just pulls in implementations from there.

@scottmarlow
Copy link
Contributor

Servlet project I would think as GlassFish just pulls in implementations from there.

Do you agree @markt-asf that the JSP (Servlet?) team could help with this failure that has been recreated in https://ci.eclipse.org/jsp/job/2_jsp-run-tck-against-staged-build/37/artifact/pages-tck/bin/summary.txt? If yes, we can create a JSP/Servlet issue and link to it from here.

FYI, link to test source with description is here.

@scottmarlow
Copy link
Contributor

Do the two JSP tests that fail with Standalone JSP TCK also fail with the Platform TCK?

@markt-asf
Copy link
Contributor

This isn't an issue for the Servlet project for 2 reasons. First, the Servlet project only provides an API and does not provide an implementation. Second, the failures are in the Pages TCK, not the Servlet TCK.

This might be an issue for the WaSP project (the Pages implementation was moved out of the Pages project in late 2020) however, I see the same TCK failures with JDK 11 and Tomcat 10. Given that Tomcat 10 has previously passed the Pages TCK with Java 11 I strongly suspect that the root cause is a change to the Pages TCK. Assuming the CI runs can tell you which commit (or range of commits) introduced the failure, which commit was it?

@markt-asf
Copy link
Contributor

The problem is that the WAR file that supports these tests is missing a class. This appears to be a long standing bug in the JSP TCK. If the EL TCK is built before the JSP TCK (and the compiled classes are not cleaned up between builds) the the JSP TCK will be built correctly. A clean build of the TCK, however, will be missing the required class. I should have a PR for this shortly.

@scottmarlow
Copy link
Contributor

scottmarlow commented Mar 10, 2021

Started build + test of Standalone JSP TCK via https://ci.eclipse.org/jakartaee-tck/job/9.1/job/eftl-standalonetck-build-run-910/28 with the #647 change merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
9.1 9.1 release
Projects
None yet
Development

No branches or pull requests

5 participants