This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 305772 - Intermittent test failures in WTP 3.2.0 M6 builds
Summary: Intermittent test failures in WTP 3.2.0 M6 builds
Status: RESOLVED FIXED
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws.jaxws (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3   Edit
Assignee: Danail Branekov CLA
QA Contact: Shane Clarke CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-13 10:01 EST by Shane Clarke CLA
Modified: 2010-07-21 03:44 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shane Clarke CLA 2010-03-13 10:01:37 EST
The following tests have failed intermittently in the last few integration and stable WTP 3.2.0 M6 builds:

org.eclipse.jst.ws.jaxws.dom.runtime.tests.dom.validation.WpValidationTest:
testNameIsNCName
testPartNameIsNCName
testNameNotRedundant
testTargetNsValidUri

Stacktrace:
Could not find SEI

junit.framework.AssertionFailedError: Could not find SEI
at org.eclipse.jst.ws.jaxws.dom.runtime.tests.dom.validation.WpValidationTest.setUp(WpValidationTest.java:30)
at org.jmock.core.VerifyingTestCase.runBare(VerifyingTestCase.java:37)
at org.eclipse.jst.ws.jaxws.testutils.jmock.MockObjectTestCase.runBareInternal(MockObjectTestCase.java:49)
at org.eclipse.jst.ws.jaxws.testutils.jmock.testcases.BeforeAfterEnabler.runBare(BeforeAfterEnabler.java:42)
at org.eclipse.jst.ws.jaxws.testutils.jmock.MockObjectTestCase.runBare(MockObjectTestCase.java:55)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209)
at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:195)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3507)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3154)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2408)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2372)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:501)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:494)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:138)
at org.eclipse.test.UITestApplication.run(UITestApplication.java:60)
at org.eclipse.test.UITestApplication.start(UITestApplication.java:210)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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 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:1406)
at org.eclipse.equinox.launcher.Main.main(Main.java:1382)
Comment 1 Shane Clarke CLA 2010-03-13 10:07:24 EST
Look to fix after the M6 build has been declared.
Comment 2 Shane Clarke CLA 2010-03-17 15:22:16 EDT
tests committed out for now,
Comment 3 Keith Chong CLA 2010-06-10 13:53:55 EDT
Hi Shane, are you going to defer this out?  M7 is done.
Comment 4 Shane Clarke CLA 2010-06-10 15:02:53 EDT
(In reply to comment #3)
> Hi Shane, are you going to defer this out?  M7 is done.

Yes targeting a future milestone for now.
Comment 5 Danail Branekov CLA 2010-07-13 12:01:05 EDT
I have committed a fix in HEAD. I will keep an eye on the next test results and will close the issue if tests are "green" in several subsequent runs
Comment 6 Shane Clarke CLA 2010-07-14 15:49:25 EDT
(In reply to comment #5)
> I have committed a fix in HEAD. I will keep an eye on the next test results and
> will close the issue if tests are "green" in several subsequent runs

Danail i've released those changes on HEAD so those tests should starting running in the next build.
Comment 7 Danail Branekov CLA 2010-07-21 02:29:17 EDT
The WpValidationTest has been executed successfully three times in a row. 
Shane, should I downport the fix in the test to 3.2.1?
Comment 8 Shane Clarke CLA 2010-07-21 03:43:03 EDT
(In reply to comment #7)
> The WpValidationTest has been executed successfully three times in a row. 
> Shane, should I downport the fix in the test to 3.2.1?

Hi Danail, i think seeing as we are into the final build phases for 3.2.1 that we'll leave it as is and not reintroduce these unit tests there.
Comment 9 Danail Branekov CLA 2010-07-21 03:44:44 EDT
OK. In this case I am closing the issue