swift unit tests fail on i386 buildd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
James Page | ||
swift (Ubuntu) |
Fix Released
|
High
|
James Page |
Bug Description
=======
FAIL: test_COPY_
-------
Traceback (most recent call last):
File "/build/
resp = controller.
File "/usr/lib/
self.gen.next()
File "/build/
unused_
AssertionError: UN-USED STATUS CODES: [200, 200]
-------
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 "/build/
query_
File "/build/
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 "/build/
query_
File "/build/
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 "/build/
query_
File "/build/
body = static_body or ''
OverflowError: long int too large to convert to int
proxy-ut ERROR: Account HEAD returning 503 for []
-------
"""Fail immediately, with the given message."""
>> raise self.failureExc
=======
FAIL: test_COPY_
-------
Traceback (most recent call last):
File "/build/
resp = controller.
File "/usr/lib/
self.gen.next()
File "/build/
unused_
AssertionError: UN-USED STATUS CODES: [200, 200]
-------
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 "/build/
query_
File "/build/
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 "/build/
query_
File "/build/
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 "/build/
query_
File "/build/
body = static_body or ''
OverflowError: long int too large to convert to int
proxy-ut ERROR: Account HEAD returning 503 for []
Related branches
Changed in swift: | |
assignee: | nobody → James Page (james-page) |
Changed in swift (Ubuntu): | |
assignee: | nobody → James Page (james-page) |
status: | New → In Progress |
Changed in swift: | |
status: | Confirmed → In Progress |
Changed in swift: | |
milestone: | none → 2.2.2 |
status: | Fix Committed → Fix Released |
These test failure (and two others hidden in our packaging by patches) are caused by the MAX_FILE_SIZE exceeding the capacity of an int on 32 bit systems; adjusting the value of MAX_FILE_SIZE in this instance down resolves the test failures, so I've proposed a change against swift to set the MAX_FILE_SIZE based on comparison with the sys.maxsize value.
That said, I'm not sure as to whether this is just a test failure, or whether in-fact this is an issue with the maximum file size if running on a 32 bit architecture.