[ImageJ-builds] Build failed in Jenkins: NAR-Maven-Plugin-windows #60
jenkins at imagej.net
jenkins at imagej.net
Thu May 28 16:19:58 CDT 2015
See <http://jenkins.imagej.net/job/NAR-Maven-Plugin-windows/60/changes>
Changes:
[Curtis Rueden] Add a separate configuration class for MSVC
[Curtis Rueden] Add NarUtil.isWindows() method
------------------------------------------
Started by an SCM change
Building remotely on Windows (windows) in workspace <http://jenkins.imagej.net/job/NAR-Maven-Plugin-windows/ws/>
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/maven-nar/nar-maven-plugin # timeout=10
Fetching upstream changes from https://github.com/maven-nar/nar-maven-plugin
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress https://github.com/maven-nar/nar-maven-plugin +refs/heads/*:refs/remotes/origin/*
> git rev-parse "origin/master^{commit}" # timeout=10
Checking out Revision 56b3640d1e9a9918fcc1a1d43ee889797017d18f (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 56b3640d1e9a9918fcc1a1d43ee889797017d18f
> git rev-list 2b6dc501f11475baa9649f47ee5ce1a93e90b497 # timeout=10
[NAR-Maven-Plugin-windows] $ sh -xe C:\Users\VIRTUA~1\AppData\Local\Temp\hudson6007409026823578419.sh
+ cat
++ cd /src/fiji/java/win32/jdk1.6.0_24
++ pwd -W
++ tr / '\\'
++ cd /src/fiji/bin/apache-maven-3.0.4/bin
++ pwd -W
+ cmd //c run-mvn.bat
<http://jenkins.imagej.net/job/NAR-Maven-Plugin-windows/ws/>set> JAVA_HOME="C:\msysgit\src\fiji\java\win32\jdk1.6.0_24"
<http://jenkins.imagej.net/job/NAR-Maven-Plugin-windows/ws/>call> "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.bat"
Setting environment for using Microsoft Visual Studio 2010 x86 tools.
<http://jenkins.imagej.net/job/NAR-Maven-Plugin-windows/ws/>C>:/msysgit/src/fiji/bin/apache-maven-3.0.4/bin/mvn.bat -Prun-its clean verify integration-test site
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Native ARchive plugin for Maven 3.2.4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ nar-maven-plugin ---
[INFO] Deleting <http://jenkins.imagej.net/job/NAR-Maven-Plugin-windows/ws/target>
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-bytecode-version) @ nar-maven-plugin ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ban-known-bad-maven-versions) @ nar-maven-plugin ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ensure-no-container-api) @ nar-maven-plugin ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ nar-maven-plugin ---
[INFO]
[INFO] --- maven-plugin-plugin:3.2:helpmojo (generated-helpmojo) @ nar-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO]
[INFO] --- maven-plugin-plugin:3.2:descriptor (default-descriptor) @ nar-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ nar-maven-plugin ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ nar-maven-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ nar-maven-plugin ---
[INFO] Compiling 254 source files to <http://jenkins.imagej.net/job/NAR-Maven-Plugin-windows/ws/target\classes>
[INFO]
[INFO] --- maven-plugin-plugin:3.2:descriptor (generate-descriptor) @ nar-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 23 mojo descriptors.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ nar-maven-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ nar-maven-plugin ---
[INFO] Compiling 44 source files to <http://jenkins.imagej.net/job/NAR-Maven-Plugin-windows/ws/target\test-classes>
[INFO]
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ nar-maven-plugin ---
[INFO] Surefire report directory: <http://jenkins.imagej.net/job/NAR-Maven-Plugin-windows/ws/target\surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.github.maven_nar.cpptasks.borland.TestBorlandCCompiler
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec - in com.github.maven_nar.cpptasks.borland.TestBorlandCCompiler
Running com.github.maven_nar.cpptasks.compiler.TestAbstractCompiler
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.compiler.TestAbstractCompiler
Running com.github.maven_nar.cpptasks.compiler.TestAbstractLinker
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec - in com.github.maven_nar.cpptasks.compiler.TestAbstractLinker
Running com.github.maven_nar.cpptasks.compiler.TestAbstractProcessor
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.compiler.TestAbstractProcessor
Running com.github.maven_nar.cpptasks.compiler.TestCommandLineCompilerConfiguration
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec - in com.github.maven_nar.cpptasks.compiler.TestCommandLineCompilerConfiguration
Running com.github.maven_nar.cpptasks.compiler.TestLinkType
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.compiler.TestLinkType
Running com.github.maven_nar.cpptasks.gcc.TestAbstractArLibrarian
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec - in com.github.maven_nar.cpptasks.gcc.TestAbstractArLibrarian
Running com.github.maven_nar.cpptasks.gcc.TestAbstractLdLinker
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec - in com.github.maven_nar.cpptasks.gcc.TestAbstractLdLinker
Running com.github.maven_nar.cpptasks.gcc.TestGccCCompiler
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec - in com.github.maven_nar.cpptasks.gcc.TestGccCCompiler
Running com.github.maven_nar.cpptasks.gcc.TestGccLinker
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec - in com.github.maven_nar.cpptasks.gcc.TestGccLinker
Running com.github.maven_nar.cpptasks.hp.TestaCCCompiler
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in com.github.maven_nar.cpptasks.hp.TestaCCCompiler
Running com.github.maven_nar.cpptasks.ibm.TestVisualAgeCCompiler
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.ibm.TestVisualAgeCCompiler
Running com.github.maven_nar.cpptasks.msvc.TestInstalledMsvcLinker
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec - in com.github.maven_nar.cpptasks.msvc.TestInstalledMsvcLinker
Running com.github.maven_nar.cpptasks.msvc.TestMsvc2005CCompiler
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.msvc.TestMsvc2005CCompiler
Running com.github.maven_nar.cpptasks.msvc.TestMsvcCCompiler
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.msvc.TestMsvcCCompiler
Running com.github.maven_nar.cpptasks.msvc.TestMsvcLinker
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.msvc.TestMsvcLinker
Running com.github.maven_nar.cpptasks.parser.TestCParser
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.parser.TestCParser
Running com.github.maven_nar.cpptasks.parser.TestFortranParser
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.parser.TestFortranParser
Running com.github.maven_nar.cpptasks.sun.TestForteCCCompiler
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.sun.TestForteCCCompiler
Running com.github.maven_nar.cpptasks.TestAllClasses
Class: CompilerDef and: CompilerDef
Tests run: 231, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.265 sec - in com.github.maven_nar.cpptasks.TestAllClasses
Running com.github.maven_nar.cpptasks.TestCCTask
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.TestCCTask
Running com.github.maven_nar.cpptasks.TestCompilerDef
Class: CompilerDef and: CompilerDef
Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec - in com.github.maven_nar.cpptasks.TestCompilerDef
Running com.github.maven_nar.cpptasks.TestCompilerEnum
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.TestCompilerEnum
Running com.github.maven_nar.cpptasks.TestCUtil
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec - in com.github.maven_nar.cpptasks.TestCUtil
Running com.github.maven_nar.cpptasks.TestDependencyTable
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec - in com.github.maven_nar.cpptasks.TestDependencyTable
Running com.github.maven_nar.cpptasks.TestLinkerDef
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in com.github.maven_nar.cpptasks.TestLinkerDef
Running com.github.maven_nar.cpptasks.TestLinkerEnum
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.TestLinkerEnum
Running com.github.maven_nar.cpptasks.TestOutputTypeEnum
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.TestOutputTypeEnum
Running com.github.maven_nar.cpptasks.TestTargetHistoryTable
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec - in com.github.maven_nar.cpptasks.TestTargetHistoryTable
Running com.github.maven_nar.cpptasks.TestTargetInfo
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.TestTargetInfo
Running com.github.maven_nar.cpptasks.trolltech.TestMetaObjectCompiler
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.trolltech.TestMetaObjectCompiler
Running com.github.maven_nar.cpptasks.trolltech.TestMetaObjectParser
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.trolltech.TestMetaObjectParser
Running com.github.maven_nar.cpptasks.types.TestDefineArgument
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.types.TestDefineArgument
Running com.github.maven_nar.cpptasks.types.TestLibrarySet
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec - in com.github.maven_nar.cpptasks.types.TestLibrarySet
Running com.github.maven_nar.test.TestLinkerVersion
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.062 sec <<< FAILURE! - in com.github.maven_nar.test.TestLinkerVersion
testVersion(com.github.maven_nar.test.TestLinkerVersion) Time elapsed: 0.062 sec <<< ERROR!
org.apache.maven.plugin.MojoFailureException: Cannot deduce version number from:
at com.github.maven_nar.Linker.getVersion(Linker.java:491)
at com.github.maven_nar.Linker.getVersion(Linker.java:425)
at com.github.maven_nar.test.TestLinkerVersion.testVersion(TestLinkerVersion.java:56)
Running com.github.maven_nar.test.TestNarFileLayout10
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in com.github.maven_nar.test.TestNarFileLayout10
Running com.github.maven_nar.test.TestNarLayout20
[debug] Using com.github.maven_nar.NarLayout20
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.test.TestNarLayout20
Running com.github.maven_nar.test.TestNarLayout21
[debug] Using com.github.maven_nar.NarLayout21
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.test.TestNarLayout21
Results :
Tests in error:
TestLinkerVersion.testVersion:56 » MojoFailure Cannot deduce version number fr...
Tests run: 465, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 35.109s
[INFO] Finished at: Thu May 28 16:19:49 CDT 2015
[INFO] Final Memory: 27M/77M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project nar-maven-plugin: There are test failures.
[ERROR]
[ERROR] Please refer to <http://jenkins.imagej.net/job/NAR-Maven-Plugin-windows/ws/target\surefire-reports> for the individual test results.
[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
Build step 'Execute shell' marked build as failure
More information about the ImageJ-builds
mailing list