Skip to content

Regression

com.sun.ts.tests.jstl.spec.sql.setdatasource.JSTLClient.positiveSetDataSourceUpdateNoVarAttributeDataSourceTest (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/setdatasource/JSTLClient.java
$root=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src
assertion_ids=JSTL\:SPEC\:62  < sql\:setDataSource> exports a data source either as a\n\t\t\t\tscoped variable or as the data source configuration variable \n\t\t\t\t(javax.servlet.jsp.jstl.sql.dataSource).\nJSTL\:SPEC\:62.1  The 'dataSource' attribute specifies the data source.\nJSTL\:SPEC\:62.1.1  The 'dataSource' attribute must evaluate to type\n\t\t\t\t\t\t\t\tString or javax.sql.DataSource\nJSTL\:SPEC\:62.1.2  If 'dataSource' does not evaluate to one of the\n\t\t\t\t\t\t\t\tallowed types, an exception is thrown.\nJSTL\:SPEC\:62.1.3  If 'dataSource' is specified as a string, it can\n\t\t\t\t\t\t\t\teither be a relative path to a JNDI resource, or a JDBC \n\t\t\t\t\t\t\t\tparameters string as defined in Section 10.1.1\nJSTL\:SPEC\:62.1.4  If 'dataSource' is null, a JspException is thrown\nJSTL\:SPEC\:62.2  The 'driver' attribute specifies the driver class\n\t\t\t\t\t\tname.\nJSTL\:SPEC\:62.2.1  The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype String.\nJSTL\:SPEC\:62.2.2  If the evaluated expression is not of type String,\n\t\t\t\t\t\t\t\tan Exception is thrown.\nJSTL\:SPEC\:62.3  The 'url' attribute specifies the JDBC URL associated\n\t\t\t\t\t\twith the database.\nJSTL\:SPEC\:62.3.1  The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype String.\nJSTL\:SPEC\:62.3.2  If the evaluated expression is not of type String,\n\t\t\t\t\t\t\t\tan Exception is thrown.\nJSTL\:SPEC\:62.4  The 'user' attribute specifies the user on whose\n\t\t\t\t\t\tbehalf the connection to the database is being made.\nJSTL\:SPEC\:62.4.1  The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype String.\nJSTL\:SPEC\:62.4.2  If the evaluated expression is not of type String,\n\t\t\t\t\t\t\t\tan Exception is thrown.\nJSTL\:SPEC\:62.5  The 'password' attribute specifies the password of the\n\t\t\t\t\t\tuser on whose behalf the connection to the database is being made.\nJSTL\:SPEC\:62.5.1  The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype String.\nJSTL\:SPEC\:62.5.2  If the evaluated expression is not of type String,\n\t\t\t\t\t\t\t\tan Exception is thrown.\nJSTL\:SPEC\:62.6  The 'var' attribute specifies the name of the exported\n\t\t\t\t\t\tscoped variable for the data source specified.\nJSTL\:SPEC\:62.6.1  The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype String.\nJSTL\:SPEC\:62.6.2  If the evaluated expression is not of type String,\n\t\t\t\t\t\t\t\tan Exception is thrown.\nJSTL\:SPEC\:62.6.3  The type of the exported attribute must be of type\n\t\t\t\t\t\t\t\tjavax.sql.DataSource or String.\nJSTL\:SPEC\:62.6.4  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\:62.6.5  If the 'var' attribute is not specified, the data\n\t\t\t\t\t\t\t\tsource is exported in the javax.servlet.jsp.jstl.sql.dataSource \n\t\t\t\t\t\t\t\tconfiguration variable.\nJSTL\:SPEC\:62.7  The 'scope' attribute specifies the scope in which to\n\t\t\t\t\t\texport 'var'/\nJSTL\:SPEC\:62.7.1  A value of 'page' will export 'var' to the page\n\t\t\t\t\t\t\t\tscope.\nJSTL\:SPEC\:62.7.2  A value of 'request' will export 'var' to the\n\t\t\t\t\t\t\t\trequest scope.\nJSTL\:SPEC\:62.7.3  A value of 'session' will export 'var' to the\n\t\t\t\t\t\t\t\tsession scope.\nJSTL\:SPEC\:62.7.4  A value of 'application' will export 'var' to the\n\t\t\t\t\t\t\t\tapplication scope.\nJSTL\:SPEC\:62.7.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\:62.8  If the 'driver' attribute is not set, then the context\n\t\t\t\t\t\tconfiguration parameter 'javax.servlet.jsp.jstl.sql.driver' will \n\t\t\t\t\t\tbe used.\nJSTL\:SPEC\:62.9  If the 'url' attribute is not set, then the context\n\t\t\t\t\t\tconfiguration parameter 'javax.servlet.jsp.jstl.sql.url' will be \n\t\t\t\t\t\tused.\nJSTL\:SPEC\:62.10  If the 'user' attribute is not set, then the context\n\t\t\t\t\t\tconfiguration parameter 'javax.servlet.jsp.jstl.sql.user' will be \n\t\t\t\t\t\tused.\nJSTL\:SPEC\:62.11  The user's password may only be specified by the\n\t\t\t\t\t\tcontext configuration parameter \n\t\t\t\t\t\t'javax.servlet.jsp.jstl.sql.password'.\nJSTL\:SPEC\:62.12  If an exception is caused by the action, it must be\n\t\t\t\t\t\tpropagated.\nJSTL\:SPEC\:62.13  The data source must be specified either via the\n\t\t\t\t\t\tdataSource attribute (as a DataSource object, JNDI relative path, \n\t\t\t\t\t\tor JDBC parameters string), or via the four JDBC parameters\n\t\t\t\t\t\tattributes.\nJSTL\:SPEC\:62.13.1  Either the dataSource or the url attribute must be\n\t\t\t\t\t\t\t\tpresent.
classname=com.sun.ts.tests.jstl.spec.sql.setdatasource.JSTLClient
direction=forward
finder=cts
id=positiveSetDataSourceUpdateNoVarAttributeDataSourceTest
keywords=all jstl javaee javaee_web_profile positiveSetDataSourceUpdateNoVarAttributeDataSourceTest novehicle forward
service_eetest=no
testName=positiveSetDataSourceUpdateNoVarAttributeDataSourceTest
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/setdatasource

#-----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/setdatasource/JSTLClient.java\#positiveSetDataSourceUpdateNoVarAttributeDataSourceTest
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/setdatasource/JSTLClient.java\#positiveSetDataSourceUpdateNoVarAttributeDataSourceTest
timeoutSeconds=600
totalTime=2
work=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tckwork/tags-tck/com/sun/ts/tests/jstl/spec/sql/setdatasource

#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