Uploaded image for project: 'lispflowmapping'
  1. lispflowmapping
  2. LISPMAP-154

Integration tests fail intermittently with unexpected SMR (a.k.a. the Heisenbug)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • Carbon
    • General
    • None
    • Operating System: All
      Platform: All

    • 8429
    • High

      Integration tests fail relatively rarely when running on Karaf 3 and more often when running on Karaf 4 with message similar to this:

      MappingServiceIntegrationTest.testMultiSite:418->testMultiSiteScenarioA:762 SMR contained Eid [_address=Ipv4PrefixBinary [_ipv4AddressBinary=Ipv4AddressBinary [_value=[-64, 0, 1, 1]], _ipv4MaskLength=32, augmentation=[]], _addressType=class org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.binary.address.types.rev160504.Ipv4PrefixBinaryAfi, _virtualNetworkId=InstanceIdType [_value=2], augmentation=[]] which wasn't expected.

      This points to a concurrency issue in the SMR handling code, which may lead to incorrect SMRs being sent and xTRs maintaining state that is out of date, potentially blackholing traffic.

      See https://logs.opendaylight.org/releng/jenkins092/lispflowmapping-merge-carbon/119/console.log.gz for an example.

            Unassigned Unassigned
            ljakab Lori Jakab
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: