Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created May 9, 2016 23:38
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/c7514864290cd29524b4e6058dc75516 to your computer and use it in GitHub Desktop.
Save notmyname/c7514864290cd29524b4e6058dc75516 to your computer and use it in GitHub Desktop.
$ ./.probetests
..........SSSSSS...S.F.................F.EE.
======================================================================
ERROR: test_account_container_reload (test.probe.test_wsgi_servers.TestWSGIServerProcessHandling)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/swift/swift/test/probe/test_wsgi_servers.py", line 99, in test_account_container_reload
self._check_reload(server, node['ip'], node['port'])
File "/home/swift/swift/test/probe/test_wsgi_servers.py", line 60, in _check_reload
manager.reload()
File "/home/swift/swift/swift/common/manager.py", line 100, in wrapped
rv = func(*a, **kw)
File "/home/swift/swift/swift/common/manager.py", line 364, in reload
status += m.start(**kwargs)
File "/home/swift/swift/swift/common/manager.py", line 100, in wrapped
rv = func(*a, **kw)
File "/home/swift/swift/swift/common/manager.py", line 231, in start
status += 0 if server.launch(**kwargs) else 1
File "/home/swift/swift/swift/common/manager.py", line 751, in launch
pid = self.spawn(conf_file, **kwargs)
File "/home/swift/swift/swift/common/manager.py", line 667, in spawn
proc = subprocess.Popen(args, stdout=re_out, stderr=re_err)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1135, in _execute_child
errpipe_read, errpipe_write = self.pipe_cloexec()
File "/usr/lib/python2.7/subprocess.py", line 1091, in pipe_cloexec
r, w = os.pipe()
OSError: [Errno 24] Too many open files
-------------------- >> begin captured stdout << ---------------------
<snipped>
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_object_reload (test.probe.test_wsgi_servers.TestWSGIServerProcessHandling)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/swift/swift/test/probe/test_wsgi_servers.py", line 93, in test_object_reload
self._check_reload('object', node['ip'], node['port'])
File "/home/swift/swift/test/probe/test_wsgi_servers.py", line 60, in _check_reload
manager.reload()
File "/home/swift/swift/swift/common/manager.py", line 100, in wrapped
rv = func(*a, **kw)
File "/home/swift/swift/swift/common/manager.py", line 364, in reload
status += m.start(**kwargs)
File "/home/swift/swift/swift/common/manager.py", line 100, in wrapped
rv = func(*a, **kw)
File "/home/swift/swift/swift/common/manager.py", line 231, in start
status += 0 if server.launch(**kwargs) else 1
File "/home/swift/swift/swift/common/manager.py", line 751, in launch
pid = self.spawn(conf_file, **kwargs)
File "/home/swift/swift/swift/common/manager.py", line 667, in spawn
proc = subprocess.Popen(args, stdout=re_out, stderr=re_err)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1135, in _execute_child
errpipe_read, errpipe_write = self.pipe_cloexec()
File "/usr/lib/python2.7/subprocess.py", line 1091, in pipe_cloexec
r, w = os.pipe()
OSError: [Errno 24] Too many open files
-------------------- >> begin captured stdout << ---------------------
<snipped>
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: test_ec_handoff_overwrite (test.probe.test_object_handoff.TestECObjectHandoffOverwrite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/swift/swift/test/probe/test_object_handoff.py", line 324, in test_ec_handoff_overwrite
old_contents.etag: 1,
AssertionError: defaultdict(<type 'int'>, {'c912d8b370cafc64d91798f226a64be4': 1, '140dd3377fa3a7b328ed5eebf5ef5e20': 3}) != {'c912d8b370cafc64d91798f226a64be4': 1, '140dd3377fa3a7b328ed5eebf5ef5e20': 4}
-------------------- >> begin captured stdout << ---------------------
<snipped>
--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
requests.packages.urllib3.connectionpool: DEBUG: "GET /auth/v1.0 HTTP/1.1" 200 0
swiftclient: DEBUG: REQ: curl -i http://127.0.0.1:8080/auth/v1.0 -X GET
swiftclient: DEBUG: RESP STATUS: 200 OK
swiftclient: DEBUG: RESP HEADERS: {u'Content-Length': u'0', u'X-Trans-Id': u'tx81ebe06b74db4bd593d80-005731198a', u'X-Auth-Token-Expires': u'86399', u'X-Auth-Token': u'AUTH_tkedde05b72...', u'X-Storage-Token': u'AUTH_tkedde05b72...', u'Date': u'Mon, 09 May 2016 23:13:14 GMT', u'X-Storage-Url': u'http://127.0.0.1:8080/v1/AUTH_test', u'Content-Type': u'text/html; charset=UTF-8'}
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
requests.packages.urllib3.connectionpool: DEBUG: "HEAD /v1/AUTH_test HTTP/1.1" 204 0
swiftclient: DEBUG: REQ: curl -i http://127.0.0.1:8080/v1/AUTH_test -I -H "X-Auth-Token: AUTH_tkedde05b72..."
swiftclient: DEBUG: RESP STATUS: 204 No Content
swiftclient: DEBUG: RESP HEADERS: {u'Content-Length': u'0', u'X-Put-Timestamp': u'1462835594.87435', u'X-Account-Object-Count': u'0', u'X-Timestamp': u'1462835594.87435', u'X-Trans-Id': u'txfe83d0bccbcb4c64895b5-005731198a', u'Date': u'Mon, 09 May 2016 23:13:14 GMT', u'X-Account-Bytes-Used': u'0', u'X-Account-Container-Count': u'0', u'Content-Type': u'text/plain; charset=utf-8'}
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
requests.packages.urllib3.connectionpool: DEBUG: "PUT /v1/AUTH_test/container-61469475-3435-49a6-a9dd-7e185731362e HTTP/1.1" 201 0
swiftclient: DEBUG: REQ: curl -i http://127.0.0.1:8080/v1/AUTH_test/container-61469475-3435-49a6-a9dd-7e185731362e -X PUT -H "Content-Length: 0" -H "X-Storage-Policy: ec42" -H "X-Auth-Token: AUTH_tkedde05b72..."
swiftclient: DEBUG: RESP STATUS: 201 Created
swiftclient: DEBUG: RESP HEADERS: {u'Date': u'Mon, 09 May 2016 23:13:14 GMT', u'Content-Length': u'0', u'Content-Type': u'text/html; charset=UTF-8', u'X-Trans-Id': u'txaf2c84c23b9f45a79ba21-005731198a'}
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
swiftclient: DEBUG: REQ: curl -i http://127.0.0.1:8080/v1/AUTH_test/container-61469475-3435-49a6-a9dd-7e185731362e/object-95d6dc35-7eed-4f1c-92af-0313bb334ac3 -X PUT -H "Content-Type: " -H "X-Auth-Token: AUTH_tkedde05b72..."
swiftclient: DEBUG: RESP STATUS: 201 Created
swiftclient: DEBUG: RESP HEADERS: {u'Content-Length': u'0', u'Last-Modified': u'Mon, 09 May 2016 23:13:15 GMT', u'Etag': u'c912d8b370cafc64d91798f226a64be4', u'X-Trans-Id': u'txaeebca2030ec4236a938b-005731198a', u'Date': u'Mon, 09 May 2016 23:13:15 GMT', u'Content-Type': u'text/html; charset=UTF-8'}
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
swiftclient: DEBUG: REQ: curl -i http://127.0.0.1:8080/v1/AUTH_test/container-61469475-3435-49a6-a9dd-7e185731362e/object-95d6dc35-7eed-4f1c-92af-0313bb334ac3 -X PUT -H "Content-Type: " -H "X-Auth-Token: AUTH_tkedde05b72..."
swiftclient: DEBUG: RESP STATUS: 201 Created
swiftclient: DEBUG: RESP HEADERS: {u'Content-Length': u'0', u'Last-Modified': u'Mon, 09 May 2016 23:13:16 GMT', u'Etag': u'140dd3377fa3a7b328ed5eebf5ef5e20', u'X-Trans-Id': u'tx192f1c2a939947418abeb-005731198b', u'Date': u'Mon, 09 May 2016 23:13:15 GMT', u'Content-Type': u'text/html; charset=UTF-8'}
root: DEBUG: HTTP PERF: 0.00697 seconds to HEAD 127.0.0.1:6020 /d2/786/AUTH_test/container-61469475-3435-49a6-a9dd-7e185731362e/object-95d6dc35-7eed-4f1c-92af-0313bb334ac3)
root: DEBUG: HTTP PERF: 0.00201 seconds to HEAD 127.0.0.1:6030 /d3/786/AUTH_test/container-61469475-3435-49a6-a9dd-7e185731362e/object-95d6dc35-7eed-4f1c-92af-0313bb334ac3)
root: DEBUG: HTTP PERF: 0.00195 seconds to HEAD 127.0.0.1:6020 /d2/786/AUTH_test/container-61469475-3435-49a6-a9dd-7e185731362e/object-95d6dc35-7eed-4f1c-92af-0313bb334ac3)
root: DEBUG: HTTP PERF: 0.00206 seconds to HEAD 127.0.0.1:6010 /d5/786/AUTH_test/container-61469475-3435-49a6-a9dd-7e185731362e/object-95d6dc35-7eed-4f1c-92af-0313bb334ac3)
root: DEBUG: HTTP PERF: 0.00209 seconds to HEAD 127.0.0.1:6040 /d8/786/AUTH_test/container-61469475-3435-49a6-a9dd-7e185731362e/object-95d6dc35-7eed-4f1c-92af-0313bb334ac3)
root: DEBUG: HTTP PERF: 0.00164 seconds to HEAD 127.0.0.1:6030 /d7/786/AUTH_test/container-61469475-3435-49a6-a9dd-7e185731362e/object-95d6dc35-7eed-4f1c-92af-0313bb334ac3)
root: DEBUG: HTTP PERF: 0.00223 seconds to HEAD 127.0.0.1:6020 /d6/786/AUTH_test/container-61469475-3435-49a6-a9dd-7e185731362e/object-95d6dc35-7eed-4f1c-92af-0313bb334ac3)
root: DEBUG: HTTP PERF: 0.00224 seconds to HEAD 127.0.0.1:6010 /d1/786/AUTH_test/container-61469475-3435-49a6-a9dd-7e185731362e/object-95d6dc35-7eed-4f1c-92af-0313bb334ac3)
root: DEBUG: HTTP PERF: 0.00190 seconds to HEAD 127.0.0.1:6040 /d4/786/AUTH_test/container-61469475-3435-49a6-a9dd-7e185731362e/object-95d6dc35-7eed-4f1c-92af-0313bb334ac3)
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: test_revert_object (test.probe.test_reconstructor_revert.TestReconstructorRevert)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/swift/swift/test/probe/test_reconstructor_revert.py", line 107, in test_revert_object
(onode,))
AssertionError: Node data on {'index': 1, u'replication_port': 6020, u'weight': 1.0, u'zone': 2, u'ip': u'127.0.0.1', u'region': 1, u'id': 3, u'replication_ip': u'127.0.0.1', u'meta': u'', u'device': u'd6', u'port': 6020} was not fully destroyed!
-------------------- >> begin captured stdout << ---------------------
<snipped>
--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
requests.packages.urllib3.connectionpool: DEBUG: "GET /auth/v1.0 HTTP/1.1" 200 0
swiftclient: DEBUG: REQ: curl -i http://127.0.0.1:8080/auth/v1.0 -X GET
swiftclient: DEBUG: RESP STATUS: 200 OK
swiftclient: DEBUG: RESP HEADERS: {u'Content-Length': u'0', u'X-Trans-Id': u'txff30314854274bcd8ac4e-0057311aab', u'X-Auth-Token-Expires': u'86399', u'X-Auth-Token': u'AUTH_tk49df529bd...', u'X-Storage-Token': u'AUTH_tk49df529bd...', u'Date': u'Mon, 09 May 2016 23:18:03 GMT', u'X-Storage-Url': u'http://127.0.0.1:8080/v1/AUTH_test', u'Content-Type': u'text/html; charset=UTF-8'}
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
requests.packages.urllib3.connectionpool: DEBUG: "HEAD /v1/AUTH_test HTTP/1.1" 204 0
swiftclient: DEBUG: REQ: curl -i http://127.0.0.1:8080/v1/AUTH_test -I -H "X-Auth-Token: AUTH_tk49df529bd..."
swiftclient: DEBUG: RESP STATUS: 204 No Content
swiftclient: DEBUG: RESP HEADERS: {u'Content-Length': u'0', u'X-Put-Timestamp': u'1462835883.91571', u'X-Account-Object-Count': u'0', u'X-Timestamp': u'1462835883.91571', u'X-Trans-Id': u'tx21d6f56ec1b148bc9f8e3-0057311aab', u'Date': u'Mon, 09 May 2016 23:18:03 GMT', u'X-Account-Bytes-Used': u'0', u'X-Account-Container-Count': u'0', u'Content-Type': u'text/plain; charset=utf-8'}
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
requests.packages.urllib3.connectionpool: DEBUG: "PUT /v1/AUTH_test/container-78b5dfe9-2809-4217-befc-c198a8bf61b8 HTTP/1.1" 201 0
swiftclient: DEBUG: REQ: curl -i http://127.0.0.1:8080/v1/AUTH_test/container-78b5dfe9-2809-4217-befc-c198a8bf61b8 -X PUT -H "Content-Length: 0" -H "X-Storage-Policy: ec42" -H "X-Auth-Token: AUTH_tk49df529bd..."
swiftclient: DEBUG: RESP STATUS: 201 Created
swiftclient: DEBUG: RESP HEADERS: {u'Date': u'Mon, 09 May 2016 23:18:03 GMT', u'Content-Length': u'0', u'Content-Type': u'text/html; charset=UTF-8', u'X-Trans-Id': u'tx20b0deb76b734573b99de-0057311aab'}
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
swiftclient: DEBUG: REQ: curl -i http://127.0.0.1:8080/v1/AUTH_test/container-78b5dfe9-2809-4217-befc-c198a8bf61b8/object-65b86f9e-cb7b-4b58-bb3b-68e3634f4beb -X PUT -H "x-object-meta-foo: meta-foo" -H "Content-Type: " -H "X-Auth-Token: AUTH_tk49df529bd..."
swiftclient: DEBUG: RESP STATUS: 201 Created
swiftclient: DEBUG: RESP HEADERS: {u'Content-Length': u'0', u'Last-Modified': u'Mon, 09 May 2016 23:18:05 GMT', u'Etag': u'6309fa14e7118ad2fb8528feaa5b55a3', u'X-Trans-Id': u'tx3955e8a93d9842c8bfd2e-0057311aac', u'Date': u'Mon, 09 May 2016 23:18:04 GMT', u'Content-Type': u'text/html; charset=UTF-8'}
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
requests.packages.urllib3.connectionpool: DEBUG: "POST /v1/AUTH_test/container-78b5dfe9-2809-4217-befc-c198a8bf61b8/object-65b86f9e-cb7b-4b58-bb3b-68e3634f4beb HTTP/1.1" 202 76
swiftclient: DEBUG: REQ: curl -i http://127.0.0.1:8080/v1/AUTH_test/container-78b5dfe9-2809-4217-befc-c198a8bf61b8/object-65b86f9e-cb7b-4b58-bb3b-68e3634f4beb -X POST -H "x-object-meta-bar: meta-bar" -H "X-Auth-Token: AUTH_tk49df529bd..."
swiftclient: DEBUG: RESP STATUS: 202 Accepted
swiftclient: DEBUG: RESP HEADERS: {u'Date': u'Mon, 09 May 2016 23:18:04 GMT', u'Content-Length': u'76', u'Content-Type': u'text/html; charset=UTF-8', u'X-Trans-Id': u'txed52bcf254fe47379055d-0057311aac'}
swiftclient: DEBUG: RESP BODY: <html><h1>Accepted</h1><p>The request is accepted for processing.</p></html>
root: DEBUG: HTTP PERF: 0.00239 seconds to GET 127.0.0.1:6030 /d7/807/AUTH_test/container-78b5dfe9-2809-4217-befc-c198a8bf61b8/object-65b86f9e-cb7b-4b58-bb3b-68e3634f4beb)
root: DEBUG: HTTP PERF: 0.00541 seconds to GET 127.0.0.1:6020 /d6/807/AUTH_test/container-78b5dfe9-2809-4217-befc-c198a8bf61b8/object-65b86f9e-cb7b-4b58-bb3b-68e3634f4beb)
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 44 tests in 628.545s
FAILED (SKIP=7, errors=2, failures=2)
/home/swift/swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment