db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: torque4-test-project-hsqldb » Torque Test Project #299
Date Sun, 05 Oct 2014 02:32:43 GMT
See <https://builds.apache.org/job/torque4-test-project-hsqldb/org.apache.torque$torque-test/299/changes>

Changes:

[tfischer] Try fix problem with jenkins build

[tfischer] Try fix problem with jenkins build

------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Building Torque Test Project
[INFO]    task-segment: [clean, package]
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/sql-maven-plugin/1.4/sql-maven-plugin-1.4.pom
5K downloaded  (sql-maven-plugin-1.4.pom)
Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/sql-maven-plugin/1.4/sql-maven-plugin-1.4.jar
24K downloaded  (sql-maven-plugin-1.4.jar)
[INFO] [clean:clean {execution: default-clean}]
Downloading: http://repo1.maven.org/maven2/tomcat/naming-common/5.0.28/naming-common-5.0.28.pom
154b downloaded  (naming-common-5.0.28.pom)
Downloading: http://repo1.maven.org/maven2/tomcat/naming-java/5.0.28/naming-java-5.0.28.pom
152b downloaded  (naming-java-5.0.28.pom)
Downloading: http://repo1.maven.org/maven2/avalon-framework/avalon-framework-impl/4.3/avalon-framework-impl-4.3.pom
1K downloaded  (avalon-framework-impl-4.3.pom)
Downloading: http://repo1.maven.org/maven2/avalon-framework/avalon-framework-api/4.3/avalon-framework-api-4.3.pom
387b downloaded  (avalon-framework-api-4.3.pom)
Downloading: http://repo1.maven.org/maven2/avalon-logkit/avalon-logkit/2.1/avalon-logkit-2.1.pom
913b downloaded  (avalon-logkit-2.1.pom)
Downloading: http://repo1.maven.org/maven2/log4j/log4j/1.2.11/log4j-1.2.11.pom
145b downloaded  (log4j-1.2.11.pom)
Downloading: http://repo1.maven.org/maven2/geronimo-spec/geronimo-spec-javamail/1.3.1-rc3/geronimo-spec-javamail-1.3.1-rc3.pom
173b downloaded  (geronimo-spec-javamail-1.3.1-rc3.pom)
Downloading: http://repo1.maven.org/maven2/geronimo-spec/geronimo-spec-jms/1.1-rc4/geronimo-spec-jms-1.1-rc4.pom
166b downloaded  (geronimo-spec-jms-1.1-rc4.pom)
Downloading: http://repo1.maven.org/maven2/fulcrum/fulcrum-testcontainer/1.0.4/fulcrum-testcontainer-1.0.4.pom
162b downloaded  (fulcrum-testcontainer-1.0.4.pom)
Downloading: http://repo1.maven.org/maven2/fulcrum/fulcrum-yaafi/1.0.3/fulcrum-yaafi-1.0.3.pom
154b downloaded  (fulcrum-yaafi-1.0.3.pom)
Downloading: http://repo1.maven.org/maven2/fulcrum/fulcrum-testcontainer/1.0.4/fulcrum-testcontainer-1.0.4.jar
Downloading: http://repo1.maven.org/maven2/tomcat/naming-common/5.0.28/naming-common-5.0.28.jar
Downloading: http://repo1.maven.org/maven2/geronimo-spec/geronimo-spec-javamail/1.3.1-rc3/geronimo-spec-javamail-1.3.1-rc3.jar
Downloading: http://repo1.maven.org/maven2/avalon-framework/avalon-framework-impl/4.3/avalon-framework-impl-4.3.jar
Downloading: http://repo1.maven.org/maven2/avalon-logkit/avalon-logkit/2.1/avalon-logkit-2.1.jar
27K downloaded  (naming-common-5.0.28.jar)
10K downloaded  (fulcrum-testcontainer-1.0.4.jar)
Downloading: http://repo1.maven.org/maven2/log4j/log4j/1.2.11/log4j-1.2.11.jar
Downloading: http://repo1.maven.org/maven2/tomcat/naming-java/5.0.28/naming-java-5.0.28.jar
2K downloaded  (naming-java-5.0.28.jar)
58K downloaded  (avalon-framework-impl-4.3.jar)
81K downloaded  (avalon-logkit-2.1.jar)
Downloading: http://repo1.maven.org/maven2/fulcrum/fulcrum-yaafi/1.0.3/fulcrum-yaafi-1.0.3.jar
Downloading: http://repo1.maven.org/maven2/avalon-framework/avalon-framework-api/4.3/avalon-framework-api-4.3.jar
94K downloaded  (geronimo-spec-javamail-1.3.1-rc3.jar)
Downloading: http://repo1.maven.org/maven2/geronimo-spec/geronimo-spec-jms/1.1-rc4/geronimo-spec-jms-1.1-rc4.jar
27K downloaded  (fulcrum-yaafi-1.0.3.jar)
31K downloaded  (avalon-framework-api-4.3.jar)
30K downloaded  (geronimo-spec-jms-1.1-rc4.jar)
342K downloaded  (log4j-1.2.11.jar)
[INFO] [antrun:run {execution: clean-generated-sources}]
[INFO] Executing tasks

main:
     [echo] Deleting directory src/main/generated-java
     [echo] Deleting directory target/torque
[INFO] Executed tasks
[INFO] [antrun:run {execution: filter-schema}]
[INFO] Executing tasks

main:
     [copy] Copying 15 files to <https://builds.apache.org/job/torque4-test-project-hsqldb/org.apache.torque$torque-test/ws/target/torque/test/schema>
     [copy] Copying 2 files to <https://builds.apache.org/job/torque4-test-project-hsqldb/org.apache.torque$torque-test/ws/target/torque/test/sql>
[INFO] Executed tasks
[INFO] [antrun:run {execution: test-database-filled}]
[INFO] Executing tasks

main:
      [sql] Executing commands
      [sql] Failed to execute:  select count(*) from book
[INFO] An Ant BuildException has occured: java.sql.SQLSyntaxErrorException: user lacks privilege
or object not found: BOOK
around Ant part ...<sql errorproperty="cannot.access.book.table" userid="sa" driver="org.hsqldb.jdbcDriver"
password="" url="jdbc:hsqldb:torque-test/target/sqltest;shutdown=true">select count(*)
from book;</sql>... @ 4:163 in <https://builds.apache.org/job/torque4-test-project-hsqldb/org.apache.torque$torque-test/ws/target/antrun/build-main.xml>
<https://builds.apache.org/job/torque4-test-project-hsqldb/org.apache.torque$torque-test/ws/target/antrun/build-main.xml>:4:
java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: BOOK
	at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:672)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:327)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
	at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
	at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at hudson.maven.agent.Main.launch(Main.java:205)
	at hudson.maven.MavenBuilder.call(MavenBuilder.java:154)
	at hudson.maven.Maven2Builder.call(Maven2Builder.java:79)
	at hudson.maven.Maven2Builder.call(Maven2Builder.java:55)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:328)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: BOOK
	at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
	at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
	at org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source)
	at org.hsqldb.jdbc.JDBCStatement.execute(Unknown Source)
	at org.apache.tools.ant.taskdefs.SQLExec.execSQL(SQLExec.java:775)
	at org.apache.tools.ant.taskdefs.SQLExec.runStatements(SQLExec.java:745)
	at org.apache.tools.ant.taskdefs.SQLExec$Transaction.runTransaction(SQLExec.java:1043)
	at org.apache.tools.ant.taskdefs.SQLExec$Transaction.access$000(SQLExec.java:985)
	at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:653)
	... 43 more
Caused by: org.hsqldb.HsqlException: user lacks privilege or object not found: BOOK
	at org.hsqldb.error.Error.error(Unknown Source)
	at org.hsqldb.error.Error.error(Unknown Source)
	at org.hsqldb.SchemaManager.getTable(Unknown Source)
	at org.hsqldb.ParserDQL.readTableName(Unknown Source)
	at org.hsqldb.ParserDQL.readTableOrSubquery(Unknown Source)
	at org.hsqldb.ParserDQL.XreadTableReference(Unknown Source)
	at org.hsqldb.ParserDQL.XreadFromClause(Unknown Source)
	at org.hsqldb.ParserDQL.XreadTableExpression(Unknown Source)
	at org.hsqldb.ParserDQL.XreadQuerySpecification(Unknown Source)
	at org.hsqldb.ParserDQL.XreadSimpleTable(Unknown Source)
	at org.hsqldb.ParserDQL.XreadQueryPrimary(Unknown Source)
	at org.hsqldb.ParserDQL.XreadQueryTerm(Unknown Source)
	at org.hsqldb.ParserDQL.XreadQueryExpressionBody(Unknown Source)
	at org.hsqldb.ParserDQL.XreadQueryExpression(Unknown Source)
	at org.hsqldb.ParserDQL.compileCursorSpecification(Unknown Source)
	at org.hsqldb.ParserCommand.compilePart(Unknown Source)
	at org.hsqldb.ParserCommand.compileStatements(Unknown Source)
	at org.hsqldb.Session.executeDirectStatement(Unknown Source)
	at org.hsqldb.Session.execute(Unknown Source)
	... 50 more
[INFO] [antrun:run {execution: shutdown-db-after-test-database}]
[INFO] Skipping Antrun execution
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] One or more required plugin parameters are invalid/missing for 'torque:generate'

[0] Inside the definition for plugin 'torque-maven-plugin' specify the following:

<configuration>
  ...
  <defaultOutputDirUsage>VALUE</defaultOutputDirUsage>
</configuration>

-OR-

on the command line, specify: '-Dcompile=VALUE'

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 18 seconds
[INFO] Finished at: Sun Oct 05 02:32:37 UTC 2014
[INFO] Final Memory: 92M/419M
[INFO] ------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message