Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-build] Build failed in Jenkins: jgit #1306

See <https://ci.eclipse.org/jgit/job/jgit/1306/display/redirect>

------------------------------------------
[...truncated 299.39 KB...]
[INFO] Compiling 1 source file to /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit.ant.test/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ org.eclipse.jgit.ant.test ---
[WARNING] The system property java.io.tmpdir is configured twice! The property appears in <argLine/> and any of <systemPropertyVariables/>, <systemProperties/> or user property.
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
     [java] Warnings generated: 12
[INFO] Done SpotBugs Analysis....
[INFO] 
[INFO] <<< spotbugs-maven-plugin:3.1.1:check (default) < :spotbugs @ org.eclipse.jgit.lfs <<<
[INFO] 
[INFO] 
[INFO] --- spotbugs-maven-plugin:3.1.1:check (default) @ org.eclipse.jgit.lfs ---
[INFO] BugInstance size is 12
[INFO] Error size is 0
[INFO] Total bugs: 12
     [java] Warnings generated: 2
[INFO] org.eclipse.jgit.lfs.LfsPointer defines compareTo(LfsPointer) and uses Object.equals() [org.eclipse.jgit.lfs.LfsPointer] At LfsPointer.java:[lines 201-206] EQ_COMPARETO_USE_OBJECT_EQUALS
[INFO] Found reliance on default encoding in org.eclipse.jgit.lfs.LfsPrePushHook.uploadContents(HttpConnection, Map): new java.io.InputStreamReader(InputStream) [org.eclipse.jgit.lfs.LfsPrePushHook] At LfsPrePushHook.java:[line 219] DM_DEFAULT_ENCODING
[INFO] Unused public or protected field: org.eclipse.jgit.lfs.Protocol$Error.code [org.eclipse.jgit.lfs.Protocol$Error] In Protocol.java UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD
[INFO] Unused public or protected field: org.eclipse.jgit.lfs.Protocol$Error.message [org.eclipse.jgit.lfs.Protocol$Error] In Protocol.java UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD
[INFO] Unused public or protected field: org.eclipse.jgit.lfs.Protocol$ObjectInfo.error [org.eclipse.jgit.lfs.Protocol$ObjectInfo] In Protocol.java UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD
[INFO] Unwritten public or protected field: org.eclipse.jgit.lfs.Protocol$ObjectInfo.actions [org.eclipse.jgit.lfs.SmudgeFilter] At SmudgeFilter.java:[line 179] UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD
[INFO] Unread public/protected field: org.eclipse.jgit.lfs.Protocol$Request.operation [org.eclipse.jgit.lfs.internal.LfsConnectionFactory] At LfsConnectionFactory.java:[line 281] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD
[INFO] Found reliance on default encoding in org.eclipse.jgit.lfs.SmudgeFilter.downloadLfsResource(Repository, LfsPointer[]): new java.io.InputStreamReader(InputStream) [org.eclipse.jgit.lfs.SmudgeFilter] At SmudgeFilter.java:[line 175] DM_DEFAULT_ENCODING
[INFO] Possible null pointer dereference in org.eclipse.jgit.lfs.SmudgeFilter.downloadLfsResource(Repository, LfsPointer[]) due to return value of called method [org.eclipse.jgit.lfs.SmudgeFilter, org.eclipse.jgit.lfs.SmudgeFilter] Dereferenced at SmudgeFilter.java:[line 211]Known null at SmudgeFilter.java:[line 211] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE
[INFO] Exceptional return value of java.io.File.mkdirs() ignored in org.eclipse.jgit.lfs.SmudgeFilter.downloadLfsResource(Repository, LfsPointer[]) [org.eclipse.jgit.lfs.SmudgeFilter] At SmudgeFilter.java:[line 211] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE
[INFO] Exception is caught when Exception is not thrown in org.eclipse.jgit.lfs.internal.LfsConnectionFactory.discoverLfsUrl(Repository, String, Map, String) [org.eclipse.jgit.lfs.internal.LfsConnectionFactory] At LfsConnectionFactory.java:[line 185] REC_CATCH_EXCEPTION
[INFO] org.eclipse.jgit.lfs.lib.LfsPointerFilter defines clone() but doesn't implement Cloneable [org.eclipse.jgit.lfs.lib.LfsPointerFilter] At LfsPointerFilter.java:[line 106] CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE
[INFO] 


To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui"



[INFO] 
[INFO] >>> maven-pmd-plugin:3.8:cpd-check (default) > :cpd @ org.eclipse.jgit.lfs >>>
[INFO] 
[INFO] --- maven-pmd-plugin:3.8:cpd (cpd) @ org.eclipse.jgit.lfs ---
[INFO] 
[INFO] <<< maven-pmd-plugin:3.8:cpd-check (default) < :cpd @ org.eclipse.jgit.lfs <<<
[INFO] 
[INFO] 
[INFO] --- maven-pmd-plugin:3.8:cpd-check (default) @ org.eclipse.jgit.lfs ---
[INFO] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] Building JGit - Large File Storage Server 4.11.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Building JGit - Large File Storage Tests 4.11.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.eclipse.jgit.lfs.test ---
[INFO] 
[INFO] Deleting /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit.lfs.test/target
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.eclipse.jgit.lfs.server ---
[INFO] Deleting /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit.lfs.server/target
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven) @ org.eclipse.jgit.lfs.test ---
[INFO] 
[INFO] --- build-helper-maven-plugin:3.0.0:parse-version (set-osgi-version) @ org.eclipse.jgit.lfs.test ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ org.eclipse.jgit.lfs.test ---
[INFO] argLine set to -javaagent:<https://ci.eclipse.org/jgit/job/jgit/ws/.repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/hudson/genie.technology.egit/.hudson/jobs/jgit/workspace/jacoco.exec,append=true,includes=org.eclipse.jgit.*,excludes=**/*Test*.*>
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (translate-qualifier) @ org.eclipse.jgit.lfs.test ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven) @ org.eclipse.jgit.lfs.server ---
[INFO] 
[INFO] --- build-helper-maven-plugin:3.0.0:parse-version (set-osgi-version) @ org.eclipse.jgit.lfs.server ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ org.eclipse.jgit.lfs.server ---
[INFO] argLine set to -javaagent:<https://ci.eclipse.org/jgit/job/jgit/ws/.repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/hudson/genie.technology.egit/.hudson/jobs/jgit/workspace/jacoco.exec,append=true,includes=org.eclipse.jgit.*,excludes=**/*Test*.*>
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (translate-qualifier) @ org.eclipse.jgit.lfs.server ---
[INFO] Executing tasks
main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ org.eclipse.jgit.lfs.test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit.lfs.test/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ org.eclipse.jgit.lfs.test ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (compile-with-errorprone) @ org.eclipse.jgit.lfs.test ---
[INFO] Executing tasks
main:
     [copy] Copying 1 file to /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit.lfs.server/target/META-INF
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ org.eclipse.jgit.lfs.server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit.lfs.test/target/classes
[INFO] Copying 2 resources
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ org.eclipse.jgit.lfs.server ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (compile-with-errorprone) @ org.eclipse.jgit.lfs.server ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit.lfs.server/target/classes
[INFO] Done SpotBugs Analysis....
[INFO] 
[INFO] <<< spotbugs-maven-plugin:3.1.1:check (default) < :spotbugs @ org.eclipse.jgit.http.server <<<
[INFO] 
[INFO] 
[INFO] --- spotbugs-maven-plugin:3.1.1:check (default) @ org.eclipse.jgit.http.server ---
[INFO] BugInstance size is 2
[INFO] Error size is 0
[INFO] Total bugs: 2
[INFO] Class org.eclipse.jgit.http.server.GitServlet defines non-transient non-serializable instance field gitFilter [org.eclipse.jgit.http.server.GitServlet] In GitServlet.java SE_BAD_FIELD
[INFO] Running org.eclipse.jgit.ant.tasks.GitCloneTaskTest
[INFO] Class org.eclipse.jgit.http.server.glue.MetaServlet defines non-transient non-serializable instance field filter [org.eclipse.jgit.http.server.glue.MetaServlet] In MetaServlet.java SE_BAD_FIELD
[INFO] 


To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui"



[INFO] 
[INFO] >>> maven-pmd-plugin:3.8:cpd-check (default) > :cpd @ org.eclipse.jgit.http.server >>>
[INFO] 
[INFO] --- maven-pmd-plugin:3.8:cpd (cpd) @ org.eclipse.jgit.http.server ---
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] 
[INFO] <<< maven-pmd-plugin:3.8:cpd-check (default) < :cpd @ org.eclipse.jgit.http.server <<<
[INFO] 
[INFO] 
[INFO] --- maven-pmd-plugin:3.8:cpd-check (default) @ org.eclipse.jgit.http.server ---
[INFO] You have 1 CPD duplication. For more details see: /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit.http.server/target/cpd.xml
[INFO] 
[INFO] --- japicmp-maven-plugin:0.11.0:cmp (default) @ org.eclipse.jgit.http.server ---
[INFO] 
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ org.eclipse.jgit.lfs.test >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven) @ org.eclipse.jgit.lfs.test ---
[INFO] 
[INFO] --- build-helper-maven-plugin:3.0.0:parse-version (set-osgi-version) @ org.eclipse.jgit.lfs.test ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ org.eclipse.jgit.lfs.test ---
[INFO] argLine set to -javaagent:<https://ci.eclipse.org/jgit/job/jgit/ws/.repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/hudson/genie.technology.egit/.hudson/jobs/jgit/workspace/jacoco.exec,append=true,includes=org.eclipse.jgit.*,excludes=**/*Test*.*>
[INFO] 
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ org.eclipse.jgit.lfs.test <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ org.eclipse.jgit.lfs.test ---
[INFO] Building jar: /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit.lfs.test/target/org.eclipse.jgit.lfs.test-4.11.0-SNAPSHOT-sources.jar
[ERROR] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.193 s <<< FAILURE! - in org.eclipse.jgit.ant.tasks.GitCloneTaskTest
[ERROR] shouldRaiseErrorOnBadSourceURL(org.eclipse.jgit.ant.tasks.GitCloneTaskTest)  Time elapsed: 0.087 s  <<< ERROR!
java.io.IOException: No such file or directory

[ERROR] shouldRaiseErrorOnBadUrl(org.eclipse.jgit.ant.tasks.GitCloneTaskTest)  Time elapsed: 0.001 s  <<< ERROR!
java.io.IOException: No such file or directory

[ERROR] shouldCloneAValidGitRepository(org.eclipse.jgit.ant.tasks.GitCloneTaskTest)  Time elapsed: 0 s  <<< ERROR!
java.io.IOException: No such file or directory

[ERROR] shouldRaiseErrorOnNoUrl(org.eclipse.jgit.ant.tasks.GitCloneTaskTest)  Time elapsed: 0 s  <<< ERROR!
java.io.IOException: No such file or directory

[ERROR] shouldCreateABareCloneOfAValidGitRepository(org.eclipse.jgit.ant.tasks.GitCloneTaskTest)  Time elapsed: 0 s  <<< ERROR!
java.io.IOException: No such file or directory

[ERROR] shouldRaiseErrorOnEmptyUrl(org.eclipse.jgit.ant.tasks.GitCloneTaskTest)  Time elapsed: 0 s  <<< ERROR!
java.io.IOException: No such file or directory

[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ org.eclipse.jgit.lfs.test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit.lfs.test/tst-rsrc
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ org.eclipse.jgit.lfs.test ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit.lfs.test/target/test-classes
[INFO] Written file '/jobs/genie.jgit/jgit/workspace/org.eclipse.jgit.http.server/target/japicmp/japicmp.diff'.
[INFO] Written file '/jobs/genie.jgit/jgit/workspace/org.eclipse.jgit.http.server/target/japicmp/japicmp.xml'.
[INFO] Written file '/jobs/genie.jgit/jgit/workspace/org.eclipse.jgit.http.server/target/japicmp/japicmp.html'.
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building JGit - JUnit Http Utility Classes 4.11.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   GitCloneTaskTest>LocalDiskRepositoryTestCase.setUp:123 » IO No such file or di...
[ERROR]   GitCloneTaskTest>LocalDiskRepositoryTestCase.setUp:123 » IO No such file or di...
[ERROR]   GitCloneTaskTest>LocalDiskRepositoryTestCase.setUp:123 » IO No such file or di...
[ERROR]   GitCloneTaskTest>LocalDiskRepositoryTestCase.setUp:123 » IO No such file or di...
[ERROR]   GitCloneTaskTest>LocalDiskRepositoryTestCase.setUp:123 » IO No such file or di...
[ERROR]   GitCloneTaskTest>LocalDiskRepositoryTestCase.setUp:123 » IO No such file or di...
[INFO] 
[ERROR] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] JGit - Parent ...................................... SUCCESS [ 15.222 s]
[INFO] JGit - Core ........................................ SUCCESS [01:51 min]
[INFO] JGit - Ant Tasks ................................... SUCCESS [ 23.424 s]
[INFO] JGit - Archive Formats ............................. SUCCESS [ 22.230 s]
[INFO] JGit - AWT User Interface .......................... SUCCESS [ 29.043 s]
[INFO] JGit - Apache httpclient based HTTP support ........ SUCCESS [ 23.750 s]
[INFO] JGit - HTTP Server ................................. SUCCESS [ 32.796 s]
[INFO] JGit - Large File Storage .......................... SUCCESS [ 31.535 s]
[INFO] JGit - Large File Storage Server ................... SKIPPED
[INFO] JGit - Command Line Interface ...................... SKIPPED
[INFO] JGit - JUnit Utility Classes ....................... SUCCESS [ 29.649 s]
[INFO] JGit - JUnit Http Utility Classes .................. SKIPPED
[INFO] JGit - Core Tests .................................. SKIPPED
[INFO] JGit - Ant Tasks Tests ............................. FAILURE [  3.187 s]
[INFO] JGit - HTTP Tests .................................. SKIPPED
[INFO] JGit - Command Line Interface Tests ................ SKIPPED
[INFO] JGit - Large File Storage Tests .................... SKIPPED
[INFO] JGit - LFS Server Tests ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:40 min (Wall Clock)
[INFO] Finished at: 2018-02-28T16:41:49-05:00
[INFO] Final Memory: 102M/1896M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on project org.eclipse.jgit.ant.test: There are test failures.
[ERROR] 
[ERROR] Please refer to /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit.ant.test/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[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 :org.eclipse.jgit.ant.test
Build step 'Invoke top-level Maven targets' marked build as failure


Back to the top