Alan Conway created QPID-4136:
---------------------------------

             Summary: HA sporadic failures in ha_tests
                 Key: QPID-4136
                 URL: https://issues.apache.org/jira/browse/QPID-4136
             Project: Qpid
          Issue Type: Bug
          Components: C++ Clustering
    Affects Versions: 0.7
            Reporter: Alan Conway
            Assignee: Alan Conway
             Fix For: 0.18


ha_tests.py fails sporadically. 2 different types of failure have been 
observered:

---- failure 1
ha_tests.RecoveryTests.test_queue_hold 
............................................ fail
Error during test:  Traceback (most recent call last):
    File "/home/aconway/qpid/dbg/src/tests/python/commands/qpid-python-test", 
line 340, in run
      phase()
    File "/home/aconway/qpid/qpid/cpp/src/tests/ha_tests.py", line 901, in 
test_queue_hold
      cluster[1].assert_browse_backup("q1", [str(i) for i in 
range(100)+range(100,200)])
    File "/home/aconway/qpid/qpid/cpp/src/tests/ha_tests.py", line 158, in 
assert_browse_backup
      assert_browse_retry(bs, queue, expected, **kwargs)
    File "/home/aconway/qpid/qpid/cpp/src/tests/brokertest.py", line 466, in 
assert_browse_retry
      assert expect_contents == actual_contents, msg
  AssertionError: browse failed: ['0', '1', '2', '3', '4', '5', '6', '7', '8', 
'9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', 
'22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', 
'35', '36', '37', '38', '39', '40', '41', '42', '43', '44', '45', '46', '47', 
'48', '49', '50', '51', '52', '53', '54', '55', '56', '57', '58', '59', '60', 
'61', '62', '63', '64', '65', '66', '67', '68', '69', '70', '71', '72', '73', 
'74', '75', '76', '77', '78', '79', '80', '81', '82', '83', '84', '85', '86', 
'87', '88', '89', '90', '91', '92', '93', '94', '95', '96', '97', '98', '99', 
'100', '101', '102', '103', '104', '105', '106', '107', '108', '109', '110', 
'111', '112', '113', '114', '115', '116', '117', '118', '119', '120', '121', 
'122', '123', '124', '125', '126', '127', '128', '129', '130', '131', '132', 
'133', '134', '135', '136', '137', '138', '139', '140', '141', '142', '143', 
'144', '145', '146', '147', '148', '149', '150', '151', '152', '153', '154', 
'155', '156', '157', '158', '159', '160', '161', '162', '163', '164', '165', 
'166', '167', '168', '169', '170', '171', '172', '173', '174', '175', '176', 
'177', '178', '179', '180', '181', '182', '183', '184', '185', '186', '187', 
'188', '189', '190', '191', '192', '193', '194', '195', '196', '197', '198', 
'199'] != []

----- failure 2

ha_tests.RecoveryTests.test_queue_hold .................................. fail
Error during test:  Traceback (most recent call last):
    File 
"/var/lib/jenkins/workspace/Qpid-cpp/qpid/cpp/src/tests/python/commands/qpid-python-test",
 line 340, in run
      phase()
    File "/var/lib/jenkins/workspace/Qpid-cpp/qpid/cpp/src/tests/ha_tests.py", 
line 891, in test_queue_hold
      assertSyncTimeout(s1)
    File "/var/lib/jenkins/workspace/Qpid-cpp/qpid/cpp/src/tests/ha_tests.py", 
line 875, in assertSyncTimeout
      self.fail("Expected Timeout exception")
    File "/usr/lib64/python2.6/unittest.py", line 316, in fail
      raise self.failureException, msg
  AssertionError: Expected Timeout exception

 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to