cloud backend: broken test of MS Azure container #2211

Closed
opened 2014-03-29 21:29:51 +00:00 by daira · 1 comment
daira commented 2014-03-29 21:29:51 +00:00
Owner
allmydata.test.test_storage.MSAzureAuthentication.test_standard_headers
===============================================================================
TODO
Reason: 'Behaviour changed for corrupted shares; test is probably now invalid.'
Traceback (most recent call last):
> File "/home/davidsarah/tahoe/git/cloud-branch/src/allmydata/test/test_repairer.py", line 119, in _check
    judgement(vr)
> File "/home/davidsarah/tahoe/git/cloud-branch/src/allmydata/test/test_repairer.py", line 173, in judge_visible_corruption
    self.failUnlessEqual(len(vr.get_servers_responding()), 9)
> File "/usr/local/lib/python2.7/dist-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/trial/_synctest.py", line 356, in assertEqual
    % (msg, pformat(first), pformat(second)))
twisted.trial.unittest.FailTest: not equal:
a = 10
b = 9

vr.data is: {'count-unrecoverable-versions': 0, 'count-good-share-hosts': 9, 'count-shares-good': 9, 'count-corrupt-shares': 0, 'list-corrupt-shares': [], 'list-incompatible-shares': [], 'count-shares-expected': 10, 'count-incompatible-shares': 0, 'count-shares-needed': 3, 'sharemap': {1: ['\xc4\x83\x9eJ\x7f\xac| .\xc90\xf4b\xe4\x92\xbe\xaa\xe6\t\x80'], 2: ['\xfcxa\xfa\xf4z\xf3I)\xe5\xc3z\xfa\x14\xb7\xaa\x9a\xbd\x90\x8b'], 3: ['W\xaa\x1d\x05\xe3l\x19}\xd2:\xa7\xae(\xc5\x7fh\xc3} i'], 4: ["\x02\xcd\xea\x10,'\xf7p'\xc2\x1a\xf0\xf7\xd6\xe3XT\x89*\xdc"], 5: ['+\x83\xfa\xc0\xc3\xff\x16%X\xfcv\x96=w\xde\x8d\x15\xd1\xc0\xcc'], 6: ["\xf2G'\xa0\xe0\xf3m\xa0g\xc5\x81\x97b\xe44\xd0\xb5J\xb4\xa6"], 7: ['!\x92"\x0b\xf0\xdcF\x1c\xa9\xbe\xb6\xa8\xdfg\x08\xe1Zs+T'], 8: ["\x0e\xd6\xb3>\xd6\x85\x9d\x94')'\xf03:R\x88\xf1\x04\x1b\xa4"], 9: ['\xb9\xa3N\x80u\x9c_\xf7\x97FSS\xa7\xbd\x02\xf9f$:\t']}, 'count-recoverable-versions': 1, 'count-wrong-shares': 0, 'servers-responding': ['\xc4\x83\x9eJ\x7f\xac| .\xc90\xf4b\xe4\x92\xbe\xaa\xe6\t\x80', '+\x83\xfa\xc0\xc3\xff\x16%X\xfcv\x96=w\xde\x8d\x15\xd1\xc0\xcc', "\x0e\xd6\xb3>\xd6\x85\x9d\x94')'\xf03:R\x88\xf1\x04\x1b\xa4", 'W\xaa\x1d\x05\xe3l\x19}\xd2:\xa7\xae(\xc5\x7fh\xc3} i', '\xfcxa\xfa\xf4z\xf3I)\xe5\xc3z\xfa\x14\xb7\xaa\x9a\xbd\x90\x8b', '\x8de\x1cqM\xba\xc3\x0b\x80\x9aC<5\xfc$\xdc\xd5\xd3\x8b&', '!\x92"\x0b\xf0\xdcF\x1c\xa9\xbe\xb6\xa8\xdfg\x08\xe1Zs+T', "\xf2G'\xa0\xe0\xf3m\xa0g\xc5\x81\x97b\xe44\xd0\xb5J\xb4\xa6", '\xb9\xa3N\x80u\x9c_\xf7\x97FSS\xa7\xbd\x02\xf9f$:\t', "\x02\xcd\xea\x10,'\xf7p'\xc2\x1a\xf0\xf7\xd6\xe3XT\x89*\xdc"]}
``` allmydata.test.test_storage.MSAzureAuthentication.test_standard_headers =============================================================================== TODO Reason: 'Behaviour changed for corrupted shares; test is probably now invalid.' Traceback (most recent call last): > File "/home/davidsarah/tahoe/git/cloud-branch/src/allmydata/test/test_repairer.py", line 119, in _check judgement(vr) > File "/home/davidsarah/tahoe/git/cloud-branch/src/allmydata/test/test_repairer.py", line 173, in judge_visible_corruption self.failUnlessEqual(len(vr.get_servers_responding()), 9) > File "/usr/local/lib/python2.7/dist-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/trial/_synctest.py", line 356, in assertEqual % (msg, pformat(first), pformat(second))) twisted.trial.unittest.FailTest: not equal: a = 10 b = 9 vr.data is: {'count-unrecoverable-versions': 0, 'count-good-share-hosts': 9, 'count-shares-good': 9, 'count-corrupt-shares': 0, 'list-corrupt-shares': [], 'list-incompatible-shares': [], 'count-shares-expected': 10, 'count-incompatible-shares': 0, 'count-shares-needed': 3, 'sharemap': {1: ['\xc4\x83\x9eJ\x7f\xac| .\xc90\xf4b\xe4\x92\xbe\xaa\xe6\t\x80'], 2: ['\xfcxa\xfa\xf4z\xf3I)\xe5\xc3z\xfa\x14\xb7\xaa\x9a\xbd\x90\x8b'], 3: ['W\xaa\x1d\x05\xe3l\x19}\xd2:\xa7\xae(\xc5\x7fh\xc3} i'], 4: ["\x02\xcd\xea\x10,'\xf7p'\xc2\x1a\xf0\xf7\xd6\xe3XT\x89*\xdc"], 5: ['+\x83\xfa\xc0\xc3\xff\x16%X\xfcv\x96=w\xde\x8d\x15\xd1\xc0\xcc'], 6: ["\xf2G'\xa0\xe0\xf3m\xa0g\xc5\x81\x97b\xe44\xd0\xb5J\xb4\xa6"], 7: ['!\x92"\x0b\xf0\xdcF\x1c\xa9\xbe\xb6\xa8\xdfg\x08\xe1Zs+T'], 8: ["\x0e\xd6\xb3>\xd6\x85\x9d\x94')'\xf03:R\x88\xf1\x04\x1b\xa4"], 9: ['\xb9\xa3N\x80u\x9c_\xf7\x97FSS\xa7\xbd\x02\xf9f$:\t']}, 'count-recoverable-versions': 1, 'count-wrong-shares': 0, 'servers-responding': ['\xc4\x83\x9eJ\x7f\xac| .\xc90\xf4b\xe4\x92\xbe\xaa\xe6\t\x80', '+\x83\xfa\xc0\xc3\xff\x16%X\xfcv\x96=w\xde\x8d\x15\xd1\xc0\xcc', "\x0e\xd6\xb3>\xd6\x85\x9d\x94')'\xf03:R\x88\xf1\x04\x1b\xa4", 'W\xaa\x1d\x05\xe3l\x19}\xd2:\xa7\xae(\xc5\x7fh\xc3} i', '\xfcxa\xfa\xf4z\xf3I)\xe5\xc3z\xfa\x14\xb7\xaa\x9a\xbd\x90\x8b', '\x8de\x1cqM\xba\xc3\x0b\x80\x9aC<5\xfc$\xdc\xd5\xd3\x8b&', '!\x92"\x0b\xf0\xdcF\x1c\xa9\xbe\xb6\xa8\xdfg\x08\xe1Zs+T', "\xf2G'\xa0\xe0\xf3m\xa0g\xc5\x81\x97b\xe44\xd0\xb5J\xb4\xa6", '\xb9\xa3N\x80u\x9c_\xf7\x97FSS\xa7\xbd\x02\xf9f$:\t', "\x02\xcd\xea\x10,'\xf7p'\xc2\x1a\xf0\xf7\xd6\xe3XT\x89*\xdc"]} ```
tahoe-lafs added the
code-storage
normal
defect
cloud-branch
labels 2014-03-29 21:29:51 +00:00
tahoe-lafs added this to the eventually milestone 2014-03-29 21:29:51 +00:00

The established line of development on the "cloud backend" branch has been abandoned. This ticket is being closed as part of a batch-ticket cleanup for "cloud backend"-related tickets.

If this is a bug, it is probably genuinely no longer relevant. The "cloud backend" branch is too large and unwieldy to ever be merged into the main line of development (particularly now that the Python 3 porting effort is significantly underway).

If this is a feature, it may be relevant to some future efforts - if they are sufficiently similar to the "cloud backend" effort - but I am still closing it because there are no immediate plans for a new development effort in such a direction.

Tickets related to the "leasedb" are included in this set because the "leasedb" code is in the "cloud backend" branch and fairly well intertwined with the "cloud backend". If there is interest in lease implementation change at some future time then that effort will essentially have to be restarted as well.

The established line of development on the "cloud backend" branch has been abandoned. This ticket is being closed as part of a batch-ticket cleanup for "cloud backend"-related tickets. If this is a bug, it is probably genuinely no longer relevant. The "cloud backend" branch is too large and unwieldy to ever be merged into the main line of development (particularly now that the Python 3 porting effort is significantly underway). If this is a feature, it may be relevant to some future efforts - if they are sufficiently similar to the "cloud backend" effort - but I am still closing it because there are no immediate plans for a new development effort in such a direction. Tickets related to the "leasedb" are included in this set because the "leasedb" code is in the "cloud backend" branch and fairly well intertwined with the "cloud backend". If there is interest in lease implementation change at some future time then that effort will essentially have to be restarted as well.
exarkun added the
wontfix
label 2020-10-30 12:35:44 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#2211
No description provided.