Uploaded image for project: 'odlparent'
  1. odlparent
  2. ODLPARENT-312

Bundle states are not collected reliably on feature-test-plugin execution

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • 13.1.2
    • 13.1.0, 13.1.1
    • SFT
    • Highest

      The plugin implementation relays on bundle state change events generated by bundleContext instance in order to track actual karaf bundle states. While OSGi bundle state differs from karaf's bundle state the events cannot be used as reliable source of information causing status updates being not tracked

      example from log attached

      2024-04-22T09:21:25,209 | INFO  | RMI TCP Connection(4)-127.0.0.1 | TestProbe                        | 97 - PAXEXAM-PROBE-5fdf621d-25eb-4bf6-af42-4400b9c1220c - 0.0.0 | Bundle states check results: total=229, byResult={IN_PROGRESS=2, SUCCESS=227}
      ...
      2024-04-22T09:23:25,211 | WARN  | RMI TCP Connection(4)-127.0.0.1 | TestProbe                        | 97 - PAXEXAM-PROBE-5fdf621d-25eb-4bf6-af42-4400b9c1220c - 0.0.0 | NOK Bundle org.opendaylight.controller.sal-cluster-admin-impl -> State: Active
      2024-04-22T09:23:25,213 | WARN  | RMI TCP Connection(4)-127.0.0.1 | TestProbe                        | 97 - PAXEXAM-PROBE-5fdf621d-25eb-4bf6-af42-4400b9c1220c - 0.0.0 | NOK Bundle org.opendaylight.controller.sal-distributed-datastore -> State: Active

      suggested to return to periodic bundle states check as been used in junit SFT implementation, also return original log output format for NOK bundles

            rkashapov Ruslan Kashapov
            rkashapov Ruslan Kashapov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: