Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1586

Extended SingleFeatureTest incl. TestBundleDiag fails for some features with weird Missing dependencies: (&(|(type=default)(!(type=*)))(objectClass=org.opendaylight.controller.md.sal.dom.api.DOMRpcService))

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • None
    • blueprint
    • None
    • Operating System: All
      Platform: All

    • 7595

      Over the past week or so, I've seen the new extended SingleFeatureTest incl. TestBundleDiag fail with something like this:

      Running org.opendaylight.odlparent.featuretest.SingleFeatureTest
      Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 818.523 sec <<< FAILURE! - in org.opendaylight.odlparent.featuretest.SingleFeatureTest
      installFeature(org.opendaylight.odlparent.featuretest.SingleFeatureTest)[repoUrl: file:/w/workspace/controller-distribution-check-carbon/distribution/features-test/target/classes/features.xml, Feature: odl-integration-compatible-with-all 0.6.0-SNAPSHOT] Time elapsed: 528.417 sec <<< ERROR!

      org.awaitility.core.ConditionTimeoutException: Condition with alias 'checkBundleDiagInfos' didn't complete within 5 minutes because lambda expression in org.opendaylight.odlparent.bundlestest.TestBundleDiag: expected system either ready with all bundles Active, or Stopping or Failure (but not still booting in GracePeriod, Waiting, Starting, Unknown;but just Resolved and some exceptional Installed OK) but was <diag: Booting

      {Installed=0, Resolved=4, Unknown=0, GracePeriod=2, Waiting=0, Starting=0, Active=562, Stopping=0, Failure=0}

      1. NOK org.opendaylight.openflowplugin.applications.of-switch-config-pusher: OSGi state = Active, Karaf bundleState = GracePeriod, due to: Blueprint. Missing dependencies: (&(|(type=default)(!(type=*)))(objectClass=org.opendaylight.controller.md.sal.dom.api.DOMRpcService))

      for a few features, across projects, including in:

      and I now suspect that all of these are ultimately due to the same root cause, and indicate some general problem, perhaps a bug in https://github.com/opendaylight/controller/tree/master/opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/ext, or a missing declaration in a base feature, or a missing dependency to a required base feature in all affected features, or...

            vorburger Michael Vorburger
            vorburger Michael Vorburger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: