Regression
com.sun.ts.tests.jacc.web.toolsContracts.Client.WebResourcePermission_from_standalone (from authorization-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:31:16 UTC 2021 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_master/authorization-tck/src/com/sun/ts/tests/jacc/web/toolsContracts/Client.java $root=/home/jenkins/agent/workspace/jakartaee-tck_master/authorization-tck/src assertion_ids=JACC\:SPEC\:27 The declarative authorization policy statements derived from application or\nmodule deployment descriptor(s) must be translated to create instances of the \ncorresponding jakarta.security.jacc Permission classes.\nJACC\:SPEC\:28 Methods of the PolicyConfiguration interface must be used with the\npermissions resulting from the translation to create policy statements within the \nPolicyConfiguration objects.\nJACC\:SPEC\:36 Each WebResourcePermission object must be constructed using the qualified pattern as\nits name and with actions defined by the union of the HTTP methods named or \nimplied by the collections containing the pattern and occurring in a constraint that\nnames (or implies via "*") the role to which the permission is being added. The \nresulting permissions must be added to the corresponding roles by calling the\naddToRole method on the PolicyConfiguration object.\nJACC\:SPEC\:52 The application server's deployment tools must translate the declarative\nauthorization policy appearing in the application or module deployment \ndescriptor(s) into policy statements within the Policy providers used by the\ncontainers to which the components of the application or module are being \ndeployed.\nJACC\:SPEC\:72 The Servlet container must construct (or reuse) a WebResourcePermission object\nusing the request URI minus the context path as the name and with actions \ncorresponding to the HTTP method of the request.\nJACC\:SPEC\:128 If the any authenticated user role-name, **, occurs in an auth-constraint, \n a WebResourcePermission must also be added to the ** role. classname=com.sun.ts.tests.jacc.web.toolsContracts.Client direction=forward finder=cts id=WebResourcePermission_from_standalone keywords=all jacc javaee jacc_web WebResourcePermission standalone_vehicle forward service_eetest=yes testName=WebResourcePermission testProps=\ log.file.location webServerHost webServerPort test_directory=com/sun/ts/tests/jacc/web/toolsContracts #-----environment----- TS_HOME=/home/jenkins/agent/workspace/jakartaee-tck_master/authorization-tck/bin/xml/../.. harness.executeMode=0 harness.log.delayseconds=1 harness.log.port=2000 harness.log.traceflag=true harness.socket.retry.count=10 harness.temp.directory=${ts.home}/tmp jacc.home=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish jacc.host=localhost log.file.location=${jacc.home}/domains/domain1/logs porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL ts.home=/home/jenkins/agent/workspace/jakartaee-tck_master/authorization-tck/bin/xml/../.. webServerHost=${jacc.host} webServerPort=8080 #-----testresult----- description=file\:/home/jenkins/agent/workspace/jakartaee-tck_master/authorization-tck/src/com/sun/ts/tests/jacc/web/toolsContracts/Client.java\#WebResourcePermission_from_standalone end=Wed Sep 29 10\:31\:16 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\:31\:16 UTC 2021 test=com/sun/ts/tests/jacc/web/toolsContracts/Client.java\#WebResourcePermission_from_standalone timeoutSeconds=600 totalTime=2 work=/home/jenkins/agent/workspace/jakartaee-tck_master/authorization-tckwork/authorization-tck/com/sun/ts/tests/jacc/web/toolsContracts #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