Skip to content

Regression

com.sun.ts.tests.jacc.web.toolsContracts.Client.WebResourcePermissionExcludedPolicy_from_standalone (from authorization-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: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\:34  A WebResourcePermission and a WebUserDataPermission object must be\ninstantiated for each distinct url-pattern occurring in the securityconstraint \nelements that contain an auth-constraint naming no roles (i.e\nan excluding auth-constraint). The permissions must be constructed using \nthe qualified (as defined in Qualified URL Pattern Names) pattern as their name\nand with actions defined by the union of the HTTP methods named or implied \nby all of the collections containing the pattern and occurring in a constraint with\nan excluding auth-constraint. The constructed permissions must be added to \nthe excluded policy statements by calling the addToExcludedPolicy method\non the PolicyConfiguration object.\nJACC\:SPEC\:37  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\:111  A reference WebResourcePermission implies an argument permission if all of the\nfollowing are true. \n- The argument permission is an instanceof WebResourcePermission.\n- The name of the argument permission is matched by the name of the reference \npermission according to the rules defined in Section 4.2.1.1, Matching Qualified\nURL Pattern Names. \n- The HTTP methods in the actions of the argument permission are a subset of\nthe HTTP methods in the actions of the reference permission. \nThe comparisons described above are case sensitive.\nJACC\:SPEC\:114  A Policy provider must employ the policy decision semantics described in\nSection 4.2.1, Servlet Policy Decision Semantics in the Processing of EJB \nPolicy decisions.
classname=com.sun.ts.tests.jacc.web.toolsContracts.Client
direction=forward
finder=cts
id=WebResourcePermissionExcludedPolicy_from_standalone
keywords=all jacc javaee jacc_web WebResourcePermissionExcludedPolicy standalone_vehicle forward
service_eetest=yes
testName=WebResourcePermissionExcludedPolicy
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\#WebResourcePermissionExcludedPolicy_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\#WebResourcePermissionExcludedPolicy_from_standalone
timeoutSeconds=600
totalTime=3
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