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 190539 - Eliminate the affect of validation test on the production build
Summary: Eliminate the affect of validation test on the production build
Status: RESOLVED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 7.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: pgebauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-22 22:32 UTC by rnovak
Modified: 2012-11-01 02:41 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rnovak 2010-09-22 22:32:24 UTC
Validation tests might generate working file and leave them in the build directory. Such files may not be packaged and distributed with the product,
Comment 1 Marian Mirilovic 2010-09-23 08:54:11 UTC
This is higher priority, as I remember almost every release we are facing issues like that. But the key point I still do not understand is : 
Why do we use originally build built for testing purposes ?

This should be solved by :
...
- new build is created
- copy of the build is created
- run tests on copy of the build
- if tests passed -> delete copy and use original in next steps
...
Comment 2 Marian Mirilovic 2012-06-05 07:54:16 UTC
Petr, what is the status of this issue ?
Comment 3 pgebauer 2012-06-12 09:15:15 UTC
I don't know what working files you mean and where they appears. If they are not part of installers, I would say we don't need to care about them.
Comment 4 Marian Mirilovic 2012-06-12 09:22:49 UTC
No, automated tests are modifying content of netbeans folder ... so if you will zip the directory after the tests, it will be different to the original one. 

It's an old issue, so it might already be somehow solved, I do not know...
Comment 5 pgebauer 2012-06-12 09:32:30 UTC
OK, understand. So the problem will be "only" with zip-ed netbeans. But I still don't know what files are generated. What should I check? I don't what to copy bits there and back again. It takes time and prolongs the build.
Comment 6 Marian Mirilovic 2012-06-12 09:33:42 UTC
Ook, can you zip the folder before you will run the tests ?
Comment 7 Quality Engineering 2012-06-18 22:14:50 UTC
Integrated into 'main-golden', will be available in build *201206181550* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4633f5a7d22f
User: PGebauer <pgebauer@netbeans.org>
Log: #190539 - Eliminate the affect of validation test on the production build
Comment 8 pgebauer 2012-06-19 07:33:01 UTC
This issue should be fixed in the trunk. Please, verify in the build 2012-06-18_15-50-36 in order I can port the fix to the release72.
Comment 9 pgebauer 2012-06-20 13:55:17 UTC
The fix caused #214409 and the file testdist.zip was incomplete as well.
Comment 10 Quality Engineering 2012-06-22 04:50:18 UTC
Integrated into 'main-golden', will be available in build *201206220002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3cbc7e640abd
User: PGebauer <pgebauer@netbeans.org>
Log: Rollback - #190539 - Eliminate the affect of validation test on the production build
Comment 11 Marian Mirilovic 2012-06-25 08:20:50 UTC
This is the stopper for NB 7.2, please evaluate and resolve ASAP.
Comment 12 pgebauer 2012-06-25 14:02:49 UTC
I don't think this is a stopper. So far, I'm not able to find any additional files in build artifacts so it is hard to  localize where they could be generated and where changes in the build are needed. My last attempt to blindly fix it has caused regressions so I don't think, this is a good approach. An additional file generated by validation test or by some other task will be very helpful. Meanwhile I'm still investigating.
Comment 13 Marian Mirilovic 2012-06-25 14:06:23 UTC
Ok, so let move it out of the 7.2 timeframe and fix it as a part of build process redesign.
Comment 14 Petr Jiricka 2012-09-11 15:41:21 UTC
Petr, is this a P1 for 7.3? If not, we should add NO73.
Comment 15 Quality Engineering 2012-10-31 02:56:54 UTC
Integrated into 'main-golden', will be available in build *201210310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/22204121f1a6
User: PGebauer <pgebauer@netbeans.org>
Log: #190539 - Eliminate the affect of validation test on the production build
Comment 16 Quality Engineering 2012-11-01 02:41:00 UTC
Integrated into 'main-golden', will be available in build *201211010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/57d6ab1cdd3b
User: PGebauer <pgebauer@netbeans.org>
Log: #190539 - Eliminate the affect of validation test on the production build