Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-993

Test system_tests_topology_disposition fails intermittently

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.3.0
    • Tests
    • None

    Description

      Test: DeleteSpuriousConnector

      This test might run 20 times OK but it fails (for me!) eventually on today's master branch.

      For some reason instead of the messages being received they are being released. This messes up the on_message n_received count so that it never reaches the magic 13 and therefore it never sends out the kill connector command.

      Here is a debug trace. Not that after 'receiving' 30 messages the n_received count only gets to 12.

      39: ======================================================================
      39: FAIL: test_01_delete_spurious_connector (system_tests_topology_disposition.TopologyDispositionTests)
      39: ----------------------------------------------------------------------
      39: Traceback (most recent call last):
      39:   File "/home/chug/git/qpid-dispatch/tests/system_tests_topology_disposition.py", line 379, in test_01_delete_spurious_connector
      39:     self.assertEqual ( None, test.error )
      39: AssertionError: None != 'No confirmed kill on connector.'
      39:
      39: ----------------------------------------------------------------------
      39: Ran 2 tests in 10.250s
      39:
      39: FAILED (failures=1, skipped=1)
      39: 1525876585.928072 on_link_opened
      39: 1525876585.928256 on_link_opened
      39: 1525876585.928463 on_link_opened
      39: 1525876585.928535 on_link_opened
      39: 1525876587.925026 timeout sender
      39: 1525876587.925467 sent: 1
      39: 1525876587.925707 sent: 2
      39: 1525876587.925920 sent: 3
      39: 1525876587.930813 on_released 1
      39: 1525876587.932044 on_released 2
      39: 1525876587.932671 on_released 3
      39: 1525876588.424884 timeout sender
      39: 1525876588.425253 sent: 4
      39: 1525876588.425495 sent: 5
      39: 1525876588.425698 sent: 6
      39: 1525876588.432105 on_released 4
      39: 1525876588.433035 on_released 5
      39: 1525876588.433282 on_released 6
      39: 1525876588.925559 timeout sender
      39: 1525876588.925939 sent: 7
      39: 1525876588.926234 sent: 8
      39: 1525876588.926466 sent: 9
      39: 1525876588.931285 on_released 7
      39: 1525876588.931881 on_released 8
      39: 1525876588.932027 on_released 9
      39: 1525876589.426222 timeout sender
      39: 1525876589.426562 sent: 10
      39: 1525876589.426783 sent: 11
      39: 1525876589.426976 sent: 12
      39: 1525876589.432599 on_released 10
      39: 1525876589.433407 on_released 11
      39: 1525876589.433601 on_released 12
      39: 1525876589.927745 timeout sender
      39: 1525876589.927996 sent: 13
      39: 1525876589.928149 sent: 14
      39: 1525876589.928321 sent: 15
      39: 1525876589.932239 on_released 13
      39: 1525876589.932775 on_released 14
      39: 1525876589.932907 on_released 15
      39: 1525876590.427907 timeout sender
      39: 1525876590.428106 sent: 16
      39: 1525876590.428294 sent: 17
      39: 1525876590.428404 sent: 18
      39: 1525876590.431869 on_released 16
      39: 1525876590.432348 on_released 17
      39: 1525876590.432463 on_released 18
      39: 1525876590.928454 timeout sender
      39: 1525876590.928758 sent: 19
      39: 1525876590.928955 sent: 20
      39: 1525876590.929130 sent: 21
      39: 1525876590.935306 received message 18
      39: 1525876590.935326 n_received == 1
      39: 1525876590.936363 received message 19
      39: 1525876590.936381 n_received == 2
      39: 1525876590.936989 received message 20
      39: 1525876590.937010 n_received == 3
      39: 1525876590.938963 on_accepted 1
      39: 1525876590.940796 on_accepted 2
      39: 1525876590.941263 on_accepted 3
      39: 1525876591.429399 timeout sender
      39: 1525876591.429752 sent: 22
      39: 1525876591.429980 sent: 23
      39: 1525876591.430198 sent: 24
      39: 1525876591.438830 received message 21
      39: 1525876591.438858 n_received == 4
      39: 1525876591.439422 received message 22
      39: 1525876591.439432 n_received == 5
      39: 1525876591.440099 received message 23
      39: 1525876591.440111 n_received == 6
      39: 1525876591.442100 on_accepted 4
      39: 1525876591.442532 on_accepted 5
      39: 1525876591.442632 on_accepted 6
      39: 1525876591.930557 timeout sender
      39: 1525876591.930793 sent: 25
      39: 1525876591.930934 sent: 26
      39: 1525876591.931059 sent: 27
      39: 1525876591.936629 received message 24
      39: 1525876591.936649 n_received == 7
      39: 1525876591.937648 received message 25
      39: 1525876591.937665 n_received == 8
      39: 1525876591.938337 received message 26
      39: 1525876591.938355 n_received == 9
      39: 1525876591.940128 on_accepted 7
      39: 1525876591.941903 on_accepted 8
      39: 1525876591.942270 on_accepted 9
      39: 1525876592.431203 timeout sender
      39: 1525876592.431488 sent: 28
      39: 1525876592.431667 sent: 29
      39: 1525876592.431824 sent: 30
      39: 1525876592.438571 received message 27
      39: 1525876592.438605 n_received == 10
      39: 1525876592.440517 received message 28
      39: 1525876592.440549 n_received == 11
      39: 1525876592.441283 received message 29
      39: 1525876592.441309 n_received == 12
      39: 1525876592.443643 on_accepted 10
      39: 1525876592.444859 on_accepted 11
      39: 1525876592.445050 on_accepted 12
      1/1 Test #39: system_tests_topology_disposition ...***Failed   10.44 sec

      0% tests passed, 1 tests failed out of 1

      Attachments

        Activity

          People

            chug Charles E. Rolke
            chug Charles E. Rolke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: