[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ice-dev] test failures
|
Yes, I should have... #clicksButtonToAddGreg
Jay
Jay Jay Billings
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings
________________________________________
From: ice-dev-bounces@xxxxxxxxxxx <ice-dev-bounces@xxxxxxxxxxx> on behalf of Smith, Robert W. <smithrw@xxxxxxxx>
Sent: Wednesday, February 24, 2016 11:24 AM
To: ice developer discussions
Subject: Re: [ice-dev] test failures
Greg,
Have you pulled down https://github.com/jayjaybillings/ICETests and placed the ICETests folder in your homer directory? It's a private repo, but Jay should have given you access to it.
Robert
________________________________________
From: ice-dev-bounces@xxxxxxxxxxx <ice-dev-bounces@xxxxxxxxxxx> on behalf of Greg Watson <greg@watson.earth>
Sent: Wednesday, February 24, 2016 11:19 AM
To: ice developer discussions
Subject: Re: [ice-dev] test failures
Ok, well the widget tests passed, but now the org.eclipse.ice.datastructures.test tests are failing:
Tests run: 5, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.136 sec <<< FAILURE! - in org.eclipse.ice.datastructures.entry.test.FileEntryTester
checkAllowedValues(org.eclipse.ice.datastructures.entry.test.FileEntryTester) Time elapsed: 0.001 sec <<< FAILURE!
java.lang.AssertionError: expected:<13> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at org.eclipse.ice.datastructures.entry.test.FileEntryTester.checkAllowedValues(FileEntryTester.java:109)
checkEquality(org.eclipse.ice.datastructures.entry.test.FileEntryTester) Time elapsed: 0 sec
checkXMLPersistence(org.eclipse.ice.datastructures.entry.test.FileEntryTester) Time elapsed: 0.01 sec
checkSetValue(org.eclipse.ice.datastructures.entry.test.FileEntryTester) Time elapsed: 0 sec <<< FAILURE!
java.lang.AssertionError: null
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at org.eclipse.ice.datastructures.entry.test.FileEntryTester.checkSetValue(FileEntryTester.java:157)
…
Running org.eclipse.ice.datastructures.test.ResourceHandlerTester
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec <<< FAILURE! - in org.eclipse.ice.datastructures.test.ResourceHandlerTester
checkGettingResource(org.eclipse.ice.datastructures.test.ResourceHandlerTester) Time elapsed: 0.001 sec <<< FAILURE!
java.lang.AssertionError: null
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertNotNull(Assert.java:712)
at org.junit.Assert.assertNotNull(Assert.java:722)
at org.eclipse.ice.datastructures.test.ResourceHandlerTester.checkGettingResource(ResourceHandlerTester.java:63)
…
Results :
Failed tests:
FileEntryTester.checkAllowedValues:109 expected:<13> but was:<0>
FileEntryTester.checkSetValue:157 null
EMFComponentTester.checkBatML:206 null
EMFComponentTester.checkCreation:96 null
EMFComponentTester.checkLoad:312 null
EMFEntryTester.before:76 null
EMFEntryTester.before:76 null
EMFTreeCompositeTester.before:77 null
EMFTreeCompositeTester.before:77 null
EMFTreeCompositeTester.before:77 null
EMFTreeCompositeTester.before:77 null
ResourceHandlerTester.checkGettingResource:63 null
Tests in error:
EMFComponentTester.checkTreeModification:114 » NullPointer
EMFComponentTester.checkSave:277->checkTreeModification:114 » NullPointer
Tests run: 191, Failures: 12, Errors: 2, Skipped: 2
> On Feb 24, 2016, at 10:56 AM, Smith, Robert W. <smithrw@xxxxxxxx> wrote:
>
> Greg,
>
> This error means that SWTBot can't find the widget it's looking for, which is usually a timing issue with the widget not being created before SWTBot times out. It's nothing wrong with your setup, just a race condition that the test sometimes fails. I've just pushed a changer to next that should make this less common.
>
> As an unrelated aside, while you're running the build you may want to keep focus on ICE and avoid touching the keyboard or mouse while SWTBot tests are running. Doing anything might cause the test to fail, and SWTBot can even click or type in other programs if they have focus while it's running.
>
> Robert
> ________________________________________
> From: ice-dev-bounces@xxxxxxxxxxx <ice-dev-bounces@xxxxxxxxxxx> on behalf of Greg Watson <greg@watson.earth>
> Sent: Wednesday, February 24, 2016 10:29 AM
> To: ice developer discussions
> Subject: [ice-dev] test failures
>
> Hi,
>
> I’m trying to build ICE locally, but I’m getting test errors (not failures) in org.eclipse.ice.client.widgets.test. Here is an example of some of the errors:
>
> Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 22.72 sec <<< FAILURE! - in org.eclipse.ice.client.widgets.test.ICEResourcePageTester
> checkConstruction(org.eclipse.ice.client.widgets.test.ICEResourcePageTester) Time elapsed: 0.143 sec <<< ERROR!
> org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: The widget was null.
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.<init>(AbstractSWTBot.java:104)
> at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBotControl.<init>(AbstractSWTBotControl.java:47)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotShell.<init>(SWTBotShell.java:49)
> at org.eclipse.swtbot.swt.finder.widgets.SWTBotShell.<init>(SWTBotShell.java:38)
> at org.eclipse.swtbot.swt.finder.SWTBotFactory.activeShell(SWTBotFactory.java:376)
> at org.eclipse.swtbot.swt.finder.SWTBotFactory.menu(SWTBotFactory.java:210)
> at org.eclipse.swtbot.swt.finder.SWTBotFactory.menu(SWTBotFactory.java:200)
> at org.eclipse.ice.client.widgets.test.utils.AbstractWorkbenchTester.openView(AbstractWorkbenchTester.java:272)
> at org.eclipse.ice.client.widgets.test.ICEResourcePageTester.beforeAllTests(ICEResourcePageTester.java:109)
>
> …
>
> Results :
>
> Tests in error:
> ICEResourcePageTester.beforeEachTest:141->AbstractWorkbenchTester.beforeEachTest:122->AbstractICEUITester.beforeEachTest:155->beforeAllTests:109->AbstractWorkbenchTester.openView:272 » WidgetNotFound
> ICEResourcePageTester.beforeEachTest:145 » WidgetNotFound Could not find edito...
> ICEResourcePageTester.beforeEachTest:145 » WidgetNotFound Could not find edito...
> ICEResourcePageTester.beforeEachTest:145 » WidgetNotFound Could not find edito...
> ICEResourcePageTester>AbstractICEUITester.afterClass:210->afterAllTests:174 » WidgetNotFound
>
> Tests run: 42, Failures: 0, Errors: 5, Skipped: 0
>
> It looks like this is related to swtbot, but it seems to be installed in my Eclipse instance (I’m using ICE). Can anyone help?
>
> Thanks,
> Greg
> _______________________________________________
> ice-dev mailing list
> ice-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/ice-dev
> _______________________________________________
> ice-dev mailing list
> ice-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/ice-dev
_______________________________________________
ice-dev mailing list
ice-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ice-dev
_______________________________________________
ice-dev mailing list
ice-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ice-dev