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 166173 - Can't run tests due to "Waiting for classpath scanning to finish timed out"
Summary: Can't run tests due to "Waiting for classpath scanning to finish timed out"
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2009-05-28 13:12 UTC by Erno Mononen
Modified: 2009-06-04 08:58 UTC (History)
2 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 Erno Mononen 2009-05-28 13:12:29 UTC
Running Ruby or PHP unit tests that extend CslTestBase results 95% of the time in a failure as waiting for the class 
path scanning to finish times out (increasing the time out doesn't help). Reproducible e.g. with 
org.netbeans.modules.php.editor.PHPCodeCompletionTest or org.netbeans.modules.ruby.AstUtilitiesTest. 

Not sure when exactly this started to happen, but it is reproducible both in release67 and trunk.
Comment 1 rmatous 2009-05-28 13:21:19 UTC
This happens actually since gsf->csl migration but it happened random, one-two tests. 

Now 17 tests fail regularly, since PHP build 352. You can see the changes:
http://bertram.netbeans.org/hudson/job/PHP-build/352/changes
Comment 2 Erno Mononen 2009-05-28 13:36:26 UTC
Note that at least for me locally the problem is much worse than on hudson - if I run e.g. PHPCodeCompletionTest 
locally, almost all of the tests fail.
Comment 3 Tomasz Slota 2009-05-28 14:23:41 UTC
Before today I saw this problem on Hudson only, however when I ran the PHP tests today upon Errno's request at least half of the test cases were failing and 
the whole process was terribly slow. Something must have changed and now this issue is really serious
Comment 4 Vitezslav Stejskal 2009-05-28 19:29:50 UTC
I'll have a look.
Comment 5 Vitezslav Stejskal 2009-06-03 13:30:03 UTC
http://hg.netbeans.org/jet-main/rev/300d1a61a81f
Comment 6 Quality Engineering 2009-06-04 08:58:41 UTC
Integrated into 'main-golden', will be available in build *200906040201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/300d1a61a81f
User: Vita Stejskal <vstejskal@netbeans.org>
Log: #166173: there was no PathRecognizer registered in tests