Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Fwd: [egit-build] Build failed in Hudson: egit #516

Passes for me on linux:
$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"

I saw several races in the Sync tests from time to time. The reason is
(as far as I found out), that we are using two Repository instances
for the same physical repository and they may be out of sync depending
on the timing. But it doesn't seem to be the problem for the failing
test.

> On Thu, Sep 9, 2010 at 12:19 AM, Robert Munteanu
> <robert.munteanu@xxxxxxxxx> wrote:
>> Tests pass for me
>>
>> robert@neghvar:~> cat /etc/*-release
>> openSUSE 11.3 (i586)
>> VERSION = 11.3
>> robert@neghvar:~> java -version
>> java version "1.6.0_20"
>> Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
>> Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)
>>
>> On Thu, Sep 9, 2010 at 12:58 AM, Matthias Sohn
>> <matthias.sohn@xxxxxxxxxxxxxx> wrote:
>>> I switched on egit core tests on hudson, unfortunately they hit an error, I
>>> tried to reproduce
>>> but on Mac OS X 10.6.4 all tests pass.
>>> Could someone try to reproduce the error on Linux ? build.eclipse.org/hudson
>>> runs on SLES 11:
>>> msohn@build:~> cat /etc/*-release
>>> LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-ppc64:core-3.2-ppc64:core-4.0-ppc64"
>>> SUSE Linux Enterprise Server 11 (ppc64)
>>> VERSION = 11
>>> PATCHLEVEL = 1
>>> --
>>> Matthias
>>> ---------- Forwarded message ----------
>>> From: Hudson Builder ' <hudsonbuild@xxxxxxxxxxx>
>>> Date: 2010/9/8
>>> Subject: [egit-build] Build failed in Hudson: egit #516
>>> To: egit-build@xxxxxxxxxxx, matthias.sohn@xxxxxxx
>>>
>>>
>>> See <https://build.eclipse.org/hudson/job/egit/516/>
>>>
>>> ------------------------------------------
>>> [...truncated
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building Test Plug-in (Incubation) 0.9.0-SNAPSHOT
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO]
>>> [INFO] --- maven-clean-plugin:2.4:clean (default-clean) @
>>> org.eclipse.egit.core.test ---
>>> [INFO] Deleting
>>> <https://build.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target>
>>> [INFO]
>>> [INFO] --- maven-osgi-packaging-plugin:0.9.0:build-qualifier
>>> (default-build-qualifier) @ org.eclipse.egit.core.test ---
>>> [INFO]
>>> [INFO] --- maven-osgi-packaging-plugin:0.9.0:validate-version
>>> (default-validate-version) @ org.eclipse.egit.core.test ---
>>> [INFO]
>>> [INFO] --- maven-resources-plugin:2.4.1:resources (default-resources) @
>>> org.eclipse.egit.core.test ---
>>> [INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
>>> [INFO] skip non existing resourceDirectory
>>> <https://build.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/src/main/resources>
>>> [INFO]
>>> [INFO] --- maven-osgi-compiler-plugin:0.9.0:compile (default-compile) @
>>> org.eclipse.egit.core.test ---
>>> [INFO] Using compile source roots from build.properties
>>> [INFO] Compiling 25 source files to
>>> <https://build.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target/classes>
>>>
>>> [INFO]
>>> [INFO] --- maven-resources-plugin:2.4.1:testResources
>>> (default-testResources) @ org.eclipse.egit.core.test ---
>>> [INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
>>> [INFO] skip non existing resourceDirectory
>>> <https://build.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/src/test/resources>
>>> [INFO]
>>> [INFO] --- maven-osgi-compiler-plugin:0.9.0:testCompile
>>> (default-testCompile) @ org.eclipse.egit.core.test ---
>>> [INFO] Using compile source roots from build.properties
>>> [INFO] Nothing to compile - all classes are up to date
>>> [INFO]
>>> [INFO] --- maven-osgi-packaging-plugin:0.9.0:package-plugin
>>> (default-package-plugin) @ org.eclipse.egit.core.test ---
>>> [INFO] Building jar:
>>> <https://build.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target/org.eclipse.egit.core.test-0.9.0-SNAPSHOT.jar>
>>> [INFO]
>>> [INFO] --- tycho-p2-plugin:0.9.0:p2-metadata (default-p2-metadata) @
>>> org.eclipse.egit.core.test ---
>>> [INFO]
>>> [INFO] --- maven-osgi-test-plugin:0.9.0:test (default-test) @
>>> org.eclipse.egit.core.test ---
>>> [INFO] Adding repository
>>> https://build.eclipse.org/hudson/job/jgit/lastSuccessfulBuild/artifact/org.eclipse.jgit.packaging/org.eclipse.jgit.updatesite/target/site/
>>> [INFO] Adding repository
>>> https://build.eclipse.org/hudson/job/jgit/lastSuccessfulBuild/artifact/org.eclipse.jgit.packaging/org.eclipse.jgit.updatesite/target/site/
>>> [INFO] Adding repository http://download.eclipse.org/releases/helios
>>> [INFO] Adding repository http://download.eclipse.org/releases/helios
>>> [INFO] Adding repository
>>> http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site
>>> [INFO] Adding repository
>>> http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site
>>> [INFO] Adding repository
>>> http://download.eclipse.org/tools/mylyn/update/weekly
>>> [INFO] Adding repository
>>> http://download.eclipse.org/tools/mylyn/update/weekly
>>> [INFO] Downloading org.eclipse.equinox.launcher
>>> [INFO] Downloading org.eclipse.equinox.launcher
>>> [INFO] Fetching download.php (0B of 2.46kB at 0B/s) from
>>> http://www.eclipse.org/downloads/download.php?file=/eclipse/updates/3.6/R-3.6-201006080911&format=xml&countryCode=us&timeZone=-5&format=xml
>>> [INFO] Fetching download.php (1.75kB of 2.46kB at 0B/s) from
>>> http://www.eclipse.org/downloads/download.php?file=/eclipse/updates/3.6/R-3.6-201006080911&format=xml&countryCode=us&timeZone=-5&format=xml
>>> [INFO] Fetching org.eclipse.equinox.launcher_1.1.0.v20100507.jar.pack.gz (0B
>>> of 25.06kB at 0B/s) from
>>> ftp://ftp.cse.buffalo.edu/pub/Eclipse/eclipse/updates/3.6/R-3.6-201006080911/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar.pack.gz
>>> [INFO] Fetching org.eclipse.equinox.launcher_1.1.0.v20100507.jar.pack.gz
>>> (1.38kB of 25.06kB at 0B/s) from
>>> ftp://ftp.cse.buffalo.edu/pub/Eclipse/eclipse/updates/3.6/R-3.6-201006080911/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar.pack.gz
>>> [INFO] 1 operation remaining.
>>> [INFO] Expected eclipse log file:
>>> <https://build.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target/work/data/.metadata/.log>
>>> [INFO] Command line:
>>>        /bin/sh -c cd
>>> <https://build.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test> &&
>>> /opt/public/common/ibm-java-jdk-ppc-60/jre/bin/java -Dosgi.noShutdown=false
>>> -Dosgi.os=linux -Dosgi.ws=gtk -Dosgi.arch=ppc -jar
>>> <https://build.eclipse.org/hudson/job/egit/ws/.repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.1.0.v20100507/org.eclipse.equinox.launcher-1.1.0.v20100507.jar>
>>> -data
>>> <https://build.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target/work/data>
>>> -dev
>>> <https://build.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target/dev.properties>
>>> -install
>>> <https://build.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target/work>
>>> -configuration
>>> <https://build.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target/work/configuration>
>>> -application org.sonatype.tycho.surefire.osgibooter.headlesstest
>>> -testproperties
>>> <https://build.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.TrackUntrackOperationTest
>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.877 sec
>>> Running org.eclipse.egit.core.test.op.DiscardChangesOperationTest
>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.17 sec
>>> Running org.eclipse.egit.core.test.op.ListRemoteOperationTest
>>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.628 sec
>>> Running org.eclipse.egit.core.test.op.BranchOperationTest
>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.833 sec
>>> Running org.eclipse.egit.core.test.op.AddOperationTest
>>> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.946 sec
>>> Running org.eclipse.egit.core.synchronize.GitResourceVariantComparatorTest
>>> Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.212 sec
>>> Running org.eclipse.egit.core.internal.storage.BlobStorageTest
>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.377 sec
>>> Running org.eclipse.egit.core.test.op.ConnectProviderOperationTest
>>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.32 sec
>>> Running org.eclipse.egit.core.test.op.TagOperationTest
>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 sec
>>> Running org.eclipse.egit.core.test.op.PushOperationTest
>>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.706 sec
>>> Running org.eclipse.egit.core.synchronize.GitResourceVariantTreeTest
>>> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.888 sec
>>> <<< FAILURE!
>>> shouldReturnTwoRoots(org.eclipse.egit.core.synchronize.GitResourceVariantTreeTest)
>>>  Time elapsed: 0.209 sec  <<< FAILURE!
>>> java.lang.AssertionError: expected:<P/Project-1> but was:<P/Project-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:145)
>>>        at
>>> org.eclipse.egit.core.synchronize.GitResourceVariantTreeTest.shouldReturnTwoRoots(GitResourceVariantTreeTest.java:124)
>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>        at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
>>>        at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>>>        at java.lang.reflect.Method.invoke(Method.java:599)
>>>        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:45)
>>>        at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>>>        at java.lang.reflect.Method.invoke(Method.java:599)
>>>        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:45)
>>>        at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>>>        at java.lang.reflect.Method.invoke(Method.java:599)
>>>        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
>>>        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
>>>        at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
>>>        at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
>>>
>>> Running org.eclipse.egit.core.test.internal.mapping.HistoryTest
>>> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.861 sec
>>> Running org.eclipse.egit.core.test.op.CommitOperationTest
>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.121 sec
>>> Running org.eclipse.egit.core.test.op.IgnoreOperationTest
>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.384 sec
>>> Running org.eclipse.egit.core.test.AdaptableFileTreeIteratorTest
>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 sec
>>> Running
>>> org.eclipse.egit.core.synchronize.GitResourceVariantTreeSubscriberTest
>>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.133 sec
>>> Running org.eclipse.egit.core.test.op.ResetOperationTest
>>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.315 sec
>>>
>>> Results :
>>>
>>> Failed tests:
>>>  shouldReturnTwoRoots(org.eclipse.egit.core.synchronize.GitResourceVariantTreeTest)
>>>
>>> Tests run: 71, Failures: 1, Errors: 0, Skipped: 2
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] EGit Parent (Incubation) .......................... SUCCESS [0.382s]
>>> [INFO] Eclipse Git (Incubation) .......................... SUCCESS [3.222s]
>>> [INFO] Git Team Provider (Core) (Incubation) ............. SUCCESS [8.420s]
>>> [INFO] Git Team Provider (UI) (Incubation) ............... SUCCESS [9.960s]
>>> [INFO] Git Team Provider (Documentation) (Incubation) .... SUCCESS [2.321s]
>>> [INFO] Eclipse Git Feature (Incubation) .................. SUCCESS [0.918s]
>>> [INFO] Eclipse EGit Sources Feature (Incubation) ......... SUCCESS [0.857s]
>>> [INFO] Eclipse Git Plugin Update Site (Incubation) ....... SUCCESS [9.810s]
>>> [INFO] Test Plug-in (Incubation) ......................... FAILURE [31.295s]
>>> [INFO] EGit UI Test Plug-in (Incubation) ................. SKIPPED
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 1:26.235s
>>> [INFO] Finished at: Wed Sep 08 17:37:22 EDT 2010
>>> [INFO] Final Memory: 65M/154M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal
>>> org.sonatype.tycho:maven-osgi-test-plugin:0.9.0:test (default-test) on
>>> project org.eclipse.egit.core.test: There are test failures.
>>>
>>> Please refer to
>>> <https://build.eclipse.org/hudson/job/egit/ws/org.eclipse.egit.core.test/target/surefire-reports>
>>> for the individual test results.
>>> -> [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.egit.core.test
>>> Terminating xvnc.
>>> Archiving artifacts
>>> Recording test results
>>>
>>> _______________________________________________
>>> egit-build mailing list
>>> egit-build@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/egit-build
>>>
>>>
>>> _______________________________________________
>>> egit-dev mailing list
>>> egit-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/egit-dev
>>>
>>>
>>
>>
>>
>> --
>> Sent from my (old) computer
>> _______________________________________________
>> egit-dev mailing list
>> egit-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/egit-dev
>>
>


Back to the top