Skip to content

Regression

com.sun.ts.tests.concurrency.api.ContextService.Client.ContextServiceWithIntfAndProperties_from_servlet (from concurrency-tck)

Failing for the past 1 build (Since #155 )
Took 0 ms.

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:29:25 UTC 2021
#-----testdescription-----
$file=/home/jenkins/agent/workspace/jakartaee-tck_master/concurrency-tck/src/com/sun/ts/tests/concurrency/api/ContextService/Client.java
$root=/home/jenkins/agent/workspace/jakartaee-tck_master/concurrency-tck/src
assertion_ids=CONCURRENCY\:JAVADOC\:9  Creates a new contextual object proxy for the input object instance.\n                                The contextual object is useful when developing or using Java  SE  threading mechanisms propagating events to other component instances or  communicating with component instances on different Java processes.    If the application component that created the proxy is not started or  deployed, all methods on reflected interfaces will throw a  java.lang.IllegalStateException.    This method accepts a Map object which allows the  contextual object creator to define what contexts or behaviors to capture  when creating the contextual object. The specified properties will remain  with the contextual object.      For example, to call a Message Driven Bean (MDB) with the sender's  context, but within the MDB's transaction\:      public class MyServlet ... {      public void doPost() throws NamingException, JMSException {         InitialContext ctx \= new InitialContext();               // Get the ContextService that only propagates         // security context.         ContextService ctxSvc \= (ContextService)             ctx.lookup("java\:comp/env/SecurityContext");          // Set any custom context data through execution properties         Map execProps \= new HashMap();         execProps.put("vendor_a.security.tokenexpiration", "15000");         // Specify that contextual object should run inside the current          // transaction.  If we have a failure, we don't want to consume         // the message.         execProps.put(ManagedTask.TRANSACTION, "USE_TRANSACTION_OF_EXECUTION_THREAD");          ProcessMessage msgProcessor \=             ctxSvc.createContextualProxy(new MessageProcessor(), execProps,             ProcessMessage.class);          ConnectionFactory cf \= (ConnectionFactory)              ctx.lookup("java\:comp/env/MyTopicConnectionFactory");         Destination dest \= (Destination) ctx.lookup("java\:comp/env/MyTopic");         Connection con \= cf.createConnection();          Session session \= con.createSession(true, Session.AUTO_ACKNOWLEDGE);         MessageProducer producer \= session.createProducer(dest);          Message msg \= session.createObjectMessage((Serializable)msgProcessor);         producer.send(dest, msg);         ...      }    public class MyMDB ... {     public void onMessage(Message msg) {         // Get the ProcessMessage contextual object from the message.         ObjectMessage omsg \= (ObjectMessage)msg;         ProcessMessage msgProcessor \= (ProcessMessage)omsg.getObject();                  // Process the message in the specified context.         msgProcessor.processMessage(msg);     }   }    public interface  ProcessMessage {       public void processMessage(Message msg);   }    public class MessageProcessor implements ProcessMessage, Serializable {       public void processMessage(Message msg) {           // Process the message with the application container           // context that sent the message.        }   }
classname=com.sun.ts.tests.concurrency.api.ContextService.Client
direction=forward
finder=cts
id=ContextServiceWithIntfAndProperties_from_servlet
keywords=all concurrency javaee ContextServiceWithIntfAndProperties servlet_vehicle forward
service_eetest=yes
testName=ContextServiceWithIntfAndProperties
testProps=
test_directory=com/sun/ts/tests/concurrency/api/ContextService

#-----environment-----
TS_HOME=/home/jenkins/agent/workspace/jakartaee-tck_master/concurrency-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/concurrency-tck/bin/xml/../..

#-----testresult-----
description=file\:/home/jenkins/agent/workspace/jakartaee-tck_master/concurrency-tck/src/com/sun/ts/tests/concurrency/api/ContextService/Client.java\#ContextServiceWithIntfAndProperties_from_servlet
end=Wed Sep 29 10\:29\:25 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\:29\:25 UTC 2021
test=com/sun/ts/tests/concurrency/api/ContextService/Client.java\#ContextServiceWithIntfAndProperties_from_servlet
timeoutSeconds=600
totalTime=3
work=/home/jenkins/agent/workspace/jakartaee-tck_master/concurrency-tckwork/concurrency-tck/com/sun/ts/tests/concurrency/api/ContextService

#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