Regression
com.sun.ts.tests.el.api.jakarta_el.staticfieldelresolver.ELClient.staticFieldELResolverTest_from_standalone (from expression-language-tck)
Failing for the past 1 build
(Since Unstable
)
Error Message
test result: Failed. Test case throws exception: null
Stacktrace
test result: Failed. Test case throws exception: null
Standard Output
#Test Results (version 2) #Mon Jul 20 12:02:51 UTC 2020 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/src/com/sun/ts/tests/el/api/jakarta_el/staticfieldelresolver/ELClient.java $root=/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/src assertion_ids=EL\:JAVADOC\:189 Constructor\nEL\:JAVADOC\:204 Return the ELContext used for parsing and evaluating EL expressions. If there is currently no ELContext, a default instance of StandardELContext is returned.\nEL\:JAVADOC\:330 Returns the type of the property. Always returns String.class, since a field name is a String.\nEL\:JAVADOC\:331 Returns the properties that can be resolved. Always returns null, since there is no reason to iterate through a list of one element\: field name.\nEL\:JAVADOC\:332 Returns the type of a static field. If the base object is an instance of ELClassand the property is a String, the propertyResolved property of the ELContext object must be set to true by the resolver, before returning. If this property is not true after this method is called, the caller can safely assume no value has been set. If the property is the string "class", returns java.lang.Class.class. If the property string is a public static field of class specified in ELClass, return the type of the static field.\nEL\:JAVADOC\:335 Returns the value of a static field. If the base object is an instance of ELClass and the property is String, the propertyResolved property of the ELContext object must be set to true by this resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. If the property is the string "class", return the java.lang.Class instance of the class specified in ELClass. If the property is a public static field of class specified in ELClass, return the value of the static field. An Enum constant is a public static field of an Enum object, and is a special case of this.\nEL\:JAVADOC\:338 Invokes a public static method or the constructor for a class. If the base object is an instance of ELClass and the method is a String, the propertyResolved property of the ELContext object must be set to true by the resolver, before returning. If this property is not true after this method is called, the caller should ignore the return value. Invoke the public static method specified by method. The process involved in the method selection is the same as that used in BeanELResolver. As a special case, if the name of the method is " < init > ", the constructor for the class will be invoked.\nEL\:JAVADOC\:341 Inquires whether the static field is writable. If the base object is an instance of ELClassand the property is a String, the propertyResolved property of the ELContext object must be set to true by the resolver, before returning. If this property is not true after this method is called, the caller can safely assume no value has been set. Always returns a true because writing to a static field is not allowed.\nEL\:JAVADOC\:343 Attempts to write to a static field. If the base object is an instance of ELClassand the property is String, a PropertyNotWritableException will always be thrown, because writing to a static field is not allowed.\nEL\:JAVADOC\:346 See assertion html documents. classname=com.sun.ts.tests.el.api.jakarta_el.staticfieldelresolver.ELClient direction=forward finder=cts id=staticFieldELResolverTest_from_standalone keywords=all el javaee staticFieldELResolverTest standalone_vehicle forward service_eetest=yes testName=staticFieldELResolverTest testProps= test_directory=com/sun/ts/tests/el/api/jakarta_el/staticfieldelresolver #-----environment----- JAVA_HOME=/opt/jdk1.8.0_191/jre JAVA_OPTIONS= LOCAL_CLASSES=/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../lib/tsharness.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../lib/eltck.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/lib/javatest.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.el-api.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../lib/sigtest.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../lib/javatest.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../classes SYSTEMROOT=${env.SystemRoot} TS_HOME=/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../.. command.testExecute=com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH\=${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=false harness.socket.retry.count=10 harness.temp.directory=${TS_HOME} porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL user.home=? variable.mapper=com.sun.el.lang.VariableMapperImpl windir=${env.windir} #-----testresult----- description=file\:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/src/com/sun/ts/tests/el/api/jakarta_el/staticfieldelresolver/ELClient.java\#staticFieldELResolverTest_from_standalone end=Mon Jul 20 12\:02\:51 UTC 2020 environment=ts_unix execStatus=Failed. Test case throws exception\: null 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 Jul 20 12\:02\:49 UTC 2020 test=com/sun/ts/tests/el/api/jakarta_el/staticfieldelresolver/ELClient.java\#staticFieldELResolverTest_from_standalone timeoutSeconds=600 totalTime=1443 work=/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tckwork/expression-language-tck/com/sun/ts/tests/el/api/jakarta_el/staticfieldelresolver #section:script_messages ----------messages:(0/0)---------- #section:TestRun ----------messages:(1/1026)---------- command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../lib/tsharness.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../lib/eltck.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/lib/javatest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.el-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../lib/sigtest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../lib/javatest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../classes HOME=? windir= SYSTEMROOT= /opt/jdk1.8.0_191/jre/bin/java com.sun.ts.tests.common.vehicle.VehicleClient -p /home/jenkins/agent/workspace/jakartaee-tck_master/expression-language-tck/bin/xml/../../tmp/tstest.jte -t staticFieldELResolverTest -vehicle standalone ----------log:(38/2332)---------- ************************************************************ * props file set to "/tmp/?-cts-props.txt" ************************************************************ 07-20-2020 12:02:49: ERROR: Test case throws exception: null 07-20-2020 12:02:49: ERROR: Exception at: 07-20-2020 12:02:49: ERROR: java.lang.ExceptionInInitializerError at jakarta.el.ELManager.getExpressionFactory(ELManager.java:38) at jakarta.el.ELManager.getELContext(ELManager.java:49) at jakarta.el.ELManager.addELResolver(ELManager.java:86) at com.sun.ts.tests.el.api.jakarta_el.staticfieldelresolver.ELClient.staticFieldELResolverTest(ELClient.java:87) 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.ServiceEETest.run(ServiceEETest.java:115) at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:40) at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105) at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486) at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209) at com.sun.ts.lib.harness.EETest.run(EETest.java:285) at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:38) Caused by: jakarta.el.ELException: Provider com.sun.el.ExpressionFactoryImpl not found at jakarta.el.FactoryFinder.newInstance(FactoryFinder.java:59) at jakarta.el.FactoryFinder.find(FactoryFinder.java:133) at jakarta.el.ExpressionFactory.newInstance(ExpressionFactory.java:140) at jakarta.el.ExpressionFactory.newInstance(ExpressionFactory.java:110) at jakarta.el.ELUtil.<clinit>(ELUtil.java:60) ... 16 more Caused by: java.lang.ClassNotFoundException: com.sun.el.ExpressionFactoryImpl at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at jakarta.el.FactoryFinder.newInstance(FactoryFinder.java:43) ... 20 more STATUS:Failed.Test case throws exception: null result: Failed. Test case throws exception: null test result: Failed. Test case throws exception: null