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.
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.
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
The question is: why does this behave differently on hlemyzd-2 than on konik-z2 or deadlock?
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.
tests are ok
here is screen shot on test fail http://neoopal.russia.sun.com:8080/screen.png
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.
one difference is that for tests used NB Platform can it be the reason?
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.
I don't understand "for tests used NB Platform", can you explain?
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.
Created attachment 64751 [details] older version IDE screen shot for comparison
the problem is in bluej component after disabling it everything works fine
http://hg.netbeans.org/main/rev/d5a3ebb9d8e8
Note that the production build now builds AU modules after running C/V rather than before, because of this issue.