Uploaded image for project: 'vtn'
  1. vtn
  2. VTN-52

VTN Coordinator test may fail if too many threads are present.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • Core
    • None
    • Operating System: Linux
      Platform: All

    • 2479

    Description

      I observed that VTN Jenkins job failed due to failure of VTN Coordinator UT.

      https://jenkins.opendaylight.org/vtn/job/vtn-verify/628/

      [ RUN ] atomic.sub_old_uint8_race
      test_atomic.cc:631: Failure
      Expected: (0U) != (c), actual: 0 vs 0
      [ FAILED ] atomic.sub_old_uint8_race (270 ms)

      This test creates 4 threads, and let them invoke atomic operation.
      Although the test expects all test threads invoked atomic operation at least once,
      it may not invoke if the thread scheduler on the build host did not dispatch
      test threads. This test needs to ensure that all test threads has been dispatched
      at least once.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            yasuda Shigeru Yasuda
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: