Regression
com.sun.ts.tests.jstl.spec.fmt.format.parsenum.JSTLClient.positivePNValueTest (from tags-tck)
Error Message
test result: Failed. Test case throws exception: [BaseUrlClient] positivePNValueTest failed! Check output for cause of failure.
Stacktrace
test result: Failed. Test case throws exception: [BaseUrlClient] positivePNValueTest failed! Check output for cause of failure.
Standard Output
#Test Results (version 2) #Tue Aug 18 13:16:45 UTC 2020 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src/com/sun/ts/tests/jstl/spec/fmt/format/parsenum/JSTLClient.java $root=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src assertion_ids=JSTL\:SPEC\:56 The < fmt\:parseNumber> action parses the string\n\t\t\t\trepresentation of numbers, currencies, and percentages that were \n\t\t\t\tformatted in a locale-sensitive or customized.\nJSTL\:SPEC\:56.1 The 'value' attribute specifies the string to be\n\t\t\t\t\t\tparsed.\nJSTL\:SPEC\:56.1.1 The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype String\nJSTL\:SPEC\:56.1.2 If the evaluated expression is not of type String,\n\t\t\t\t\t\t\t\tan Exception is thrown.\nJSTL\:SPEC\:56.2 The 'type' attribute specifies how 'value' should be\n\t\t\t\t\t\tparsed.\nJSTL\:SPEC\:56.2.1 A value of 'number' will format value as a number.\nJSTL\:SPEC\:56.2.2 A value of 'currency' will format value as a\n\t\t\t\t\t\t\t\tcurrency.\nJSTL\:SPEC\:56.2.3 A value of 'percentage' will format the value as a\n\t\t\t\t\t\t\t\tpercentage.\nJSTL\:SPEC\:56.2.4 The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype String.\nJSTL\:SPEC\:56.2.5 If the evaluated expression is not of type String,\n\t\t\t\t\t\t\t\tan Exception is thrown.\nJSTL\:SPEC\:56.2.6 If the value evaluates to null, the default value,\n\t\t\t\t\t\t\t\t'number', will be used.\nJSTL\:SPEC\:56.2.7 An invalid value will result in an Exception being\n\t\t\t\t\t\t\t\tthrown.\nJSTL\:SPEC\:56.3 The 'pattern' attribute specifies a custom formatting\n\t\t\t\t\t\tpattern which determines how the string in the 'value' attribute \n\t\t\t\t\t\tis to be parsed.\nJSTL\:SPEC\:56.3.1 The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype String.\nJSTL\:SPEC\:56.3.2 If the evaluated expression is not of type String,\n\t\t\t\t\t\t\t\tan Exception is thrown.\nJSTL\:SPEC\:56.4 The 'parseLocale' attribute specifies the locale whose\n\t\t\t\t\t\tdefault formatting pattern (for numbers, currencies, or \n\t\t\t\t\t\tpercentages) is to be used during the parse operation, or to which\n\t\t\t\t\t\tthe pattern specified via the 'pattern' attribute (if present) is \n\t\t\t\t\t\tapplied.\nJSTL\:SPEC\:56.4.1 The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype String or java.util.Locale.\nJSTL\:SPEC\:56.4.2 If the evaluated expression is not of type String of\n\t\t\t\t\t\t\t\tjava.util.Locale, an Exception is thrown.\nJSTL\:SPEC\:56.5 The 'integerOnly' attribute specifies whether just the\n\t\t\t\t\t\tinteger portion of the given value should be parsed.\nJSTL\:SPEC\:56.5.1 The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype boolean.\nJSTL\:SPEC\:56.5.2 If the evaluated expression is not of type boolean,\n\t\t\t\t\t\t\t\tan Exception is thrown.\nJSTL\:SPEC\:56.5.3 If the value evaluates to null, the default value,\n\t\t\t\t\t\t\t\t'true', will be used.\nJSTL\:SPEC\:56.6 The 'var' attribute specifies the name of the exported\n\t\t\t\t\t\tscoped attribute which stores the parsed result.\nJSTL\:SPEC\:56.6.1 The type of the exported attribute is of type\n\t\t\t\t\t\t\t\tjava.lang.Number.\nJSTL\:SPEC\:56.6.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\:56.7 the 'scope' attribute specifies the scope of 'var'.\nJSTL\:SPEC\:56.7.1 A value of 'page' will export 'var' to the page\n\t\t\t\t\t\t\t\tscope.\nJSTL\:SPEC\:56.7.2 A value of 'request' will export 'var' to the\n\t\t\t\t\t\t\t\trequest scope.\nJSTL\:SPEC\:56.7.3 A value of 'session' will export 'var' to the\n\t\t\t\t\t\t\t\tsession scope.\nJSTL\:SPEC\:56.7.4 A value of 'application' will export 'var' to the\n\t\t\t\t\t\t\t\tapplication scope.\nJSTL\:SPEC\:56.7.5 If the 'scope' attribute is provided an invalid\n\t\t\t\t\t\t\t\tvalue, a translation time validation error will occur.\nJSTL\:SPEC\:56.8 If 'scope' is specified, 'var' must also be specified.\nJSTL\:SPEC\:56.9 If 'value' is null or empty, the scoped variable\n\t\t\t\t\t\tdefined by 'var' and 'scope' is removed.\nJSTL\:SPEC\:56.10 If 'var' is specified and 'scope' is not, 'var' is\n\t\t\t\t\t\texported to the page scope.\nJSTL\:SPEC\:56.11 The value to be parsed by the action can be passed to\n\t\t\t\t\t\tthe action as body content.\nJSTL\:SPEC\:56.12 If 'var' is not specified, the result is written to\n\t\t\t\t\t\tthe current JspWriter object using java.lang.Number.toString().\nJSTL\:SPEC\:56.13 If the 'parseLocale' attribute is null or empty, it is\n\t\t\t\t\t\ttreated as if it were missing.\nJSTL\:SPEC\:56.14 If an exception occurs during the parsing of the\n\t\t\t\t\t\tvalue, it must be caught and rethrown as a JspException.\nJSTL\:SPEC\:56.14.1 The message of the rethrown JspException must\n\t\t\t\t\t\t\t\tinclude the value that was to be parsed, and the caught \n\t\t\t\t\t\t\t\texception must be provided as the root cause.\nJSTL\:SPEC\:56.15 If an exception is caused by the body content, it must\n\t\t\t\t\t\tbe propagated.\nJSTL\:SPEC\:56.16 If the numeric string to be parsed is null or empty,\n\t\t\t\t\t\tthe scoped variable defined by attributes var and scope is \n\t\t\t\t\t\tremoved.\nJSTL\:SPEC\:56.17 If this action fails to determine a formatting locale,\n\t\t\t\t\t\tit must throw a JspException whose message must include the value \n\t\t\t\t\t\tthat was to be parsed.\nJSTL\:SPEC\:56.18 If the attribute pattern is null or empty, it is\n\t\t\t\t\t\tignored.\nJSTL\:SPEC\:56.19 The parse pattern may be specified via the pattern\n\t\t\t\t\t\tattribute, or is looked up in a locale-dependent fashion.\nJSTL\:SPEC\:56.19.1 A pattern string specified via the pattern attribute\n\t\t\t\t\t\t\t\tmust follow the pattern syntax specified by \n\t\t\t\t\t\t\t\tjava.text.DecimalFormat.\nJSTL\:SPEC\:56.19.2 If looked up in a locale-dependent fashion, the\n\t\t\t\t\t\t\t\tparse pattern is determined via a combination of the type and \n\t\t\t\t\t\t\t\tparseLocale attributes.\nJSTL\:SPEC\:56.19.2.1 The parse pattern for numbers, currencies, or\n\t\t\t\t\t\t\t\t\t\tpercentages is determined by calling the \n\t\t\t\t\t\t\t\t\t\tjava.text.NumberFormat method getNumberInstance,\n\t\t\t\t\t\t\t\t\t\tgetCurrencyInstance, or getPercentInstance, respectively, with \n\t\t\t\t\t\t\t\t\t\tthe locale specified via parseLocale.\nJSTL\:SPEC\:56.19.2.2 If parseLocale is missing, the formatting locale,\n\t\t\t\t\t\t\t\t\t\twhich is obtained according to Section 9.2, is used as the \n\t\t\t\t\t\t\t\t\t\tparse locale.\nJSTL\:SPEC\:56.20 The pattern attribute takes precedence over type.\nJSTL\:SPEC\:56.21 The formatting symbols in the pattern are given by the\n\t\t\t\t\t\tparse locale. classname=com.sun.ts.tests.jstl.spec.fmt.format.parsenum.JSTLClient direction=forward finder=cts id=positivePNValueTest keywords=all jstl javaee javaee_web_profile positivePNValueTest novehicle forward service_eetest=no testName=positivePNValueTest testProps=\ webServerHost webServerPort ts_home test_directory=com/sun/ts/tests/jstl/spec/fmt/format/parsenum #-----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/fmt/format/parsenum/JSTLClient.java\#positivePNValueTest end=Tue Aug 18 13\:16\:45 UTC 2020 environment=ts_unix execStatus=Failed. Test case throws exception\: [BaseUrlClient] positivePNValueTest 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\:16\:43 UTC 2020 test=com/sun/ts/tests/jstl/spec/fmt/format/parsenum/JSTLClient.java\#positivePNValueTest timeoutSeconds=600 totalTime=1502 work=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tckwork/tags-tck/com/sun/ts/tests/jstl/spec/fmt/format/parsenum #section:script_messages ----------messages:(0/0)---------- #section:TestRun ----------messages:(1/1909)---------- 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.fmt.format.parsenum.JSTLClient -p /home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../tmp/tstest.jte -t positivePNValueTest ----------log:(88/6471)---------- ************************************************************ * props file set to "/tmp/?-cts-props.txt" ************************************************************ 08-18-2020 13:16:43: TRACE: ####### Value of harness.socket.retry.count is "10" 08-18-2020 13:16:43: TRACE: ####### Value of harness.log.port is "2000" 08-18-2020 13:16:43: TRACE: ####### Actual bind value of harness.log.port is "2000" 08-18-2020 13:16:43: TRACE: *** in EETest.run(argv,p) 08-18-2020 13:16:43: TRACE: TESTCLASS=com.sun.ts.tests.jstl.spec.fmt.format.parsenum.JSTLClient 08-18-2020 13:16:43: TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.jstl.spec.fmt.format.parsenum.JSTLClient 08-18-2020 13:16:43: TRACE: ** IN getRunMethod: testname=positivePNValueTest 08-18-2020 13:16:43: TRACE: ** GOT RUN METHOD! 08-18-2020 13:16:43: TRACE: **runmethod=positivePNValueTest 08-18-2020 13:16:43: TRACE: ABOUT TO GET SETUP METHOD! 08-18-2020 13:16:43: TRACE: No setupMethod annotation present 08-18-2020 13:16:43: TRACE: getSetupMethod - checking for testcase specific setup method: positivePNValueTest_setup 08-18-2020 13:16:43: TRACE: getSetupMethod - checking for default class specific setup method 08-18-2020 13:16:43: TRACE: GOT SETUP METHOD! 08-18-2020 13:16:43: TRACE: No cleanupMethod annotation present 08-18-2020 13:16:43: TRACE: getCleanupMethod - checking for testcase specific cleanup method: positivePNValueTest_cleanup 08-18-2020 13:16:43: TRACE: getCleanupMethod - checking for default class specific cleanup method 08-18-2020 13:16:43: TRACE: GOT CLEANUP METHOD! 08-18-2020 13:16:43: TRACE: ABOUT TO INVOKE SETUP METHOD! 08-18-2020 13:16:43: [BaseUrlClient] Test setup OK 08-18-2020 13:16:43: TRACE: INVOKED SETUP METHOD! 08-18-2020 13:16:43: TRACE: ABOUT TO INVOKE EETEST RUN METHOD! 08-18-2020 13:16:43: TRACE: [BaseUrlClient] EXECUTING 08-18-2020 13:16:43: ERROR: Root cause of Failure: Connection refused (Connection refused) 08-18-2020 13:16:43: 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.fmt.format.parsenum.JSTLClient.positivePNValueTest(JSTLClient.java:77) 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.fmt.format.parsenum.JSTLClient.run(JSTLClient.java:64) at com.sun.ts.tests.jstl.spec.fmt.format.parsenum.JSTLClient.main(JSTLClient.java:50) 08-18-2020 13:16:43: ERROR: Test case throws exception: [BaseUrlClient] positivePNValueTest failed! Check output for cause of failure. 08-18-2020 13:16:43: ERROR: Exception at: 08-18-2020 13:16:43: 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.fmt.format.parsenum.JSTLClient.positivePNValueTest(JSTLClient.java:77) 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.fmt.format.parsenum.JSTLClient.run(JSTLClient.java:64) at com.sun.ts.tests.jstl.spec.fmt.format.parsenum.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:16:43: [BaseUrlClient] Test cleanup OK STATUS:Failed.Test case throws exception: [BaseUrlClient] positivePNValueTest failed! Check output for cause of failure. result: Failed. Test case throws exception: [BaseUrlClient] positivePNValueTest failed! Check output for cause of failure. test result: Failed. Test case throws exception: [BaseUrlClient] positivePNValueTest failed! Check output for cause of failure.