Regression
com.sun.ts.tests.jsonb.defaultmapping.generics.GenericsMappingTest.testClassFileAvailable_from_standalone (from jsonb-tck)
Error Message
test result: Failed. Illegal access to test: com.sun.ts.lib.deliverable.PropertyNotSetException: No value found for jimage.dir. Please check your jte file for an appropiate value
Stacktrace
test result: Failed. Illegal access to test: com.sun.ts.lib.deliverable.PropertyNotSetException: No value found for jimage.dir. Please check your jte file for an appropiate value
Standard Output
#Test Results (version 2) #Wed Sep 29 10:28:14 UTC 2021 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_master/jsonb-tck/src/com/sun/ts/tests/jsonb/defaultmapping/generics/GenericsMappingTest.java $root=/home/jenkins/agent/workspace/jakartaee-tck_master/jsonb-tck/src assertion_ids=JSONB\:SPEC\:JSB-3 See assertion html documents.\nJSONB\:SPEC\:JSB-3.17 See assertion html documents.\nJSONB\:SPEC\:JSB-3.17.1-6 1. Ti is concrete parameter type\n2. Ti is bounded parameter type \n3. Ti is wildcard parameter type without bounds\nIn case 1, the most specific parameter type MUST be given concrete parameter type Ti.\nJSONB\:SPEC\:JSB-3.17.1-5 Let's consider situation where there is only static type information of a given field/class/interface known,\nand there is no runtime type information available. Let GenericClass T1; \: \: \: ; Tn be part of generic type \ndeclaration, where GenericClass is name of the generic type and T1; \: \: \: ; Tn are type parameters. For every \nTi, where i in 1; \: \: \: ; n, there are 3 possible options\:\nJSONB\:SPEC\:JSB-3.17.1-1 There are several levels of information JSON Binding implementations may obtain about the type of field/class/interface\:\n 1. runtime type provided via java.lang.reflect.Type parameter passed to Jsonb\:\:toJson or Jsonb\:\:fromJson method \n 2. static type provided in class file (effectively stored in Signature attribute)\n 3. raw type \n 4. no information about the type\nJSONB\:SPEC\:JSB-3.17-2 Due to type erasure, there are situations when it is not possible to obtain generic type information. There are two ways for JSON Binding implementations to obtain generic type information. If there is a class file available (in the following text referred as static type information), it is possible to obtain generic type information (effectively generic type declaration) from Signature attribute (if this information is present).\nJSONB\:SPEC\:JSB-3.17-1 JSON Binding implementations MUST support binding of generic types. classname=com.sun.ts.tests.jsonb.defaultmapping.generics.GenericsMappingTest direction=forward finder=cts id=testClassFileAvailable_from_standalone keywords=all jsonb javaee testClassFileAvailable standalone_vehicle forward service_eetest=yes testName=testClassFileAvailable testProps= test_directory=com/sun/ts/tests/jsonb/defaultmapping/generics #-----environment----- TS_HOME=/home/jenkins/agent/workspace/jakartaee-tck_master/jsonb-tck/bin/xml/../.. 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}/tmp porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL ts.home=/home/jenkins/agent/workspace/jakartaee-tck_master/jsonb-tck/bin/xml/../.. #-----testresult----- description=file\:/home/jenkins/agent/workspace/jakartaee-tck_master/jsonb-tck/src/com/sun/ts/tests/jsonb/defaultmapping/generics/GenericsMappingTest.java\#testClassFileAvailable_from_standalone end=Wed Sep 29 10\:28\:14 UTC 2021 environment=ts_unix execStatus=Failed. Illegal access to test\: com.sun.ts.lib.deliverable.PropertyNotSetException\: No value found for jimage.dir. Please check your jte file for an appropiate value harnessLoaderMode=Classpath Loader harnessVariety=Full Bundle javatestOS=Linux 5.12.7-300.fc34.x86_64 (amd64) javatestVersion=5.0 script=com.sun.ts.lib.harness.TSScript sections=script_messages TestRun start=Wed Sep 29 10\:28\:14 UTC 2021 test=com/sun/ts/tests/jsonb/defaultmapping/generics/GenericsMappingTest.java\#testClassFileAvailable_from_standalone timeoutSeconds=600 totalTime=3 work=/home/jenkins/agent/workspace/jakartaee-tck_master/jsonb-tckwork/jsonb-tck/com/sun/ts/tests/jsonb/defaultmapping/generics #section:script_messages ----------messages:(0/0)---------- #section:TestRun ----------messages:(0/0)---------- ----------log:(0/0)---------- result: Failed. Illegal access to test: com.sun.ts.lib.deliverable.PropertyNotSetException: No value found for jimage.dir. Please check your jte file for an appropiate value test result: Failed. Illegal access to test: com.sun.ts.lib.deliverable.PropertyNotSetException: No value found for jimage.dir. Please check your jte file for an appropiate value