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 140947 - commit-validation failures on MacOSX
Summary: commit-validation failures on MacOSX
Status: CLOSED WONTFIX
Alias: None
Product: ide
Classification: Unclassified
Component: Commit Validation (show other bugs)
Version: 6.x
Hardware: All Mac OS X
: P1 blocker (vote)
Assignee: Ivan Sidorkin
URL:
Keywords: TEST
: 148743 (view as bug list)
Depends on: 155751 142928 142933
Blocks: 160008
  Show dependency tree
 
Reported: 2008-07-21 09:36 UTC by Milan Kubec
Modified: 2011-06-10 08:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2008-07-21 09:36:05 UTC
commit-validation test suite fails on MacOSX with following errors:

Failure 1:
-------

Dialog with title "Checkout"

org.netbeans.junit.AssertionFailedErrorException: Dialog with title "Checkout"
at org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:179)
at org.netbeans.junit.NbTestCase.run(NbTestCase.java:205)
at org.netbeans.junit.NbModuleSuite$S.runInRuntimeContainer(NbModuleSuite.java:522)
at org.netbeans.junit.NbModuleSuite$S.run(NbModuleSuite.java:406)

Nested Exception is:
org.netbeans.jemmy.TimeoutExpiredException: Dialog with title "Checkout"
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.(JDialogOperator.java:97)
at org.netbeans.jemmy.operators.JDialogOperator.(JDialogOperator.java:213)
at org.netbeans.jemmy.operators.JDialogOperator.(JDialogOperator.java:230)
at org.netbeans.jemmy.operators.JDialogOperator.(JDialogOperator.java:245)
at org.netbeans.jellytools.NbDialogOperator.(NbDialogOperator.java:73)
at org.netbeans.test.ide.IDEValidation.testCVSLite(IDEValidation.java:1140)
at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:84)
at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:328)
at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:265)
at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:344)
at org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:152)
at org.netbeans.junit.NbTestCase.run(NbTestCase.java:205)
at org.netbeans.junit.NbModuleSuite$S.runInRuntimeContainer(NbModuleSuite.java:522)
at org.netbeans.junit.NbModuleSuite$S.run(NbModuleSuite.java:406)

==========

Menu item that is reported missing is really there ... 

Failure 2:
-------

Unable to find menu (menuitem): Menu pushing: (JMenuItem with text "Debug", JMenuItem with text "Finish Debugger Session")

org.netbeans.junit.AssertionFailedErrorException: Unable to find menu (menuitem): Menu pushing: (JMenuItem with text "Debug", JMenuItem with text 
"Finish Debugger Session")
at org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:179)
at org.netbeans.junit.NbTestCase.run(NbTestCase.java:205)
at org.netbeans.junit.NbModuleSuite$S.runInRuntimeContainer(NbModuleSuite.java:522)
at org.netbeans.junit.NbModuleSuite$S.run(NbModuleSuite.java:406)

Nested Exception is:
org.netbeans.jemmy.JemmyException: Unable to find menu (menuitem): Menu pushing: (JMenuItem with text "Debug", JMenuItem with text "Finish 
Debugger Session")
at org.netbeans.jemmy.drivers.menus.AppleMenuDriver.pushMenu(AppleMenuDriver.java:93)
at org.netbeans.jemmy.operators.JMenuBarOperator$1.launch(JMenuBarOperator.java:247)
at org.netbeans.jemmy.ActionProducer.launchAction(ActionProducer.java:339)
at org.netbeans.jemmy.ActionProducer.run(ActionProducer.java:298)
Comment 1 Milan Kubec 2008-07-21 12:25:14 UTC
Second failure about the Debugger menu might be related to my commit http://hg.netbeans.org/main/rev/8900201779e7, but this commit didn't change 
'Finish Debugger Session' action in any way. The failure is already reported on http://deadlock.netbeans.org/hudson/job/trunk/2945.
Comment 2 Milan Kubec 2008-07-21 15:37:45 UTC
Other failures I got today:

Dialog with title "Select JUnit Version"

org.netbeans.junit.AssertionFailedErrorException: Dialog with title "Select JUnit Version"
at org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:179)
at org.netbeans.junit.NbTestCase.run(NbTestCase.java:205)
at org.netbeans.junit.NbModuleSuite$S.runInRuntimeContainer(NbModuleSuite.java:522)
at org.netbeans.junit.NbModuleSuite$S.run(NbModuleSuite.java:406)

Nested Exception is:
org.netbeans.jemmy.TimeoutExpiredException: Dialog with title "Select JUnit Version"
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.(JDialogOperator.java:97)
at org.netbeans.jemmy.operators.JDialogOperator.(JDialogOperator.java:213)
at org.netbeans.jemmy.operators.JDialogOperator.(JDialogOperator.java:230)
at org.netbeans.jemmy.operators.JDialogOperator.(JDialogOperator.java:245)
at org.netbeans.jellytools.NbDialogOperator.(NbDialogOperator.java:73)
at org.netbeans.test.ide.IDEValidation.testJUnit(IDEValidation.java:817)
at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:84)
at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:328)
at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:265)
at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:344)
at org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:152)
at org.netbeans.junit.NbTestCase.run(NbTestCase.java:205)
at org.netbeans.junit.NbModuleSuite$S.runInRuntimeContainer(NbModuleSuite.java:522)
at org.netbeans.junit.NbModuleSuite$S.run(NbModuleSuite.java:406)

==========

Dialog with title "DTDs and XML Schemas"

org.netbeans.junit.AssertionFailedErrorException: Dialog with title "DTDs and XML Schemas"
at org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:179)
at org.netbeans.junit.NbTestCase.run(NbTestCase.java:205)
at org.netbeans.junit.NbModuleSuite$S.runInRuntimeContainer(NbModuleSuite.java:522)
at org.netbeans.junit.NbModuleSuite$S.run(NbModuleSuite.java:406)

Nested Exception is:
org.netbeans.jemmy.TimeoutExpiredException: Dialog with title "DTDs and XML Schemas"
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.(JDialogOperator.java:97)
at org.netbeans.jemmy.operators.JDialogOperator.(JDialogOperator.java:213)
at org.netbeans.jemmy.operators.JDialogOperator.(JDialogOperator.java:230)
at org.netbeans.jemmy.operators.JDialogOperator.(JDialogOperator.java:245)
at org.netbeans.jellytools.NbDialogOperator.(NbDialogOperator.java:73)
at org.netbeans.test.ide.IDEValidation.testXML(IDEValidation.java:1174)
at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:84)
at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:328)
at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:265)
at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:344)
at org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:152)
at org.netbeans.junit.NbTestCase.run(NbTestCase.java:205)
at org.netbeans.junit.NbModuleSuite$S.runInRuntimeContainer(NbModuleSuite.java:522)
at org.netbeans.junit.NbModuleSuite$S.run(NbModuleSuite.java:406)

Comment 3 Lukas Hasik 2008-12-03 10:11:51 UTC
is it still problem on Mac?
Comment 4 Milan Kubec 2008-12-05 09:08:20 UTC
Running 'ant commit-validation' produces 8 failures and 2 errors.

BUILD FAILED
/Users/Milan/Sources/hg.netbeans.org/core-main_work/nbbuild/build.xml:1693: There were failed tests:
/Users/Milan/Sources/hg.netbeans.org/core-main_work/nbbuild/build/test/results/TEST-org.netbeans.core.projects.ValidateLayerConsistencyTest.xml
/Users/Milan/Sources/hg.netbeans.org/core-main_work/nbbuild/build/test/results/TEST-org.netbeans.test.ide.IDECommitValidationTest.xml
/Users/Milan/Sources/hg.netbeans.org/core-main_work/nbbuild/build/test/results/TEST-org.netbeans.test.ide.MemoryValidationTest.xml

Comment 5 Ivan Sidorkin 2008-12-05 10:28:43 UTC
yes, the problem still exist
the main problem is results on different machines are different
on my mac it 1-2 failed tests (I run ant commit-validation)
on another machine with automatic run from BTD I have 3-13 failed tests
Comment 6 Ivan Sidorkin 2008-12-18 13:43:36 UTC
*** Issue 148743 has been marked as a duplicate of this issue. ***
Comment 7 Marian Mirilovic 2011-06-10 08:56:29 UTC
too old - starting with clean table
Comment 8 Marian Mirilovic 2011-06-10 08:57:59 UTC
v/c