Created
December 16, 2013 21:12
-
-
Save portante/7994514 to your computer and use it in GitHub Desktop.
Unit test failures running OpenStack Swift review 61585 (https://review.openstack.org/61585) in a SAIO.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ====================================================================== | |
| ERROR: test_get_async_dir (test.unit.obj.test_diskfile.TestDiskFileModuleMethods) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/pportant/swift/test/unit/obj/test_diskfile.py", line 109, in test_get_async_dir | |
| self.assertEquals(diskfile.get_async_dir(1), | |
| File "/home/pportant/swift/swift/obj/diskfile.py", line 105, in get_async_dir | |
| raise ValueError("No policy with index %d" % policy_idx) | |
| ValueError: No policy with index 1 | |
| ====================================================================== | |
| ERROR: test_get_data_dir (test.unit.obj.test_diskfile.TestDiskFileModuleMethods) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/pportant/swift/test/unit/obj/test_diskfile.py", line 102, in test_get_data_dir | |
| self.assertEquals(diskfile.get_data_dir(1), | |
| File "/home/pportant/swift/swift/obj/diskfile.py", line 88, in get_data_dir | |
| raise ValueError("No policy with index %d" % policy_idx) | |
| ValueError: No policy with index 1 | |
| ====================================================================== | |
| FAIL: test_dynamic_datadir (test.unit.obj.test_server.TestObjectController) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/pportant/swift/test/unit/obj/test_server.py", line 3024, in test_dynamic_datadir | |
| self.assertEquals(resp.status_int, 201) | |
| AssertionError: 500 != 201 | |
| -------------------- >> begin captured stdout << --------------------- | |
| test: ERROR __call__ error with PUT /sda1/p/a/c/o : | |
| Traceback (most recent call last): | |
| File "/home/pportant/swift/swift/obj/server.py", line 676, in __call__ | |
| res = method(req) | |
| File "/home/pportant/swift/swift/common/utils.py", line 2012, in wrapped | |
| return func(*a, **kw) | |
| File "/home/pportant/swift/swift/common/utils.py", line 760, in _timing_stats | |
| resp = func(ctrl, *args, **kwargs) | |
| File "/home/pportant/swift/swift/obj/server.py", line 389, in PUT | |
| policy_idx=policy_idx) | |
| File "/home/pportant/swift/swift/obj/server.py", line 151, in get_diskfile | |
| device, partition, account, container, obj, policy_idx, **kwargs) | |
| File "/home/pportant/swift/swift/obj/diskfile.py", line 498, in get_diskfile | |
| policy_idx=policy_idx, **kwargs) | |
| File "/home/pportant/swift/swift/obj/diskfile.py", line 952, in __init__ | |
| device_path, storage_directory(get_data_dir(policy_idx), | |
| File "/home/pportant/swift/swift/obj/diskfile.py", line 88, in get_data_dir | |
| raise ValueError("No policy with index %d" % policy_idx) | |
| ValueError: No policy with index 1 | |
| test: None - - [16/Dec/2013:21:07:35 +0000] "PUT /sda1/p/a/c/o" 500 1018 "-" "-" "-" 0.0017 | |
| --------------------- >> end captured stdout << ---------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment