Skip to content

Regression

com.sun.ts.tests.jstl.spec.xml.xconditional.xcwo.JSTLClient.negativeCWOWhenSelectReqAttrTest (from tags-tck)

Failing for the past 1 build (Since #67 )
Took 1 sec.

Error Message

test result: Failed. Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure.

Stacktrace

test result: Failed. Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure.

Standard Output

#Test Results (version 2)
#Tue Aug 18 13:21:12 UTC 2020
#-----testdescription-----
$file=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src/com/sun/ts/tests/jstl/spec/xml/xconditional/xcwo/JSTLClient.java
$root=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src
assertion_ids=JSTL\:SPEC\:71  The  < x\:choose> action provides the context for\n\t\t\t\tmutually exclusive conditional execution.\nJSTL\:SPEC\:71.1  The body content of must consist of only\:\nJSTL\:SPEC\:71.1.1  White space may appear anywhere around teh\n\t\t\t\t\t\t\t\t < x\:when> and  < x\:otherwise> subtags.\nJSTL\:SPEC\:71.1.2  1 to N  < x\:when> actions which must all appear\n\t\t\t\t\t\t\t\tbefore  < x\:otherwise>\nJSTL\:SPEC\:71.1.3  0 or 1  < x\:otherwise> action which must be the\n\t\t\t\t\t\t\t\tlast nested action in  < x\:choose>\nJSTL\:SPEC\:71.2  The body content is processed by the JSP container and\n\t\t\t\t\t\twritten to the current JspWriter.\nJSTL\:SPEC\:71.3  The action processes the body of the first  < x\:when>\n\t\t\t\t\t\taction whose test condition evaluates to true.\nJSTL\:SPEC\:71.4  If none of the test conditions of nested  < x\:when>\n\t\t\t\t\t\tactions evaluates to true, then the body of the  < x\:otherwise>\n\t\t\t\t\t\taction is processed, if present.\nJSTL\:SPEC\:71.5  The  < x\:when> action represents an alternative\n\t\t\t\t\t\twithin an  < x\:choose> action.\nJSTL\:SPEC\:71.5.1  The 'select' attribute specifies the test condition\n\t\t\t\t\t\t\t\tthat determines whether the body content should be processed.\nJSTL\:SPEC\:71.5.2  < x\:when> must have  < x\:choose> as an immediate\n\t\t\t\t\t\t\t\tparent.\nJSTL\:SPEC\:71.5.3  < x\:when> must appear before an  < x\:otherwise>\n\t\t\t\t\t\t\t\taction that has the same parent.\nJSTL\:SPEC\:71.5.4  If the test condition of the action evaluates to\n\t\t\t\t\t\t\t\ttrue, the JSP container processes the body content and then \n\t\t\t\t\t\t\t\twrites it to the current JspWriter.\nJSTL\:SPEC\:71.5.5  The 'select' attribute is required.\nJSTL\:SPEC\:71.5.6  If an exception is caused by the body content, it\n\t\t\t\t\t\t\t\tmust be propagated.\nJSTL\:SPEC\:71.6  The  < x\:otherwise> action is used optionally as the\n\t\t\t\t\t\tlast alternative within a  < x\:choose> action.\nJSTL\:SPEC\:71.6.1  The  < x\:otherwise> action must have  < x\:choose>\n\t\t\t\t\t\t\t\tas an immediate parent.\nJSTL\:SPEC\:71.6.2  The  < x\:otherwise> action must be the last nested\n\t\t\t\t\t\t\t\taction within  < x\:choose>\nJSTL\:SPEC\:71.6.3  If none of the nested  < x\:when> test conditions\n\t\t\t\t\t\t\t\tevaluates to true, then the body content of the  < x\:otherwise>\n\t\t\t\t\t\t\t\taction is evaluated by the JSP container, and the result is \n\t\t\t\t\t\t\t\twritten to the current JspWriter.\nJSTL\:SPEC\:71.6.4  If an exception is caused by the body content, it\n\t\t\t\t\t\t\t\tmust be propagated.\nJSTL\:SPEC\:71.7  If an exception is caused by the body content, it must\n\t\t\t\t\t\tbe propagated.
classname=com.sun.ts.tests.jstl.spec.xml.xconditional.xcwo.JSTLClient
direction=forward
finder=cts
id=negativeCWOWhenSelectReqAttrTest
keywords=all jstl javaee javaee_web_profile negativeCWOWhenSelectReqAttrTest novehicle forward
service_eetest=no
testName=negativeCWOWhenSelectReqAttrTest
testProps=\ webServerHost  webServerPort  ts_home
test_directory=com/sun/ts/tests/jstl/spec/xml/xconditional/xcwo

#-----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/jakarta.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/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/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/xcwo/JSTLClient.java\#negativeCWOWhenSelectReqAttrTest
end=Tue Aug 18 13\:21\:12 UTC 2020
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-1062.12.1.el7.x86_64 (amd64)
javatestVersion=5.0
script=com.sun.ts.lib.harness.TSScript
sections=script_messages TestRun
start=Tue Aug 18 13\:21\:11 UTC 2020
test=com/sun/ts/tests/jstl/spec/xml/xconditional/xcwo/JSTLClient.java\#negativeCWOWhenSelectReqAttrTest
timeoutSeconds=600
totalTime=1496
work=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tckwork/tags-tck/com/sun/ts/tests/jstl/spec/xml/xconditional/xcwo

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

#section:TestRun
----------messages:(1/1924)----------
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/jakarta.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/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/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.xcwo.JSTLClient -p /home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../tmp/tstest.jte -t negativeCWOWhenSelectReqAttrTest
----------log:(88/6537)----------
************************************************************
* props file set to "/tmp/?-cts-props.txt"
************************************************************
08-18-2020 13:21:11:  TRACE: #######  Value of harness.socket.retry.count is "10"
08-18-2020 13:21:11:  TRACE: #######  Value of harness.log.port is "2000"
08-18-2020 13:21:11:  TRACE: #######  Actual bind value of harness.log.port is "2000"
08-18-2020 13:21:11:  TRACE: *** in EETest.run(argv,p)
08-18-2020 13:21:11:  TRACE: TESTCLASS=com.sun.ts.tests.jstl.spec.xml.xconditional.xcwo.JSTLClient
08-18-2020 13:21:11:  TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.jstl.spec.xml.xconditional.xcwo.JSTLClient
08-18-2020 13:21:11:  TRACE: ** IN getRunMethod: testname=negativeCWOWhenSelectReqAttrTest
08-18-2020 13:21:11:  TRACE: ** GOT RUN METHOD!
08-18-2020 13:21:11:  TRACE: **runmethod=negativeCWOWhenSelectReqAttrTest
08-18-2020 13:21:11:  TRACE: ABOUT TO GET SETUP METHOD!
08-18-2020 13:21:11:  TRACE: No setupMethod annotation present
08-18-2020 13:21:11:  TRACE: getSetupMethod - checking for testcase specific setup method:  negativeCWOWhenSelectReqAttrTest_setup
08-18-2020 13:21:11:  TRACE: getSetupMethod - checking for default class specific setup method
08-18-2020 13:21:11:  TRACE: GOT SETUP METHOD!
08-18-2020 13:21:11:  TRACE: No cleanupMethod annotation present
08-18-2020 13:21:11:  TRACE: getCleanupMethod - checking for testcase specific cleanup method:  negativeCWOWhenSelectReqAttrTest_cleanup
08-18-2020 13:21:11:  TRACE: getCleanupMethod - checking for default class specific cleanup method
08-18-2020 13:21:11:  TRACE: GOT CLEANUP METHOD!
08-18-2020 13:21:11:  TRACE: ABOUT TO INVOKE SETUP METHOD!
08-18-2020 13:21:11:  [BaseUrlClient] Test setup OK
08-18-2020 13:21:11:  TRACE: INVOKED SETUP METHOD!
08-18-2020 13:21:11:  TRACE: ABOUT TO INVOKE EETEST RUN METHOD!
08-18-2020 13:21:11:  TRACE: [BaseUrlClient] EXECUTING
08-18-2020 13:21:11:  ERROR: Root cause of Failure: Connection refused (Connection refused)
08-18-2020 13:21:11:  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.xcwo.JSTLClient.negativeCWOWhenSelectReqAttrTest(JSTLClient.java:173)
	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.xcwo.JSTLClient.run(JSTLClient.java:64)
	at com.sun.ts.tests.jstl.spec.xml.xconditional.xcwo.JSTLClient.main(JSTLClient.java:50)

08-18-2020 13:21:11:  ERROR: Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure.
08-18-2020 13:21:11:  ERROR: Exception at:  
08-18-2020 13:21:11:  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.xcwo.JSTLClient.negativeCWOWhenSelectReqAttrTest(JSTLClient.java:173)
	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.xcwo.JSTLClient.run(JSTLClient.java:64)
	at com.sun.ts.tests.jstl.spec.xml.xconditional.xcwo.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

08-18-2020 13:21:11:  [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.