[ImageJ-devel] Fwd: Build failed in Jenkins: JEX #34

Curtis Rueden ctrueden at wisc.edu
Thu Dec 4 11:40:14 CST 2014


Hi Jay,

> Just wondering what might have happened here. Any ideas? All I did was
> create a README.md file on the git repository of my project since the
> last successful build.

Yeah, I do not know why the build failure only triggered now. It may be
that the Jenkins build didn't trigger correctly before. But I was able to
reproduce the failure on the command line on my system.

I pushed a commit that upgrades to new versions of the components, and
fixes the build errors:

https://github.com/jaywarrick/JEX/commit/4102978037a234ea780b1165251bc6542f9e5fbc

I also had to disable the enforcer checks for now since there are issues
compiling Java-7-based projects at the moment. We hope to sort that out
soon.

Regards,
Curtis

On Thu, Dec 4, 2014 at 1:25 AM, Jay Warrick <warrick at wisc.edu> wrote:

> Hi All,
>
> Just wondering what might have happened here. Any ideas? All I did was
> create a README.md file on the git repository of my project since the last
> successful build. It's complaining about a missing package but it looks
> like it exists on maven.imagej.net and it shows it in the dependency
> hierarchy so it would seem that maven is expecting to have to retrieve it.
>
> Sorry I didn't check to see if it ran before committing. Just didn't
> expect this to be an issue and now not sure how to diagnose.
>
> Thanks in advance,
>
> Jay
>
> Begin forwarded message:
>
> *Date: *December 4, 2014 at 12:55:15 AM CST
> *From: *jenkins at imagej.net
> *To: *warrick at wisc.edu, eberthier at wisc.edu, ctrueden at wisc.edu
> *Subject: **Build failed in Jenkins: JEX #34*
>
> See <http://jenkins.imagej.net/job/JEX/34/changes>
>
> Changes:
>
> [Jay Warrick] Update README.md
>
> ------------------------------------------
> [...truncated 4 lines...]
> Checking out Revision 956550f99b35c21e944ba6ea71a9927483e10cee
> (origin/master)
> [workspace] $ /bin/sh -xe /tmp/hudson8350546447354885372.sh
> + git clean -dfx
> Removing core/target/
> [workspace] $ mvn -U -Pdeploy-to-imagej clean deploy
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] JEX Multi-Module Build
> [INFO] JEX core functionality
> [INFO] JEX
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building JEX Multi-Module Build 0.0.4-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ pom-jex ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.3:create (default) @ pom-jex ---
> [INFO] Executing: /bin/sh -c cd /data/devel/jenkins/jobs/JEX/workspace &&
> git rev-parse --verify HEAD
> [INFO] Working directory: /data/devel/jenkins/jobs/JEX/workspace
> [INFO] Storing buildNumber: 956550f99b35c21e944ba6ea71a9927483e10cee at
> timestamp: 1417676099431
> [WARNING] Cannot get the branch information from the git repository:
> Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref
>
> [INFO] Executing: /bin/sh -c cd /data/devel/jenkins/jobs/JEX/workspace &&
> git rev-parse --verify HEAD
> [INFO] Working directory: /data/devel/jenkins/jobs/JEX/workspace
> [INFO] Storing buildScmBranch: UNKNOWN
> [INFO]
> [INFO] >>> maven-source-plugin:2.3:jar (default) @ pom-jex >>>
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.3:create (default) @ pom-jex ---
> [INFO]
> [INFO] <<< maven-source-plugin:2.3:jar (default) @ pom-jex <<<
> [INFO]
> [INFO] --- maven-source-plugin:2.3:jar (default) @ pom-jex ---
> [INFO]
> [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ pom-jex
> ---
> [INFO] Installing /data/devel/jenkins/jobs/JEX/workspace/pom.xml to
> /var/lib/jenkins/.m2/repository/io/github/jaywarrick/pom-jex/0.0.4-SNAPSHOT/pom-jex-0.0.4-SNAPSHOT.pom
> [INFO]
> [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @ pom-jex ---
> Downloading: dav:http://
> maven.imagej.net/content/repositories/snapshots/io/github/jaywarrick/pom-jex/0.0.4-SNAPSHOT/maven-metadata.xml
> 606/606 B
>
> Downloaded: dav:http://
> maven.imagej.net/content/repositories/snapshots/io/github/jaywarrick/pom-jex/0.0.4-SNAPSHOT/maven-metadata.xml
> (606 B at 7.0 KB/sec)
> Uploading:
> http://maven.imagej.net/content/repositories/snapshots/io/github/jaywarrick/pom-jex/0.0.4-SNAPSHOT/pom-jex-0.0.4-20141204.065500-13.pom
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> 2/2 KB
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> 4/2 KB
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
>
> Uploaded:
> http://maven.imagej.net/content/repositories/snapshots/io/github/jaywarrick/pom-jex/0.0.4-SNAPSHOT/pom-jex-0.0.4-20141204.065500-13.pom
> (4 KB at 18.1 KB/sec)
> Downloading:
> http://maven.imagej.net/content/repositories/snapshots/io/github/jaywarrick/pom-jex/maven-metadata.xml
> 467/467 B
>
> Downloaded:
> http://maven.imagej.net/content/repositories/snapshots/io/github/jaywarrick/pom-jex/maven-metadata.xml
> (467 B at 32.6 KB/sec)
> Uploading:
> http://maven.imagej.net/content/repositories/snapshots/io/github/jaywarrick/pom-jex/0.0.4-SNAPSHOT/maven-metadata.xml
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> 606/606 B
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> 1212/606 B
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
>
> Uploaded:
> http://maven.imagej.net/content/repositories/snapshots/io/github/jaywarrick/pom-jex/0.0.4-SNAPSHOT/maven-metadata.xml
> (2 KB at 11.8 KB/sec)
> Uploading:
> http://maven.imagej.net/content/repositories/snapshots/io/github/jaywarrick/pom-jex/maven-metadata.xml
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> 467/467 B
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> 934/467 B
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Dec 04, 2014 12:55:00 AM
> org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
>
> Uploaded:
> http://maven.imagej.net/content/repositories/snapshots/io/github/jaywarrick/pom-jex/maven-metadata.xml
> (934 B at 11.0 KB/sec)
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building JEX core functionality 0.0.4-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://maven.imagej.net/content/groups/public/sc/fiji/pom-fiji/2.0.0-beta-1-SNAPSHOT/maven-metadata.xml
> 608/608 B
>
> Downloaded:
> http://maven.imagej.net/content/groups/public/sc/fiji/pom-fiji/2.0.0-beta-1-SNAPSHOT/maven-metadata.xml
> (608 B at 8.6 KB/sec)
> [WARNING] The POM for sc.fiji:TrackMate_:jar:2.5.0 is invalid, transitive
> dependencies (if any) will not be available, enable debug logging for more
> details
> Downloading:
> http://repo.maven.apache.org/maven2/com/github/jnr/jffi/maven-metadata.xml
> Downloading:
> http://maven.imagej.net/content/groups/public/com/github/jnr/jffi/maven-metadata.xml
> Downloading:
> https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml
> Downloading:
> https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml
> 605/605 B
>
> Downloaded:
> http://repo.maven.apache.org/maven2/com/github/jnr/jffi/maven-metadata.xml
> (605 B at 5.2 KB/sec)
> 400/400 B
> 400/400 B   400/400 B
>
> Downloaded:
> https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml
> (400 B at 0.7 KB/sec)
>
> Downloaded:
> https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml
> (400 B at 0.7 KB/sec)
> 695/695 B
>
> Downloaded:
> http://maven.imagej.net/content/groups/public/com/github/jnr/jffi/maven-metadata.xml
> (695 B at 0.4 KB/sec)
> Downloading:
> https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/1.2.8-SNAPSHOT/maven-metadata.xml
> Downloading:
> http://maven.imagej.net/content/groups/public/com/github/jnr/jffi/1.2.8-SNAPSHOT/maven-metadata.xml
> Downloading:
> https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/1.2.8-SNAPSHOT/maven-metadata.xml
> 981/981 B
>
> Downloaded:
> http://maven.imagej.net/content/groups/public/com/github/jnr/jffi/1.2.8-SNAPSHOT/maven-metadata.xml
> (981 B at 43.5 KB/sec)
> 981/981 B
> 981/981 B   981/981 B
>
> Downloaded:
> https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/1.2.8-SNAPSHOT/maven-metadata.xml
> (981 B at 6.9 KB/sec)
>
> Downloaded:
> https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/1.2.8-SNAPSHOT/maven-metadata.xml
> (981 B at 6.7 KB/sec)
> Downloading:
> http://repo.maven.apache.org/maven2/com/github/jnr/jnr-x86asm/maven-metadata.xml
> Downloading:
> https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jnr-x86asm/maven-metadata.xml
> Downloading:
> http://maven.imagej.net/content/groups/public/com/github/jnr/jnr-x86asm/maven-metadata.xml
> Downloading:
> https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jnr-x86asm/maven-metadata.xml
> 362/362 B
>
> Downloaded:
> http://repo.maven.apache.org/maven2/com/github/jnr/jnr-x86asm/maven-metadata.xml
> (362 B at 5.5 KB/sec)
>
>
> 362/362 B
>
> Downloaded:
> http://maven.imagej.net/content/groups/public/com/github/jnr/jnr-x86asm/maven-metadata.xml
> (362 B at 0.1 KB/sec)
> Downloading:
> http://maven.imagej.net/content/groups/public/nz/ac/waikato/cms/moa/moa/maven-metadata.xml
> Downloading:
> http://repo.maven.apache.org/maven2/nz/ac/waikato/cms/moa/moa/maven-metadata.xml
> Downloading:
> https://oss.sonatype.org/content/repositories/snapshots/nz/ac/waikato/cms/moa/moa/maven-metadata.xml
> 436/436 B
> 369/369 B   436/436 B
>
> Downloaded:
> http://repo.maven.apache.org/maven2/nz/ac/waikato/cms/moa/moa/maven-metadata.xml
> (436 B at 4.5 KB/sec)
>
> Downloaded:
> https://oss.sonatype.org/content/repositories/snapshots/nz/ac/waikato/cms/moa/moa/maven-metadata.xml
> (369 B at 2.9 KB/sec)
> 478/478 B
>
> Downloaded:
> http://maven.imagej.net/content/groups/public/nz/ac/waikato/cms/moa/moa/maven-metadata.xml
> (478 B at 0.3 KB/sec)
> Downloading:
> http://repo.maven.apache.org/maven2/nz/ac/waikato/cms/weka/weka-dev/maven-metadata.xml
> Downloading:
> https://oss.sonatype.org/content/repositories/snapshots/nz/ac/waikato/cms/weka/weka-dev/maven-metadata.xml
> Downloading:
> http://maven.imagej.net/content/groups/public/nz/ac/waikato/cms/weka/weka-dev/maven-metadata.xml
> 527/527 B
>
> Downloaded:
> http://repo.maven.apache.org/maven2/nz/ac/waikato/cms/weka/weka-dev/maven-metadata.xml
> (527 B at 9.0 KB/sec)
>
> 527/527 B
>
> Downloaded:
> http://maven.imagej.net/content/groups/public/nz/ac/waikato/cms/weka/weka-dev/maven-metadata.xml
> (527 B at 0.4 KB/sec)
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jex-core ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.3:create (default) @ jex-core ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
> jex-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 170 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ jex-core
> ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 666 source files to
> /data/devel/jenkins/jobs/JEX/workspace/core/target/classes
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING :
> [INFO] -------------------------------------------------------------
> [WARNING]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/function/plugin/old/JEX_Filters.java:
> Some input files use or override a deprecated API.
> [WARNING]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/function/plugin/old/JEX_Filters.java:
> Recompile with -Xlint:deprecation for details.
> [WARNING]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/plugins/labelManager/XPrefListManager.java:
> Some input files use unchecked or unsafe operations.
> [WARNING]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/plugins/labelManager/XPrefListManager.java:
> Recompile with -Xlint:unchecked for details.
> [INFO] 4 warnings
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/function/plugin/plugins/Import/ImportND2Files.java:[22,19]
> package loci.common does not exist
> [ERROR]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/image/roi/PointTester.java:[51,19]
> package loci.common does not exist
> [ERROR]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/image/roi/PointTester.java:[109,134]
> package loci.formats does not exist
> [ERROR]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/function/plugin/plugins/Import/ImportND2Files.java:[22,19]
> package loci.common does not exist
> [ERROR]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/image/roi/PointTester.java:[51,19]
> package loci.common does not exist
> [ERROR]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/image/roi/PointTester.java:[109,134]
> package loci.formats does not exist
> [ERROR]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/function/plugin/plugins/Import/ImportND2Files.java:[132,63]
> cannot find symbol
>  symbol:   variable DataTools
>  location: class function.plugin.plugins.Import.ImportND2Files
> [ERROR]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/image/roi/PointTester.java:[135,63]
> cannot find symbol
>  symbol:   variable DataTools
>  location: class image.roi.PointTester
> [INFO] 8 errors
> [INFO] -------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] JEX Multi-Module Build ............................ SUCCESS [1.623s]
> [INFO] JEX core functionality ............................ FAILURE
> [15.130s]
> [INFO] JEX ............................................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 17.436s
> [INFO] Finished at: Thu Dec 04 00:55:15 CST 2014
> [INFO] Final Memory: 29M/473M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> (default-compile) on project jex-core: Compilation failure: Compilation
> failure:
> [ERROR]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/function/plugin/plugins/Import/ImportND2Files.java:[22,19]
> package loci.common does not exist
> [ERROR]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/image/roi/PointTester.java:[51,19]
> package loci.common does not exist
> [ERROR]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/image/roi/PointTester.java:[109,134]
> package loci.formats does not exist
> [ERROR]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/function/plugin/plugins/Import/ImportND2Files.java:[22,19]
> package loci.common does not exist
> [ERROR]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/image/roi/PointTester.java:[51,19]
> package loci.common does not exist
> [ERROR]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/image/roi/PointTester.java:[109,134]
> package loci.formats does not exist
> [ERROR]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/function/plugin/plugins/Import/ImportND2Files.java:[132,63]
> cannot find symbol
> [ERROR] symbol:   variable DataTools
> [ERROR] location: class function.plugin.plugins.Import.ImportND2Files
> [ERROR]
> /data/devel/jenkins/jobs/JEX/workspace/core/src/main/java/image/roi/PointTester.java:[135,63]
> cannot find symbol
> [ERROR] symbol:   variable DataTools
> [ERROR] location: class image.roi.PointTester
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :jex-core
> Build step 'Invoke top-level Maven targets' marked build as failure
> Archiving artifacts
> Build step 'Groovy Postbuild' marked build as failure
>
>
>
> _______________________________________________
> ImageJ-devel mailing list
> ImageJ-devel at imagej.net
> http://imagej.net/mailman/listinfo/imagej-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20141204/f8a3daa1/attachment-0001.html>


More information about the ImageJ-devel mailing list