Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-build] [Hudson] Build failed in Hudson: jgit2 #342

See <https://hudson.eclipse.org/jgit/job/jgit2/342/changes>

Changes:

[Matthias Sohn] buck: run http tests

[Matthias Sohn] Ensure all http tests are run and fix broken tests

------------------------------------------
[...truncated 2751 lines...]
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ org.eclipse.jgit.ant.test ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /jobs/genie.jgit/jgit2/workspace/org.eclipse.jgit.ant.test/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ org.eclipse.jgit.ant.test ---
[INFO] Surefire report directory: /jobs/genie.jgit/jgit2/workspace/org.eclipse.jgit.ant.test/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.eclipse.jgit.ant.tasks.GitCloneTaskTest
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.
[git-clone] Cloning repository http://localhost:9090/does-not-exist.git
[git-clone] Could not clone repository: org.eclipse.jgit.api.errors.TransportException: http://localhost:9090/does-not-exist.git: cannot open git-upload-pack
[git-clone] Cloning repository foo://bar
[git-clone] Could not clone repository: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of fetch command
[git-clone] Cloning repository file:///jobs/genie.jgit/jgit2/workspace/org.eclipse.jgit.ant.test/target/jgit_test_8296932195133700892_tmp/tmp_9010925864046747320.git
[git-clone] Cloning repository null
[git-clone] Could not clone repository: org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: origin
[git-clone] Cloning repository file:///jobs/genie.jgit/jgit2/workspace/org.eclipse.jgit.ant.test/target/jgit_test_7687302027707628184_tmp/tmp_2292601851056216763.git
[git-clone] Cloning repository 
[git-clone] Could not clone repository: org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: origin
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.356 sec - in org.eclipse.jgit.ant.tasks.GitCloneTaskTest

Results :

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

[INFO] 
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ org.eclipse.jgit.ant.test ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /jobs/genie.jgit/jgit2/workspace/org.eclipse.jgit.ant.test/target/org.eclipse.jgit.ant.test-4.2.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-javadoc-plugin:2.10.1:jar (attach-javadocs) @ org.eclipse.jgit.ant.test ---
[INFO] 
[INFO] --- maven-jar-plugin:2.6:test-jar (default) @ org.eclipse.jgit.ant.test ---
[INFO] Building jar: /jobs/genie.jgit/jgit2/workspace/org.eclipse.jgit.ant.test/target/org.eclipse.jgit.ant.test-4.2.0-SNAPSHOT-tests.jar
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.0:check (default) > :findbugs @ org.eclipse.jgit.ant.test >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.0:findbugs (findbugs) @ org.eclipse.jgit.ant.test ---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.0:check (default) < :findbugs @ org.eclipse.jgit.ant.test <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.0:check (default) @ org.eclipse.jgit.ant.test ---
[INFO] 
[INFO] >>> maven-pmd-plugin:3.4:cpd-check (default) > :cpd @ org.eclipse.jgit.ant.test >>>
[INFO] 
[INFO] --- maven-pmd-plugin:3.4:cpd (cpd) @ org.eclipse.jgit.ant.test ---
[INFO] 
[INFO] <<< maven-pmd-plugin:3.4:cpd-check (default) < :cpd @ org.eclipse.jgit.ant.test <<<
[INFO] 
[INFO] --- maven-pmd-plugin:3.4:cpd-check (default) @ org.eclipse.jgit.ant.test ---
[INFO] 
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building JGit - HTTP Tests 4.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ org.eclipse.jgit.http.test ---
[INFO] Deleting /jobs/genie.jgit/jgit2/workspace/org.eclipse.jgit.http.test/target
[INFO] 
[INFO] --- build-helper-maven-plugin:1.9:parse-version (set-osgi-version) @ org.eclipse.jgit.http.test ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (default) @ org.eclipse.jgit.http.test ---
[INFO] argLine set to -javaagent:<https://hudson.eclipse.org/jgit/job/jgit2/ws/.maven/repo/org/jacoco/org.jacoco.agent/0.7.1.201405082137/org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=/home/hudson/genie.technology.jgit/.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.http.test ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ org.eclipse.jgit.http.test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /jobs/genie.jgit/jgit2/workspace/org.eclipse.jgit.http.test/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ org.eclipse.jgit.http.test ---
[INFO] No sources to compile
[INFO] 
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ org.eclipse.jgit.http.test >>>
[INFO] 
[INFO] --- build-helper-maven-plugin:1.9:parse-version (set-osgi-version) @ org.eclipse.jgit.http.test ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (default) @ org.eclipse.jgit.http.test ---
[INFO] argLine set to -javaagent:<https://hudson.eclipse.org/jgit/job/jgit2/ws/.maven/repo/org/jacoco/org.jacoco.agent/0.7.1.201405082137/org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=/home/hudson/genie.technology.jgit/.hudson/jobs/jgit/workspace/jacoco.exec,append=true,includes=org.eclipse.jgit.*,excludes=**/*Test*.*>
[INFO] 
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ org.eclipse.jgit.http.test <<<
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ org.eclipse.jgit.http.test ---
[INFO] No sources in project. Archive not created.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ org.eclipse.jgit.http.test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /jobs/genie.jgit/jgit2/workspace/org.eclipse.jgit.http.test/tst-rsrc
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ org.eclipse.jgit.http.test ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 20 source files to /jobs/genie.jgit/jgit2/workspace/org.eclipse.jgit.http.test/target/test-classes
[INFO] /jobs/genie.jgit/jgit2/workspace/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/DefaultReceivePackFactoryTest.java: Some input files use unchecked or unsafe operations.
[INFO] /jobs/genie.jgit/jgit2/workspace/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/DefaultReceivePackFactoryTest.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ org.eclipse.jgit.http.test ---
[INFO] Surefire report directory: /jobs/genie.jgit/jgit2/workspace/org.eclipse.jgit.http.test/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.eclipse.jgit.http.server.ClientVersionUtilTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in org.eclipse.jgit.http.server.ClientVersionUtilTest
Running org.eclipse.jgit.http.server.ServletUtilsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.eclipse.jgit.http.server.ServletUtilsTest
Running org.eclipse.jgit.http.server.RootLocaleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec - in org.eclipse.jgit.http.server.RootLocaleTest
Running org.eclipse.jgit.http.test.ProtocolErrorTest
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.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.47 sec - in org.eclipse.jgit.http.test.ProtocolErrorTest
Running org.eclipse.jgit.http.test.ErrorServletTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec - in org.eclipse.jgit.http.test.ErrorServletTest
Running org.eclipse.jgit.http.test.SetAdditionalHeadersTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.146 sec - in org.eclipse.jgit.http.test.SetAdditionalHeadersTest
Running org.eclipse.jgit.http.test.DefaultUploadPackFactoryTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec - in org.eclipse.jgit.http.test.DefaultUploadPackFactoryTest
Running org.eclipse.jgit.http.test.FileResolverTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec - in org.eclipse.jgit.http.test.FileResolverTest
Running org.eclipse.jgit.http.test.HttpClientTests
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.433 sec - in org.eclipse.jgit.http.test.HttpClientTests
Running org.eclipse.jgit.http.test.DumbClientDumbServerTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.684 sec - in org.eclipse.jgit.http.test.DumbClientDumbServerTest
Running org.eclipse.jgit.http.test.AdvertiseErrorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec - in org.eclipse.jgit.http.test.AdvertiseErrorTest
Running org.eclipse.jgit.http.test.GitServletInitTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec - in org.eclipse.jgit.http.test.GitServletInitTest
Running org.eclipse.jgit.http.test.HookMessageTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.447 sec - in org.eclipse.jgit.http.test.HookMessageTest
Running org.eclipse.jgit.http.test.GitServletResponseTests
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.463 sec <<< FAILURE! - in org.eclipse.jgit.http.test.GitServletResponseTests
testObjectCheckerException(org.eclipse.jgit.http.test.GitServletResponseTests)  Time elapsed: 0.189 sec  <<< FAILURE!
java.lang.AssertionError: should not reach this line
	at org.junit.Assert.fail(Assert.java:88)
	at org.eclipse.jgit.http.test.GitServletResponseTests.testObjectCheckerException(GitServletResponseTests.java:236)

Running org.eclipse.jgit.http.test.RegexPipelineTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec - in org.eclipse.jgit.http.test.RegexPipelineTest
Running org.eclipse.jgit.http.test.DumbClientSmartServerTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.728 sec - in org.eclipse.jgit.http.test.DumbClientSmartServerTest
Running org.eclipse.jgit.http.test.SmartClientSmartServerTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.25 sec - in org.eclipse.jgit.http.test.SmartClientSmartServerTest
Running org.eclipse.jgit.http.test.AsIsServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec - in org.eclipse.jgit.http.test.AsIsServiceTest
Running org.eclipse.jgit.http.test.MeasurePackSizeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.15 sec - in org.eclipse.jgit.http.test.MeasurePackSizeTest
Running org.eclipse.jgit.http.test.DefaultReceivePackFactoryTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec - in org.eclipse.jgit.http.test.DefaultReceivePackFactoryTest

Results :

Failed tests: 
  GitServletResponseTests.testObjectCheckerException:236 should not reach this line

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] JGit - Parent ...................................... SUCCESS [  4.948 s]
[INFO] JGit - Core ........................................ SUCCESS [01:25 min]
[INFO] JGit - Ant Tasks ................................... SUCCESS [ 10.452 s]
[INFO] JGit Archive Formats ............................... SUCCESS [  9.538 s]
[INFO] JGit - AWT User Interface .......................... SUCCESS [ 12.984 s]
[INFO] JGit - Apache httpclient based HTTP support ........ SUCCESS [  9.243 s]
[INFO] JGit - HTTP Server ................................. SUCCESS [ 14.982 s]
[INFO] JGit - Command Line Interface ...................... SUCCESS [ 22.716 s]
[INFO] JGit - JUnit Utility Classes ....................... SUCCESS [ 14.940 s]
[INFO] JGit - JUnit Http Utility Classes .................. SUCCESS [ 12.845 s]
[INFO] JGit - Core Tests .................................. SUCCESS [01:25 min]
[INFO] JGit - Ant Tasks Tests ............................. SUCCESS [  1.966 s]
[INFO] JGit - HTTP Tests .................................. FAILURE [  9.105 s]
[INFO] JGit - Command Line Interface Tests ................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:56 min
[INFO] Finished at: 2016-01-03T18:35:49-05:00
[INFO] Final Memory: 66M/1908M
[INFO] ------------------------------------------------------------------------
[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project org.eclipse.jgit.http.test: There are test failures.

Please refer to /jobs/genie.jgit/jgit2/workspace/org.eclipse.jgit.http.test/target/surefire-reports for the individual test results.
[DEBUG] Closing connection to remote
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project org.eclipse.jgit.http.test: There are test failures.
[ERROR] 
[ERROR] Please refer to /jobs/genie.jgit/jgit2/workspace/org.eclipse.jgit.http.test/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project org.eclipse.jgit.http.test: There are test failures.

Please refer to /jobs/genie.jgit/jgit2/workspace/org.eclipse.jgit.http.test/target/surefire-reports for the individual test results.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to /jobs/genie.jgit/jgit2/workspace/org.eclipse.jgit.http.test/target/surefire-reports for the individual test results.
	at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:82)
	at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:254)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:854)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:722)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 20 more
[ERROR] 
[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.http.test
[DEBUG] Waiting for process to finish
[DEBUG] Result: 1
[FINDBUGS] Skipping publisher since build result is FAILURE
[DRY] Skipping publisher since build result is FAILURE
Recording test results
Archiving artifacts
Publishing Javadoc

--
This message is automatically generated by Hudson. 
For more information on Hudson, see: http://hudson-ci.org/


Back to the top