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 267949

Summary: Test RemoteDevelopment2Test is broken
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: RemoteAssignee: Vladimir Kvashin <vkvashin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: Dev   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Alexander Simon 2016-09-09 12:42:34 UTC
The testsuite: org.netbeans.modules.cnd.remote.test.RemoteDevelopment2Test
is broken due to lack of dependencies and service providers.

We cannot rely on "successful" test status because test log has SEVERE Error.

Please fix warning:
    [junit] INFO: Warning - could not install some modules:
    [junit] 	org.netbeans.modules.editor.lib2 - No module providing the capability org.netbeans.modules.editor.actions could be found.
    [junit] 	org.netbeans.modules.projectui - The module named org.netbeans.modules.favorites/1 was needed and not found.
    [junit] 	org.netbeans.modules.projectui - The module named org.netbeans.core.execution/1 was needed and not found.
    [junit] 	org.netbeans.modules.projectui - The module named org.netbeans.modules.sendopts/2 was needed and not found.
    [junit] 	org.netbeans.modules.editor.lib - The module org.netbeans.modules.editor.lib2 would also need to be installed.
....

And error:
    [junit] SEVERE: Error in RequestProcessor org.netbeans.modules.parsing.impl.indexing.IndexingModule$Startup
    [junit] org.openide.util.RequestProcessor$SlowItem: task failed due to: java.lang.IllegalStateException: No ActiveDocumentProvider instance in global lookup.
    [junit] 	at org.openide.util.RequestProcessor.post(RequestProcessor.java:420)
    [junit] 	at org.netbeans.core.startup.NbStartStop.initialize(NbStartStop.java:87)
....

For more information see log if hudson test job "cnd-test-solaris10.x86".
Comment 1 Vladimir Kvashin 2016-09-09 14:56:22 UTC
Just not enough dependencies after splitting cnd.remote into ui and non-ui parts - the same as in issue 267950 that has been just fixed.

*** This bug has been marked as a duplicate of bug 267950 ***
Comment 2 Alexander Simon 2016-09-12 15:32:19 UTC
Not fixed. The same messages in the log.
Comment 3 Vladimir Kvashin 2016-09-13 12:03:00 UTC
You are right, the reason of this bug was different. Thanks. Fixed in 
http://hg.netbeans.org/cnd-main/rev/6a9afa8d0bd2
Comment 4 Vladimir Kvashin 2016-09-13 15:12:49 UTC
There are still such messages in the log, but tests run, I checked this in debugger and on hudson site. So tests are not broken. Sure we should get rid of this messages. I filed a separate P3 issue 268002 concerning that.
Comment 5 Quality Engineering 2016-09-14 02:06:50 UTC
Integrated into 'main-silver', will be available in build *201609140002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6a9afa8d0bd2
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #267949 - Test RemoteDevelopment2Test is broken