Fwd: Build failed in Hudson: Lift #1307

4 views
Skip to first unread message

David Pollak

unread,
Oct 22, 2009, 5:56:16 AM10/22/09
to liftweb
Anyone have a clue as to why the JTA stuff in Lift is unstable on Hudson?

---------- Forwarded message ----------
From: <ad...@scala-tools.org>
Date: Thu, Oct 22, 2009 at 2:28 AM
Subject: Build failed in Hudson: Lift #1307


See <http://hudson.scala-tools.org/job/Lift/1307/changes>

Changes:

[David Pollak]     Temporary fix to allow Hudson to complete a build

------------------------------------------
[...truncated 6079 lines...]
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[HUDSON] Recording test results
[INFO] [jar:jar]
[INFO] Building jar: <http://hudson.scala-tools.org/job/Lift/ws/lift-testkit/target/lift-testkit-1.1-SNAPSHOT.jar>
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: <http://hudson.scala-tools.org/job/Lift/ws/lift-testkit/target/lift-testkit-1.1-SNAPSHOT-sources.jar>
[INFO] [install:install]
[INFO] Installing <http://hudson.scala-tools.org/job/Lift/ws/lift-testkit/target/lift-testkit-1.1-SNAPSHOT.jar> to /home/scalatools/hudson/.m2/repository/net/liftweb/lift-testkit/1.1-SNAPSHOT/lift-testkit-1.1-SNAPSHOT.jar
[INFO] Installing <http://hudson.scala-tools.org/job/Lift/ws/lift-testkit/target/lift-testkit-1.1-SNAPSHOT-sources.jar> to /home/scalatools/hudson/.m2/repository/net/liftweb/lift-testkit/1.1-SNAPSHOT/lift-testkit-1.1-SNAPSHOT-sources.jar
[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from hudson.scala-tools.org
Uploading: file:///home/scala-tools.org/www/repo-snapshots/net/liftweb/lift-testkit/1.1-SNAPSHOT/lift-testkit-1.1-SNAPSHOT.jar
108K
uploaded  (lift-testkit-1.1-SNAPSHOT.jar)
[INFO] Retrieving previous metadata from hudson.scala-tools.org
[INFO] Uploading repository metadata for: 'artifact net.liftweb:lift-testkit'
[INFO] Uploading project information for lift-testkit 1.1-SNAPSHOT
[INFO] Retrieving previous metadata from hudson.scala-tools.org
[INFO] Uploading repository metadata for: 'snapshot net.liftweb:lift-testkit:1.1-SNAPSHOT'
[INFO] Retrieving previous build number from hudson.scala-tools.org
Uploading: file:///home/scala-tools.org/www/repo-snapshots/net/liftweb/lift-testkit/1.1-SNAPSHOT/lift-testkit-1.1-SNAPSHOT-sources.jar
10K
uploaded  (lift-testkit-1.1-SNAPSHOT-sources.jar)
[INFO] Preparing surefire-report:report-only
[INFO] No goals needed for project - skipping
[INFO] [site:site]
[INFO] Generating "Project Team" report.
[INFO] Generating "Issue Tracking" report.
[INFO] Generating "Surefire Report" report.
[WARNING] Unable to locate Test Source XRef to link to - DISABLED
[INFO] Generating "Dependency Management" report.
[INFO] Generating "Project Plugins" report.
[INFO] Generating "Continuous Integration" report.
[INFO] Generating "Dependencies" report.
[INFO] Generating "Source Repository" report.
[INFO] Generating "Plugin Management" report.
[INFO] Generating "Mailing Lists" report.
[INFO] Generating "Project Summary" report.
[INFO] Generating "About" report.
[INFO] Generating "ScalaDocs" report.
Downloading: http://scala-tools.org/repo-snapshots/org/scala-tools/vscaladoc/1.2-SNAPSHOT/vscaladoc-1.2-SNAPSHOT.jar
[INFO] load packageLinkDefs from :<http://hudson.scala-tools.org/job/Lift/ws/lift-testkit/../vscaladocs-packageLinkDefs.properties>
[WARNING] Oct 22, 2009 2:28:10 AM org.scala_tools.vscaladoc.HtmlRenderer render
[WARNING] INFO: write page for overview
[WARNING] Oct 22, 2009 2:28:10 AM org.scala_tools.vscaladoc.HtmlRenderer render
[WARNING] INFO: write page for all-classes (list)
[WARNING] Oct 22, 2009 2:28:10 AM org.scala_tools.vscaladoc.HtmlRenderer render
[WARNING] INFO: write index.html
[WARNING] Oct 22, 2009 2:28:10 AM org.scala_tools.vscaladoc.HtmlRenderer render
[WARNING] INFO: write doc for  each classes
[INFO] failed to find baseUri for (net.liftweb.common, Box, false
[INFO] failed to find baseUri for (net.liftweb.common, Box, false
[INFO] failed to find baseUri for (net.liftweb.common, Box, false
[INFO] failed to find baseUri for (net.liftweb.common, Box, false
[INFO] failed to find baseUri for (net.liftweb.common, Box, false
[INFO] failed to find baseUri for (net.liftweb.common, Box, false
[INFO] failed to find baseUri for (net.liftweb.common, Box, false
[INFO] failed to find baseUri for (net.liftweb.common, Box, false
[INFO] failed to find baseUri for (net.liftweb.common, Box, false
[INFO] failed to find baseUri for (net.liftweb.common, Box, false
[INFO] failed to find baseUri for (net.liftweb.common, Box, false
[INFO] failed to find baseUri for (net.liftweb.common, Box, false
[INFO] failed to find baseUri for (net.liftweb.common, Box, false
[INFO] failed to find baseUri for (net.liftweb.common, Box, false
[INFO] failed to find baseUri for (net.liftweb.common, Box, false
[INFO] failed to find baseUri for (org.apache.commons.httpclient, HttpClient, false
[INFO] failed to find baseUri for (org.apache.commons.httpclient, HttpClient, false
[INFO] failed to find baseUri for (org.apache.commons.httpclient, HttpClient, false
[INFO] failed to find baseUri for (org.apache.commons.httpclient, HttpClient, false
[INFO] failed to find baseUri for (org.apache.commons.httpclient, HttpClient, false
[INFO] failed to find baseUri for (net.liftweb.common, Box, false
[INFO] failed to find baseUri for (org.apache.commons.httpclient, HttpClient, false
[INFO] failed to find baseUri for (org.apache.commons.httpclient, HttpClient, false
[INFO] failed to find baseUri for (org.apache.commons.httpclient, HttpClient, false
[INFO] failed to find baseUri for (org.apache.commons.httpclient, HttpClient, false
[INFO] failed to find baseUri for (org.apache.commons.httpclient, HttpClient, false
[INFO] failed to find baseUri for (net.liftweb.common, Box, false
[INFO] failed to find baseUri for (org.apache.commons.httpclient, HttpClient, false
[INFO] failed to find baseUri for (org.apache.commons.httpclient, HttpClient, false
[INFO] failed to find baseUri for (org.apache.commons.httpclient, HttpClient, false
[INFO] failed to find baseUri for (org.apache.commons.httpclient, HttpClient, false
[INFO] failed to find baseUri for (org.apache.commons.httpclient, HttpClient, false
[INFO] Generating "Project License" report.
[INFO] Generating "Dependency Convergence" report.
[HUDSON] Archiving site
[INFO] [site:deploy]
file:///home/scala-tools.org/www/mvnsites-snapshots/liftweb/lift-testkit - Session: Opened
file:///home/scala-tools.org/www/mvnsites-snapshots/liftweb/lift-testkit - Session: Disconnecting
file:///home/scala-tools.org/www/mvnsites-snapshots/liftweb/lift-testkit - Session: Disconnected
[HUDSON] Archiving <http://hudson.scala-tools.org/job/Lift/ws/lift-testkit/pom.xml> to /home/scalatools/hudson/.hudson/jobs/Lift/modules/net.liftweb$lift-testkit/builds/2009-10-22_02-13-05/archive/net.liftweb/lift-testkit/1.1-SNAPSHOT/pom.xml
[HUDSON] Archiving <http://hudson.scala-tools.org/job/Lift/ws/lift-testkit/target/lift-testkit-1.1-SNAPSHOT.jar> to /home/scalatools/hudson/.hudson/jobs/Lift/modules/net.liftweb$lift-testkit/builds/2009-10-22_02-13-05/archive/net.liftweb/lift-testkit/1.1-SNAPSHOT/lift-testkit-1.1-SNAPSHOT.jar
[HUDSON] Archiving <http://hudson.scala-tools.org/job/Lift/ws/lift-testkit/target/lift-testkit-1.1-SNAPSHOT-sources.jar> to /home/scalatools/hudson/.hudson/jobs/Lift/modules/net.liftweb$lift-testkit/builds/2009-10-22_02-13-05/archive/net.liftweb/lift-testkit/1.1-SNAPSHOT/lift-testkit-1.1-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Lift Core (full lift)
[INFO]    task-segment: [clean, deploy, site-deploy]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory <http://hudson.scala-tools.org/job/Lift/ws/lift-core/target>
[INFO] [resources:resources]
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory <http://hudson.scala-tools.org/job/Lift/ws/lift-core/src/main/resources>
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [scala:compile {execution: default}]
[INFO] Checking for multiple versions of scala
[WARNING] No source files found.
[INFO] [resources:testResources]
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory <http://hudson.scala-tools.org/job/Lift/ws/lift-core/src/test/resources>
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [scala:testCompile {execution: default}]
[INFO] Checking for multiple versions of scala
[WARNING] No source files found.
[INFO] [surefire:test]
[INFO] Surefire report directory: <http://hudson.scala-tools.org/job/Lift/ws/lift-core/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[HUDSON] Recording test results
[INFO] [jar:jar]
[INFO] Building jar: <http://hudson.scala-tools.org/job/Lift/ws/lift-core/target/lift-core-1.1-SNAPSHOT.jar>
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: <http://hudson.scala-tools.org/job/Lift/ws/lift-core/target/lift-core-1.1-SNAPSHOT-sources.jar>
[INFO] [install:install]
[INFO] Installing <http://hudson.scala-tools.org/job/Lift/ws/lift-core/target/lift-core-1.1-SNAPSHOT.jar> to /home/scalatools/hudson/.m2/repository/net/liftweb/lift-core/1.1-SNAPSHOT/lift-core-1.1-SNAPSHOT.jar
[INFO] Installing <http://hudson.scala-tools.org/job/Lift/ws/lift-core/target/lift-core-1.1-SNAPSHOT-sources.jar> to /home/scalatools/hudson/.m2/repository/net/liftweb/lift-core/1.1-SNAPSHOT/lift-core-1.1-SNAPSHOT-sources.jar
[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from hudson.scala-tools.org
Uploading: file:///home/scala-tools.org/www/repo-snapshots/net/liftweb/lift-core/1.1-SNAPSHOT/lift-core-1.1-SNAPSHOT.jar
1K
uploaded  (lift-core-1.1-SNAPSHOT.jar)
[INFO] Uploading project information for lift-core 1.1-SNAPSHOT
[INFO] Retrieving previous metadata from hudson.scala-tools.org
[INFO] Uploading repository metadata for: 'artifact net.liftweb:lift-core'
[INFO] Retrieving previous metadata from hudson.scala-tools.org
[INFO] Uploading repository metadata for: 'snapshot net.liftweb:lift-core:1.1-SNAPSHOT'
[INFO] Retrieving previous build number from hudson.scala-tools.org
Uploading: file:///home/scala-tools.org/www/repo-snapshots/net/liftweb/lift-core/1.1-SNAPSHOT/lift-core-1.1-SNAPSHOT-sources.jar
324b
uploaded  (lift-core-1.1-SNAPSHOT-sources.jar)
[INFO] Preparing surefire-report:report-only
[INFO] No goals needed for project - skipping
[INFO] [site:site]
[INFO] Generating "Project Team" report.
[INFO] Generating "Issue Tracking" report.
[INFO] Generating "Surefire Report" report.
[WARNING] Unable to locate Test Source XRef to link to - DISABLED
[INFO] Generating "Dependency Management" report.
[INFO] Generating "Project Plugins" report.
[INFO] Generating "Continuous Integration" report.
[INFO] Generating "Dependencies" report.
[INFO] Generating "Source Repository" report.
[INFO] Generating "Plugin Management" report.
[INFO] Generating "Mailing Lists" report.
[INFO] Generating "Project Summary" report.
[INFO] Generating "About" report.
[INFO] Generating "Project License" report.
[INFO] Generating "Dependency Convergence" report.
[HUDSON] Archiving site
[INFO] [site:deploy]
file:///home/scala-tools.org/www/mvnsites-snapshots/liftweb/lift-core - Session: Opened
file:///home/scala-tools.org/www/mvnsites-snapshots/liftweb/lift-core - Session: Disconnecting
file:///home/scala-tools.org/www/mvnsites-snapshots/liftweb/lift-core - Session: Disconnected
[HUDSON] Archiving <http://hudson.scala-tools.org/job/Lift/ws/lift-core/pom.xml> to /home/scalatools/hudson/.hudson/jobs/Lift/modules/net.liftweb$lift-core/builds/2009-10-22_02-13-05/archive/net.liftweb/lift-core/1.1-SNAPSHOT/pom.xml
[HUDSON] Archiving <http://hudson.scala-tools.org/job/Lift/ws/lift-core/target/lift-core-1.1-SNAPSHOT.jar> to /home/scalatools/hudson/.hudson/jobs/Lift/modules/net.liftweb$lift-core/builds/2009-10-22_02-13-05/archive/net.liftweb/lift-core/1.1-SNAPSHOT/lift-core-1.1-SNAPSHOT.jar
[HUDSON] Archiving <http://hudson.scala-tools.org/job/Lift/ws/lift-core/target/lift-core-1.1-SNAPSHOT-sources.jar> to /home/scalatools/hudson/.hudson/jobs/Lift/modules/net.liftweb$lift-core/builds/2009-10-22_02-13-05/archive/net.liftweb/lift-core/1.1-SNAPSHOT/lift-core-1.1-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Lift JTA
[INFO]    task-segment: [clean, deploy, site-deploy]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory <http://hudson.scala-tools.org/job/Lift/ws/lift-jta/target>
[INFO] [resources:resources]
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [scala:compile {execution: default}]
[INFO] Checking for multiple versions of scala
[INFO] Compiling 5 source files to <http://hudson.scala-tools.org/job/Lift/ws/lift-jta/target/classes>
[WARNING] <http://hudson.scala-tools.org/job/Lift/ws/lift-jta/src/main/scala/net/liftweb/transaction/TransactionContext.scala>:206: error: class TransactionContext needs to be abstract, since method getUnitName in trait ScalaEMFactory of type => String is not defined
[WARNING] class TransactionContext(private implicit val transactionService: TransactionService)
[WARNING]       ^
[WARNING] one error found
[HUDSON] Archiving <http://hudson.scala-tools.org/job/Lift/ws/lift-jta/pom.xml> to /home/scalatools/hudson/.hudson/jobs/Lift/modules/net.liftweb$lift-jta/builds/2009-10-22_02-13-05/archive/net.liftweb/lift-jta/1.1-SNAPSHOT/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] command line returned non-zero value:1
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: command line returned non-zero value:1
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:699)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
       at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
       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:165)
       at hudson.maven.MavenBuilder.call(MavenBuilder.java:159)
       at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:686)
       at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:632)
       at hudson.remoting.UserRequest.perform(UserRequest.java:104)
       at hudson.remoting.UserRequest.perform(UserRequest.java:48)
       at hudson.remoting.Request$2.run(Request.java:244)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
       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:886)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
       at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.maven.plugin.MojoFailureException: command line returned non-zero value:1
       at org.scala_tools.maven.JavaCommand.run(JavaCommand.java:224)
       at org.scala_tools.maven.ScalaCompilerSupport.compile(ScalaCompilerSupport.java:137)
       at org.scala_tools.maven.ScalaCompilerSupport.doExecute(ScalaCompilerSupport.java:63)
       at org.scala_tools.maven.ScalaMojoSupport.execute(ScalaMojoSupport.java:303)
       at org.scala_tools.maven.ScalaCompilerSupport.execute(ScalaCompilerSupport.java:30)
       at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
       at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
       ... 28 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 minutes 22 seconds
[INFO] Finished at: Thu Oct 22 02:28:28 PDT 2009
[INFO] Final Memory: 122M/480M
[INFO] ------------------------------------------------------------------------
Sending e-mails to: feeder.of...@gmail.com indrajitr+h...@gmail.com
channel stopped




--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

Timothy Perrett

unread,
Oct 22, 2009, 7:25:01 AM10/22/09
to Lift
Hmm how strange - it builds fine locally?

Cheers, Tim

On Oct 22, 10:56 am, David Pollak <feeder.of.the.be...@gmail.com>
wrote:
> Anyone have a clue as to why the JTA stuff in Lift is unstable on Hudson?
>
>
>
> ---------- Forwarded message ----------
> From: <ad...@scala-tools.org>
> Date: Thu, Oct 22, 2009 at 2:28 AM
> Subject: Build failed in Hudson: Lift #1307
>
> See <http://hudson.scala-tools.org/job/Lift/1307/changes>
>
> Changes:
>
> [David Pollak]     Temporary fix to allow Hudson to complete a build
>
> ------------------------------------------
> [...truncated 6079 lines...]
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [HUDSON] Recording test results
> [INFO] [jar:jar]
> [INFO] Building jar: <http://hudson.scala-tools.org/job/Lift/ws/lift-testkit/target/lift-te...
>
> [INFO] Preparing source:jar
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> invocation.
> [INFO] No goals needed for project - skipping
> [INFO] [source:jar {execution: attach-sources}]
> [INFO] Building jar: <http://hudson.scala-tools.org/job/Lift/ws/lift-testkit/target/lift-te...
>
> [INFO] [install:install]
> [INFO] Installing <http://hudson.scala-tools.org/job/Lift/ws/lift-testkit/target/lift-te...>
> to
> /home/scalatools/hudson/.m2/repository/net/liftweb/lift-testkit/1.1-SNAPSHO T/lift-testkit-1.1-SNAPSHOT.jar
> [INFO] Installing <http://hudson.scala-tools.org/job/Lift/ws/lift-testkit/target/lift-te...>
> to
> /home/scalatools/hudson/.m2/repository/net/liftweb/lift-testkit/1.1-SNAPSHO T/lift-testkit-1.1-SNAPSHOT-sources.jar
> Downloading:http://scala-tools.org/repo-snapshots/org/scala-tools/vscaladoc/1.2-S...
> [INFO] load packageLinkDefs from :<http://hudson.scala-tools.org/job/Lift/ws/lift-testkit/../vscaladocs-...
> [HUDSON] Archiving <http://hudson.scala-tools.org/job/Lift/ws/lift-testkit/target/lift-te...>
> to
> /home/scalatools/hudson/.hudson/jobs/Lift/modules/net.liftweb$lift-testkit/ builds/2009-10-22_02-13-05/archive/net.liftweb/lift-testkit/1.1-SNAPSHOT/li ft-testkit-1.1-SNAPSHOT.jar
> [HUDSON] Archiving <http://hudson.scala-tools.org/job/Lift/ws/lift-testkit/target/lift-te...>
> to
> /home/scalatools/hudson/.hudson/jobs/Lift/modules/net.liftweb$lift-testkit/ builds/2009-10-22_02-13-05/archive/net.liftweb/lift-testkit/1.1-SNAPSHOT/li ft-testkit-1.1-SNAPSHOT-sources.jar
> [INFO] Surefire report directory: <http://hudson.scala-tools.org/job/Lift/ws/lift-core/target/surefire-r...>
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> There are no tests to run.
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [HUDSON] Recording test results
> [INFO] [jar:jar]
> [INFO] Building jar: <http://hudson.scala-tools.org/job/Lift/ws/lift-core/target/lift-core-...
>
> [INFO] Preparing source:jar
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> invocation.
> [INFO] No goals needed for project - skipping
> [INFO] [source:jar {execution: attach-sources}]
> [INFO] Building jar: <http://hudson.scala-tools.org/job/Lift/ws/lift-core/target/lift-core-...
>
> [INFO] [install:install]
> [INFO] Installing <http://hudson.scala-tools.org/job/Lift/ws/lift-core/target/lift-core-...>
> to
> /home/scalatools/hudson/.m2/repository/net/liftweb/lift-core/1.1-SNAPSHOT/l ift-core-1.1-SNAPSHOT.jar
> [INFO] Installing <http://hudson.scala-tools.org/job/Lift/ws/lift-core/target/lift-core-...>
> to
> /home/scalatools/hudson/.m2/repository/net/liftweb/lift-core/1.1-SNAPSHOT/l ift-core-1.1-SNAPSHOT-sources.jar
> [INFO] [deploy:deploy]
> [INFO] Retrieving previous build number from hudson.scala-tools.org
> Uploading: file:///home/
> scala-tools.org/www/repo-snapshots/net/liftweb/lift-core/1.1-SNAPSHOT/lift- core-1.1-SNAPSHOT.jar
> [HUDSON] Archiving <http://hudson.scala-tools.org/job/Lift/ws/lift-core/target/lift-core-...>
> to
> /home/scalatools/hudson/.hudson/jobs/Lift/modules/net.liftweb$lift-core/bui lds/2009-10-22_02-13-05/archive/net.liftweb/lift-core/1.1-SNAPSHOT/lift-cor e-1.1-SNAPSHOT.jar
> [HUDSON] Archiving <http://hudson.scala-tools.org/job/Lift/ws/lift-core/target/lift-core-...>
> to
> /home/scalatools/hudson/.hudson/jobs/Lift/modules/net.liftweb$lift-core/bui lds/2009-10-22_02-13-05/archive/net.liftweb/lift-core/1.1-SNAPSHOT/lift-cor e-1.1-SNAPSHOT-sources.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Lift JTA
> [INFO]    task-segment: [clean, deploy, site-deploy]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory <http://hudson.scala-tools.org/job/Lift/ws/lift-jta/target>
> [INFO] [resources:resources]
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] Copying 2 resources
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [scala:compile {execution: default}]
> [INFO] Checking for multiple versions of scala
> [INFO] Compiling 5 source files to <http://hudson.scala-tools.org/job/Lift/ws/lift-jta/target/classes>
> [WARNING] <http://hudson.scala-tools.org/job/Lift/ws/lift-jta/src/main/scala/net...>:206:
> org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleEx ecutorInterceptor.java:65)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 9)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.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:165)
>        at hudson.maven.MavenBuilder.call(MavenBuilder.java:159)
>        at
> hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:686)
>        at
> hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:632)
>        at hudson.remoting.UserRequest.perform(UserRequest.java:104)
>        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
>        at hudson.remoting.Request$2.run(Request.java:244)
>        at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>        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.j ava:886)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: 908)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: org.apache.maven.plugin.MojoFailureException: command line
> returned non-zero value:1
>        at org.scala_tools.maven.JavaCommand.run(JavaCommand.java:224)
>        at
> org.scala_tools.maven.ScalaCompilerSupport.compile(ScalaCompilerSupport.jav a:137)
>        at
> org.scala_tools.maven.ScalaCompilerSupport.doExecute(ScalaCompilerSupport.j ava:63)
>        at
> org.scala_tools.maven.ScalaMojoSupport.execute(ScalaMojoSupport.java:303)
>        at
> org.scala_tools.maven.ScalaCompilerSupport.execute(ScalaCompilerSupport.jav a:30)
>        at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManag er.java:483)
>        at
> hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterc eptor.java:182)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLif ecycleExecutor.java:678)
>        ... 28 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 15 minutes 22 seconds
> [INFO] Finished at: Thu Oct 22 02:28:28 PDT 2009
> [INFO] Final Memory: 122M/480M
> [INFO]
> ------------------------------------------------------------------------
> Sending e-mails to: feeder.of.the.be...@gmail.com
> indrajitr+hudson.sc...@gmail.com <indrajitr%2Bhudson.sc...@gmail.com>
> channel stopped
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890

Derek Chen-Becker

unread,
Oct 22, 2009, 10:47:31 AM10/22/09
to lif...@googlegroups.com
It builds for me locally...

David Pollak

unread,
Oct 22, 2009, 10:54:20 AM10/22/09
to lif...@googlegroups.com
On Thu, Oct 22, 2009 at 7:47 AM, Derek Chen-Becker <dchen...@gmail.com> wrote:
It builds for me locally...


I randomly get that failure locally.



--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890

Derek Chen-Becker

unread,
Oct 22, 2009, 10:55:07 AM10/22/09
to lif...@googlegroups.com
This is really odd. The 1.1 ScalaJPA doesn't have a def for getUnitName, that was added in 1.2-SNAPSHOT. The pom for lift-jta is specifying ScalaJPA 1.1, so I wonder if somehow a 1.2-SNAPSHOT jar is getting used instead. I'm going to remove the scalajpa stuff from ~hudson/.m2/repository on lion and see if that fixes it.

Derek

Derek Chen-Becker

unread,
Oct 22, 2009, 11:08:57 AM10/22/09
to lif...@googlegroups.com
I can verify that the JAR on lion doesn't have the getUnitName def:

derek@lion:/home/scalatools/hudson/.m2/repository/org/scala-libs/scalajpa/1.1$ javap -private -classpath scalajpa-1.1.jar org.scala_libs.jpa.ScalaEMFactory
Compiled from "ScalaEMFactory.scala"
public interface org.scala_libs.jpa.ScalaEMFactory extends scala.ScalaObject{
    public abstract org.scala_libs.jpa.ScalaEntityManager newEM();
    public abstract void closeEM(javax.persistence.EntityManager);
    public abstract javax.persistence.EntityManager openEM();
}

Neither does the one on my mirror:

dbecker@cpilift:/home/cpilift/www/repo-releases/org/scala-libs/scalajpa/1.1$ javap -private -classpath scalajpa-1.1.jar org.scala_libs.jpa.ScalaEMFactory
Compiled from "ScalaEMFactory.scala"
public interface org.scala_libs.jpa.ScalaEMFactory extends scala.ScalaObject{
    public abstract org.scala_libs.jpa.ScalaEntityManager newEM();
    public abstract void closeEM(javax.persistence.EntityManager);
    public abstract javax.persistence.EntityManager openEM();
}


I have no idea how that def could be sneaking in there.

Derek

Indrajit Raychaudhuri

unread,
Oct 22, 2009, 11:10:05 AM10/22/09
to lif...@googlegroups.com
Same ocassional failure locally for me too. In fact, it mostly fails
unless I am having a lucky day :)

I keep getting confused about this and eventually get tempted to disable
jta during build.

FWIW, I am mostly on Leopard with Maven 2.2.1. Java 1.5 or 1.6 doesn't
appear to make any difference.

Cheers, Indrajit


On 22/10/09 8:24 PM, David Pollak wrote:
>
>
> On Thu, Oct 22, 2009 at 7:47 AM, Derek Chen-Becker
> <dchen...@gmail.com <mailto:dchen...@gmail.com>> wrote:
>
> It builds for me locally...
>
>
> I randomly get that failure locally.
>
>
> On Thu, Oct 22, 2009 at 5:25 AM, Timothy Perrett
> <tim...@getintheloop.eu> wrote:
>
>
> Hmm how strange - it builds fine locally?
>
> Cheers, Tim
>
> On Oct 22, 10:56 am, David Pollak <feeder.of.the.be...@gmail.com
> <mailto:feeder.of.the.be...@gmail.com>>
> hudson.scala-tools.org <http://hudson.scala-tools.org>
> > Uploading: file:///home/
> >
> scala-tools.org/www/repo-snapshots/net/liftweb/lift-testkit/1.1-SNAPSHOT/li
> <http://scala-tools.org/www/repo-snapshots/net/liftweb/lift-testkit/1.1-SNAPSHOT/li>
> ft-testkit-1.1-SNAPSHOT.jar
> > 108K uploaded (lift-testkit-1.1-SNAPSHOT.jar)
> > [INFO] Retrieving previous metadata from
> hudson.scala-tools.org <http://hudson.scala-tools.org>
> > [INFO] Uploading repository metadata for: 'artifact
> > net.liftweb:lift-testkit'
> > [INFO] Uploading project information for lift-testkit
> 1.1-SNAPSHOT
> > [INFO] Retrieving previous metadata from
> hudson.scala-tools.org <http://hudson.scala-tools.org>
> > [INFO] Uploading repository metadata for: 'snapshot
> > net.liftweb:lift-testkit:1.1-SNAPSHOT'
> > [INFO] Retrieving previous build number from
> hudson.scala-tools.org <http://hudson.scala-tools.org>
> > Uploading: file:///home/
> >
> scala-tools.org/www/repo-snapshots/net/liftweb/lift-testkit/1.1-SNAPSHOT/li
> <http://scala-tools.org/www/repo-snapshots/net/liftweb/lift-testkit/1.1-SNAPSHOT/li>
> <http://scala-tools.org/www/mvnsites-snapshots/liftweb/lift-testkit>
> -
> > Session: Opened
> >
> file:///home/scala-tools.org/www/mvnsites-snapshots/liftweb/lift-testkit
> <http://scala-tools.org/www/mvnsites-snapshots/liftweb/lift-testkit>
> -
> > Session: Disconnecting
> >
> file:///home/scala-tools.org/www/mvnsites-snapshots/liftweb/lift-testkit
> <http://scala-tools.org/www/mvnsites-snapshots/liftweb/lift-testkit>
> hudson.scala-tools.org <http://hudson.scala-tools.org>
> > Uploading: file:///home/
> >
> scala-tools.org/www/repo-snapshots/net/liftweb/lift-core/1.1-SNAPSHOT/lift-
> <http://scala-tools.org/www/repo-snapshots/net/liftweb/lift-core/1.1-SNAPSHOT/lift->
> core-1.1-SNAPSHOT.jar
> > 1K uploaded (lift-core-1.1-SNAPSHOT.jar)
> > [INFO] Uploading project information for lift-core 1.1-SNAPSHOT
> > [INFO] Retrieving previous metadata from
> hudson.scala-tools.org <http://hudson.scala-tools.org>
> > [INFO] Uploading repository metadata for: 'artifact
> net.liftweb:lift-core'
> > [INFO] Retrieving previous metadata from
> hudson.scala-tools.org <http://hudson.scala-tools.org>
> > [INFO] Uploading repository metadata for: 'snapshot
> > net.liftweb:lift-core:1.1-SNAPSHOT'
> > [INFO] Retrieving previous build number from
> hudson.scala-tools.org <http://hudson.scala-tools.org>
> > Uploading: file:///home/
> >
> scala-tools.org/www/repo-snapshots/net/liftweb/lift-core/1.1-SNAPSHOT/lift-
> <http://scala-tools.org/www/repo-snapshots/net/liftweb/lift-core/1.1-SNAPSHOT/lift->
> core-1.1-SNAPSHOT-sources.jar
> > 324b uploaded (lift-core-1.1-SNAPSHOT-sources.jar)
> > [INFO] Preparing surefire-report:report-only
> > [INFO] No goals needed for project - skipping
> > [INFO] [site:site]
> > [INFO] Generating "Project Team" report.
> > [INFO] Generating "Issue Tracking" report.
> > [INFO] Generating "Surefire Report" report.
> > [WARNING] Unable to locate Test Source XRef to link to - DISABLED
> > [INFO] Generating "Dependency Management" report.
> > [INFO] Generating "Project Plugins" report.
> > [INFO] Generating "Continuous Integration" report.
> > [INFO] Generating "Dependencies" report.
> > [INFO] Generating "Source Repository" report.
> > [INFO] Generating "Plugin Management" report.
> > [INFO] Generating "Mailing Lists" report.
> > [INFO] Generating "Project Summary" report.
> > [INFO] Generating "About" report.
> > [INFO] Generating "Project License" report.
> > [INFO] Generating "Dependency Convergence" report.
> > [HUDSON] Archiving site
> > [INFO] [site:deploy]
> >
> file:///home/scala-tools.org/www/mvnsites-snapshots/liftweb/lift-core
> <http://scala-tools.org/www/mvnsites-snapshots/liftweb/lift-core> -
> > Session: Opened
> >
> file:///home/scala-tools.org/www/mvnsites-snapshots/liftweb/lift-core
> <http://scala-tools.org/www/mvnsites-snapshots/liftweb/lift-core> -
> > Session: Disconnecting
> >
> file:///home/scala-tools.org/www/mvnsites-snapshots/liftweb/lift-core
> <http://scala-tools.org/www/mvnsites-snapshots/liftweb/lift-core> -
> <mailto:feeder.of.the.be...@gmail.com>
> > indrajitr+hudson.sc...@gmail.com
> <mailto:indrajitr%2Bhudson.sc...@gmail.com>
> <indrajitr%2Bhudson.sc...@gmail.com
> <mailto:indrajitr%252Bhudson.sc...@gmail.com>>
> > channel stopped
> >
> > --
> > Lift, the simply functional web frameworkhttp://liftweb.net
> <http://liftweb.net>
> > Beginning Scalahttp://www.apress.com/book/view/1430219890

Indrajit Raychaudhuri

unread,
Oct 22, 2009, 11:16:28 AM10/22/09
to lif...@googlegroups.com
Nice find. Never had the patience to dig.

Thanks! - Indrajit


On 22/10/09 8:38 PM, Derek Chen-Becker wrote:
> I can verify that the JAR on lion doesn't have the getUnitName def:
>
> derek@lion:/home/scalatools/hudson/.m2/repository/org/scala-libs/scalajpa/1.1$
> javap -private -classpath scalajpa-1.1.jar org.scala_libs.jpa.ScalaEMFactory
> Compiled from "ScalaEMFactory.scala"
> public interface org.scala_libs.jpa.ScalaEMFactory extends
> scala.ScalaObject{
> public abstract org.scala_libs.jpa.ScalaEntityManager newEM();
> public abstract void closeEM(javax.persistence.EntityManager);
> public abstract javax.persistence.EntityManager openEM();
> }
>
> Neither does the one on my mirror:
>
> dbecker@cpilift:/home/cpilift/www/repo-releases/org/scala-libs/scalajpa/1.1$
> javap -private -classpath scalajpa-1.1.jar org.scala_libs.jpa.ScalaEMFactory
> Compiled from "ScalaEMFactory.scala"
> public interface org.scala_libs.jpa.ScalaEMFactory extends
> scala.ScalaObject{
> public abstract org.scala_libs.jpa.ScalaEntityManager newEM();
> public abstract void closeEM(javax.persistence.EntityManager);
> public abstract javax.persistence.EntityManager openEM();
> }
>
>
> I have no idea how that def could be sneaking in there.
>
> Derek
>
> On Thu, Oct 22, 2009 at 8:54 AM, David Pollak
> <feeder.of...@gmail.com <mailto:feeder.of...@gmail.com>>
> wrote:
>
>
>
> On Thu, Oct 22, 2009 at 7:47 AM, Derek Chen-Becker
> <dchen...@gmail.com <mailto:dchen...@gmail.com>> wrote:
>
> It builds for me locally...
>
>
> I randomly get that failure locally.
>
>
> On Thu, Oct 22, 2009 at 5:25 AM, Timothy Perrett
> <tim...@getintheloop.eu> wrote:
>
>
> Hmm how strange - it builds fine locally?
>
> Cheers, Tim
>
> On Oct 22, 10:56 am, David Pollak
> <feeder.of.the.be...@gmail.com
> <mailto:feeder.of.the.be...@gmail.com>>
> ft-testkit-1.1-SNAPSHOT.jar
> > 108K uploaded (lift-testkit-1.1-SNAPSHOT.jar)
> > [INFO] Retrieving previous metadata from
> hudson.scala-tools.org <http://hudson.scala-tools.org>
> > [INFO] Uploading repository metadata for: 'artifact
> > net.liftweb:lift-testkit'
> > [INFO] Uploading project information for lift-testkit
> 1.1-SNAPSHOT
> > [INFO] Retrieving previous metadata from
> hudson.scala-tools.org <http://hudson.scala-tools.org>
> > [INFO] Uploading repository metadata for: 'snapshot
> > net.liftweb:lift-testkit:1.1-SNAPSHOT'
> > [INFO] Retrieving previous build number from
> <http://scala-tools.org/www/mvnsites-snapshots/liftweb/lift-testkit>
> -
> > Session: Opened
> >
> file:///home/scala-tools.org/www/mvnsites-snapshots/liftweb/lift-testkit
> <http://scala-tools.org/www/mvnsites-snapshots/liftweb/lift-testkit>
> -
> > Session: Disconnecting
> >
> file:///home/scala-tools.org/www/mvnsites-snapshots/liftweb/lift-testkit
> <http://scala-tools.org/www/mvnsites-snapshots/liftweb/lift-testkit>
> core-1.1-SNAPSHOT.jar
> > 1K uploaded (lift-core-1.1-SNAPSHOT.jar)
> > [INFO] Uploading project information for lift-core
> 1.1-SNAPSHOT
> > [INFO] Retrieving previous metadata from
> hudson.scala-tools.org <http://hudson.scala-tools.org>
> > [INFO] Uploading repository metadata for: 'artifact
> net.liftweb:lift-core'
> > [INFO] Retrieving previous metadata from
> hudson.scala-tools.org <http://hudson.scala-tools.org>
> > [INFO] Uploading repository metadata for: 'snapshot
> > net.liftweb:lift-core:1.1-SNAPSHOT'
> > [INFO] Retrieving previous build number from
> core-1.1-SNAPSHOT-sources.jar
> > 324b uploaded (lift-core-1.1-SNAPSHOT-sources.jar)
> > [INFO] Preparing surefire-report:report-only
> > [INFO] No goals needed for project - skipping
> > [INFO] [site:site]
> > [INFO] Generating "Project Team" report.
> > [INFO] Generating "Issue Tracking" report.
> > [INFO] Generating "Surefire Report" report.
> > [WARNING] Unable to locate Test Source XRef to link to -
> DISABLED
> > [INFO] Generating "Dependency Management" report.
> > [INFO] Generating "Project Plugins" report.
> > [INFO] Generating "Continuous Integration" report.
> > [INFO] Generating "Dependencies" report.
> > [INFO] Generating "Source Repository" report.
> > [INFO] Generating "Plugin Management" report.
> > [INFO] Generating "Mailing Lists" report.
> > [INFO] Generating "Project Summary" report.
> > [INFO] Generating "About" report.
> > [INFO] Generating "Project License" report.
> > [INFO] Generating "Dependency Convergence" report.
> > [HUDSON] Archiving site
> > [INFO] [site:deploy]
> >
> file:///home/scala-tools.org/www/mvnsites-snapshots/liftweb/lift-core
> <http://scala-tools.org/www/mvnsites-snapshots/liftweb/lift-core>
> -
> > Session: Opened
> >
> file:///home/scala-tools.org/www/mvnsites-snapshots/liftweb/lift-core
> <http://scala-tools.org/www/mvnsites-snapshots/liftweb/lift-core>
> -
> > Session: Disconnecting
> >
> file:///home/scala-tools.org/www/mvnsites-snapshots/liftweb/lift-core
> <http://scala-tools.org/www/mvnsites-snapshots/liftweb/lift-core>
> > channel stopped
> >
> > --
> > Lift, the simply functional web
> frameworkhttp://liftweb.net <http://liftweb.net>
> > Beginning Scalahttp://www.apress.com/book/view/1430219890
Reply all
Reply to author
Forward
0 new messages