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 160716 - Failed ergonomic-based tests in cnd-main
Summary: Failed ergonomic-based tests in cnd-main
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: RANDOM, TEST
Depends on:
Blocks:
 
Reported: 2009-03-20 11:12 UTC by Vladimir Voskresensky
Modified: 2009-06-21 13:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the error page (94.55 KB, text/html)
2009-03-20 17:23 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2009-03-20 11:12:34 UTC
How could it happened to propagate broken (or unstable) ergonomic tests into unrelated team repository?

http://bertram.netbeans.org/hudson/job/cnd-main/59/testReport/

http://bertram.netbeans.org/hudson/job/cnd-main/58/testReport/
Comment 1 Vladimir Voskresensky 2009-03-20 16:07:19 UTC
changed to P2, because it passes sometimes and now propagation from main is based not on the last build, but on the last
successful build
Comment 2 Jaroslav Tulach 2009-03-20 17:23:22 UTC
Created attachment 78535 [details]
the error page
Comment 3 Jaroslav Tulach 2009-03-20 17:24:13 UTC
Happens randomly. I do not know why. I'll try to add more logging into the test.
Comment 4 Jesse Glick 2009-03-20 17:38:59 UTC
Happened at least once in NB-Core-Build too.
Comment 5 Jaroslav Tulach 2009-03-23 14:46:38 UTC
The problem is that ergonomics is present in the test. We need a way to exclude this cluster from the test completely 
(otherwise we cannot use honorAutoloadEager). This will require a change in nbjunit's API.
Comment 6 Jesse Glick 2009-03-23 15:52:38 UTC
Happening commonly enough to slow down propagation from team builders, e.g.

http://bertram.netbeans.org/hudson/job/cdev/412/testReport/org.netbeans.core.validation/ValidateLayerConsistencyTest/testAreAttributesFine/

Can't you just change ValidateLayerConsistencyTest to not include the ergonomics cluster? No API change needed AFAIK
(can use negative lookahead in a regexp).
Comment 7 Jaroslav Tulach 2009-03-23 18:07:42 UTC
That would indeed be enough. But I do not know how to use negative look-a-head. If you know how to do it, that would 
be a perfect fix. Meanwhile I am about to experiment with removing honourAutoloadEager.
Comment 8 Jaroslav Tulach 2009-03-23 18:21:41 UTC
core-main#e2465a430250
Comment 9 Jesse Glick 2009-03-23 18:59:12 UTC
clusters("(?!ergonomics).*") looks right - I'm assuming you tried it and it behaved as you wanted.
Comment 10 Quality Engineering 2009-03-24 23:34:07 UTC
Integrated into 'main-golden', will be available in build *200903241535* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e2465a430250
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #160716: Look-a-head to exclude ergonomics cluster from the list of enabled clusters