Thanks Andrey. I have a fix, and all the UI tests now pass locally on my box. I was lazy and assumed Gerrit had verified that it passed all tests, but it seems that most of the tests aren’t running due to a hamcrest mismatch.
How do we ensure that these failures to run tests are marked as a failure?
Brian.
Command-line arguments: -data /jobs/genie.platform/eclipse.platform.ui-Gerrit/workspace/tests/org.eclipse.ui.tests/target/work/data -application org.eclipse.tycho.surefire.osgibooter.uitest -testproperties /jobs/genie.platform/eclipse.platform.ui-Gerrit/workspace/tests/org.eclipse.ui.tests/target/surefire.properties !ENTRY org.eclipse.ui.tests 4 0 2015-04-10 12:06:29.141 !MESSAGE FrameworkEvent ERROR org.osgi.framework.BundleException: Could not resolve module: org.eclipse.ui.tests [106] Unresolved requirement: Require-Bundle: org.mockito; bundle-version="1.8.4" -> Bundle-SymbolicName: org.mockito; bundle-version="1.8.4.v201303031500" Unresolved requirement: Import-Package: org.apache.tools.ant; resolution:="optional" Unresolved requirement: Import-Package: org.apache.tools.ant.types; resolution:="optional" Unresolved requirement: Import-Package: org.hamcrest; version=“[1.0.0,2.0.0)" […] !ENTRY org.mockito 4 0 2015-04-10 12:06:29.142 !MESSAGE FrameworkEvent ERROR org.osgi.framework.BundleException: Could not resolve module: org.mockito [109] Unresolved requirement: Import-Package: org.apache.tools.ant; resolution:="optional" Unresolved requirement: Import-Package: org.apache.tools.ant.types; resolution:="optional" Unresolved requirement: Import-Package: org.hamcrest; version="[1.0.0,2.0.0)"
On 10-Apr-2015, at 6:02 PM, Andrey Loskutov <loskutov@xxxxxx> wrote:
Hi,
I haven't tried to analyze, but the the failures below appeared after integration of https://git.eclipse.org/r/41337/ (commit 21a06ea739e3c429b7ba3a60d0254673d0cd0b5e, bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=457939).
Hope this helps.
testBug334580_01(org.eclipse.e4.ui.tests.workbench.PartRenderingEngineTests) junit.framework.AssertionFailedError at junit.framework.Assert.fail(Assert.java:55) at junit.framework.Assert.assertTrue(Assert.java:22) at junit.framework.Assert.assertTrue(Assert.java:31) at junit.framework.TestCase.assertTrue(TestCase.java:201) at org.eclipse.e4.ui.tests.workbench.PartRenderingEngineTests.testBug334580_01(PartRenderingEngineTests.java:2290)
testRemoveGuiBug324228_2(org.eclipse.e4.ui.tests.workbench.PartRenderingEngineTests) junit.framework.AssertionFailedError: expected:<PerspectiveImpl (perspectiveA) Context> but was:<PerspectiveImpl (perspectiveB) Context> at junit.framework.Assert.fail(Assert.java:57) at junit.framework.Assert.failNotEquals(Assert.java:329) at junit.framework.Assert.assertEquals(Assert.java:78) at junit.framework.Assert.assertEquals(Assert.java:86) at junit.framework.TestCase.assertEquals(TestCase.java:253) at org.eclipse.e4.ui.tests.workbench.PartRenderingEngineTests.testRemoveGuiBug324228_2(PartRenderingEngineTests.java:1149)
testRemoveGuiBug324228_3(org.eclipse.e4.ui.tests.workbench.PartRenderingEngineTests) junit.framework.AssertionFailedError: expected:<PerspectiveImpl (perspectiveA) Context> but was:<PerspectiveImpl (perspectiveB) Context> at junit.framework.Assert.fail(Assert.java:57) at junit.framework.Assert.failNotEquals(Assert.java:329) at junit.framework.Assert.assertEquals(Assert.java:78) at junit.framework.Assert.assertEquals(Assert.java:86) at junit.framework.TestCase.assertEquals(TestCase.java:253) at org.eclipse.e4.ui.tests.workbench.PartRenderingEngineTests.testRemoveGuiBug324228_3(PartRenderingEngineTests.java:1208)
testBug327701(org.eclipse.e4.ui.tests.workbench.PartRenderingEngineTests) junit.framework.AssertionFailedError: expected:<PerspectiveImplContext> but was:<null> at junit.framework.Assert.fail(Assert.java:57) at junit.framework.Assert.failNotEquals(Assert.java:329) at junit.framework.Assert.assertEquals(Assert.java:78) at junit.framework.Assert.assertEquals(Assert.java:86) at junit.framework.TestCase.assertEquals(TestCase.java:253) at org.eclipse.e4.ui.tests.workbench.PartRenderingEngineTests.testBug327701(PartRenderingEngineTests.java:1440)
testRemoveGui_Bug332163(org.eclipse.e4.ui.tests.workbench.PartRenderingEngineTests) junit.framework.AssertionFailedError: expected:<PerspectiveImplContext> but was:<PerspectiveImplContext> at junit.framework.Assert.fail(Assert.java:57) at junit.framework.Assert.failNotEquals(Assert.java:329) at junit.framework.Assert.assertEquals(Assert.java:78) at junit.framework.Assert.assertEquals(Assert.java:86) at junit.framework.TestCase.assertEquals(TestCase.java:253) at org.eclipse.e4.ui.tests.workbench.PartRenderingEngineTests.testRemoveGui_Bug332163(PartRenderingEngineTests.java:1725)
On Friday 10 April 2015 10:26 Lars Vogel wrote:
Two of these failing tests are related to Bug 437958.
testXPathModelProcessor testModelProcessor
The failing tests in eclipse.ua seem related to our recent adjustments in Bug 429546.
We follow up on these in the corresponding bug reports.
For the following tests I'm not yet sure why they are failing. I'm currently working on something with a pressing deadline, so if someone from the eclipse.platform.ui team could take a look, that would be awesome.
testRemoveGuiBug324228_2 testRemoveGuiBug324228_3 testBug327701 testRemoveGui_Bug332163
On Fri, Apr 10, 2015 at 1:48 AM, David M Williams <david_williams@xxxxxxxxxx
wrote:
In case you didn't notice, those Linux tests are now complete. (I did have to re-run them, not sure what happened to Hudson that would allow Windows and Mac to finish, but not Linux!)
Also, I assume everyone's aware of the 20 or so unit tests that have been failing regularly, on all platforms? Too many for me to hunt down and/or open bugs on, so hope team leads are. Of course, I guess we did not have a good "N-build" test run either last night (since Hudson was down) ... so, maybe fixed already?
Thanks,
From: David M Williams/Raleigh/IBM@IBMUS To: "Eclipse platform release engineering list." < platform-releng-dev@xxxxxxxxxxx>, Date: 04/09/2015 03:19 AM Subject: Re: [platform-releng-dev] 4.5.0 I-Build: I20150408-1100 - Linux Tests? Sent by: platform-releng-dev-bounces@xxxxxxxxxxx ------------------------------
I'm not sure what happened to the Linux unit tests for this build, and at the moment it seems Hudson needs to be restarted? (*Bug 464232* <https://bugs.eclipse.org/bugs/show_bug.cgi?id=464232> )
I'll look at closer later on Thursday once access comes back, and either re-run the tests (if they never ran) or re-run the "summary scripts" if the tests ran, but were simply not gathered.
Just letting everyone know.
From: e4Builder@xxxxxxxxxxx To: platform-releng-dev@xxxxxxxxxxx, Date: 04/08/2015 01:43 PM Subject: [platform-releng-dev] 4.5.0 I-Build: I20150408-1100 Sent by: platform-releng-dev-bounces@xxxxxxxxxxx ------------------------------
Eclipse downloads: *http://download.eclipse.org/eclipse/downloads/drops4/I20150408-1100/* <http://download.eclipse.org/eclipse/downloads/drops4/I20150408-1100/>
Build logs and/or test results (eventually):
*http://download.eclipse.org/eclipse/downloads/drops4/I20150408-1100/testResults.php* <http://download.eclipse.org/eclipse/downloads/drops4/I20150408-1100/testResults.php>
Software site repository: *http://download.eclipse.org/eclipse/updates/4.5-I-builds* <http://download.eclipse.org/eclipse/updates/4.5-I-builds>
Specific (simple) site repository: *http://download.eclipse.org/eclipse/updates/4.5-I-builds/I20150408-1100* <http://download.eclipse.org/eclipse/updates/4.5-I-builds/I20150408-1100>
Equinox downloads: *http://download.eclipse.org/equinox/drops/I20150408-1100* <http://download.eclipse.org/equinox/drops/I20150408-1100>
-- Kind regards, google.com/+AndreyLoskutov _______________________________________________ platform-releng-dev mailing list platform-releng-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/platform-releng-dev
|