This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 154418 - Commit validation tests are failing in the trunk build on deadlock
Summary: Commit validation tests are failing in the trunk build on deadlock
Status: RESOLVED WORKSFORME
Alias: None
Product: qa
Classification: Unclassified
Component: Jellytools (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-03 08:01 UTC by Jan Lahoda
Modified: 2009-04-10 10:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Moment of fail screenshot. (37.02 KB, image/png)
2008-12-03 09:47 UTC, Michael Nazarov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2008-12-03 08:01:47 UTC
In build #4475:
http://deadlock.netbeans.org/hudson/job/trunk/4475/

The following PHP tests are failing:
org.netbeans.test.php.Commit.CreatePHPApplication
org.netbeans.test.php.Commit.ManipulateIndexPHP
org.netbeans.test.php.Commit.CreateEmptyPHP
org.netbeans.test.php.Commit.ManipulateEmptyPHP
org.netbeans.test.php.Commit.CreateTemplatePHP
org.netbeans.test.php.Commit.ManipulateTemplatePHP
org.netbeans.test.php.Commit.CreatePHPWithExistingSources
org.netbeans.test.php.Commit.ManipulatePHPWithExistingSources
Comment 1 Michael Nazarov 2008-12-03 09:41:56 UTC
A lot of test areas affected not only PHP.
In all cases test code uses New Project Wizard related classes classes.
Looks like changes committed Dec 2. For my tests all passed yesterday and
fail today even with same build and without any test changes.

Exs.:

org.netbeans.test.j2ee.J2EEValidation.testWebApplication

org.netbeans.jemmy.TimeoutExpiredException: Wait JLabel with text "Project Name:" loaded
	at org.netbeans.jemmy.Waiter.waitAction(Waiter.java:169)
	at org.netbeans.jemmy.operators.ComponentOperator.waitComponent(ComponentOperator.java:359)
	at org.netbeans.jemmy.operators.ComponentOperator.waitComponent(ComponentOperator.java:324)
	at org.netbeans.jemmy.operators.JLabelOperator.<init>(JLabelOperator.java:122)
	at org.netbeans.jemmy.operators.JLabelOperator.<init>(JLabelOperator.java:139)
	at org.netbeans.jellytools.NewProjectNameLocationStepOperator.lblProjectName(NewProjectNameLocationStepOperator.java:141)
	at org.netbeans.jellytools.NewProjectNameLocationStepOperator.txtProjectName(NewProjectNameLocationStepOperator.java:154)
	at org.netbeans.test.j2ee.J2EEValidation.testWebApplication(J2EEValidation.java:148)
	at org.netbeans.jellytools.JellyTestCase.runTest(JellyTestCase.java:184)
	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:84)
	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:332)
	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:269)
	at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:348)
	at org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:151)
	at org.netbeans.junit.NbTestCase.run(NbTestCase.java:209)
	at org.netbeans.junit.NbModuleSuite$S.runInRuntimeContainer(NbModuleSuite.java:522)
	at org.netbeans.junit.NbModuleSuite$S.run(NbModuleSuite.java:407)

org.netbeans.test.php.Commit.CreatePHPApplication

rg.netbeans.jemmy.TimeoutExpiredException: Dialog with title "New PHP Project"
	at org.netbeans.jemmy.Waiter.waitAction(Waiter.java:169)
	at org.netbeans.jemmy.WindowWaiter.waitWindow(WindowWaiter.java:434)
	at org.netbeans.jemmy.WindowWaiter.waitWindow(WindowWaiter.java:224)
	at org.netbeans.jemmy.DialogWaiter.waitDialog(DialogWaiter.java:337)
	at org.netbeans.jemmy.operators.JDialogOperator.waitJDialog(JDialogOperator.java:613)
	at org.netbeans.jemmy.operators.JDialogOperator.<init>(JDialogOperator.java:97)
	at org.netbeans.jemmy.operators.JDialogOperator.<init>(JDialogOperator.java:213)
	at org.netbeans.jemmy.operators.JDialogOperator.<init>(JDialogOperator.java:230)
	at org.netbeans.jemmy.operators.JDialogOperator.<init>(JDialogOperator.java:245)
	at org.netbeans.test.php.GeneralPHP.CreatePHPApplicationInternal(GeneralPHP.java:245)
	at org.netbeans.test.php.GeneralPHP.CreatePHPApplicationInternal(GeneralPHP.java:303)
	at org.netbeans.test.php.Commit.CreatePHPApplication(Commit.java:187)
	at org.netbeans.jellytools.JellyTestCase.runTest(JellyTestCase.java:184)
	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:84)
	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:332)
	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:269)
	at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:348)
	at org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:151)
	at org.netbeans.junit.NbTestCase.run(NbTestCase.java:209)
	at org.netbeans.junit.NbModuleSuite$S.runInRuntimeContainer(NbModuleSuite.java:522)
	at org.netbeans.junit.NbModuleSuite$S.run(NbModuleSuite.java:407)

org.netbeans.test.ruby.RubyValidation.testCreateRailsProject

org.netbeans.jemmy.TimeoutExpiredException: Wait JLabel with text "Project Name:" loaded
	at org.netbeans.jemmy.Waiter.waitAction(Waiter.java:169)
	at org.netbeans.jemmy.operators.ComponentOperator.waitComponent(ComponentOperator.java:359)
	at org.netbeans.jemmy.operators.ComponentOperator.waitComponent(ComponentOperator.java:324)
	at org.netbeans.jemmy.operators.JLabelOperator.<init>(JLabelOperator.java:122)
	at org.netbeans.jemmy.operators.JLabelOperator.<init>(JLabelOperator.java:139)
	at org.netbeans.jellytools.NewProjectNameLocationStepOperator.lblProjectName(NewProjectNameLocationStepOperator.java:141)
	at org.netbeans.jellytools.NewProjectNameLocationStepOperator.txtProjectName(NewProjectNameLocationStepOperator.java:154)
	at org.netbeans.test.ruby.RubyValidation.testCreateRailsProject(RubyValidation.java:205)
	at org.netbeans.jellytools.JellyTestCase.runTest(JellyTestCase.java:184)
	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:84)
	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:332)
	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:269)
	at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:348)
	at org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:151)
	at org.netbeans.junit.NbTestCase.run(NbTestCase.java:209)
	at org.netbeans.junit.NbModuleSuite$S.runInRuntimeContainer(NbModuleSuite.java:522)
	at org.netbeans.junit.NbModuleSuite$S.run(NbModuleSuite.java:407)

Etc.
Comment 2 Michael Nazarov 2008-12-03 09:47:52 UTC
Created attachment 74459 [details]
Moment of fail screenshot.
Comment 3 Michael Nazarov 2008-12-03 09:49:04 UTC
Check the screenshot. Category and Project selected but Next button is still disabled. Looks like this is a part of problem.
Comment 4 Michael Nazarov 2008-12-03 11:38:43 UTC
This issue might be cause as well: http://statistics.netbeans.org/analytics/detail.do?id=143692
Comment 5 Michael Nazarov 2008-12-03 11:41:13 UTC
Link to issue itself: http://www.netbeans.org/issues/show_bug.cgi?id=154428
Comment 6 Michael Nazarov 2008-12-04 08:37:07 UTC
Original issue caused problem fixed. This one should be discussed at least to ensure
jellytools has more useful engine to detect such situations.
Comment 7 Vojtech Sigler 2009-04-10 10:59:40 UTC
Since this issue is no longer reproducible (already solved) and no further steps are going to be made in this issue, I'm
closing it as WORKSFORME.