Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created December 17, 2015 20:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notmyname/4037e1349443654caea7 to your computer and use it in GitHub Desktop.
Save notmyname/4037e1349443654caea7 to your computer and use it in GitHub Desktop.
running the first commit functests agains swift master (a3570877d883320a3f992fa7f9da5e42fb76d320)
swift@saio:~/swift_first_commit$ SWIFT_TEST_CONFIG_FILE=/etc/swift/old_test.conf ./.functests
..F..F...FF.....F..F...FF............................................................E............EF.......................E............EF...
======================================================================
ERROR: testFileSizeLimit (__main__.TestFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/functional/tests.py", line 1102, in testFileSizeLimit
cfg={'set_content_length':i}))
File "test/functional/tests.py", line 68, in timeout
raise t.exception
ResponseError: 413: Request Entity Too Large
======================================================================
ERROR: testRangedGets (__main__.TestFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/functional/tests.py", line 1067, in testRangedGets
self.assert_(file.read(hdrs=hdrs) == data[-i:], range_string)
File "/home/swift/swift_first_commit/test/functional/swift.py", line 605, in read
raise ResponseError(self.conn.response)
ResponseError: 416: Requested Range Not Satisfiable
======================================================================
ERROR: testFileSizeLimit (__main__.TestFileUTF8)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/functional/tests.py", line 1102, in testFileSizeLimit
cfg={'set_content_length':i}))
File "test/functional/tests.py", line 68, in timeout
raise t.exception
ResponseError: 413: Request Entity Too Large
======================================================================
ERROR: testRangedGets (__main__.TestFileUTF8)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/functional/tests.py", line 1067, in testRangedGets
self.assert_(file.read(hdrs=hdrs) == data[-i:], range_string)
File "/home/swift/swift_first_commit/test/functional/swift.py", line 605, in read
raise ResponseError(self.conn.response)
ResponseError: 416: Requested Range Not Satisfiable
======================================================================
FAIL: testContainerSerializedInfo (__main__.TestAccount)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/functional/tests.py", line 215, in testContainerSerializedInfo
'application/json; charset=utf8')
AssertionError: 'application/json; charset=utf-8' != 'application/json; charset=utf8'
======================================================================
FAIL: testInvalidUTF8Path (__main__.TestAccount)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/functional/tests.py", line 162, in testInvalidUTF8Path
self.assert_body('Invalid UTF8')
File "test/functional/tests.py", line 107, in assert_body
'Body returned: %s' % (response_body))
AssertionError: Body returned: Invalid UTF8 or contains NULL
======================================================================
FAIL: testNoAuthToken (__main__.TestAccount)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/functional/tests.py", line 151, in testNoAuthToken
self.assert_status(412)
File "test/functional/tests.py", line 111, in assert_status
'Status returned: %d' % (self.env.conn.response.status))
AssertionError: Status returned: 401
======================================================================
FAIL: testPUT (__main__.TestAccount)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/functional/tests.py", line 172, in testPUT
self.assert_status(405)
File "test/functional/tests.py", line 111, in assert_status
'Status returned: %d' % (self.env.conn.response.status))
AssertionError: Status returned: 403
======================================================================
FAIL: testContainerSerializedInfo (__main__.TestAccountUTF8)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/functional/tests.py", line 215, in testContainerSerializedInfo
'application/json; charset=utf8')
AssertionError: 'application/json; charset=utf-8' != 'application/json; charset=utf8'
======================================================================
FAIL: testInvalidUTF8Path (__main__.TestAccountUTF8)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/functional/tests.py", line 162, in testInvalidUTF8Path
self.assert_body('Invalid UTF8')
File "test/functional/tests.py", line 107, in assert_body
'Body returned: %s' % (response_body))
AssertionError: Body returned: Invalid UTF8 or contains NULL
======================================================================
FAIL: testNoAuthToken (__main__.TestAccountUTF8)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/functional/tests.py", line 151, in testNoAuthToken
self.assert_status(412)
File "test/functional/tests.py", line 111, in assert_status
'Status returned: %d' % (self.env.conn.response.status))
AssertionError: Status returned: 401
======================================================================
FAIL: testPUT (__main__.TestAccountUTF8)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/functional/tests.py", line 172, in testPUT
self.assert_status(405)
File "test/functional/tests.py", line 111, in assert_status
'Status returned: %d' % (self.env.conn.response.status))
AssertionError: Status returned: 403
======================================================================
FAIL: testSerialization (__main__.TestFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/functional/tests.py", line 1347, in testSerialization
'application/json; charset=utf8')
AssertionError: 'application/json; charset=utf-8' != 'application/json; charset=utf8'
======================================================================
FAIL: testSerialization (__main__.TestFileUTF8)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/functional/tests.py", line 1347, in testSerialization
'application/json; charset=utf8')
AssertionError: 'application/json; charset=utf-8' != 'application/json; charset=utf8'
----------------------------------------------------------------------
Ran 141 tests in 123.541s
FAILED (failures=10, errors=4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment