-
-
Save notmyname/d1f5071a445bc2bf8f03 to your computer and use it in GitHub Desktop.
swift unit tests fail on 32-bit with max file size > 2**32
This file contains 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
pi@raspberrypi ~/swift $ ./.unittests | |
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SS.................................................................................................................................................................................................................SSSS................................................................................................................................................................................................................................................................................................................F............F.........................................................................................F.............................................................................................................................................F............F.........................................................................................F..................................................................... | |
====================================================================== | |
FAIL: test_COPY_account_source_larger_than_max_file_size (test.unit.proxy.test_mem_server.TestObjectController) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/pi/swift/test/unit/proxy/test_server.py", line 3575, in test_COPY_account_source_larger_than_max_file_size | |
resp = controller.COPY(req) | |
File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ | |
self.gen.next() | |
File "/home/pi/swift/test/unit/proxy/test_server.py", line 2989, in controller_context | |
unused_status_list) | |
AssertionError: UN-USED STATUS CODES: [200, 200] | |
-------------------- >> begin captured stdout << --------------------- | |
proxy-ut ERROR: ERROR with Account server 10.0.0.2:1002/sdc re: Trying to HEAD /v1/a1: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: ERROR with Account server 10.0.0.0:1000/sda re: Trying to HEAD /v1/a1: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: ERROR with Account server 10.0.0.1:1001/sdb re: Trying to HEAD /v1/a1: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: Account HEAD returning 503 for [] | |
--------------------- >> end captured stdout << ---------------------- | |
====================================================================== | |
FAIL: test_COPY_source_larger_than_max_file_size (test.unit.proxy.test_mem_server.TestObjectController) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/pi/swift/test/unit/proxy/test_server.py", line 3552, in test_COPY_source_larger_than_max_file_size | |
resp = controller.COPY(req) | |
File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ | |
self.gen.next() | |
File "/home/pi/swift/test/unit/proxy/test_server.py", line 2989, in controller_context | |
unused_status_list) | |
AssertionError: UN-USED STATUS CODES: [200, 200] | |
-------------------- >> begin captured stdout << --------------------- | |
proxy-ut ERROR: ERROR with Account server 10.0.0.1:1001/sdb re: Trying to HEAD /v1/a: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: ERROR with Account server 10.0.0.0:1000/sda re: Trying to HEAD /v1/a: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: ERROR with Account server 10.0.0.2:1002/sdc re: Trying to HEAD /v1/a: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: Account HEAD returning 503 for [] | |
--------------------- >> end captured stdout << ---------------------- | |
====================================================================== | |
FAIL: test_copy_source_larger_than_max_file_size (test.unit.proxy.test_mem_server.TestObjectController) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/pi/swift/test/unit/proxy/test_server.py", line 3313, in test_copy_source_larger_than_max_file_size | |
self.assertEquals(resp.status_int, 413) | |
AssertionError: 404 != 413 | |
-------------------- >> begin captured stdout << --------------------- | |
proxy-ut ERROR: ERROR with Account server 10.0.0.0:1000/sda re: Trying to HEAD /v1/a: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: ERROR with Account server 10.0.0.1:1001/sdb re: Trying to HEAD /v1/a: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: ERROR with Account server 10.0.0.2:1002/sdc re: Trying to HEAD /v1/a: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: Account HEAD returning 503 for [] | |
--------------------- >> end captured stdout << ---------------------- | |
====================================================================== | |
FAIL: test_COPY_account_source_larger_than_max_file_size (test.unit.proxy.test_server.TestObjectController) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/pi/swift/test/unit/proxy/test_server.py", line 3575, in test_COPY_account_source_larger_than_max_file_size | |
resp = controller.COPY(req) | |
File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ | |
self.gen.next() | |
File "/home/pi/swift/test/unit/proxy/test_server.py", line 2989, in controller_context | |
unused_status_list) | |
AssertionError: UN-USED STATUS CODES: [200, 200] | |
-------------------- >> begin captured stdout << --------------------- | |
proxy-ut ERROR: ERROR with Account server 10.0.0.0:1000/sda re: Trying to HEAD /v1/a1: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: ERROR with Account server 10.0.0.2:1002/sdc re: Trying to HEAD /v1/a1: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: ERROR with Account server 10.0.0.1:1001/sdb re: Trying to HEAD /v1/a1: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: Account HEAD returning 503 for [] | |
--------------------- >> end captured stdout << ---------------------- | |
====================================================================== | |
FAIL: test_COPY_source_larger_than_max_file_size (test.unit.proxy.test_server.TestObjectController) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/pi/swift/test/unit/proxy/test_server.py", line 3552, in test_COPY_source_larger_than_max_file_size | |
resp = controller.COPY(req) | |
File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ | |
self.gen.next() | |
File "/home/pi/swift/test/unit/proxy/test_server.py", line 2989, in controller_context | |
unused_status_list) | |
AssertionError: UN-USED STATUS CODES: [200, 200] | |
-------------------- >> begin captured stdout << --------------------- | |
proxy-ut ERROR: ERROR with Account server 10.0.0.2:1002/sdc re: Trying to HEAD /v1/a: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: ERROR with Account server 10.0.0.1:1001/sdb re: Trying to HEAD /v1/a: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: ERROR with Account server 10.0.0.0:1000/sda re: Trying to HEAD /v1/a: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: Account HEAD returning 503 for [] | |
--------------------- >> end captured stdout << ---------------------- | |
====================================================================== | |
FAIL: test_copy_source_larger_than_max_file_size (test.unit.proxy.test_server.TestObjectController) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/pi/swift/test/unit/proxy/test_server.py", line 3313, in test_copy_source_larger_than_max_file_size | |
self.assertEquals(resp.status_int, 413) | |
AssertionError: 404 != 413 | |
-------------------- >> begin captured stdout << --------------------- | |
proxy-ut ERROR: ERROR with Account server 10.0.0.0:1000/sda re: Trying to HEAD /v1/a: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: ERROR with Account server 10.0.0.2:1002/sdc re: Trying to HEAD /v1/a: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: ERROR with Account server 10.0.0.1:1001/sdb re: Trying to HEAD /v1/a: | |
Traceback (most recent call last): | |
File "/home/pi/swift/swift/proxy/controllers/base.py", line 767, in _get_source_and_node | |
query_string=self.req_query_string) | |
File "/home/pi/swift/test/unit/__init__.py", line 765, in connect | |
body = static_body or '' | |
OverflowError: long int too large to convert to int | |
proxy-ut ERROR: Account HEAD returning 503 for [] | |
--------------------- >> end captured stdout << ---------------------- | |
Name Stmts Miss Cover Missing | |
------------------------------------------------------------------------------- | |
swift 14 6 57% 28-34, 41 | |
swift.account 0 0 100% | |
swift.account.auditor 89 0 100% | |
swift.account.backend 196 9 95% 69, 342, 407, 424, 482, 525, 598-600 | |
swift.account.reaper 238 33 86% 83-85, 113-115, 135-136, 156, 160, 164, 168, 172, 251-256, 258-261, 263, 265, 267, 270, 272, 275, 278-281, 288, 358 | |
swift.account.replicator 7 0 100% | |
swift.account.server 198 18 91% 122-123, 153, 224-234, 277-281, 290 | |
swift.account.utils 60 1 98% 60 | |
swift.cli 0 0 100% | |
swift.cli.form_signature 92 16 83% 66-67, 69-70, 73-74, 76-77, 80-81, 83-84, 90-93 | |
swift.cli.info 314 74 76% 57, 59, 61, 63, 197-198, 308, 337, 346-347, 369-371, 394-395, 410-413, 447-514 | |
swift.cli.recon 628 439 30% 27-28, 58, 87, 91, 96, 139, 148, 170-176, 221-222, 229-230, 232-248, 268, 277-279, 291-303, 312-335, 344-363, 372-428, 437-483, 492-509, 518-556, 577-578, 619, 621, 628-630, 643, 645, 652-654, 664-683, 692-711, 720-744, 753-827, 833-973, 977-981, 985 | |
swift.cli.ringbuilder 537 312 42% 51, 74-75, 78-79, 95, 99-100, 108-110, 113-118, 126-128, 138-160, 163-165, 178-181, 184-186, 195-201, 207-208, 219-220, 227, 237-279, 286-315, 327-350, 374-375, 380, 384-387, 405-408, 416-419, 421-427, 452-455, 470-476, 484-505, 516, 519-522, 524-530, 542-545, 564-567, 572-574, 576-582, 586-598, 611-672, 690-701, 711-747, 750-752, 762-763, 781-782, 787-790, 793-794, 808, 811-829, 852, 855, 859-864, 870 | |
swift.common 0 0 100% | |
swift.common.bufferedhttp 70 7 90% 75-79, 120, 177 | |
swift.common.constraints 152 3 98% 78-80, 386 | |
swift.common.container_sync_realms 96 0 100% | |
swift.common.daemon 48 5 90% 49-51, 93, 97 | |
swift.common.db 464 45 90% 95, 103, 176-177, 286, 313, 342-346, 372-373, 400-403, 438, 561, 568, 570, 590, 596, 603-604, 611-613, 626-628, 636, 643, 683-685, 705, 774-780, 819-822, 856 | |
swift.common.db_replicator 428 19 96% 64, 261, 455, 485-486, 496-497, 515, 572-581, 679 | |
swift.common.direct_client 253 36 86% 38-39, 140, 331-336, 341, 372, 377-378, 380, 384, 386, 413, 500-501, 504-505, 512-532 | |
swift.common.exceptions 121 4 97% 149, 208, 213, 218 | |
swift.common.http 77 0 100% | |
swift.common.internal_client 288 8 97% 780-781, 814, 818, 822, 826, 838-839 | |
swift.common.manager 356 5 99% 266, 374-375, 597, 667 | |
swift.common.memcached 284 24 92% 115-117, 200-201, 206-207, 218, 235, 357, 377-380, 409, 428-429, 464-465, 480-481, 505-508, 522-523 | |
swift.common.middleware 0 0 100% | |
swift.common.middleware.account_quotas 60 5 92% 75, 147-151 | |
swift.common.middleware.acl 89 3 97% 180, 244, 293 | |
swift.common.middleware.bulk 298 17 94% 289, 291, 310-312, 353-355, 403-405, 480, 488-489, 497-499 | |
swift.common.middleware.catch_errors 43 0 100% | |
swift.common.middleware.cname_lookup 86 4 95% 37-39, 90, 119 | |
swift.common.middleware.container_quotas 64 1 98% 99 | |
swift.common.middleware.container_sync 73 0 100% | |
swift.common.middleware.crossdomain 23 6 74% 86-92 | |
swift.common.middleware.dlo 168 2 99% 261-262 | |
swift.common.middleware.domain_remap 59 5 92% 128-133 | |
swift.common.middleware.formpost 183 9 95% 259-260, 293, 324-325, 352-353, 390-391 | |
swift.common.middleware.gatekeeper 36 0 100% | |
swift.common.middleware.healthcheck 28 2 93% 54-56 | |
swift.common.middleware.keystoneauth 238 1 99% 247 | |
swift.common.middleware.list_endpoints 98 0 100% | |
swift.common.middleware.memcache 49 0 100% | |
swift.common.middleware.name_check 55 3 95% 68, 85, 107 | |
swift.common.middleware.proxy_logging 129 0 100% | |
swift.common.middleware.ratelimit 153 0 100% | |
swift.common.middleware.recon 245 37 85% 144, 148-152, 163, 167-168, 191, 227, 252-265, 298-300, 304-308, 370-375 | |
swift.common.middleware.slo 343 0 100% | |
swift.common.middleware.staticweb 199 2 99% 249, 479 | |
swift.common.middleware.tempauth 334 42 87% 204-205, 268, 274, 281-290, 313-318, 347, 362-364, 486, 488-493, 506-508, 513-514, 546-548, 580, 597-598, 605 | |
swift.common.middleware.tempurl 171 0 100% | |
swift.common.middleware.x_profile 0 0 100% | |
swift.common.middleware.x_profile.exceptions 16 0 100% | |
swift.common.middleware.x_profile.html_viewer 245 47 81% 34-35, 301, 316-317, 391-392, 398-434, 475, 478, 484-485, 507, 522, 532-533 | |
swift.common.middleware.x_profile.profile_model 202 87 57% 30-31, 80-81, 91-92, 129-230 | |
swift.common.middleware.xprofile 123 18 85% 194-195, 219-220, 241-251, 268-274 | |
swift.common.request_helpers 138 0 100% | |
swift.common.ring 3 0 100% | |
swift.common.ring.builder 504 19 96% 102-103, 119-130, 452, 481, 724, 746, 1147 | |
swift.common.ring.ring 231 4 98% 77, 120, 150, 214 | |
swift.common.ring.utils 121 1 99% 298 | |
swift.common.storage_policy 154 0 100% | |
swift.common.swob 695 4 99% 230, 275, 314, 873 | |
swift.common.utils 1626 117 93% 47-48, 130, 142-144, 386, 498, 518, 538, 578, 583, 929, 1082-1083, 1090, 1135, 1238, 1335, 1377-1390, 1403-1415, 1440-1442, 1649, 1688, 1696, 1728-1732, 1759-1764, 1929-1931, 1971, 1978, 1986, 1994, 2002, 2151, 2374, 2396-2398, 2411-2413, 2578, 2586-2587, 2697, 2712, 2814-2830, 2858, 3085, 3211-3224, 3245-3257, 3269-3277, 3285-3286 | |
swift.common.wsgi 366 63 83% 49-50, 88, 172, 204-206, 243, 390, 406-408, 432-437, 450, 461-504, 518-519, 527, 535, 590, 656 | |
swift.container 0 0 100% | |
swift.container.auditor 72 8 89% 57-70, 84-86 | |
swift.container.backend 339 30 91% 156, 159, 206, 306, 416, 424, 440, 453-459, 475, 494-498, 531, 606, 625, 641, 694, 756, 768, 781, 810-813, 862, 871 | |
swift.container.reconciler 299 13 96% 90, 136-137, 591, 632-633, 695-696, 741-745 | |
swift.container.replicator 155 17 89% 88, 102, 107, 117-118, 136-138, 143-147, 175, 201-206, 226 | |
swift.container.server 326 28 91% 220, 222, 237, 258-259, 274, 277, 315, 332, 345-346, 380, 495, 513-523, 579-583, 588 | |
swift.container.sync 214 2 99% 278, 407 | |
swift.container.updater 177 66 63% 83-84, 95-97, 99, 101-104, 110-111, 113-165, 215, 249, 254-255, 285-301 | |
swift.obj 0 0 100% | |
swift.obj.auditor 213 0 100% | |
swift.obj.diskfile 745 57 92% 433, 522-537, 799-801, 952-1040 | |
swift.obj.expirer 160 5 97% 182, 257-261 | |
swift.obj.mem_diskfile 186 50 73% 153-170, 173-187, 190, 194, 199, 211-212, 262, 283-284, 287, 293-301, 304-310, 317-319, 321, 334, 382-384 | |
swift.obj.mem_server 36 10 72% 83-93, 104, 109-111 | |
swift.obj.replicator 315 48 85% 134-137, 142-147, 152, 155, 170, 185, 202, 258-259, 381-385, 394, 404-407, 423-424, 431, 455-456, 505-506, 508-510, 517-519, 542-557 | |
swift.obj.server 413 17 96% 63, 394, 398-399, 744-762, 764-772 | |
swift.obj.ssync_receiver 165 5 97% 239-242, 296 | |
swift.obj.ssync_sender 172 5 97% 49, 229-230, 237-238 | |
swift.obj.updater 173 44 75% 66-108, 167, 172, 175-181, 206-209, 272-275 | |
swift.proxy 0 0 100% | |
swift.proxy.controllers 6 0 100% | |
swift.proxy.controllers.account 88 0 100% | |
swift.proxy.controllers.base 598 10 98% 253, 429-430, 687, 691, 735, 740-741, 787, 936 | |
swift.proxy.controllers.container 133 1 99% 211 | |
swift.proxy.controllers.info 49 0 100% | |
swift.proxy.controllers.obj 547 64 88% 119-122, 126, 146-155, 249, 530-531, 550, 565, 568, 624, 626, 680-681, 686, 707, 712, 719, 721-725, 730-738, 740-744, 750-752, 757-763, 797-803, 833, 836, 858-860, 869-870, 893 | |
swift.proxy.server 281 16 94% 150, 155-157, 163-165, 170-171, 177, 274, 278-280, 311-313, 320, 559 | |
------------------------------------------------------------------------------- | |
TOTAL 18520 2059 89% | |
---------------------------------------------------------------------- | |
Ran 3200 tests in 1644.720s | |
FAILED (SKIP=6, failures=6) | |
/home/pi/swift |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment