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/01/23 16:46:12 UTC

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

David Bosschaert created DOSGI-156:
--------------------------------------

             Summary: 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


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