Regression
com.sun.ts.tests.jstl.spec.fmt.i18n.message.JSTLClient.positiveMessageKeyTest (from tags-tck)
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:17:24 UTC 2020 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src/com/sun/ts/tests/jstl/spec/fmt/i18n/message/JSTLClient.java $root=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src assertion_ids=JSTL\:SPEC\:44 The < fmt\:message> action looks up a localized message\n\t\t\t\tin a resource bundle.\nJSTL\:SPEC\:44.1 The 'key' attribute specifies the message key to be\n\t\t\t\t\t\tlooked up.\nJSTL\:SPEC\:44.1.1 The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype String.\nJSTL\:SPEC\:44.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\:44.2 The 'bundle' attribute specifies the resource bundle\n\t\t\t\t\t\tin which to look up the message key.\nJSTL\:SPEC\:44.2.1 The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype ResourceBundle\nJSTL\:SPEC\:44.2.2 If the evaluated expression is not of type\n\t\t\t\t\t\t\t\tResourceBundle, an Exception is thrown.\nJSTL\:SPEC\:44.3 The 'var' attribute specifies the name of the exported\n\t\t\t\t\t\tscoped attribute which stores the localized message.\nJSTL\:SPEC\:44.3.1 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\:44.4 The 'scope' attribute specifies the scope of 'var'.\nJSTL\:SPEC\:44.4.1 A value of 'page' will export 'var' to the page\n\t\t\t\t\t\t\t\tscope.\nJSTL\:SPEC\:44.4.2 A value of 'request' will export 'var' to the\n\t\t\t\t\t\t\t\trequest scope.\nJSTL\:SPEC\:44.4.3 A value of 'session' will export 'var' to the\n\t\t\t\t\t\t\t\tsession scope.\nJSTL\:SPEC\:44.4.4 A value of 'application' will export 'var' to the\n\t\t\t\t\t\t\t\tapplication scope.\nJSTL\:SPEC\:44.4.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\:44.4.6 The default value of the 'scope' attribute is\n\t\t\t\t\t\t\t\t'page'.\nJSTL\:SPEC\:44.5 The action must accept a message key within the tag's\n\t\t\t\t\t\tbody content\nJSTL\:SPEC\:44.6 If this action is nested inside a < fmt\:bundle>\n\t\t\t\t\t\taction, and the parent < fmt\:bundle> action contains a prefix\n\t\t\t\t\t\tattribute, the specified prefix is prepended to the message key.\nJSTL\:SPEC\:44.7 If the given key is not found in the resource bundle,\n\t\t\t\t\t\tor a resource bundle with the given base name does not exist, two \n\t\t\t\t\t\tactions must occur\:\nJSTL\:SPEC\:44.7.1 A message is logged to the servlet context.\nJSTL\:SPEC\:44.7.2 An error message of the form "??? < key>???" (where\n\t\t\t\t\t\t\t\t < key> is the name of the undefined message key) is output to\n\t\t\t\t\t\t\t\tthe current JspWriter object.\nJSTL\:SPEC\:44.8 If the message corresponding to the given key is\n\t\t\t\t\t\tcompound (contains one or more variables), and the action's body \n\t\t\t\t\t\tcontains one or more < fmt\:param> subtags (one for each\n\t\t\t\t\t\tparameter), then parametric replacement of the parameters will \n\t\t\t\t\t\ttake place in the order that the < fmt\:param> subtags were\n\t\t\t\t\t\tprovided.\nJSTL\:SPEC\:44.9 If the message is compound and no < fmt\:param>\n\t\t\t\t\t\tsubtags are specified, it is left unmodified.\nJSTL\:SPEC\:44.10 If 'scope' is specified, 'var' must also be specified.\nJSTL\:SPEC\:44.11 If 'key' is null or empty, the message is processed as\n\t\t\t\t\t\tif undefined; i.e, an error message of the form "??????" is \n\t\t\t\t\t\twritten.\nJSTL\:SPEC\:44.12 If 'scope' is not specified, and 'var' is, then 'var'\n\t\t\t\t\t\twill be exported to the page scope.\nJSTL\:SPEC\:44.13 If 'key' is null or empty, the message is processed as\n\t\t\t\t\t\tif undefined; that is, an error message of the form "??????" is \n\t\t\t\t\t\tproduced.\nJSTL\:SPEC\:44.14 If the i18n localization context that this action\n\t\t\t\t\t\tdetermines does not have any resource bundle, an error message of \n\t\t\t\t\t\tthe form “??? < key>???” is produced\nJSTL\:SPEC\:44.15 In the presence of one or more < fmt\:param> subtags,\n\t\t\t\t\t\tthe message is supplied to the java.text.MessageFormat method \n\t\t\t\t\t\tapplyPattern(), and the values of the < fmt\:param> tags are\n\t\t\t\t\t\tcollected in an Object[] and supplied to the\n\t\t\t\t\t\tjava.text.MessageFormat method format().\nJSTL\:SPEC\:44.15.1 The locale of the java.text.MessageFormat is set to\n\t\t\t\t\t\t\t\tthe appropriate localization context locale before \n\t\t\t\t\t\t\t\tapplyPattern() is called.\nJSTL\:SPEC\:44.15.2 If the localization context does not have any\n\t\t\t\t\t\t\t\tlocale, the locale of the java.text.MessageFormat is set to the \n\t\t\t\t\t\t\t\tlocale returned by the formatting locale lookup algorithm of\n\t\t\t\t\t\t\t\tSection 9.3, except that the available formatting locales are \n\t\t\t\t\t\t\t\tgiven as the intersection of the number- and date- formatting\n\t\t\t\t\t\t\t\tlocales.\nJSTL\:SPEC\:44.15.3 If this algorithm does not yield any locale, the\n\t\t\t\t\t\t\t\tlocale of the java.text.MessageFormat is set to the runtime's \n\t\t\t\t\t\t\t\tdefault locale. classname=com.sun.ts.tests.jstl.spec.fmt.i18n.message.JSTLClient direction=forward finder=cts id=positiveMessageKeyTest keywords=all jstl javaee javaee_web_profile positiveMessageKeyTest novehicle forward service_eetest=no testName=positiveMessageKeyTest testProps=\ webServerHost webServerPort ts_home test_directory=com/sun/ts/tests/jstl/spec/fmt/i18n/message #-----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/i18n/message/JSTLClient.java\#positiveMessageKeyTest end=Tue Aug 18 13\:17\:24 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\:17\:22 UTC 2020 test=com/sun/ts/tests/jstl/spec/fmt/i18n/message/JSTLClient.java\#positiveMessageKeyTest timeoutSeconds=600 totalTime=1484 work=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tckwork/tags-tck/com/sun/ts/tests/jstl/spec/fmt/i18n/message #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.i18n.message.JSTLClient -p /home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../tmp/tstest.jte -t positiveMessageKeyTest ----------log:(90/6521)---------- ************************************************************ * props file set to "/tmp/?-cts-props.txt" ************************************************************ 08-18-2020 13:17:22: TRACE: ####### Value of harness.socket.retry.count is "10" 08-18-2020 13:17:22: TRACE: ####### Value of harness.log.port is "2000" 08-18-2020 13:17:22: TRACE: ####### Actual bind value of harness.log.port is "2000" 08-18-2020 13:17:22: TRACE: *** in EETest.run(argv,p) 08-18-2020 13:17:22: TRACE: TESTCLASS=com.sun.ts.tests.jstl.spec.fmt.i18n.message.JSTLClient 08-18-2020 13:17:22: TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.jstl.spec.fmt.i18n.message.JSTLClient 08-18-2020 13:17:22: TRACE: ** IN getRunMethod: testname=positiveMessageKeyTest 08-18-2020 13:17:22: TRACE: ** GOT RUN METHOD! 08-18-2020 13:17:22: TRACE: **runmethod=positiveMessageKeyTest 08-18-2020 13:17:22: TRACE: ABOUT TO GET SETUP METHOD! 08-18-2020 13:17:22: TRACE: No setupMethod annotation present 08-18-2020 13:17:22: TRACE: getSetupMethod - checking for testcase specific setup method: positiveMessageKeyTest_setup 08-18-2020 13:17:22: TRACE: getSetupMethod - checking for default class specific setup method 08-18-2020 13:17:22: TRACE: GOT SETUP METHOD! 08-18-2020 13:17:22: TRACE: No cleanupMethod annotation present 08-18-2020 13:17:22: TRACE: getCleanupMethod - checking for testcase specific cleanup method: positiveMessageKeyTest_cleanup 08-18-2020 13:17:22: TRACE: getCleanupMethod - checking for default class specific cleanup method 08-18-2020 13:17:22: TRACE: GOT CLEANUP METHOD! 08-18-2020 13:17:22: TRACE: ABOUT TO INVOKE SETUP METHOD! 08-18-2020 13:17:22: [BaseUrlClient] Test setup OK 08-18-2020 13:17:22: TRACE: INVOKED SETUP METHOD! 08-18-2020 13:17:22: TRACE: ABOUT TO INVOKE EETEST RUN METHOD! 08-18-2020 13:17:22: TRACE: [HttpRequest] Added request header: Accept-Language: en 08-18-2020 13:17:22: TRACE: [BaseUrlClient] EXECUTING 08-18-2020 13:17:22: ERROR: Root cause of Failure: Connection refused (Connection refused) 08-18-2020 13:17:22: 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.i18n.message.JSTLClient.positiveMessageKeyTest(JSTLClient.java:81) 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.i18n.message.JSTLClient.run(JSTLClient.java:64) at com.sun.ts.tests.jstl.spec.fmt.i18n.message.JSTLClient.main(JSTLClient.java:50) 08-18-2020 13:17:22: ERROR: Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure. 08-18-2020 13:17:22: ERROR: Exception at: 08-18-2020 13:17:22: 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.i18n.message.JSTLClient.positiveMessageKeyTest(JSTLClient.java:81) 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.i18n.message.JSTLClient.run(JSTLClient.java:64) at com.sun.ts.tests.jstl.spec.fmt.i18n.message.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:17:22: [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.