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 46476 - Commit validation fails on pure sources
Summary: Commit validation fails on pure sources
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords: RANDOM, TEST
Depends on:
Blocks:
 
Reported: 2004-07-23 08:21 UTC by Jaroslav Tulach
Modified: 2004-07-27 16:03 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ZIP file with failure reports (850.34 KB, application/octet-stream)
2004-07-23 08:22 UTC, Jaroslav Tulach
Details
Diff between '2004-07-21 15:00 +0000' and '2004-07-21 18:19 +0000' (54.11 KB, text/plain)
2004-07-26 14:32 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2004-07-23 08:21:19 UTC
After doing checkout and build this morning I got
six failures in commit validation. I suspect that
it is caused by unstability on my computer.

Tested on Mandrake Linux 10.0 on my dell
workstation as well as notebook.
Comment 1 Jaroslav Tulach 2004-07-23 08:22:02 UTC
Created attachment 16403 [details]
ZIP file with failure reports
Comment 2 Pavel Flaska 2004-07-23 08:48:39 UTC
I have got the same problem today morning. (After update on cleaned
sources.)
(Fedora Core)
Comment 3 Martin Matula 2004-07-23 14:50:27 UTC
Same for me. It seems that sometimes when commitvalidation tests
create new project in the IDE, the project folder is not automatically
expanded which causes the commitvalidation to fail. To me it seems
like a projects issue.
Comment 4 _ tball 2004-07-23 22:42:38 UTC
I've seen Jemmy timeout exceptions for the past week running Java
Desktop System (SuSE Linux).  One comment Jesse made when I asked on
nbdev was what else was taking up CPU cycles during the test.  On my
machine nothing was, but my CPU meter was at 100% during most of the
test.  Perhaps the problem is as simple as increasing some timeout
constant for people with slow machines like me.
Comment 5 Jesse Glick 2004-07-24 00:49:15 UTC
FWIW I routinely run clean builds w/ commit validation (reuse same
source dir) and have not seen this. However this has appeared on
nbbuilder I think.
Comment 6 Jesse Glick 2004-07-24 19:06:44 UTC
Correction: I have seen this on my machine, just running
ide/qa-functional[commit] by itself. But then I ran it again
immediately (same command, same code, etc.) and it passed.
Comment 7 Jiri Skrivanek 2004-07-26 14:28:42 UTC
The first time the commit validation failed on build 20040721-1819.
Because it doesn't fail everytime, I can only say it was caused by
changes some time before '2004-07-21 18:19 +0000'. I will attach diff
between 15:00 and 18:19. Someone might find a reason of failure.
In fact the test finds treepath "[ Projects, SampleProject [Main],
Source Packages ]" but it seems the tree is then unintentionally
collapsed and the test fails because treepath is not valid anymore.
Comment 8 Jiri Skrivanek 2004-07-26 14:32:07 UTC
Created attachment 16449 [details]
Diff  between '2004-07-21 15:00 +0000' and '2004-07-21 18:19 +0000'
Comment 9 Petr Hrebejk 2004-07-26 17:18:43 UTC
I think I have a fix. At least for the not expanding nodes after new
project wizard.
Instatiating iterator returns set of objects where the order is
obviously arbitrary. This means that it may try to select files in not
opened projects. The fix is simple. I will commit it tomorrow after a
review by Jirka
Comment 10 Petr Hrebejk 2004-07-27 10:10:05 UTC
The problem with not expanding nodes should be fixed now. However the
problem with NewFile wizard still remains open.
Comment 11 Jiri Rechtacek 2004-07-27 15:52:53 UTC
Jirka has solved it on the IDE CommitValidation suite's side.
Reassigned back to him.
Comment 12 Jiri Skrivanek 2004-07-27 16:03:22 UTC
So, everything should work smoothly now. Hrebejk fixed problem with
not expanding nodes and I change jemmy library to better handle cases
when combo box is shown before it is populated by items.