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 198426 - Changeset propagation broken for jet-main, cnd-main
Summary: Changeset propagation broken for jet-main, cnd-main
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Help System (show other bugs)
Version: 7.0
Hardware: PC Linux
: P1 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-08 09:16 UTC by Jan Lahoda
Modified: 2011-05-11 19:38 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Output copied from the hudson on the failed testHelp test. (105.54 KB, text/plain)
2011-05-08 09:16 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2011-05-08 09:16:24 UTC
Created attachment 108175 [details]
Output copied from the hudson on the failed testHelp test.

jet-main builds are failing constantly since yesterday with two failing tests:
    * org.netbeans.test.ide.MemoryValidationTest.testHelp
    * org.netbeans.test.ide.MemoryValidationTest.testGCDocuments

The failure in testGCDocuments is possibly caused by the testHelp failure, so that one needs to be resolved first. The first build that failed with this is:
http://bertram.netbeans.org/hudson/job/jet-main/3976/
(error output is attached)
I do not see how the sole change in this build could cause such problems, and cnd-main seems to have the same problem, so this appears to be unrelated to jet-main changes. It might be a builder (bertram) configuration problem, but I have no idea what is the root cause of the failure and how to resolve that. So I need help finding the root cause of this problem.
Comment 1 Jaroslav Tulach 2011-05-08 17:59:44 UTC
I am the one who enabled the MemoryValidationTest. I'll take a look. If we don't have solution by tomorrow ~noon, comment out the test in java.kit/nbproject/project.properties to allow propagation from your team repository.
Comment 2 Jaroslav Tulach 2011-05-08 18:04:06 UTC
The goal of MemoryValidationTest is to fight against memory leaks not against broken functionality. Thus it is silly if the test fails "just" because JavaHelp throws an exception:

NbModuleSuite has been started with failOnMessage(OFF) and failOnException(INFO). The following failures have been captured:
[org.netbeans.modules.javahelp] THREAD: AWT-EventQueue-2 MSG: While trying to display: Help

I'll try to suppress such behavior. The goal is to have robust test, that:
1. if we are lucky and Jemmy succeeds, verifies edit/compile/debug cycle in Java
2. if we are unlucky, does not fail
Comment 3 Jaroslav Tulach 2011-05-08 18:06:56 UTC
Btw. I've seen:

private static java.awt.Toolkit java.awt.Toolkit.toolkit->
sun.awt.X11.XToolkit@1d6768f-eventListener->
java.awt.Toolkit$ToolkitEventMulticaster@24beca-a->
java.awt.Toolkit$ToolkitEventMulticaster@50c3c9-b->
java.awt.Toolkit$SelectiveAWTEventListener@2dcb6-listener->
java.awt.LightweightDispatcher@17a6a4b-mouseEventTarget->
org.openide.text.QuietEditorPane@d8134d-model->
org.netbeans.modules.editor.NbEditorDocument@e0efd6


failure chain and I eliminated it by opening TopComponent with empty JTextArea:
+                TopComponent tc = new TopComponent();
+                tc.setLayout(new FlowLayout());
+                tc.add(new JTextArea());
+                tc.open();
+                tc.requestVisible();
+                tc.requestActive();
in 09f5f3325550, I am not sure why it works on all builders, but not in bertram.
Comment 4 Jaroslav Tulach 2011-05-08 18:15:25 UTC
Use hg pull -r d4208adce5f1 http://hg.netbeans.org/ergonomics to get my fix to your branch and see if it eliminates the testHelp error.
Comment 5 Jaroslav Tulach 2011-05-09 06:59:42 UTC
Another changeset to pull:  1918a5d76e99
author      : Jaroslav Tulach <jtulach@netbeans.org>
date        : Mon May 09 08:57:32 CEST 2011
summary     : Disable testHelp, it is not essential for fighting with memory leaks in java projects and editor
Comment 6 Jaroslav Tulach 2011-05-09 09:14:05 UTC
Looks like the build continues to fall. Disabling in ergonomics#a99cb5d871b4 feel free to pull this change set into your repository.
Comment 7 Quality Engineering 2011-05-11 19:38:55 UTC
Integrated into 'main-golden', will be available in build *201105111436* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d4208adce5f1
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #198426: Ignore errors and messages