test.unit.proxy.controllers.test_obj.TestECObjController sometimes fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hi,
Version: 2.15.1
test.unit.
=======
FAIL: test_GET_
-------
Traceback (most recent call last):
File "/<<PKGBUILDDIR
self.
File "/<<PKGBUILDDIR
resp = _do_test(
File "/<<PKGBUILDDIR
self.
AssertionError: 'data_etag' != None
-------
proxy-server DEBUG: Loaded override config for (default): ProxyOverrideOp
proxy-server ERROR: ERROR with Object server 10.0.0.6:1006/sdg re: Trying to GET /v1/a/c/o: ConnectionTimeout (0.5s)
proxy-server ERROR: ERROR with Object server 10.0.0.4:1004/sde re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: ERROR with Object server 10.0.0.7:1007/sdh re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: ERROR with Object server 10.0.0.8:1008/sdi re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: ERROR with Object server 10.0.0.10:1010/sdk re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: ERROR with Object server 10.0.0.14:1014/sda re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: ERROR with Object server 10.0.0.15:1015/sda re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: ERROR with Object server 10.0.0.16:1016/sda re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: ERROR with Object server 10.0.0.17:1017/sda re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: ERROR with Object server 10.0.0.18:1018/sda re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: ERROR with Object server 10.0.0.19:1019/sda re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: ERROR with Object server 10.0.0.20:1020/sda re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: ERROR with Object server 10.0.0.21:1021/sda re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: ERROR with Object server 10.0.0.22:1022/sda re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: ERROR with Object server 10.0.0.23:1023/sda re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: ERROR with Object server 10.0.0.24:1024/sda re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: ERROR with Object server 10.0.0.25:1025/sda re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: ERROR with Object server 10.0.0.26:1026/sda re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: ERROR with Object server 10.0.0.27:1027/sda re: Trying to GET /v1/a/c/o:
Traceback (most recent call last):
File "/<<PKGBUILDDIR
query_
File "/<<PKGBUILDDIR
i, status = next(conn_
StopIteration
proxy-server ERROR: Object returning 503 for [] (txn: tx6530e16520874
-------
"'data_etag' != None" = '%s != %s' % (safe_repr(
"'data_etag' != None" = self._formatMes
>> raise self.failureExc
-------
Ran 5365 tests in 176.378s
FAILED (SKIP=12, failures=1)
Thanks.
the test uses mocked http connections but a ConnectionTimeout is reported. This suggests that the mocked connection is slow, which will cause one of the proxy getters to consume another of the mock connections. This leaves the mock connection iterator short, causing the subesequent StopIterations.
I can only reproduce this by introducing an artifical sleep.