Regression
com.sun.ts.tests.jaxrs.ee.rs.container.responsecontext.JAXRSClient.getEntityAnnotationsWhenAnnotationsOnEntityTest_from_standalone (from restful-ws-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:43 UTC 2021 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/src/com/sun/ts/tests/jaxrs/ee/rs/container/responsecontext/JAXRSClient.java $root=/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/src assertion_ids=JAXRS\:JAVADOC\:683 Get the annotations attached to the entity instance. Note that the returned annotations array contains only those annotations explicitly attached to entity instance (such as the ones attached using javax.ws.rs.core.Response.ResponseBuilder\#entity(Object, java.lang.annotation.Annotation[]) method as well as the ones attached to the resource method that has returned the response). The entity instance annotations array does not include annotations declared on the entity implementation class or its ancestors. Note that container response filters invoked earlier in the filter chain may modify the entity annotations value, in which case this getter method would return the last annotations value set by a container response filter invoked earlier in the filter chain. For example\: \#64;Path("my-resource") public class MyResource { private final Annotations[] extras \= ... ; \#64;GET \#64;Custom public String getAnnotatedMe() { return Response.ok().entity("Annotated me", extras).build(); } ... } The container response context for a response returned from the getMe() method above would contain all the annotations declared on the getAnnotatedMe() method ( \#64;GET, \#64;Custom) as well as all the annotations from the extras field, provided this value has not been replaced by any container response filter invoked earlier. Similarly\: \#64;Custom public class AnnotatedMe { ... } \#64;Path("my-resource") public class MyResource { private final Annotations[] extras \= ... ; \#64;GET public AnnotatedMe getMe() { return Response.ok().entity(new AnnotatedMe(), extras).build(); } ... } Provided that the value has not been replaced by any container response filter invoked earlier, the container response context for a response returned from the getMe() method above would contain all the annotations on the getMe() method ( \#64;GET) as well as all the annotations from the extras field. It would however not contain any annotations declared on the AnnotatedMe class.\nJAXRS\:JAVADOC\:707 Filter method called after a response has been provided for a request (either by a ContainerRequestFilter request filter or by a matched resource method. Filters in the filter chain are ordered according to their jakarta.annotation.Priority class-level annotation value.\nJAXRS\:JAVADOC\:708 if an I/O exception occurs. classname=com.sun.ts.tests.jaxrs.ee.rs.container.responsecontext.JAXRSClient direction=forward finder=cts id=getEntityAnnotationsWhenAnnotationsOnEntityTest_from_standalone keywords=all jaxrs javaee getEntityAnnotationsWhenAnnotationsOnEntityTest standalone_vehicle forward service_eetest=yes testName=getEntityAnnotationsWhenAnnotationsOnEntityTest testProps=\ webServerHost webServerPort ts_home test_directory=com/sun/ts/tests/jaxrs/ee/rs/container/responsecontext #-----environment----- TS_HOME=/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/bin/xml/../.. harness.executeMode=0 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/restful-ws-tck/bin/xml/../.. ts_home=${TS_HOME} webServerHost=localhost webServerPort=8080 #-----testresult----- description=file\:/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/src/com/sun/ts/tests/jaxrs/ee/rs/container/responsecontext/JAXRSClient.java\#getEntityAnnotationsWhenAnnotationsOnEntityTest_from_standalone end=Wed Sep 29 10\:28\:43 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\:43 UTC 2021 test=com/sun/ts/tests/jaxrs/ee/rs/container/responsecontext/JAXRSClient.java\#getEntityAnnotationsWhenAnnotationsOnEntityTest_from_standalone timeoutSeconds=600 totalTime=4 work=/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tckwork/restful-ws-tck/com/sun/ts/tests/jaxrs/ee/rs/container/responsecontext #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