Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1351

Failing build because of OSGi / Karaf tests

    XMLWordPrintableJSON

Details

    Description

      Default build fails (since over one year) because of failing karaf-fit: https://builds.apache.org/job/olingo-odata4/1502/consoleText

      -------------------------------------------------------
      T E S T S
      -------------------------------------------------------
      Running org.apache.olingo.osgi.itests.BundlesTest
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.83 sec <<< FAILURE! - in org.apache.olingo.osgi.itests.BundlesTest
      test(org.apache.olingo.osgi.itests.BundlesTest) Time elapsed: 0.122 sec <<< FAILURE!
      java.lang.AssertionError: Bundle org.apache.olingo.odata-server-api should be started expected:<32> but was:<2>
      at org.junit.Assert.fail(Assert.java:88)
      at org.junit.Assert.failNotEquals(Assert.java:743)
      at org.junit.Assert.assertEquals(Assert.java:118)
      at org.junit.Assert.assertEquals(Assert.java:555)
      at org.apache.olingo.osgi.itests.OlingoOSGiTestSupport.assertBundleStarted(OlingoOSGiTestSupport.java:123)
      at org.apache.olingo.osgi.itests.BundlesTest.test(BundlesTest.java:40)

      Running org.apache.olingo.osgi.itests.server.CarServiceTest
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.982 sec <<< FAILURE! - in org.apache.olingo.osgi.itests.server.CarServiceTest
      testServiceStarted(org.apache.olingo.osgi.itests.server.CarServiceTest) Time elapsed: 6.982 sec <<< FAILURE!
      java.lang.AssertionError: Bundle org.apache.olingo.odata-server-osgi-sample should be started expected:<32> but was:<2>
      at org.junit.Assert.fail(Assert.java:88)
      at org.junit.Assert.failNotEquals(Assert.java:743)
      at org.junit.Assert.assertEquals(Assert.java:118)
      at org.junit.Assert.assertEquals(Assert.java:555)
      at org.apache.olingo.osgi.itests.OlingoOSGiTestSupport.assertBundleStarted(OlingoOSGiTestSupport.java:123)
      at org.apache.olingo.osgi.itests.server.CarServiceTest.testServiceStarted(CarServiceTest.java:52)

      Attachments

        Activity

          People

            mirbo mibo
            mirbo mibo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: