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 33892

Summary: CommitValidation fails
Product: obsolete Reporter: rmatous <rmatous>
Component: xtestAssignee: Jiri Skrivanek <jskrivanek>
Status: RESOLVED WORKSFORME    
Severity: blocker CC: dkonecny, jskrivanek, jtulach
Priority: P1    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 33908, 34374    
Bug Blocks:    
Attachments: Stack trace
test failer report
zip with test results (WinXP)
test failure report

Description rmatous 2003-05-26 12:42:34 UTC
AFAIK commitValidation succes is must before
commit. Then must be ensured, that all tests
normally pass. But I had problems with tests in
suite IDECommitValidation (please see attachment)
Comment 1 rmatous 2003-05-26 12:43:47 UTC
Created attachment 10443 [details]
Stack trace
Comment 2 Martin Brehovsky 2003-05-26 12:52:29 UTC
Jirko, can you look at it ?
Comment 3 David Konecny 2003-05-26 13:51:21 UTC
Created attachment 10448 [details]
test failer report
Comment 4 David Konecny 2003-05-26 13:53:19 UTC
Attached are four tests which are failing for me. Probably the same
test as Radek attached. Btw. is xtest right component for these problems?
Comment 5 Jiri Skrivanek 2003-05-26 14:03:42 UTC
Mainly to Radek: Are you sure it happens on all OSs? I filled a bug
that Options window is opened with zero size on windows XP
(http://www.netbeans.org/issues/show_bug.cgi?id=33888). On Linux it
works. 
Look at your results. Workdir of failed tests should contain screen
shot at the time of failure. You can clarify that Options window was
really not open with correct size.
So, I think commit validation is OK but build is somehow broken.
Comment 6 Jiri Skrivanek 2003-05-26 14:17:14 UTC
To David: Please, attach whole zipped result dir. Again, to evaluate
results I need (or you can) look at workdir of failed test on suite
page. There are log and screen shot.
Instead of xtest module we can use ide for commit validation problems,
if you find it more suitable.
Comment 7 rmatous 2003-05-26 14:29:43 UTC
There is no possible to choose something like "All Windows".

I can only confirm, that it doesn't work on Windows2000, but I can't
exclude problems e.g.on Linux. 

Btw. screenshot proved,that you are right with incorrect size of
ToolsOption dialog. 
Comment 8 David Konecny 2003-05-26 14:33:25 UTC
Created attachment 10449 [details]
zip with test results (WinXP)
Comment 9 Jiri Skrivanek 2003-05-26 16:16:52 UTC
OK. You run second instance of IDE and that's why a modal dialog with
information appears. It says that open file server cannot start on
port 7318 because it is already in use. I will try to ignore it or
disable open file server in commit validation suite. In the meantime,
please, shut down your IDE while running commit validation.
Comment 10 Jiri Skrivanek 2003-05-26 17:30:24 UTC
I've submitted issue #33908 to not show the dialog when
netbeans.full.hack=true which is everytime during test execution. It
will solve the problem.
Comment 11 Jiri Skrivanek 2003-05-30 09:06:42 UTC
Issue #33908 fixed, so commit validation should work if IDE is not broken.
Comment 12 David Konecny 2003-06-12 11:56:50 UTC
Some test is failing again. I will attach the log. Please investigate.
Comment 13 David Konecny 2003-06-12 11:57:47 UTC
Created attachment 10668 [details]
test failure report
Comment 14 Jiri Skrivanek 2003-06-13 10:59:33 UTC
It fails because of issue 33892 - cannot delete file for uknown reason.
Comment 15 Jiri Skrivanek 2003-08-22 09:06:16 UTC
Issue 34374 resolved, so commit validation should work.