Search code examples
mavenopendaylightpax-examintegration-testing

Gave up waiting for service error: during pax exam integration tests in opendaylight


I'm developing an app on Opendaylight using the startup archetype. I'm using the Carbon version and after running mvn install, I get this error during the pax exam integration tests:

org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for service org.opendaylight.controller.sal.binding.api.BindingAwareBroker

Can anyone help me with this error please?


Solution

  • That message just means that the MD SAL data store is not up and running. You need to look into the Karaf logs from the IT to understand why that is so - look around in the *Test-output.txt, *Test.txt and *Test.xml files in target/surefire-reports/ of your failing integration test artifact.