Failed
com.sun.ts.tests.jstl.spec.xml.xconditional.xforeach.JSTLClient.positiveForEachEndTest (from tags-tck)
Error Message
test result: Failed. Test case throws exception: [BaseUrlClient] positiveForEachEndTest failed! Check output for cause of failure.
Stacktrace
test result: Failed. Test case throws exception: [BaseUrlClient] positiveForEachEndTest failed! Check output for cause of failure.
Standard Output
#Test Results (version 2) #Thu Jul 23 12:58:22 UTC 2020 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src/com/sun/ts/tests/jstl/spec/xml/xconditional/xforeach/JSTLClient.java $root=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src assertion_ids=JSTL\:SPEC\:72 The < x\:forEach> action evaluates the given XPath\n\t\t\t\texpression and repeats its nested body content over the result, \n\t\t\t\tsetting the context node to each element in the iteration.\nJSTL\:SPEC\:72.1 The 'select' attribute specifies the XPath expression\n\t\t\t\t\t\tto be evaluated.\nJSTL\:SPEC\:72.2 The 'var' attribute specified the named of the\n\t\t\t\t\t\texported scoped attribute for the current item of the iteration.\nJSTL\:SPEC\:72.2.1 The type of the exported attribute depends on the\n\t\t\t\t\t\t\t\tobject of the underlying collection.\nJSTL\:SPEC\:72.2.2 If the 'var' attribute is specified, but empty, a\n\t\t\t\t\t\t\t\ttranslation time validation error will occur.\nJSTL\:SPEC\:72.3 If 'select' is emtpy, a JspException is thrown.\nJSTL\:SPEC\:72.4 As long as there are items to iterate over, the body\n\t\t\t\t\t\tcontent is processed by the JSP container and written to the \n\t\t\t\t\t\tcurrent JspWriter.\nJSTL\:SPEC\:72.5 If an exception is caused by the body content, it must\n\t\t\t\t\t\tbe propagated.\nJSTL\:SPEC\:72.6 The 'varStatus' attribute specifies the name of the\n\t\t\t\t\t\tscoped variable for the status of the iteration\nJSTL\:SPEC\:72.6.1 The exported Object associated with the value of the\n\t\t\t\t\t\t\t\t'varStatus' attribute is of type \n\t\t\t\t\t\t\t\tjavax.servlet.jsp.jstl.core.LoopTagStatus.\nJSTL\:SPEC\:72.7 The 'begin' attribute specifies a starting index\n\t\t\t\t\t\tvalue.\nJSTL\:SPEC\:72.7.1 If the 'items' attribute is specified, the 'begin'\n\t\t\t\t\t\t\t\tattribute dictates that the iteration begins at the item located \n\t\t\t\t\t\t\t\tat the specified index.\nJSTL\:SPEC\:72.7.1.1 The first item of the collection has index 0.\nJSTL\:SPEC\:72.7.2 If the 'items' attribute is not specified, the\n\t\t\t\t\t\t\t\t'begin' attribute dictates that iteration begins with the index \n\t\t\t\t\t\t\t\tset at the value specified.\nJSTL\:SPEC\:72.7.3 The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype 'int'.\nJSTL\:SPEC\:72.7.4 If the result of the evaluated expression is not of\n\t\t\t\t\t\t\t\ttype 'int'\nJSTL\:SPEC\:72.8 The 'end' attribute specifies an ending index value.\nJSTL\:SPEC\:72.8.1 If the 'items' attribute is specified, the 'ends'\n\t\t\t\t\t\t\t\tattribute dictates that the Iteration ends at the item located \n\t\t\t\t\t\t\t\tat the specified index.\nJSTL\:SPEC\:72.8.2 If the 'items' attribute is not specified, the 'end'\n\t\t\t\t\t\t\t\tattribute dictates that iteration ends when the index reaches \n\t\t\t\t\t\t\t\tthe value specified.\nJSTL\:SPEC\:72.8.3 The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype 'int'.\nJSTL\:SPEC\:72.8.4 If the result of the evaluated expression is not of\n\t\t\t\t\t\t\t\ttype int, an Exception is thrown.\nJSTL\:SPEC\:72.9 The 'step' attribute specifies that iteration will\n\t\t\t\t\t\tonly process every 'step' items of the collections, starting with \n\t\t\t\t\t\tthe first.\nJSTL\:SPEC\:72.9.1 The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype 'int'.\nJSTL\:SPEC\:72.9.2 If the result of the evaluated expression is not of\n\t\t\t\t\t\t\t\ttype int, an Exception is thrown.\nJSTL\:SPEC\:72.10 If 'begin' is specified, the value must be >\= 0.\nJSTL\:SPEC\:72.11 If 'end' is specified, the value must be >\= 'begin'\nJSTL\:SPEC\:72.12 If 'step' is specified, step must be >\= 1\nJSTL\:SPEC\:72.13 If end is specified and it is less than begin, the\n\t\t\t\t\t\tloop is simply not executed. classname=com.sun.ts.tests.jstl.spec.xml.xconditional.xforeach.JSTLClient direction=forward finder=cts id=positiveForEachEndTest keywords=all jstl javaee javaee_web_profile positiveForEachEndTest novehicle forward service_eetest=no testName=positiveForEachEndTest testProps=\ webServerHost webServerPort ts_home test_directory=com/sun/ts/tests/jstl/spec/xml/xconditional/xforeach #-----environment----- JAVA_HOME=/opt/jdk1.8.0_191/jre JAVA_OPTIONS= LOCAL_CLASSES=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/tsharness.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/jstltck.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/javatest.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../classes\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/javax.servlet.jsp.jstl.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet.jsp.jstl-api.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet-api.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/javax.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/../javadb/lib/derbyclient.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/commons-httpclient-3.1.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/commons-codec-1.9.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/commons-logging-1.1.3.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/sigtest.jar SYSTEMROOT=${env.SystemRoot} TS_HOME=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../.. command.testExecute=com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH\=${JAVA_HOME}/lib/rt.jar${pathsep}${LOCAL_CLASSES} HOME\="${user.home}" 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 pathsep=\: porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL ts.home=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-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/tags-tck/src/com/sun/ts/tests/jstl/spec/xml/xconditional/xforeach/JSTLClient.java\#positiveForEachEndTest end=Thu Jul 23 12\:58\:22 UTC 2020 environment=ts_unix execStatus=Failed. Test case throws exception\: [BaseUrlClient] positiveForEachEndTest failed\! Check output for cause of failure. harnessLoaderMode=Classpath Loader harnessVariety=Full Bundle javatestOS=Linux 3.10.0-1062.12.1.el7.x86_64 (amd64) javatestVersion=5.0 script=com.sun.ts.lib.harness.TSScript sections=script_messages TestRun start=Thu Jul 23 12\:58\:21 UTC 2020 test=com/sun/ts/tests/jstl/spec/xml/xconditional/xforeach/JSTLClient.java\#positiveForEachEndTest timeoutSeconds=600 totalTime=1501 work=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tckwork/tags-tck/com/sun/ts/tests/jstl/spec/xml/xconditional/xforeach #section:script_messages ----------messages:(0/0)---------- #section:TestRun ----------messages:(1/1815)---------- command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:/opt/jdk1.8.0_191/jre/lib/rt.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/tsharness.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/jstltck.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/javatest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../classes:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/javax.servlet.jsp.jstl.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet.jsp.jstl-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/javax.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/../javadb/lib/derbyclient.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/commons-httpclient-3.1.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/commons-codec-1.9.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/commons-logging-1.1.3.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/sigtest.jar HOME=? windir= SYSTEMROOT= /opt/jdk1.8.0_191/jre/bin/java com.sun.ts.tests.jstl.spec.xml.xconditional.xforeach.JSTLClient -p /home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../tmp/tstest.jte -t positiveForEachEndTest ----------log:(88/6545)---------- ************************************************************ * props file set to "/tmp/?-cts-props.txt" ************************************************************ 07-23-2020 12:58:21: TRACE: ####### Value of harness.socket.retry.count is "10" 07-23-2020 12:58:21: TRACE: ####### Value of harness.log.port is "2000" 07-23-2020 12:58:21: TRACE: ####### Actual bind value of harness.log.port is "2000" 07-23-2020 12:58:21: TRACE: *** in EETest.run(argv,p) 07-23-2020 12:58:21: TRACE: TESTCLASS=com.sun.ts.tests.jstl.spec.xml.xconditional.xforeach.JSTLClient 07-23-2020 12:58:21: TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.jstl.spec.xml.xconditional.xforeach.JSTLClient 07-23-2020 12:58:21: TRACE: ** IN getRunMethod: testname=positiveForEachEndTest 07-23-2020 12:58:21: TRACE: ** GOT RUN METHOD! 07-23-2020 12:58:21: TRACE: **runmethod=positiveForEachEndTest 07-23-2020 12:58:21: TRACE: ABOUT TO GET SETUP METHOD! 07-23-2020 12:58:21: TRACE: No setupMethod annotation present 07-23-2020 12:58:21: TRACE: getSetupMethod - checking for testcase specific setup method: positiveForEachEndTest_setup 07-23-2020 12:58:21: TRACE: getSetupMethod - checking for default class specific setup method 07-23-2020 12:58:21: TRACE: GOT SETUP METHOD! 07-23-2020 12:58:21: TRACE: No cleanupMethod annotation present 07-23-2020 12:58:21: TRACE: getCleanupMethod - checking for testcase specific cleanup method: positiveForEachEndTest_cleanup 07-23-2020 12:58:21: TRACE: getCleanupMethod - checking for default class specific cleanup method 07-23-2020 12:58:21: TRACE: GOT CLEANUP METHOD! 07-23-2020 12:58:21: TRACE: ABOUT TO INVOKE SETUP METHOD! 07-23-2020 12:58:21: [BaseUrlClient] Test setup OK 07-23-2020 12:58:21: TRACE: INVOKED SETUP METHOD! 07-23-2020 12:58:21: TRACE: ABOUT TO INVOKE EETEST RUN METHOD! 07-23-2020 12:58:21: TRACE: [BaseUrlClient] EXECUTING 07-23-2020 12:58:21: ERROR: Root cause of Failure: Connection refused (Connection refused) 07-23-2020 12:58:21: ERROR: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at java.net.Socket.<init>(Socket.java:434) at java.net.Socket.<init>(Socket.java:286) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at com.sun.ts.tests.common.webclient.http.HttpRequest.execute(HttpRequest.java:409) at com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:171) at com.sun.ts.tests.common.webclient.BaseUrlClient.invoke(BaseUrlClient.java:455) at com.sun.ts.tests.jstl.spec.xml.xconditional.xforeach.JSTLClient.positiveForEachEndTest(JSTLClient.java:150) 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.xml.xconditional.xforeach.JSTLClient.run(JSTLClient.java:64) at com.sun.ts.tests.jstl.spec.xml.xconditional.xforeach.JSTLClient.main(JSTLClient.java:50) 07-23-2020 12:58:21: ERROR: Test case throws exception: [BaseUrlClient] positiveForEachEndTest failed! Check output for cause of failure. 07-23-2020 12:58:21: ERROR: Exception at: 07-23-2020 12:58:21: ERROR: com.sun.ts.tests.common.webclient.TestFailureException: [FATAL] Unexpected failure during test execution.Connection refused (Connection refused) at com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:175) at com.sun.ts.tests.common.webclient.BaseUrlClient.invoke(BaseUrlClient.java:455) at com.sun.ts.tests.jstl.spec.xml.xconditional.xforeach.JSTLClient.positiveForEachEndTest(JSTLClient.java:150) 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.xml.xconditional.xforeach.JSTLClient.run(JSTLClient.java:64) at com.sun.ts.tests.jstl.spec.xml.xconditional.xforeach.JSTLClient.main(JSTLClient.java:50) Caused by: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at java.net.Socket.<init>(Socket.java:434) at java.net.Socket.<init>(Socket.java:286) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at com.sun.ts.tests.common.webclient.http.HttpRequest.execute(HttpRequest.java:409) at com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:171) ... 11 more 07-23-2020 12:58:21: [BaseUrlClient] Test cleanup OK STATUS:Failed.Test case throws exception: [BaseUrlClient] positiveForEachEndTest failed! Check output for cause of failure. result: Failed. Test case throws exception: [BaseUrlClient] positiveForEachEndTest failed! Check output for cause of failure. test result: Failed. Test case throws exception: [BaseUrlClient] positiveForEachEndTest failed! Check output for cause of failure.