Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[egit-build] Build failed in Hudson: egit #1110

See <https://hudson.eclipse.org/hudson/job/egit/1110/changes>

Changes:

[Jens Baumgart] Fix Typo in CommitOperationTest

[Chris Aniszczyk] Respect ignore rules in info/exclude and core.excludesfile

[Jens Baumgart] Add Tests for CommitOperation

------------------------------------------
[...truncated 1233 lines...]
[INFO] Expected eclipse log file: <https://hudson.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target/work/data/.metadata/.log>
[INFO] Command line:
	/bin/sh -c cd <https://hudson.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test> && /opt/public/common/sun-jdk1.6.0_21_x64/jre/bin/java -Dosgi.noShutdown=false -Dosgi.os=linux -Dosgi.ws=gtk -Dosgi.arch=x86_64 -jar <https://hudson.eclipse.org/hudson/job/egit/ws/.repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.1.1.R36x_v20101122_1400/org.eclipse.equinox.launcher-1.1.1.R36x_v20101122_1400.jar> -data <https://hudson.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target/work/data> -dev <https://hudson.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target/dev.properties> -install <https://hudson.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target/work> -configuration <https://hudson.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target/work/configuration> -application org.sonatype.tycho.surefire.osgibooter.headlesstest -testproperties <https://hudson.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target/surefire.properties>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.eclipse.egit.core.test.op.AddOperationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.621 sec
Running org.eclipse.egit.core.test.op.DiscardChangesOperationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
Running org.eclipse.egit.core.securestorage.EGitSecureStoreTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.375 sec
Running org.eclipse.egit.core.test.op.TrackUntrackOperationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 sec
Running org.eclipse.egit.core.test.op.ListRemoteOperationTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.317 sec
Running org.eclipse.egit.core.test.op.BranchOperationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 sec
Running org.eclipse.egit.core.test.op.CommitOperationTest
Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 2.745 sec <<< FAILURE!
testCommitStaged(org.eclipse.egit.core.test.op.CommitOperationTest)  Time elapsed: 0.071 sec  <<< FAILURE!
java.lang.AssertionError: File foo/a.txt has repository content some text instead of expected content new content of A
	at org.junit.Assert.fail(Assert.java:91)
	at org.eclipse.egit.core.test.TestUtils.assertRepositoryContainsFilesWithContent(TestUtils.java:228)
	at org.eclipse.egit.core.test.op.CommitOperationTest.testCommitStaged(CommitOperationTest.java:248)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	at org.codehaus.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:75)
	at org.codehaus.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:11)
	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.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

testCommitIndexSubset(org.eclipse.egit.core.test.op.CommitOperationTest)  Time elapsed: 0.065 sec  <<< FAILURE!
java.lang.AssertionError: File foo/a.txt has repository content some text instead of expected content new content of A
	at org.junit.Assert.fail(Assert.java:91)
	at org.eclipse.egit.core.test.TestUtils.assertRepositoryContainsFilesWithContent(TestUtils.java:228)
	at org.eclipse.egit.core.test.op.CommitOperationTest.testCommitIndexSubset(CommitOperationTest.java:278)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	at org.codehaus.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:75)
	at org.codehaus.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:11)
	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.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

Running org.eclipse.egit.core.internal.storage.BlobStorageTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.166 sec
Running org.eclipse.egit.core.test.op.IgnoreOperationTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.199 sec
Running org.eclipse.egit.core.synchronize.GitResourceVariantComparatorTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.508 sec
Running org.eclipse.egit.core.synchronize.GitResourceVariantTreeTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.462 sec
Running org.eclipse.egit.core.test.op.ConnectProviderOperationTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.127 sec
Running org.eclipse.egit.core.synchronize.GitResourceVariantTreeSubscriberTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.089 sec
Running org.eclipse.egit.core.test.internal.mapping.HistoryTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.452 sec
Running org.eclipse.egit.core.test.op.RebaseOperationTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.383 sec
Running org.eclipse.egit.core.test.op.TagOperationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running org.eclipse.egit.core.test.op.ResetOperationTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.174 sec
Running org.eclipse.egit.core.test.AdaptableFileTreeIteratorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec
Running org.eclipse.egit.core.test.op.PushOperationTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.321 sec

Results :

Failed tests: 
  testCommitStaged(org.eclipse.egit.core.test.op.CommitOperationTest)
  testCommitIndexSubset(org.eclipse.egit.core.test.op.CommitOperationTest)

Tests run: 89, Failures: 2, Errors: 0, Skipped: 3

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] EGit Parent (Incubation) .......................... SUCCESS [0.248s]
[INFO] Eclipse Git (Incubation) .......................... SUCCESS [5.176s]
[INFO] Git Team Provider (Core) (Incubation) ............. SUCCESS [24.812s]
[INFO] Git Team Provider (UI) (Incubation) ............... SUCCESS [56.337s]
[INFO] EGit Mylyn UI (Incubation) ........................ SUCCESS [10.728s]
[INFO] EGit Mylyn Feature (Incubation) ................... SUCCESS [3.268s]
[INFO] Git Team Provider (Documentation) (Incubation) .... SUCCESS [4.215s]
[INFO] Eclipse Git Feature (Incubation) .................. SUCCESS [3.143s]
[INFO] Eclipse EGit Sources Feature (Incubation) ......... SUCCESS [3.576s]
[INFO] Eclipse Git Plugin Update Site (Incubation) ....... SUCCESS [9.517s]
[INFO] Test Plug-in (Incubation) ......................... FAILURE [19.457s]
[INFO] EGit UI Test Plug-in (Incubation) ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:36.256s
[INFO] Finished at: Mon Mar 07 15:15:18 EST 2011
[INFO] Final Memory: 199M/2064M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.tycho:maven-osgi-test-plugin:0.10.0:test (default-test) on project org.eclipse.egit.core.test: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://hudson.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target/surefire-reports> for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonatype.tycho:maven-osgi-test-plugin:0.10.0:test (default-test) on project org.eclipse.egit.core.test: There are test failures.

Please refer to <https://hudson.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target/surefire-reports> for the individual test results.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
	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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to <https://hudson.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target/surefire-reports> for the individual test results.
	at org.codehaus.tycho.osgitest.TestMojo.execute(TestMojo.java:401)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
	... 19 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.egit.core.test
Window manager warning: Fatal IO error 11 (Resource temporarily unavailable) on display ':10'.
ERROR: Failed to archive artifacts: org.eclipse.egit-updatesite/target/site/**
hudson.util.IOException2: Failed to extract <https://hudson.eclipse.org/hudson/job/egit/1110/artifact/org.eclipse.egit-updatesite/target/site/**>
	at hudson.FilePath.readFromTar(FilePath.java:1577)
	at hudson.FilePath.copyRecursiveTo(FilePath.java:1491)
	at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:117)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
	at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603)
	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582)
	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560)
	at hudson.model.Build$RunnerImpl.post2(Build.java:156)
	at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529)
	at hudson.model.Run.run(Run.java:1361)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:140)
Caused by: java.io.IOException
	at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175)
	at hudson.util.HeadBufferingStream.read(HeadBufferingStream.java:61)
	at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:221)
	at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
	at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:92)
	at org.apache.tools.tar.TarBuffer.readBlock(TarBuffer.java:257)
	at org.apache.tools.tar.TarBuffer.readRecord(TarBuffer.java:223)
	at hudson.org.apache.tools.tar.TarInputStream.read(TarInputStream.java:345)
	at java.io.FilterInputStream.read(FilterInputStream.java:90)
	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025)
	at org.apache.commons.io.IOUtils.copy(IOUtils.java:999)
	at hudson.util.IOUtils.copy(IOUtils.java:33)
	at hudson.FilePath.readFromTar(FilePath.java:1565)
	... 12 more
Recording test results
Failed to send e-mail to Jens Baumgart because no e-mail address is known, and no default e-mail domain is configured
Failed to send e-mail to Matthias Sohn because no e-mail address is known, and no default e-mail domain is configured
Failed to send e-mail to Chris Aniszczyk because no e-mail address is known, and no default e-mail domain is configured



Back to the top