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 #2202

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

Changes:

[Kevin Sawicki] Add tests for ProjectUtil

------------------------------------------
[...truncated 1962 lines...]
Running org.eclipse.egit.core.synchronize.ThreeWayDiffEntryTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.255 sec
Running org.eclipse.egit.core.test.GitProjectSetCapabilityTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.27 sec
Running org.eclipse.egit.core.test.op.CommitOperationTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.619 sec
Running org.eclipse.egit.core.internal.storage.BlobStorageTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.394 sec
Running org.eclipse.egit.core.synchronize.StagedChangeCacheTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.323 sec
Running org.eclipse.egit.core.synchronize.GitCommitsModelCacheTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.475 sec
Running org.eclipse.egit.core.synchronize.ChangeTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.eclipse.egit.core.internal.util.ProjectUtilTest
Tests run: 10, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.882 sec <<< FAILURE!
testGetValidOpenProjects(org.eclipse.egit.core.internal.util.ProjectUtilTest)  Time elapsed: 0.042 sec  <<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<2>
	at org.junit.Assert.fail(Assert.java:91)
	at org.junit.Assert.failNotEquals(Assert.java:645)
	at org.junit.Assert.assertEquals(Assert.java:126)
	at org.junit.Assert.assertEquals(Assert.java:470)
	at org.junit.Assert.assertEquals(Assert.java:454)
	at org.eclipse.egit.core.internal.util.ProjectUtilTest.testGetValidOpenProjects(ProjectUtilTest.java:55)
	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.runNotIgnored(BlockJUnit4ClassRunner.java:79)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
	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.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:72)
	at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21)
	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:344)
	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:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

testGetValidOpenProjectsClosedProject(org.eclipse.egit.core.internal.util.ProjectUtilTest)  Time elapsed: 0.041 sec  <<< FAILURE!
java.lang.AssertionError: expected:<0> but was:<1>
	at org.junit.Assert.fail(Assert.java:91)
	at org.junit.Assert.failNotEquals(Assert.java:645)
	at org.junit.Assert.assertEquals(Assert.java:126)
	at org.junit.Assert.assertEquals(Assert.java:470)
	at org.junit.Assert.assertEquals(Assert.java:454)
	at org.eclipse.egit.core.internal.util.ProjectUtilTest.testGetValidOpenProjectsClosedProject(ProjectUtilTest.java:65)
	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.runNotIgnored(BlockJUnit4ClassRunner.java:79)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
	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.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:72)
	at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21)
	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:344)
	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:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

Running org.eclipse.egit.core.test.AdaptableFileTreeIteratorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.086 sec
Running org.eclipse.egit.core.test.op.PushOperationTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.642 sec
Running org.eclipse.egit.core.synchronize.GitSubscriberMergeContextTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec
Running org.eclipse.egit.core.synchronize.WorkingTreeChangeCacheTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.303 sec
Running org.eclipse.egit.core.test.op.DiscardChangesOperationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 sec
Running org.eclipse.egit.core.test.EclipseGitProgressTransformerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
Running org.eclipse.egit.core.test.op.TrackUntrackOperationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.089 sec
Running org.eclipse.egit.core.test.ProjectReferenceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.eclipse.egit.core.test.op.ListRemoteOperationTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.559 sec
Running org.eclipse.egit.core.test.op.BranchOperationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 sec
Running org.eclipse.egit.core.test.op.IgnoreOperationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.387 sec
Running org.eclipse.egit.core.synchronize.GitResourceVariantComparatorTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.165 sec
Running org.eclipse.egit.core.synchronize.GitResourceVariantTreeTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.677 sec
Running org.eclipse.egit.core.test.GitURITest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.eclipse.egit.core.synchronize.dto.GitSynchronizeDataTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.235 sec
Running org.eclipse.egit.core.test.op.CloneOperationTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.688 sec
Running org.eclipse.egit.core.test.op.ConnectProviderOperationTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.124 sec
Running org.eclipse.egit.core.synchronize.GitResourceVariantTreeSubscriberTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.074 sec
Running org.eclipse.egit.core.test.op.TagOperationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
Running org.eclipse.egit.core.test.op.RebaseOperationTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.404 sec
Running org.eclipse.egit.core.test.op.CreatePatchOperationTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.535 sec
Running org.eclipse.egit.core.test.internal.mapping.HistoryTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.478 sec
Running org.eclipse.egit.core.test.op.ResetOperationTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.196 sec
Running org.eclipse.egit.core.test.UtilsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec

Results :

Failed tests: 
  testGetValidOpenProjects(org.eclipse.egit.core.internal.util.ProjectUtilTest)
  testGetValidOpenProjectsClosedProject(org.eclipse.egit.core.internal.util.ProjectUtilTest)

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] EGit Parent ....................................... SUCCESS [6.947s]
[INFO] Eclipse EGit ...................................... SUCCESS [2.109s]
[INFO] Git Team Provider (Core) .......................... SUCCESS [33.898s]
[INFO] Git Team Provider (UI) ............................ SUCCESS [1:25.423s]
[INFO] EGit Mylyn UI ..................................... SUCCESS [10.122s]
[INFO] EGit Mylyn Feature ................................ SUCCESS [1.168s]
[INFO] EGit Team Project Set Support ..................... SUCCESS [1.157s]
[INFO] Git Team Provider (Documentation) ................. SUCCESS [2.002s]
[INFO] Eclipse EGit Feature .............................. SUCCESS [1.222s]
[INFO] Eclipse EGit Sources Feature ...................... SUCCESS [1.228s]
[INFO] Eclipse Git Plugin Update Site .................... SUCCESS [3:22.762s]
[INFO] EGit Core Test Plug-in ............................ FAILURE [29.648s]
[INFO] EGit UI Test Plug-in .............................. SKIPPED
[INFO] EGit Mylyn UI Test Plug-in ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7:19.885s
[INFO] Finished at: Mon Mar 19 13:21:24 EDT 2012
[INFO] Final Memory: 115M/647M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.12.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.eclipse.tycho:tycho-surefire-plugin:0.12.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:213)
	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: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:319)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	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.eclipse.tycho.surefire.TestMojo.execute(TestMojo.java:353)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 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
Terminating xvnc.
Window manager warning: Fatal IO error 11 (Resource temporarily unavailable) on display ':10'.
[DRY] Skipping publisher since build result is FAILURE
[FINDBUGS] Skipping publisher since build result is FAILURE
Recording test results
Archiving artifacts



Back to the top