Skip to content

Regression

com.sun.ts.tests.jstl.spec.sql.update.JSTLClient.negativeUpdateScopeAttributeTest (from tags-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:28:26 UTC 2021
#-----testdescription-----
$file=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src/com/sun/ts/tests/jstl/spec/sql/update/JSTLClient.java
$root=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src
assertion_ids=JSTL\:SPEC\:60  The  < sql\:update> action executes a SQL INSERT,\n\t\t\t\tUPDATE, DELETE statement, as well as SQL statements that return \n\t\t\t\tnothing, such as SQL DDL statements.\nJSTL\:SPEC\:60.1  The 'sql' attribute specifies the SQL udpate\n\t\t\t\t\t\tstatement.\nJSTL\:SPEC\:60.1.1  The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype String.\nJSTL\:SPEC\:60.1.1.1  A String value passed to the 'dataSource'\n\t\t\t\t\t\t\t\t\t\tattribute represents a relative path to a JNDI resource or the \n\t\t\t\t\t\t\t\t\t\tparameters for the DriverManager class.\nJSTL\:SPEC\:60.1.2  The result of the evaluated expression can be of\n\t\t\t\t\t\t\t\ttype javax.sql.DataSource.\nJSTL\:SPEC\:60.1.3  If the evaluated expression is not of type String or\n\t\t\t\t\t\t\t\tjavax.sql.DataSource, an Exception is thrown.\nJSTL\:SPEC\:60.2  The 'dataSource' attribute specifies the DataSource\n\t\t\t\t\t\tassociated with the database to query.\nJSTL\:SPEC\:60.2.1  The result of the evaluated expression can be of\n\t\t\t\t\t\t\t\ttype String.\nJSTL\:SPEC\:60.2.1.1  A String value passed to the 'dataSource'\n\t\t\t\t\t\t\t\t\t\tattribute represents a relative path to a JNDI resource or the \n\t\t\t\t\t\t\t\t\t\tparameters for the DriverManager class.\nJSTL\:SPEC\:60.2.2  The result of the evaluated expression can be of\n\t\t\t\t\t\t\t\ttype javax.sql.DataSource.\nJSTL\:SPEC\:60.2.3  If the evaluated expression is not of type String or\n\t\t\t\t\t\t\t\tjavax.sql.DataSource, an Exception is thrown.\nJSTL\:SPEC\:60.2.4  If 'dataSource' is null, a JspException is thrown.\nJSTL\:SPEC\:60.3  The 'var' attribute specifies the name of the exported\n\t\t\t\t\t\tscoped attribute.\nJSTL\:SPEC\:60.3.1  The type of the scoped attribute is\n\t\t\t\t\t\t\t\t'java.lang.Integer'.\nJSTL\:SPEC\:60.3.2  If the 'var' attribute is specified, but empty, a\n\t\t\t\t\t\t\t\ttranslation time validation error will occur.\nJSTL\:SPEC\:60.4  The 'scope' attribute specifies the scope in which to\n\t\t\t\t\t\texport 'var'.\nJSTL\:SPEC\:60.4.1  A value of 'page' will export 'var' to the page\n\t\t\t\t\t\t\t\tscope.\nJSTL\:SPEC\:60.4.2  A value of 'request' will export 'var' to the\n\t\t\t\t\t\t\t\trequest scope.\nJSTL\:SPEC\:60.4.3  A value of 'session' will export 'var' to the\n\t\t\t\t\t\t\t\tsession scope.\nJSTL\:SPEC\:60.4.4  A value of 'application' will export 'var' to the\n\t\t\t\t\t\t\t\tapplication scope.\nJSTL\:SPEC\:60.4.5  If the 'scope' attribute is provided an invalid\n\t\t\t\t\t\t\t\tvalue, a translation time validation error will occur.\nJSTL\:SPEC\:60.5  If 'dataSource' is specified, this action must not be\n\t\t\t\t\t\tnested inside a  < sql\:transaction> action.\nJSTL\:SPEC\:60.6  The action must support the update to be executed as\n\t\t\t\t\t\tbody content.\nJSTL\:SPEC\:60.7  If the update contains parameter markers, the values\n\t\t\t\t\t\tfor the markers must be supplied as nested  < sql\:param> tags.\nJSTL\:SPEC\:60.8  If the update to be executed is specified as body\n\t\t\t\t\t\tcontent, and contains parameter markers, the nested  < sql\:param>\n\t\t\t\t\t\tactions must be placed after the query.\nJSTL\:SPEC\:60.9  A connection is obtained by the action using the\n\t\t\t\t\t\tfollowing algorithm\:\nJSTL\:SPEC\:60.9.1  If the 'dataSource' attribute is given, the\n\t\t\t\t\t\t\t\tConnection object is obtained through getConnection() on the \n\t\t\t\t\t\t\t\tspecified DataSource and release before the end of the tag.\nJSTL\:SPEC\:60.9.1.1  If 'dataSource' resolves to a String, it is\n\t\t\t\t\t\t\t\t\t\tinterpreted as a JNDI path to a DataSource resource.\nJSTL\:SPEC\:60.9.2  If the 'dataSource' attribute is missing, and this\n\t\t\t\t\t\t\t\taction is nested inside a  < sql\:transaction> tag, the\n\t\t\t\t\t\t\t\tConnection object is obtained from the parent \n\t\t\t\t\t\t\t\t < sql\:transaction> tag, which manages it and is responsible\n\t\t\t\t\t\t\t\tfor releasing it.\nJSTL\:SPEC\:60.9.3  If the 'dataSource' attribute is missing, and this\n\t\t\t\t\t\t\t\taction is not nested inside a  < sql\:transaction> tag, the\n\t\t\t\t\t\t\t\tDataSource from which to obtain the Connection is retrieved from \n\t\t\t\t\t\t\t\tthe 'javax.servlet.jsp.jstl.sql.dataSource scoped variable.\nJSTL\:SPEC\:60.9.3.1  The Connection object is obtained through\n\t\t\t\t\t\t\t\t\t\tgetConnection() on the specified DataSource and released \n\t\t\t\t\t\t\t\t\t\tbefore the tag completes.\nJSTL\:SPEC\:60.10  The result of the  < sql\:udpate> action is returned\n\t\t\t\t\t\tas the number of rows that were affected by the update.\nJSTL\:SPEC\:60.11  If the 'var' attribute is not specified, the result of\n\t\t\t\t\t\tthe action is written to the current JspWriter object.\nJSTL\:SPEC\:60.12  If 'scope' is specified, 'var' must also be specified.\nJSTL\:SPEC\:60.13  If an exception is caused by the body content, it must\n\t\t\t\t\t\tbe propagated.\nJSTL\:SPEC\:60.14  Any exception caused during the processing of the\n\t\t\t\t\t\taction, must be propagated.\nJSTL\:SPEC\:60.15  If an exception occurs during the execution of this\n\t\t\t\t\t\taction, it must be caught and rethrown as a JspException. The \n\t\t\t\t\t\tmessage of the rethrown JspException must include the SQL\n\t\t\t\t\t\tstatement, and the caught exception must be provided as the root \n\t\t\t\t\t\tcause.
classname=com.sun.ts.tests.jstl.spec.sql.update.JSTLClient
direction=forward
finder=cts
id=negativeUpdateScopeAttributeTest
keywords=all jstl javaee javaee_web_profile negativeUpdateScopeAttributeTest novehicle forward
service_eetest=no
testName=negativeUpdateScopeAttributeTest
testProps=\ webServerHost  webServerPort  ts_home  jstl.db.url  jstl.db.user  jstl.db.password  jstl.db.driver
test_directory=com/sun/ts/tests/jstl/spec/sql/update

#-----environment-----
TS_HOME=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../..
harness.executeMode=2
harness.log.delayseconds=1
harness.log.port=2000
harness.log.traceflag=true
harness.socket.retry.count=10
harness.temp.directory=${ts.home}/tmp
jstl.db.driver=org.apache.derby.jdbc.ClientDriver
jstl.db.name=derbyDB
jstl.db.password=cts1
jstl.db.port=1527
jstl.db.server=localhost
jstl.db.url=jdbc\:derby\://${jstl.db.server}\:${jstl.db.port}/${jstl.db.name};create\=true
jstl.db.user=cts1
porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL
ts.home=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../..
ts_home=${TS_HOME}
webServerHost=localhost
webServerPort=8080

#-----testresult-----
description=file\:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src/com/sun/ts/tests/jstl/spec/sql/update/JSTLClient.java\#negativeUpdateScopeAttributeTest
end=Wed Sep 29 10\:28\:26 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\:26 UTC 2021
test=com/sun/ts/tests/jstl/spec/sql/update/JSTLClient.java\#negativeUpdateScopeAttributeTest
timeoutSeconds=600
totalTime=2
work=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tckwork/tags-tck/com/sun/ts/tests/jstl/spec/sql/update

#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