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 140345 - Repeatedly failing C/V in trunk production build
Summary: Repeatedly failing C/V in trunk production build
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: BlueJ (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Milos Kleint
URL: http://hlemyzd-2.czech:8080/hudson/jo...
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2008-07-16 16:16 UTC by Jesse Glick
Modified: 2008-07-17 22:33 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
older version IDE screen shot for comparison (108.69 KB, image/png)
2008-07-16 19:48 UTC, _ hong_lin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2008-07-16 16:16:00 UTC
The trunk production build has been failing for days with some kind of error in commit validation which does not seem to
occur in the deadlock continuous build. Please investigate with the help of QE and fix ASAP. Among other things,
main-golden is not getting updated, which hurts team repositories pulling from this.
Comment 1 Ivan Sidorkin 2008-07-16 16:45:46 UTC
the problem is when test run java application there are two output tabs
one titled "<project name> (run-single)" contains BUILD SUCCESSFUL 
another titled "Run <project name>" contains all application output
but test check only first one for text that application print
Comment 2 Jesse Glick 2008-07-16 17:00:38 UTC
The question is: why does this behave differently on hlemyzd-2 than on konik-z2 or deadlock?
Comment 3 Michal Zlamal 2008-07-16 17:01:12 UTC
We are running only commit-validation target. The tests were already passing after simpletests integration. I don't know what was changed, but it seems 
that someone broke the tests.

Ad deadlock, BE have to informed about required changes to the build infrastructure.
Comment 4 Ivan Sidorkin 2008-07-16 17:04:06 UTC
tests are ok
Comment 5 Ivan Sidorkin 2008-07-16 17:09:04 UTC
here is screen shot on test fail
http://neoopal.russia.sun.com:8080/screen.png
Comment 6 Jesse Glick 2008-07-16 17:22:09 UTC
I don't know of any required changes to build infrastructure. It remains an open question what is different on hlemyzd.

I don't see any clearly related changes in

http://hlemyzd-2.czech:8080/hudson/job/NB_Trunk_Production/313/changes

which looks to be the first build in which this failure occurs.
Comment 7 Ivan Sidorkin 2008-07-16 17:28:32 UTC
one difference is that for tests used NB Platform
can it be the reason?
Comment 8 Jesse Glick 2008-07-16 17:30:02 UTC
What produces the "Run SampleProject" tab? Such a tab should not be produced in current builds either with or without
Quick Run enabled, AFAIK. Tomas Holy may know more as he did some work on Ant program output which was then reverted.
Comment 9 Jesse Glick 2008-07-16 17:50:45 UTC
I don't understand "for tests used NB Platform", can you explain?
Comment 10 _ hong_lin 2008-07-16 19:44:47 UTC
I will try to explain the reason that this test fail. Hope it will help others to figure out how to fix the issue.

I built a simple Java Application and ran it in my older version IDE (200807071204). The Output result screen shot
140345.png is attached. 

In this screen shot, there is only one output window displayed, with build and run information:
init:
deps-jar:
compile:
run:
Hello
Good bye
BUILD SUCCESSFUL (total time: 0 seconds)

The commit validation test verifies the output string "Hello", "Good bye" and the build status "BUILD SUCCESSFUL". If
all information can be found in the output message, test pass.

But in the latest production build, according to Ivan's screen shot, two output windows were created, one only contains
the build status "BUILD SUCCESSFUL", the other one, I guess it should contain application output "Hello" and "Good bye". 

If splitting output window into two is by design, then the test case should be updated.
If not, somebody should fix the split output issue.
Comment 11 _ hong_lin 2008-07-16 19:48:49 UTC
Created attachment 64751 [details]
older version IDE screen shot for comparison
Comment 12 Ivan Sidorkin 2008-07-17 01:38:09 UTC
the problem is in bluej component
after disabling it everything works fine
Comment 13 Milos Kleint 2008-07-17 08:57:11 UTC
http://hg.netbeans.org/main/rev/d5a3ebb9d8e8
Comment 14 Jesse Glick 2008-07-17 22:33:00 UTC
Note that the production build now builds AU modules after running C/V rather than before, because of this issue.