You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2013/02/08 11:39:12 UTC

[jira] [Resolved] (DOSGI-156) Failures in the OSGi Compliance Tests

     [ https://issues.apache.org/jira/browse/DOSGI-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Bosschaert resolved DOSGI-156.
------------------------------------

    Resolution: Fixed

With commit r1442924 I have changed as much as I think can be done now. As I mentioned in my comment above, some CT tests that relate to events still fail, but I suspect that this is actually due to the CT not being flexible enough around when these events are sent. 

I have created OSGi CT bugs for this.

Closing as fixed. Once the OSGi CT bugs have been addressed we need to revisit.
                
> Failures in the OSGi Compliance Tests
> -------------------------------------
>
>                 Key: DOSGI-156
>                 URL: https://issues.apache.org/jira/browse/DOSGI-156
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: Discovery, DSW, Product
>    Affects Versions: 1.4
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>
> When running the 1.4.0 release through the OSGi Enterprise R5 TCK the following errors/failures appear:
> Remote Services CT:
> {noformat}  <testcase name='testSimpleRegistration' time='0.754' classname='org.osgi.test.cases.remoteservices.junit.SimpleTest'>
>     <error type='org.osgi.framework.BundleException'><![CDATA[org.osgi.framework.BundleException: Exception in org.apache.cxf.dosgi.discovery.zookeeper.server.config.Activator.start() of bundle org.apache.cxf.dosgi.discovery.server.config.
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
> {noformat}
> Remote Service Admin CT:
> {noformat}
>   <testcase name='testExportUnsupportedConfigType' time='0.350' classname='org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminExportTest'>
>     <failure type='junit.framework.AssertionFailedError'><![CDATA[junit.framework.AssertionFailedError: 122.4.1: service must not be exported due to unsatisfied config type
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminExportTest.testExportUnsupportedConfigType(RemoteServiceAdminExportTest.java:121)
>   <testcase name='testExportUnsupportedIntent' time='0.23' classname='org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminExportTest'>
>     <failure type='junit.framework.AssertionFailedError'><![CDATA[junit.framework.AssertionFailedError: 122.4.1: service must not be exported due to unsatisfied service intent
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminExportTest.testExportUnsupportedIntent(RemoteServiceAdminExportTest.java:161)
>   <testcase name='testExportUnsupportedIntentExtra' time='0.23' classname='org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminExportTest'>
>     <failure type='junit.framework.AssertionFailedError'><![CDATA[junit.framework.AssertionFailedError: 122.4.1: service must not be exported due to unsatisfied service intent
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminExportTest.testExportUnsupportedIntentExtra(RemoteServiceAdminExportTest.java:202)
>   <testcase name='testExportRSAListenerNotification' time='2.18' classname='org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminExportTest'>
>     <failure type='junit.framework.AssertionFailedError'><![CDATA[junit.framework.AssertionFailedError: expected:<1> but was:<2>
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.failNotEquals(Assert.java:280)
> at junit.framework.Assert.assertEquals(Assert.java:64)
> at junit.framework.Assert.assertEquals(Assert.java:198)
> at junit.framework.Assert.assertEquals(Assert.java:204)
> at org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminExportTest.testExportRSAListenerNotification(RemoteServiceAdminExportTest.java:296)
>   <testcase name='testExportConfigurationType' time='2.48' classname='org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminExportTest'>
>     <failure type='junit.framework.ComparisonFailure'><![CDATA[junit.framework.ComparisonFailure: service was exported with different config type than requested expected:<[wsdl]> but was:<[org.apache.cxf.rs]>
> at junit.framework.Assert.assertEquals(Assert.java:81)
> at org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminExportTest.testExportConfigurationType(RemoteServiceAdminExportTest.java:746)
>   <testcase name='testForceExportFailure' time='2.19' classname='org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminExportTest'>
>     <failure type='junit.framework.ComparisonFailure'><![CDATA[junit.framework.ComparisonFailure: service was exported with different config type than requested expected:<[wsdl]> but was:<[org.apache.cxf.rs]>
> at junit.framework.Assert.assertEquals(Assert.java:81)
> at org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminExportTest.testForceExportFailure(RemoteServiceAdminExportTest.java:888)
>   <testcase name='testExportConfigOverride' time='0.24' classname='org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminExportTest'>
>     <failure type='junit.framework.AssertionFailedError'><![CDATA[junit.framework.AssertionFailedError
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at junit.framework.Assert.assertFalse(Assert.java:34)
> at junit.framework.Assert.assertFalse(Assert.java:41)
> at org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminExportTest.testExportConfigOverride(RemoteServiceAdminExportTest.java:1023)
>   <testcase name='testDiscovery122_6' time='0.755' classname='org.osgi.test.cases.remoteserviceadmin.junit.DiscoveryTest'>
>     <error type='org.osgi.framework.BundleException'><![CDATA[org.osgi.framework.BundleException: Exception in org.apache.cxf.dosgi.discovery.zookeeper.server.config.Activator.start() of bundle org.apache.cxf.dosgi.discovery.server.config.
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:292)
> at org.osgi.test.cases.remoteserviceadmin.junit.MultiFrameworkTestCase.installFramework(MultiFrameworkTestCase.java:311)
> at org.osgi.test.cases.remoteserviceadmin.junit.MultiFrameworkTestCase.setUp(MultiFrameworkTestCase.java:95)
> at org.osgi.test.cases.remoteserviceadmin.junit.DiscoveryTest.setUp(DiscoveryTest.java:79)
>   <testcase name='testDiscovery122_6_8' time='0.574' classname='org.osgi.test.cases.remoteserviceadmin.junit.DiscoveryTest'>
>     <error type='org.osgi.framework.BundleException'><![CDATA[org.osgi.framework.BundleException: Exception in org.apache.cxf.dosgi.discovery.zookeeper.server.config.Activator.start() of bundle org.apache.cxf.dosgi.discovery.server.config.
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:292)
> at org.osgi.test.cases.remoteserviceadmin.junit.MultiFrameworkTestCase.installFramework(MultiFrameworkTestCase.java:311)
> at org.osgi.test.cases.remoteserviceadmin.junit.MultiFrameworkTestCase.setUp(MultiFrameworkTestCase.java:95)
> at org.osgi.test.cases.remoteserviceadmin.junit.DiscoveryTest.setUp(DiscoveryTest.java:79)
>   <testcase name='testExportImportManually' time='0.675' classname='org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminTest'>
>     <error type='org.osgi.framework.BundleException'><![CDATA[org.osgi.framework.BundleException: Exception in org.apache.cxf.dosgi.discovery.zookeeper.server.config.Activator.start() of bundle org.apache.cxf.dosgi.discovery.server.config.
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:292)
> at org.osgi.test.cases.remoteserviceadmin.junit.MultiFrameworkTestCase.installFramework(MultiFrameworkTestCase.java:311)
> at org.osgi.test.cases.remoteserviceadmin.junit.MultiFrameworkTestCase.setUp(MultiFrameworkTestCase.java:95)
> at org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminTest.setUp(RemoteServiceAdminTest.java:71)
>   <testcase name='testExportImportManuallyMultipleVersions' time='0.656' classname='org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminTest'>
>     <error type='org.osgi.framework.BundleException'><![CDATA[org.osgi.framework.BundleException: Exception in org.apache.cxf.dosgi.discovery.zookeeper.server.config.Activator.start() of bundle org.apache.cxf.dosgi.discovery.server.config.
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:292)
> at org.osgi.test.cases.remoteserviceadmin.junit.MultiFrameworkTestCase.installFramework(MultiFrameworkTestCase.java:311)
> at org.osgi.test.cases.remoteserviceadmin.junit.MultiFrameworkTestCase.setUp(MultiFrameworkTestCase.java:95)
> at org.osgi.test.cases.remoteserviceadmin.junit.RemoteServiceAdminTest.setUp(RemoteServiceAdminTest.java:71)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira