BlobManager test fails with SQL logic error
From: https://0xacab.org/leap/soledad/-/jobs/22450
=================================== FAILURES ===================================
______ BlobManagerTestCase.test_persist_sync_statuses_listing_from_server ______
NOTE: Incompatible Exception Representation, displaying natively:
FirstError: FirstError[#7, [Failure instance: Traceback: <class 'pysqlcipher.dbapi2.OperationalError'>: SQL logic error or missing database
/builds/leap/soledad/.tox/py27/local/lib/python2.7/site-packages/twisted/internet/defer.py:500:errback
/builds/leap/soledad/.tox/py27/local/lib/python2.7/site-packages/twisted/internet/defer.py:567:_startRunCallbacks
/builds/leap/soledad/.tox/py27/local/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
/builds/leap/soledad/.tox/py27/local/lib/python2.7/site-packages/twisted/internet/defer.py:1442:gotResult
--- <exception caught here> ---
/builds/leap/soledad/.tox/py27/local/lib/python2.7/site-packages/twisted/internet/defer.py:1384:_inlineCallbacks
/builds/leap/soledad/.tox/py27/local/lib/python2.7/site-packages/twisted/python/failure.py:408:throwExceptionIntoGenerator
/builds/leap/soledad/src/leap/soledad/client/_db/blobs.py:656:put
/builds/leap/soledad/.tox/py27/local/lib/python2.7/site-packages/twisted/python/threadpool.py:250:inContext
/builds/leap/soledad/.tox/py27/local/lib/python2.7/site-packages/twisted/python/threadpool.py:266:<lambda>
/builds/leap/soledad/.tox/py27/local/lib/python2.7/site-packages/twisted/python/context.py:122:callWithContext
/builds/leap/soledad/.tox/py27/local/lib/python2.7/site-packages/twisted/python/context.py:85:callWithContext
/builds/leap/soledad/.tox/py27/local/lib/python2.7/site-packages/twisted/enterprise/adbapi.py:477:_runInteraction
/builds/leap/soledad/.tox/py27/local/lib/python2.7/site-packages/twisted/enterprise/adbapi.py:467:_runInteraction
/builds/leap/soledad/src/leap/soledad/client/_db/blobs.py:130:_write_blob
]]
Running the job again caused the test to pass: https://0xacab.org/leap/soledad/-/jobs/22521