Package: src:python-redis Version: 2.10.6-2 Severity: important Tags: sid buster
Only seen on the Ubuntu CI, however I cannot see the Debian CI running this on i386: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/i386/p/python-redis/20180409_182323_14366@/log.gz same failures for Python2 and Python3 ============================= test session starts ============================== platform linux -- Python 3.6.5, pytest-3.3.2, py-1.5.2, pluggy-0.6.0 rootdir: /tmp/autopkgtest.3GpgXS/build.p2f/src, inifile: collected 356 items tests/test_commands.py ................................................. [ 13%] ........................................................................ [ 33%] ........................................................................ [ 54%] ...F.s...F...FF.......... [ 61%] tests/test_connection_pool.py .......................................... [ 73%] . [ 73%] tests/test_encoding.py .... [ 74%] tests/test_lock.py ................................. [ 83%] tests/test_pipeline.py .............. [ 87%] tests/test_pubsub.py ......................... [ 94%] tests/test_scripting.py ....... [ 96%] tests/test_sentinel.py ............ [100%] =================================== FAILURES =================================== ________________________ TestRedisCommands.test_geopos _________________________ self = <tests.test_commands.TestRedisCommands object at 0xb68acbec> r = Redis<ConnectionPool<Connection<host=localhost,port=6379,db=9>>> @skip_if_server_version_lt('3.2.0') def test_geopos(self, r): values = (2.1909389952632, 41.433791470673, 'place1') +\ (2.1873744593677, 41.406342043777, 'place2') r.geoadd('barcelona', *values) # redis uses 52 bits precision, hereby small errors may be introduced. > assert r.geopos('barcelona', 'place1', 'place2') ==\ [(2.19093829393386841, 41.43379028184083523), (2.18737632036209106, 41.40634178640635099)] E assert [(2.190938293...634178640635)] == [(2.1909382939...634178640635)] E At index 0 diff: (2.1909382939338684, 41.43379028184083) != (2.1909382939338684, 41.433790281840835) E Use -v to get the full diff tests/test_commands.py:1460: AssertionError ____________________ TestRedisCommands.test_georadius_with _____________________ self = <tests.test_commands.TestRedisCommands object at 0xb6d4268c> r = Redis<ConnectionPool<Connection<host=localhost,port=6379,db=9>>> @skip_if_server_version_lt('3.2.0') def test_georadius_with(self, r): values = (2.1909389952632, 41.433791470673, 'place1') +\ (2.1873744593677, 41.406342043777, 'place2') r.geoadd('barcelona', *values) # test a bunch of combinations to test the parse response # function. > assert r.georadius('barcelona', 2.191, 41.433, 1, unit='km', withdist=True, withcoord=True, withhash=True) ==\ [['place1', 0.0881, 3471609698139488, (2.19093829393386841, 41.43379028184083523)]] E AssertionError: assert [['place1', 0...79028184083)]] == [['place1', 0....90281840835)]] E At index 0 diff: ['place1', 0.0881, 3471609698139488, (2.1909382939338684, 41.43379028184083)] != ['place1', 0.0881, 3471609698139488, (2.1909382939338684, 41.433790281840835)] E Use -v to get the full diff tests/test_commands.py:1507: AssertionError _________________ TestRedisCommands.test_georadius_store_dist __________________ self = <tests.test_commands.TestRedisCommands object at 0xb69d814c> r = Redis<ConnectionPool<Connection<host=localhost,port=6379,db=9>>> @skip_if_server_version_lt('3.2.0') def test_georadius_store_dist(self, r): values = (2.1909389952632, 41.433791470673, 'place1') +\ (2.1873744593677, 41.406342043777, 'place2') r.geoadd('barcelona', *values) r.georadius('barcelona', 2.191, 41.433, 1000, store_dist='places_barcelona') # instead of save the geo score, the distance is saved. > assert r.zscore('places_barcelona', 'place1') == 88.05060698409301 E AssertionError: assert 88.05060698268038 == 88.05060698409301 E + where 88.05060698268038 = <bound method StrictRedis.zscore of Redis<ConnectionPool<Connection<host=localhost,port=6379,db=9>>>>('places_barcelona', 'place1') E + where <bound method StrictRedis.zscore of Redis<ConnectionPool<Connection<host=localhost,port=6379,db=9>>>> = Redis<ConnectionPool<Connection<host=localhost,port=6379,db=9>>>.zscore tests/test_commands.py:1564: AssertionError ____________________ TestRedisCommands.test_georadiusmember ____________________ self = <tests.test_commands.TestRedisCommands object at 0xb66d288c> r = Redis<ConnectionPool<Connection<host=localhost,port=6379,db=9>>> @skip_if_server_version_lt('3.2.0') def test_georadiusmember(self, r): values = (2.1909389952632, 41.433791470673, 'place1') +\ (2.1873744593677, 41.406342043777, 'place2') r.geoadd('barcelona', *values) assert r.georadiusbymember('barcelona', 'place1', 4000) ==\ ['place2', 'place1'] assert r.georadiusbymember('barcelona', 'place1', 10) == ['place1'] > assert r.georadiusbymember('barcelona', 'place1', 4000, withdist=True, withcoord=True, withhash=True) ==\ [['place2', 3067.4157, 3471609625421029, (2.187376320362091, 41.40634178640635)], ['place1', 0.0, 3471609698139488, (2.1909382939338684, 41.433790281840835)]] E AssertionError: assert [['place2', 3...79028184083)]] == [['place2', 30...90281840835)]] E At index 1 diff: ['place1', 0.0, 3471609698139488, (2.1909382939338684, 41.43379028184083)] != ['place1', 0.0, 3471609698139488, (2.1909382939338684, 41.433790281840835)] E Use -v to get the full diff tests/test_commands.py:1576: AssertionError =============== 4 failed, 351 passed, 1 skipped in 9.13 seconds ================ autopkgtest [18:21:20]: test 0002-python3: -----------------------] autopkgtest [18:21:20]: test 0002-python3: - - - - - - - - - - results - - - - - - - - - - 0002-python3 FAIL non-zero exit status 1