Regression
com.sun.ts.tests.concurrency.spec.ManagedThreadFactory.apitests.Client.interruptThreadApiTest (from concurrency-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:29:27 UTC 2021 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_master/concurrency-tck/src/com/sun/ts/tests/concurrency/spec/ManagedThreadFactory/apitests/Client.java $root=/home/jenkins/agent/workspace/jakartaee-tck_master/concurrency-tck/src assertion_ids=CONCURRENCY\:SPEC\:83 providers may choose to use the context information supplied as default context propagation policies for a\nCONCURRENCY\:SPEC\:83.1 ManagedExecutorService\nCONCURRENCY\:SPEC\:83.2 ManagedScheduledExecutorService\nCONCURRENCY\:SPEC\:83.3 ManagedThreadFactory\nCONCURRENCY\:SPEC\:93 The jakarta.enterprise.concurrent.ManagedThreadFactory allows applications to create thread instances from a\n Java EE Product Provider without creating new java.lang.Thread instances directly.\nCONCURRENCY\:SPEC\:96 The Application Component Provider may use resource environment references to obtain references to a\n ManagedThreadFactory instance as follows\:\nCONCURRENCY\:SPEC\:96.1 Assign an entry in the application component’s environment to the reference using the reference type of\:\n jakarta.enterprise.concurrent.ManagedThreadFactory.\nCONCURRENCY\:SPEC\:96.2 This specification recommends, but does not require, that all resource environment references be\n organized in the appropriate subcontext of the component’s environment for the resource type.\nCONCURRENCY\:SPEC\:96.3 Look up the administered object in the application component’s environment using JNDI\nCONCURRENCY\:SPEC\:96.4 through resource injection by the use of the Resource annotation\nCONCURRENCY\:SPEC\:96.5 New threads are created using the newThread(Runnable r) method on the\n java.util.concurrent.ThreadFactory interface.\nCONCURRENCY\:SPEC\:96.6 The application component thread has permission to interrupt the thread. All other modifications to the\n thread are subject to the security manager, if present.\nCONCURRENCY\:SPEC\:96.7 All Threads are contextual. When the thread is started using the Thread.start() method, the Runnable\n that is executed will run with the context of the application component instance that created the \n ManagedThreadFactory instance.\nCONCURRENCY\:SPEC\:96.8 The ManagedThreadFactory instance may be invoked from several threads in the application\n component, each with a different container context\nCONCURRENCY\:SPEC\:96.9 If a ManagedThreadFactory instance is stopped, all subsequent calls to newThread() must throw a\n java.lang.IllegalStateException\nCONCURRENCY\:SPEC\:103 A ManagedThreadFactory can be used directly by application components by using resource environment\n references\nCONCURRENCY\:SPEC\:105 The Java EE Produce Provider must provide a preconfigured, default ManagedThreadFactory for use by\n application components under the JNDI name java\:comp/DefaultManagedThreadFactory. classname=com.sun.ts.tests.concurrency.spec.ManagedThreadFactory.apitests.Client direction=forward finder=cts id=interruptThreadApiTest keywords=all concurrency javaee interruptThreadApiTest novehicle forward service_eetest=no testName=interruptThreadApiTest testProps=\ webServerHost webServerPort test_directory=com/sun/ts/tests/concurrency/spec/ManagedThreadFactory/apitests #-----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/../.. webServerHost=localhost webServerPort=8080 #-----testresult----- description=file\:/home/jenkins/agent/workspace/jakartaee-tck_master/concurrency-tck/src/com/sun/ts/tests/concurrency/spec/ManagedThreadFactory/apitests/Client.java\#interruptThreadApiTest end=Wed Sep 29 10\:29\:27 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\:27 UTC 2021 test=com/sun/ts/tests/concurrency/spec/ManagedThreadFactory/apitests/Client.java\#interruptThreadApiTest timeoutSeconds=600 totalTime=4 work=/home/jenkins/agent/workspace/jakartaee-tck_master/concurrency-tckwork/concurrency-tck/com/sun/ts/tests/concurrency/spec/ManagedThreadFactory/apitests #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