xctest(77400,0x100098600) malloc: enabling scribbling to detect mods to free blocks Test Suite 'Selected tests' started at 2022-02-16 17:08:15.179 Test Suite 'CouchbaseLiteSwiftTests.xctest' started at 2022-02-16 17:08:15.182 Test Suite 'ReplicatorTest_Main' started at 2022-02-16 17:08:15.182 Test Case '-[CouchbaseLiteSwiftTests.ReplicatorTest_Main testPushPullWithBlob]' started. 2022-02-16 17:08:15.186802-0800 xctest[77400:1196869] CouchbaseLite/3.0.0 (Swift; macOS 12.2.1) Build/0 Commit/0e41c5a3+CHANGES LiteCore/3.0.0-EE (release/lithium:d1821646+b018a12d+) 2022-02-16 17:08:15.189744-0800 xctest[77400:1196869] CouchbaseLite Database WARNING: Database.log.file.config is nil, meaning file logging is disabled. Log files required for product support are not being generated. 2022-02-16 17:08:15.206992-0800 xctest[77400:1196869] CouchbaseLite Database Info: {DB#1}==> litecore::SQLiteDataFile /var/folders/gk/xfc67g4s27v6jrn_5tjhg0y80000gp/T/CouchbaseLite-EE/testdb.cblite2/db.sqlite3 @0x61200005fd40 2022-02-16 17:08:15.207127-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#1} begin transaction 2022-02-16 17:08:15.207261-0800 xctest[77400:1196869] CouchbaseLite Database Info: BEGIN 2022-02-16 17:08:15.207435-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.207611-0800 xctest[77400:1196869] CouchbaseLite Database Info: {SequenceTracker#2}==> litecore::SequenceTracker 0x61200004d5f0 @0x61200004d5f0 2022-02-16 17:08:15.207721-0800 xctest[77400:1196869] CouchbaseLite Database Info: {SequenceTracker#2} begin transaction at #0 2022-02-16 17:08:15.208975-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.211755-0800 xctest[77400:1196869] CouchbaseLite Database Info: Compiling SQL "INSERT OR IGNORE INTO kv_default (version, body, extra, flags, sequence, key) VALUES (?, ?, ?, ?, ?, ?)" 2022-02-16 17:08:15.212029-0800 xctest[77400:1196869] CouchbaseLite Database Info: Compiling SQL "SELECT lastSeq FROM kvmeta WHERE name=?" 2022-02-16 17:08:15.212322-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT lastSeq FROM kvmeta WHERE name=? 2022-02-16 17:08:15.212478-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... INSERT OR IGNORE INTO kv_default (version, body, extra, flags, sequence, key) VALUES (?, ?, ?, ?, ?, ?) 2022-02-16 17:08:15.212629-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: Saved doc 'doc1' #1-b57270efb7cd24d0822a96b74e5770dc1116b561; body=106, extra=34 2022-02-16 17:08:15.212817-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#1} Saved 'doc1' rev #1-b57270efb7cd24d0822a96b74e5770dc1116b561 as seq 1 2022-02-16 17:08:15.213004-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#1} KeyStore(info) set 'SharedKeys' 2022-02-16 17:08:15.213111-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... INSERT OR REPLACE INTO kv_info (key, version, body) VALUES (?, ?, ?) 2022-02-16 17:08:15.213238-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#1} commit transaction 2022-02-16 17:08:15.213361-0800 xctest[77400:1196869] CouchbaseLite Database Info: Compiling SQL "INSERT INTO kvmeta (name, lastSeq) VALUES (?, ?) ON CONFLICT (name) DO UPDATE SET lastSeq = excluded.lastSeq" 2022-02-16 17:08:15.213637-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... INSERT INTO kvmeta (name, lastSeq) VALUES (?, ?) ON CONFLICT (name) DO UPDATE SET lastSeq = excluded.lastSeq 2022-02-16 17:08:15.213769-0800 xctest[77400:1196869] CouchbaseLite Database Info: COMMIT 2022-02-16 17:08:15.214056-0800 xctest[77400:1196869] CouchbaseLite Database Info: {SequenceTracker#2} commit: sequences #1 -- #1 2022-02-16 17:08:15.214185-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {SequenceTracker#2} Removed 0 old entries (1 left; idle has 0, byDocID has 1) 2022-02-16 17:08:15.214288-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {SequenceTracker#2} Removed 0 old entries (1 left; idle has 0, byDocID has 1) 2022-02-16 17:08:15.214934-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: CBLReplicator[-> URL[ws://localhost:4984/todo]]: Starting ... 2022-02-16 17:08:15.215902-0800 xctest[77400:1196869] CouchbaseLite Database Info: {Shared#3}==> litecore::DataFile::Shared 0x613000062e58 @0x613000062e58 2022-02-16 17:08:15.216025-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#3} adding DataFile 0x61200003c1c0 2022-02-16 17:08:15.216159-0800 xctest[77400:1196869] CouchbaseLite Database Info: {DB#4}==> litecore::SQLiteDataFile /var/folders/gk/xfc67g4s27v6jrn_5tjhg0y80000gp/T/CouchbaseLite-EE/testdb.cblite2/db.sqlite3 @0x61200003c1c0 2022-02-16 17:08:15.216271-0800 xctest[77400:1196869] CouchbaseLite Database Info: {DB#4} Opening database 2022-02-16 17:08:15.217344-0800 xctest[77400:1196869] CouchbaseLite Database Info: PRAGMA cache_size=-10240; PRAGMA mmap_size=-1; PRAGMA synchronous=normal; PRAGMA journal_size_limit=5242880; PRAGMA case_sensitive_like=true 2022-02-16 17:08:15.217627-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {DB#4} open KVS 'info' 2022-02-16 17:08:15.217870-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.218297-0800 xctest[77400:1196869] CouchbaseLite Database Info: Compiling SQL "SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=?" 2022-02-16 17:08:15.218579-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.218786-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {DB#4} open KVS 'default' 2022-02-16 17:08:15.218984-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.219185-0800 xctest[77400:1196869] CouchbaseLite Database Info: {CollectionImpl#5}==> litecore::CollectionImpl testdb/_default @0x60b00003bc10 2022-02-16 17:08:15.219294-0800 xctest[77400:1196869] CouchbaseLite Database Info: {CollectionImpl#5} Instantiated 2022-02-16 17:08:15.219529-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT substr(name,4) FROM sqlite_master WHERE type='table' AND name GLOB 'kv_*' 2022-02-16 17:08:15.219795-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.219938-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#4} Next expiration time is 0 2022-02-16 17:08:15.220110-0800 xctest[77400:1196869] CouchbaseLite Network Info: {Connection#6}==> litecore::blip::Connection ->ws://localhost:4984/todo/_blipsync @0x60c00005d4d0 2022-02-16 17:08:15.220211-0800 xctest[77400:1196869] CouchbaseLite Network Info: {Connection#6} Opening connection... 2022-02-16 17:08:15.221040-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: {Repl#7}==> litecore::repl::Replicator /var/folders/gk/xfc67g4s27v6jrn_5tjhg0y80000gp/T/CouchbaseLite-EE/testdb.cblite2/ ->ws://localhost:4984/todo/_blipsync @0x619000096f90 2022-02-16 17:08:15.221160-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: {Repl#7} Push=one-shot, Options={{auth:{password:"********", type:"Basic", username:"user1"}, headers:{User-Agent:"CouchbaseLite/3.0.0 (Swift; macOS 12.2.1) Build/0 Commit/0e41c5a3+CHANGES LiteCore/3.0.0-EE (release/lithium:d1821646+b018a12d+)"}, onlySelfSignedServer:false}} 2022-02-16 17:08:15.221765-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: {C4Replicator#8}==> litecore::C4RemoteReplicator 0x616000066998 @0x616000066998 2022-02-16 17:08:15.221874-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: {C4Replicator#8} C4RemoteRepl 0x616000066998 created Repl 0x619000096f90 2022-02-16 17:08:15.221983-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: {C4Replicator#8} Starting Replicator {Repl#7} 2022-02-16 17:08:15.222127-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: CBLReplicator[-> URL[ws://localhost:4984/todo]]: setProgressLevel to LiteCore; level = 0, status = 1 2022-02-16 17:08:15.222360-0800 xctest[77400:1197428] CouchbaseLite Replicator Debug: CBLReplicator[-> URL[ws://localhost:4984/todo]]: Received C4ReplicatorStatus Changed, status = 2 (state = 6) 2022-02-16 17:08:15.222568-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: CBLReplicator[-> URL[ws://localhost:4984/todo]] is connecting, progress 0/0, error: (null) 2022-02-16 17:08:15.223953-0800 xctest[77400:1197423] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.224215-0800 xctest[77400:1197423] CouchbaseLite Database Verbose: {DB#4} begin transaction 2022-02-16 17:08:15.224339-0800 xctest[77400:1197423] CouchbaseLite Database Info: BEGIN 2022-02-16 17:08:15.224499-0800 xctest[77400:1197429] CouchbaseLite Network Info: {C4SocketImpl#9}==> litecore::repl::C4SocketImpl ws://localhost:4984/todo/_blipsync @0x6150000564b8 2022-02-16 17:08:15.224823-0800 xctest[77400:1197429] CouchbaseLite Network Info: {C4SocketImpl#9} Connecting... 2022-02-16 17:08:15.225040-0800 xctest[77400:1197423] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.225383-0800 xctest[77400:1197423] CouchbaseLite Database Info: {SequenceTracker#10}==> litecore::SequenceTracker 0x61200003d0f0 @0x61200003d0f0 2022-02-16 17:08:15.225501-0800 xctest[77400:1197423] CouchbaseLite Database Info: {SequenceTracker#10} begin transaction at #0 2022-02-16 17:08:15.225726-0800 xctest[77400:1197423] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.225903-0800 xctest[77400:1197423] CouchbaseLite Database Verbose: {DB#4} KeyStore(info) set 'remotes' 2022-02-16 17:08:15.226026-0800 xctest[77400:1197423] CouchbaseLite Database Info: Compiling SQL "INSERT OR REPLACE INTO kv_info (key, version, body) VALUES (?, ?, ?)" 2022-02-16 17:08:15.226296-0800 xctest[77400:1197423] CouchbaseLite Database Info: ... INSERT OR REPLACE INTO kv_info (key, version, body) VALUES (?, ?, ?) 2022-02-16 17:08:15.229126-0800 xctest[77400:1197423] CouchbaseLite Database Verbose: {DB#4} commit transaction 2022-02-16 17:08:15.229308-0800 xctest[77400:1197423] CouchbaseLite Database Info: COMMIT 2022-02-16 17:08:15.229652-0800 xctest[77400:1197423] CouchbaseLite Database Info: {SequenceTracker#10} commit: sequences #1 -- #0 2022-02-16 17:08:15.229842-0800 xctest[77400:1197423] CouchbaseLite Database Verbose: {SequenceTracker#10} Removed 0 old entries (0 left; idle has 0, byDocID has 0) 2022-02-16 17:08:15.230076-0800 xctest[77400:1197423] CouchbaseLite Replicator Verbose: {Repl#7} Remote-DB ID 1 found for target 2022-02-16 17:08:15.230347-0800 xctest[77400:1197423] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.230813-0800 xctest[77400:1197423] CouchbaseLite Database Debug: {DB#4} open KVS 'checkpoints' 2022-02-16 17:08:15.231233-0800 xctest[77400:1197423] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.231506-0800 xctest[77400:1197423] CouchbaseLite Database Info: CREATE TABLE IF NOT EXISTS kv_checkpoints ( key TEXT PRIMARY KEY, sequence INTEGER, flags INTEGER DEFAULT 0, version BLOB, body BLOB, extra BLOB) 2022-02-16 17:08:15.238222-0800 xctest[77400:1197423] CouchbaseLite Database Info: Compiling SQL "SELECT sequence, flags, null, version, body, extra FROM kv_checkpoints WHERE key=?" 2022-02-16 17:08:15.238729-0800 xctest[77400:1197423] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_checkpoints WHERE key=? 2022-02-16 17:08:15.244421-0800 xctest[77400:1197428] CouchbaseLite Network Info: connecting to localhost:4984... 2022-02-16 17:08:15.244712-0800 xctest[77400:1197423] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.244987-0800 xctest[77400:1197428] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.245594-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Repl#7} No local checkpoint 'cp-zkDRAuh3KcxCGeis/gM4magFBnM=' 2022-02-16 17:08:15.245756-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Repl#7} activityLevel=connecting: connectionState=1, savingChkpt=0 2022-02-16 17:08:15.246655-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: No cookies 2022-02-16 17:08:15.290831-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: : OpenCompleted on <__NSCFInputStream: 0x60d000040410> 2022-02-16 17:08:15.291047-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: : OpenCompleted on <__NSCFOutputStream: 0x60d0000405b0> 2022-02-16 17:08:15.291187-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.291356-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.291737-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: : HasBytesAvailable 2022-02-16 17:08:15.291865-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: DoRead... 2022-02-16 17:08:15.291996-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: DoRead read 172 bytes 2022-02-16 17:08:15.292112-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: Received 172 bytes of HTTP response 2022-02-16 17:08:15.292448-0800 xctest[77400:1197423] CouchbaseLite Network Info: {C4SocketImpl#9} Got HTTP response (status 101) 2022-02-16 17:08:15.298273-0800 xctest[77400:1197423] CouchbaseLite Network Info: CBLWebSocket CONNECTED! 2022-02-16 17:08:15.298386-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {Repl#7} activityLevel=connecting: connectionState=1, savingChkpt=0 2022-02-16 17:08:15.298527-0800 xctest[77400:1197423] CouchbaseLite Network Info: {C4SocketImpl#9} Connected! 2022-02-16 17:08:15.298701-0800 xctest[77400:1197423] CouchbaseLite Network Info: {Connection#6} Connected! 2022-02-16 17:08:15.298875-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {Repl#7} Connected! 2022-02-16 17:08:15.299034-0800 xctest[77400:1197424] CouchbaseLite Network Info: {BLIPIO#11}==> litecore::blip::BLIPIO ->ws://localhost:4984/todo/_blipsync @0x618000039490 2022-02-16 17:08:15.299169-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#11} WebSocket is hungry! 2022-02-16 17:08:15.299314-0800 xctest[77400:1197429] CouchbaseLite Replicator Verbose: {Repl#7} Requesting remote checkpoint 'cp-zkDRAuh3KcxCGeis/gM4magFBnM=' 2022-02-16 17:08:15.299465-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#11} ...Wrote 0 bytes to WebSocket (writeable=1) 2022-02-16 17:08:15.299703-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {Repl#7} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:15.299854-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {Repl#7} now busy 2022-02-16 17:08:15.300024-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#11} Sending 'getCheckpoint' REQ #1 2022-02-16 17:08:15.300162-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Pusher#12}==> litecore::repl::Pusher {Repl#7} @0x61700007a890 2022-02-16 17:08:15.300279-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Pusher#12} Starting push from local seq #1 2022-02-16 17:08:15.300448-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {C4Replicator#8} State: busy, progress=0.00% 2022-02-16 17:08:15.300614-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Deflater#13}==> litecore::blip::Deflater 0x618000039648 @0x618000039648 2022-02-16 17:08:15.300734-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Deflater#13} Copying 62 bytes into 16378-byte buf (no compression) 2022-02-16 17:08:15.300844-0800 xctest[77400:1197427] CouchbaseLite Replicator Debug: CBLReplicator[-> URL[ws://localhost:4984/todo]]: Received C4ReplicatorStatus Changed, status = 4 (state = 6) 2022-02-16 17:08:15.300865-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {ReplicatorChangesFeed#14}==> litecore::repl::ReplicatorChangesFeed 0x61700007a9b8 @0x61700007a9b8 2022-02-16 17:08:15.301389-0800 xctest[77400:1197423] CouchbaseLite Replicator Verbose: {ReplicatorChangesFeed#14} Reading up to 200 local changes since #0 2022-02-16 17:08:15.301507-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {Repl#7} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:15.301608-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: CBLReplicator[-> URL[ws://localhost:4984/todo]] is busy, progress 0/0, error: (null) 2022-02-16 17:08:15.301632-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#11} Sending frame: REQ #1 ----, bytes 0--65 2022-02-16 17:08:15.301763-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {C4SocketImpl#9} Sending 68-byte message 2022-02-16 17:08:15.301905-0800 xctest[77400:1197423] CouchbaseLite Query Verbose: RecordEnumerator 0x60f000027be8: (default, #0..., 100 1) 2022-02-16 17:08:15.302052-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: >>> sending 74 bytes... 2022-02-16 17:08:15.302082-0800 xctest[77400:1197423] CouchbaseLite Database Info: CREATE UNIQUE INDEX IF NOT EXISTS kv_default_seqs ON kv_default (sequence) 2022-02-16 17:08:15.302242-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#11} Finished sending REQ #1 2022-02-16 17:08:15.302426-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: (...sent 74 bytes) 2022-02-16 17:08:15.302489-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#11} ...Wrote 68 bytes to WebSocket (writeable=1) 2022-02-16 17:08:15.302683-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.302865-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: : HasBytesAvailable 2022-02-16 17:08:15.302970-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: DoRead... 2022-02-16 17:08:15.303101-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: DoRead read 49 bytes 2022-02-16 17:08:15.303195-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: <<< received 49 bytes [now 49 pending] 2022-02-16 17:08:15.303333-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {C4SocketImpl#9} Received 47-byte message 2022-02-16 17:08:15.303452-0800 xctest[77400:1197423] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.303636-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#11} Received frame: ERR #1 ----, length 45 2022-02-16 17:08:15.303822-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#15}==> litecore::blip::Inflater 0x6180000396d8 @0x6180000396d8 2022-02-16 17:08:15.303933-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#15} Copying 41 bytes into 5-byte buf (no compression) 2022-02-16 17:08:15.304050-0800 xctest[77400:1197423] CouchbaseLite Database Info: SELECT sequence, flags, key, version, body, extra, 0 FROM kv_default WHERE sequence > ? ORDER BY sequence 2022-02-16 17:08:15.304193-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#15} Copying 36 bytes into 29-byte buf (no compression) 2022-02-16 17:08:15.304351-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {Connection#6} Receiving ERR #1 2022-02-16 17:08:15.304478-0800 xctest[77400:1197423] CouchbaseLite Query Debug: SELECT sequence, flags, key, version, body, extra, 0 FROM kv_default WHERE sequence > ? ORDER BY sequence 4|0|0| SEARCH TABLE kv_default USING INDEX kv_default_seqs (sequence>?) 2022-02-16 17:08:15.304651-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#15} Copying 7 bytes into 4096-byte buf (no compression) 2022-02-16 17:08:15.304871-0800 xctest[77400:1197423] CouchbaseLite Database Info: Enumerator: SELECT sequence, flags, key, version, body, extra, 0 FROM kv_default WHERE sequence > ? ORDER BY sequence 2022-02-16 17:08:15.305048-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {Connection#6} Finished receiving ERR #1 2022-02-16 17:08:15.305196-0800 xctest[77400:1197423] CouchbaseLite Query Debug: RecordEnumerator 0x60f000027be8 --> 'doc1' 2022-02-16 17:08:15.305389-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#7} No remote checkpoint 'cp-zkDRAuh3KcxCGeis/gM4magFBnM=' 2022-02-16 17:08:15.305523-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#7} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:15.305634-0800 xctest[77400:1197423] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.306079-0800 xctest[77400:1197423] CouchbaseLite Replicator Debug: {ReplicatorChangesFeed#14} remoteRevID of 'doc1' is 2022-02-16 17:08:15.306355-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Pusher#12} Read 1 local changes up to #1: sending 'proposeChanges' with sequences #1 - #1 2022-02-16 17:08:15.306473-0800 xctest[77400:1197423] CouchbaseLite Replicator Debug: {Pusher#12} - 0001: 'doc1' #1-b57270efb7cd24d0822a96b74e5770dc1116b561 (remote #) 2022-02-16 17:08:15.306764-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Pusher#12} Caught up, at lastSequence #1 2022-02-16 17:08:15.306892-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {BLIPIO#11} Sending 'proposeChanges' REQ #2 UZ 2022-02-16 17:08:15.307067-0800 xctest[77400:1197423] CouchbaseLite Replicator Verbose: {Pusher#12} progress +0/+106, 0 docs -- now 0 / 106, 0 docs 2022-02-16 17:08:15.307222-0800 xctest[77400:1197427] CouchbaseLite Database Info: {Deflater#13} Compressing 111 bytes into 16378-byte buf 2022-02-16 17:08:15.324263-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Pusher#12} activityLevel=busy: pendingResponseCount=1, caughtUp=1, changeLists=1, revsInFlight=0, blobsInFlight=0, awaitingReply=0, revsToSend=0, pushingDocs=1, pendingSequences=1 2022-02-16 17:08:15.324531-0800 xctest[77400:1197423] CouchbaseLite Replicator Verbose: {Pusher#12} now busy 2022-02-16 17:08:15.324768-0800 xctest[77400:1197427] CouchbaseLite Database Info: {Deflater#13} deflate(in 111, out 16378, mode 2)-> 0; read 111 bytes, wrote 109 bytes 2022-02-16 17:08:15.325068-0800 xctest[77400:1197427] CouchbaseLite Database Info: {Deflater#13} compressed 111 bytes to 109 (98%), 0 unflushed 2022-02-16 17:08:15.325360-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {Repl#7} pushStatus=busy, pullStatus=stopped, progress=0/106 2022-02-16 17:08:15.325623-0800 xctest[77400:1197429] CouchbaseLite Replicator Verbose: {Repl#7} progress +0/+106, 0 docs -- now 0 / 106, 0 docs 2022-02-16 17:08:15.325909-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {BLIPIO#11} Sending frame: REQ #2 -U-C, bytes 0--108 2022-02-16 17:08:15.326162-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {C4SocketImpl#9} Sending 111-byte message 2022-02-16 17:08:15.326322-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {Repl#7} activityLevel=busy: connectionState=2, savingChkpt=1 2022-02-16 17:08:15.326485-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Pusher#12} activityLevel=busy: pendingResponseCount=1, caughtUp=1, changeLists=1, revsInFlight=0, blobsInFlight=0, awaitingReply=0, revsToSend=0, pushingDocs=1, pendingSequences=1 2022-02-16 17:08:15.326655-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: >>> sending 117 bytes... 2022-02-16 17:08:15.326701-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Pusher#12} activityLevel=busy: pendingResponseCount=1, caughtUp=1, changeLists=1, revsInFlight=0, blobsInFlight=0, awaitingReply=0, revsToSend=0, pushingDocs=1, pendingSequences=1 2022-02-16 17:08:15.326905-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {BLIPIO#11} Finished sending REQ #2 UZ 2022-02-16 17:08:15.327134-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: (...sent 117 bytes) 2022-02-16 17:08:15.327272-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {BLIPIO#11} ...Wrote 111 bytes to WebSocket (writeable=1) 2022-02-16 17:08:15.327425-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.327780-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: : HasBytesAvailable 2022-02-16 17:08:15.327944-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: DoRead... 2022-02-16 17:08:15.328073-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: DoRead read 16 bytes 2022-02-16 17:08:15.328185-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: <<< received 16 bytes [now 16 pending] 2022-02-16 17:08:15.328285-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {C4SocketImpl#9} Received 14-byte message 2022-02-16 17:08:15.328505-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {BLIPIO#11} Received frame: RES #2 -U-C, length 12 2022-02-16 17:08:15.328713-0800 xctest[77400:1197427] CouchbaseLite Database Info: {Inflater#15} Decompressing 12 bytes into 5-byte buf 2022-02-16 17:08:15.328952-0800 xctest[77400:1197427] CouchbaseLite Database Info: {Inflater#15} inflate(in 12, out 5, mode 2)-> 0; read 7 bytes, wrote 5 bytes 2022-02-16 17:08:15.329145-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {Connection#6} Receiving RES #2 UZ 2022-02-16 17:08:15.329293-0800 xctest[77400:1197427] CouchbaseLite Database Info: {Inflater#15} Decompressing 5 bytes into 4096-byte buf 2022-02-16 17:08:15.329408-0800 xctest[77400:1197427] CouchbaseLite Database Info: {Inflater#15} inflate(in 5, out 4096, mode 2)-> 0; read 5 bytes, wrote 1 bytes 2022-02-16 17:08:15.329540-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {Connection#6} Finished receiving RES #2 UZ 2022-02-16 17:08:15.329723-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Pusher#12} Got response for 1 local changes (sequences from 1) 2022-02-16 17:08:15.330009-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Pusher#12} Proposed rev 'doc1' #1-b57270efb7cd24d0822a96b74e5770dc1116b561 (ancestor ) conflicts with server revision () 2022-02-16 17:08:15.330213-0800 xctest[77400:1197424] CouchbaseLite Database Info: Compiling SQL "SELECT sequence, flags, null, version, body, extra FROM kv_default WHERE key=?" 2022-02-16 17:08:15.330582-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_default WHERE key=? 2022-02-16 17:08:15.331088-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#7} documentEnded doc1 1-b57270efb7cd24d0822a96b74e5770dc1116b561 flags=0a (6/409) 2022-02-16 17:08:15.331313-0800 xctest[77400:1197424] CouchbaseLite Replicator Debug: {Pusher#12} ** doneWithRev doc1 #1-b57270efb7cd24d0822a96b74e5770dc1116b561 2022-02-16 17:08:15.331477-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Pusher#12} Checkpoint now [0-1] 2022-02-16 17:08:15.331615-0800 xctest[77400:1197424] CouchbaseLite Replicator Debug: {Pusher#12} Done pushing 'doc1' 1-b57270efb7cd24d0822a96b74e5770dc1116b561 2022-02-16 17:08:15.331731-0800 xctest[77400:1197424] CouchbaseLite Replicator Verbose: {Pusher#12} progress +106/+0, 0 docs -- now 106 / 106, 0 docs 2022-02-16 17:08:15.331846-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Pusher#12} activityLevel=busy: pendingResponseCount=0, caughtUp=1, changeLists=0, revsInFlight=0, blobsInFlight=0, awaitingReply=0, revsToSend=0, pushingDocs=0, pendingSequences=0 2022-02-16 17:08:15.331986-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Repl#7} pushStatus=busy, pullStatus=stopped, progress=106/106 2022-02-16 17:08:15.332120-0800 xctest[77400:1197423] CouchbaseLite Replicator Verbose: {Repl#7} progress +106/+0, 0 docs -- now 106 / 106, 0 docs 2022-02-16 17:08:15.332237-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Pusher#12} activityLevel=stopped: pendingResponseCount=0, caughtUp=1, changeLists=0, revsInFlight=0, blobsInFlight=0, awaitingReply=0, revsToSend=0, pushingDocs=0, pendingSequences=0 2022-02-16 17:08:15.332374-0800 xctest[77400:1197424] CouchbaseLite Replicator Verbose: {Pusher#12} now stopped 2022-02-16 17:08:15.332500-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Repl#7} activityLevel=busy: connectionState=2, savingChkpt=1 2022-02-16 17:08:15.332624-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Repl#7} pushStatus=stopped, pullStatus=stopped, progress=106/106 2022-02-16 17:08:15.332766-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Repl#7} activityLevel=busy: connectionState=2, savingChkpt=1 2022-02-16 17:08:15.332884-0800 xctest[77400:1197423] CouchbaseLite Replicator Verbose: {Repl#7} Saving remote checkpoint 'cp-zkDRAuh3KcxCGeis/gM4magFBnM=' over rev='': {"time":1645060095,"local":1} ... 2022-02-16 17:08:15.333101-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Repl#7} activityLevel=busy: connectionState=2, savingChkpt=1 2022-02-16 17:08:15.333236-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#11} Sending 'setCheckpoint' REQ #3 2022-02-16 17:08:15.333362-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Deflater#13} Copying 96 bytes into 16378-byte buf (no compression) 2022-02-16 17:08:15.333516-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#11} Sending frame: REQ #3 ----, bytes 0--99 2022-02-16 17:08:15.333643-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Repl#7} activityLevel=busy: connectionState=2, savingChkpt=1 2022-02-16 17:08:15.333763-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {C4SocketImpl#9} Sending 102-byte message 2022-02-16 17:08:15.333877-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: >>> sending 108 bytes... 2022-02-16 17:08:15.334004-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#11} Finished sending REQ #3 2022-02-16 17:08:15.334185-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: (...sent 108 bytes) 2022-02-16 17:08:15.334328-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#11} ...Wrote 102 bytes to WebSocket (writeable=1) 2022-02-16 17:08:15.334466-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.334636-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: : HasBytesAvailable 2022-02-16 17:08:15.334765-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: DoRead... 2022-02-16 17:08:15.334887-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: DoRead read 17 bytes 2022-02-16 17:08:15.334996-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: <<< received 17 bytes [now 17 pending] 2022-02-16 17:08:15.335098-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: {C4SocketImpl#9} Received 15-byte message 2022-02-16 17:08:15.335286-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#11} Received frame: RES #3 ----, length 13 2022-02-16 17:08:15.335424-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#15} Copying 9 bytes into 5-byte buf (no compression) 2022-02-16 17:08:15.335549-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#15} Copying 4 bytes into 4-byte buf (no compression) 2022-02-16 17:08:15.335679-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {Connection#6} Receiving RES #3 2022-02-16 17:08:15.335795-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {Connection#6} Finished receiving RES #3 2022-02-16 17:08:15.335962-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Repl#7} Saved remote checkpoint 'cp-zkDRAuh3KcxCGeis/gM4magFBnM=' as rev='0-1' 2022-02-16 17:08:15.336132-0800 xctest[77400:1197423] CouchbaseLite Database Verbose: {DB#4} begin transaction 2022-02-16 17:08:15.336266-0800 xctest[77400:1197423] CouchbaseLite Database Info: BEGIN 2022-02-16 17:08:15.336412-0800 xctest[77400:1197423] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.336684-0800 xctest[77400:1197423] CouchbaseLite Database Info: {SequenceTracker#10} begin transaction at #0 2022-02-16 17:08:15.336841-0800 xctest[77400:1197423] CouchbaseLite Database Verbose: {DB#4} KeyStore(checkpoints) set 'cp-zkDRAuh3KcxCGeis/gM4magFBnM=' 2022-02-16 17:08:15.336956-0800 xctest[77400:1197423] CouchbaseLite Database Info: Compiling SQL "INSERT OR REPLACE INTO kv_checkpoints (key, version, body) VALUES (?, ?, ?)" 2022-02-16 17:08:15.337284-0800 xctest[77400:1197423] CouchbaseLite Database Info: ... INSERT OR REPLACE INTO kv_checkpoints (key, version, body) VALUES (?, ?, ?) 2022-02-16 17:08:15.337491-0800 xctest[77400:1197423] CouchbaseLite Database Verbose: {DB#4} commit transaction 2022-02-16 17:08:15.337731-0800 xctest[77400:1197423] CouchbaseLite Database Info: COMMIT 2022-02-16 17:08:15.337960-0800 xctest[77400:1197423] CouchbaseLite Database Info: {SequenceTracker#10} commit: sequences #1 -- #0 2022-02-16 17:08:15.338078-0800 xctest[77400:1197423] CouchbaseLite Database Verbose: {SequenceTracker#10} Removed 0 old entries (0 left; idle has 0, byDocID has 0) 2022-02-16 17:08:15.338197-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Repl#7} Saved local checkpoint 'cp-zkDRAuh3KcxCGeis/gM4magFBnM=': {"time":1645060095,"local":1} 2022-02-16 17:08:15.338320-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Repl#7} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:15.502449-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {C4Replicator#8} State: busy, progress=100.00% 2022-02-16 17:08:15.502696-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: CBLReplicator[-> URL[ws://localhost:4984/todo]]: error pushing 'doc1': 6/409 2022-02-16 17:08:15.502669-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Repl#7} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:15.502947-0800 xctest[77400:1197427] CouchbaseLite Replicator Debug: CBLReplicator[-> URL[ws://localhost:4984/todo]]: Received C4ReplicatorStatus Changed, status = 4 (state = 5) 2022-02-16 17:08:15.503158-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: CBLReplicator[-> URL[ws://localhost:4984/todo]] is busy, progress 106/106, error: (null) 2022-02-16 17:08:15.549653-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#7} Replication complete! Closing connection 2022-02-16 17:08:15.549898-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#7} Told to stop! 2022-02-16 17:08:15.550050-0800 xctest[77400:1197427] CouchbaseLite Network Info: {Connection#6} Closing with code 1000, msg '' 2022-02-16 17:08:15.550259-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#7} activityLevel=busy: connectionState=3, savingChkpt=0 2022-02-16 17:08:15.550498-0800 xctest[77400:1197423] CouchbaseLite Network Info: {C4SocketImpl#9} Requesting close with status=1000, message='' 2022-02-16 17:08:15.550827-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: >>> sending 8 bytes... 2022-02-16 17:08:15.551182-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: (...sent 8 bytes) 2022-02-16 17:08:15.551352-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.551570-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: : HasBytesAvailable 2022-02-16 17:08:15.551771-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: DoRead... 2022-02-16 17:08:15.551945-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: DoRead read 4 bytes 2022-02-16 17:08:15.552078-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: <<< received 4 bytes [now 4 pending] 2022-02-16 17:08:15.552212-0800 xctest[77400:1197427] CouchbaseLite Network Info: {C4SocketImpl#9} Close confirmed by peer; disconnecting socket now 2022-02-16 17:08:15.552366-0800 xctest[77400:1197427] CouchbaseLite Network Info: CBLWebSocket closeSocket requested 2022-02-16 17:08:15.552679-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: DoRead read 0 bytes 2022-02-16 17:08:15.552867-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: : EndEncountered on read stream 2022-02-16 17:08:15.553026-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: : Disconnect 2022-02-16 17:08:15.553351-0800 xctest[77400:1197427] CouchbaseLite Network Info: CBLWebSocket CLOSED 2022-02-16 17:08:15.553504-0800 xctest[77400:1197427] CouchbaseLite Network Info: {C4SocketImpl#9} Socket disconnected cleanly 2022-02-16 17:08:15.553653-0800 xctest[77400:1197427] CouchbaseLite Network Info: {C4SocketImpl#9} sent 307 bytes, rcvd 86, in 0.255 sec (1204/sec, 337/sec) 2022-02-16 17:08:15.554020-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: C4Socket of is being disposed 2022-02-16 17:08:15.554550-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: DEALLOC 2022-02-16 17:08:15.554782-0800 xctest[77400:1197424] CouchbaseLite Network Info: {Connection#6} Closed with WebSocket/HTTP status 1000: 2022-02-16 17:08:15.554979-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Repl#7} Connection closed with WebSocket/HTTP status 1000: "" (state=3) 2022-02-16 17:08:15.555126-0800 xctest[77400:1197423] CouchbaseLite Replicator Debug: {Repl#7} connectionClosed 2022-02-16 17:08:15.555312-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Repl#7} activityLevel=stopped: connectionState=0, savingChkpt=0 2022-02-16 17:08:15.555447-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {Repl#7} now stopped 2022-02-16 17:08:15.555573-0800 xctest[77400:1197424] CouchbaseLite Replicator Debug: {Pusher#12} connectionClosed 2022-02-16 17:08:15.555741-0800 xctest[77400:1197424] CouchbaseLite Network Debug: {Connection#6} ~Connection 2022-02-16 17:08:15.555911-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: BLIP sent 3 msgs (281 bytes), rcvd 0 msgs (76 bytes) in 0.257 sec. Max outbox depth was 1, avg 1.00 2022-02-16 17:08:15.556090-0800 xctest[77400:1197423] CouchbaseLite Database Verbose: PRAGMA optimize ... 400 2022-02-16 17:08:15.556368-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Pusher#12} activityLevel=stopped: pendingResponseCount=0, caughtUp=1, changeLists=0, revsInFlight=0, blobsInFlight=0, awaitingReply=0, revsToSend=0, pushingDocs=0, pendingSequences=0 2022-02-16 17:08:15.556555-0800 xctest[77400:1197423] CouchbaseLite Database Info: ... PRAGMA page_count 2022-02-16 17:08:15.556741-0800 xctest[77400:1197424] CouchbaseLite Replicator Debug: {Pusher#12} destructing (0x61700007a880); actorName='Push->ws://localhost:4984/todo/_blipsync' 2022-02-16 17:08:15.556910-0800 xctest[77400:1197423] CouchbaseLite Database Info: ... PRAGMA freelist_count 2022-02-16 17:08:15.573806-0800 xctest[77400:1197423] CouchbaseLite Database Verbose: {DB#4} Housekeeping: 0 of 10 pages free (0%) 2022-02-16 17:08:15.574536-0800 xctest[77400:1197423] CouchbaseLite Database Verbose: {DB#4} Closed SQLite database 2022-02-16 17:08:15.574719-0800 xctest[77400:1197423] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x61200003c1c0 2022-02-16 17:08:15.574885-0800 xctest[77400:1197423] CouchbaseLite Database Info: {DB#4} Closing database 2022-02-16 17:08:15.575036-0800 xctest[77400:1197423] CouchbaseLite Database Info: {CollectionImpl#5} Closed 2022-02-16 17:08:15.575185-0800 xctest[77400:1197423] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x61200003c1c0 2022-02-16 17:08:15.575304-0800 xctest[77400:1197423] CouchbaseLite Database Debug: {DB#4} destructing (~DataFile) 2022-02-16 17:08:15.575418-0800 xctest[77400:1197423] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x61200003c1c0 2022-02-16 17:08:15.575644-0800 xctest[77400:1197423] CouchbaseLite Replicator Debug: {Repl#7} terminate() called... 2022-02-16 17:08:15.575780-0800 xctest[77400:1197423] CouchbaseLite Replicator Debug: {Repl#7} ...done with terminate() 2022-02-16 17:08:15.575901-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: {C4Replicator#8} State: stopped, progress=100.00% 2022-02-16 17:08:15.576039-0800 xctest[77400:1197423] CouchbaseLite Replicator Debug: {Repl#7} destructing (0x619000096f80); actorName='Repl->ws://localhost:4984/todo/_blipsync' 2022-02-16 17:08:15.576177-0800 xctest[77400:1197424] CouchbaseLite Replicator Debug: CBLReplicator[-> URL[ws://localhost:4984/todo]]: Received C4ReplicatorStatus Changed, status = 0 (state = 5) 2022-02-16 17:08:15.576342-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: CBLReplicator[-> URL[ws://localhost:4984/todo]]: Replicator is now stopped. 2022-02-16 17:08:15.576498-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: CBLReplicator[-> URL[ws://localhost:4984/todo]] is stopped, progress 106/106, error: (null) 2022-02-16 17:08:15.576816-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: {C4Replicator#8} Replicator not yet created, saving progress level value for later... 2022-02-16 17:08:15.576947-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: CBLReplicator[-> URL[ws://localhost:4984/todo]]: setProgressLevel to LiteCore; level = 0, status = 1 2022-02-16 17:08:15.577335-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: {C4Replicator#8} Replicator not yet created, saving progress level value for later... 2022-02-16 17:08:15.577488-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: CBLReplicator[-> URL[ws://localhost:4984/todo]]: setProgressLevel to LiteCore; level = 0, status = 1 2022-02-16 17:08:15.577810-0800 xctest[77400:1196869] CouchbaseLite Database Info: Compiling SQL "SELECT sequence, flags, null, version, body, length(extra) FROM kv_default WHERE key=?" 2022-02-16 17:08:15.578174-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, length(extra) FROM kv_default WHERE key=? 2022-02-16 17:08:15.579554-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#1} begin transaction 2022-02-16 17:08:15.579711-0800 xctest[77400:1196869] CouchbaseLite Database Info: BEGIN 2022-02-16 17:08:15.579953-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.580406-0800 xctest[77400:1196869] CouchbaseLite Database Info: {SequenceTracker#2} begin transaction at #1 2022-02-16 17:08:15.580808-0800 xctest[77400:1196869] CouchbaseLite Database Info: Need to read rev-tree of doc 'doc1' 2022-02-16 17:08:15.580955-0800 xctest[77400:1196869] CouchbaseLite Database Info: Compiling SQL "SELECT null, flags, key, version, body, extra FROM kv_default WHERE sequence=?" 2022-02-16 17:08:15.581288-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT null, flags, key, version, body, extra FROM kv_default WHERE sequence=? 2022-02-16 17:08:15.581773-0800 xctest[77400:1196869] CouchbaseLite Database Info: Compiling SQL "UPDATE kv_default SET version=?, body=?, extra=?, flags=?, sequence=? WHERE key=? AND sequence=? AND (flags >> 16) = ?" 2022-02-16 17:08:15.582108-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT lastSeq FROM kvmeta WHERE name=? 2022-02-16 17:08:15.582376-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... UPDATE kv_default SET version=?, body=?, extra=?, flags=?, sequence=? WHERE key=? AND sequence=? AND (flags >> 16) = ? 2022-02-16 17:08:15.582577-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: Saved doc 'doc1' #2-1c3e64b7cbb00795fa77c65e8052f31ecbe85942; body=120, extra=64 2022-02-16 17:08:15.582731-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#1} Saved 'doc1' rev #2-1c3e64b7cbb00795fa77c65e8052f31ecbe85942 as seq 2 2022-02-16 17:08:15.582922-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#1} KeyStore(info) set 'SharedKeys' 2022-02-16 17:08:15.583079-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... INSERT OR REPLACE INTO kv_info (key, version, body) VALUES (?, ?, ?) 2022-02-16 17:08:15.583380-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#1} commit transaction 2022-02-16 17:08:15.583520-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... INSERT INTO kvmeta (name, lastSeq) VALUES (?, ?) ON CONFLICT (name) DO UPDATE SET lastSeq = excluded.lastSeq 2022-02-16 17:08:15.583891-0800 xctest[77400:1196869] CouchbaseLite Database Info: COMMIT 2022-02-16 17:08:15.584236-0800 xctest[77400:1196869] CouchbaseLite Database Info: {SequenceTracker#2} commit: sequences #2 -- #2 2022-02-16 17:08:15.584361-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {SequenceTracker#2} Removed 0 old entries (1 left; idle has 0, byDocID has 1) 2022-02-16 17:08:15.584483-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {SequenceTracker#2} Removed 0 old entries (1 left; idle has 0, byDocID has 1) 2022-02-16 17:08:15.584790-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: CBLReplicator[-> URL[ws://localhost:4984/todo]]: Starting ... 2022-02-16 17:08:15.585566-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#3} adding DataFile 0x61200003fdc0 2022-02-16 17:08:15.585706-0800 xctest[77400:1196869] CouchbaseLite Database Info: {DB#16}==> litecore::SQLiteDataFile /var/folders/gk/xfc67g4s27v6jrn_5tjhg0y80000gp/T/CouchbaseLite-EE/testdb.cblite2/db.sqlite3 @0x61200003fdc0 2022-02-16 17:08:15.585822-0800 xctest[77400:1196869] CouchbaseLite Database Info: {DB#16} Opening database 2022-02-16 17:08:15.586914-0800 xctest[77400:1196869] CouchbaseLite Database Info: PRAGMA cache_size=-10240; PRAGMA mmap_size=-1; PRAGMA synchronous=normal; PRAGMA journal_size_limit=5242880; PRAGMA case_sensitive_like=true 2022-02-16 17:08:15.587198-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {DB#16} open KVS 'info' 2022-02-16 17:08:15.587420-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.587930-0800 xctest[77400:1196869] CouchbaseLite Database Info: Compiling SQL "SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=?" 2022-02-16 17:08:15.588190-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.588389-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {DB#16} open KVS 'default' 2022-02-16 17:08:15.588630-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.588838-0800 xctest[77400:1196869] CouchbaseLite Database Info: {CollectionImpl#17}==> litecore::CollectionImpl testdb/_default @0x60b0000620a0 2022-02-16 17:08:15.588965-0800 xctest[77400:1196869] CouchbaseLite Database Info: {CollectionImpl#17} Instantiated 2022-02-16 17:08:15.589247-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT substr(name,4) FROM sqlite_master WHERE type='table' AND name GLOB 'kv_*' 2022-02-16 17:08:15.589527-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.589671-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#16} Next expiration time is 0 2022-02-16 17:08:15.589863-0800 xctest[77400:1196869] CouchbaseLite Network Info: {Connection#18}==> litecore::blip::Connection ->ws://localhost:4984/todo/_blipsync @0x60c000081710 2022-02-16 17:08:15.589987-0800 xctest[77400:1196869] CouchbaseLite Network Info: {Connection#18} Opening connection... 2022-02-16 17:08:15.590710-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: {Repl#19}==> litecore::repl::Replicator /var/folders/gk/xfc67g4s27v6jrn_5tjhg0y80000gp/T/CouchbaseLite-EE/testdb.cblite2/ ->ws://localhost:4984/todo/_blipsync @0x619000125790 2022-02-16 17:08:15.590832-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: {Repl#19} Push=one-shot, Options={{auth:{password:"********", type:"Basic", username:"user1"}, headers:{User-Agent:"CouchbaseLite/3.0.0 (Swift; macOS 12.2.1) Build/0 Commit/0e41c5a3+CHANGES LiteCore/3.0.0-EE (release/lithium:d1821646+b018a12d+)"}, onlySelfSignedServer:false}} 2022-02-16 17:08:15.591303-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: {C4Replicator#20}==> litecore::C4RemoteReplicator 0x616000067298 @0x616000067298 2022-02-16 17:08:15.611515-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: {C4Replicator#20} C4RemoteRepl 0x616000067298 created Repl 0x619000125790 2022-02-16 17:08:15.611672-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: {C4Replicator#20} Starting Replicator {Repl#19} 2022-02-16 17:08:15.611834-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: CBLReplicator[-> URL[ws://localhost:4984/todo]]: setProgressLevel to LiteCore; level = 0, status = 1 2022-02-16 17:08:15.612073-0800 xctest[77400:1197423] CouchbaseLite Replicator Debug: CBLReplicator[-> URL[ws://localhost:4984/todo]]: Received C4ReplicatorStatus Changed, status = 2 (state = 6) 2022-02-16 17:08:15.612242-0800 xctest[77400:1197423] CouchbaseLite Replicator Info: CBLReplicator[-> URL[ws://localhost:4984/todo]] is connecting, progress 0/0, error: (null) 2022-02-16 17:08:15.623946-0800 xctest[77400:1197429] CouchbaseLite Network Info: {C4SocketImpl#21}==> litecore::repl::C4SocketImpl ws://localhost:4984/todo/_blipsync @0x615000058038 2022-02-16 17:08:15.624110-0800 xctest[77400:1197429] CouchbaseLite Network Info: {C4SocketImpl#21} Connecting... 2022-02-16 17:08:15.624297-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.624592-0800 xctest[77400:1197424] CouchbaseLite Replicator Verbose: {Repl#19} Remote-DB ID 1 found for target 2022-02-16 17:08:15.624750-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.625016-0800 xctest[77400:1197424] CouchbaseLite Database Debug: {DB#16} open KVS 'checkpoints' 2022-02-16 17:08:15.625154-0800 xctest[77400:1197429] CouchbaseLite Network Info: connecting to localhost:4984... 2022-02-16 17:08:15.625333-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.625474-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: No cookies 2022-02-16 17:08:15.625529-0800 xctest[77400:1197424] CouchbaseLite Database Info: Compiling SQL "SELECT sequence, flags, null, version, body, extra FROM kv_checkpoints WHERE key=?" 2022-02-16 17:08:15.625838-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_checkpoints WHERE key=? 2022-02-16 17:08:15.626782-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#19} Read local checkpoint 'cp-zkDRAuh3KcxCGeis/gM4magFBnM=': {"time":1645060095,"local":1} 2022-02-16 17:08:15.627060-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#19} activityLevel=connecting: connectionState=1, savingChkpt=0 2022-02-16 17:08:15.628093-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: : OpenCompleted on <__NSCFInputStream: 0x60d00002fe70> 2022-02-16 17:08:15.628252-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: : OpenCompleted on <__NSCFOutputStream: 0x60d00001d030> 2022-02-16 17:08:15.628358-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.628509-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.628855-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: : HasBytesAvailable 2022-02-16 17:08:15.629005-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: DoRead... 2022-02-16 17:08:15.629162-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: DoRead read 172 bytes 2022-02-16 17:08:15.629288-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: Received 172 bytes of HTTP response 2022-02-16 17:08:15.629584-0800 xctest[77400:1197424] CouchbaseLite Network Info: {C4SocketImpl#21} Got HTTP response (status 101) 2022-02-16 17:08:15.629766-0800 xctest[77400:1197424] CouchbaseLite Network Info: CBLWebSocket CONNECTED! 2022-02-16 17:08:15.629867-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#19} activityLevel=connecting: connectionState=1, savingChkpt=0 2022-02-16 17:08:15.629997-0800 xctest[77400:1197424] CouchbaseLite Network Info: {C4SocketImpl#21} Connected! 2022-02-16 17:08:15.630124-0800 xctest[77400:1197424] CouchbaseLite Network Info: {Connection#18} Connected! 2022-02-16 17:08:15.630291-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#19} Connected! 2022-02-16 17:08:15.630407-0800 xctest[77400:1197427] CouchbaseLite Replicator Verbose: {Repl#19} Requesting remote checkpoint 'cp-zkDRAuh3KcxCGeis/gM4magFBnM=' 2022-02-16 17:08:15.630550-0800 xctest[77400:1197429] CouchbaseLite Network Info: {BLIPIO#22}==> litecore::blip::BLIPIO ->ws://localhost:4984/todo/_blipsync @0x618000039c90 2022-02-16 17:08:15.630698-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#19} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:15.630828-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#19} now busy 2022-02-16 17:08:15.630951-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {BLIPIO#22} WebSocket is hungry! 2022-02-16 17:08:15.631078-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {C4Replicator#20} State: busy, progress=0.00% 2022-02-16 17:08:15.631216-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {BLIPIO#22} ...Wrote 0 bytes to WebSocket (writeable=1) 2022-02-16 17:08:15.631360-0800 xctest[77400:1197424] CouchbaseLite Replicator Debug: CBLReplicator[-> URL[ws://localhost:4984/todo]]: Received C4ReplicatorStatus Changed, status = 4 (state = 6) 2022-02-16 17:08:15.631372-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {BLIPIO#22} Sending 'getCheckpoint' REQ #1 2022-02-16 17:08:15.631544-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: CBLReplicator[-> URL[ws://localhost:4984/todo]] is busy, progress 0/0, error: (null) 2022-02-16 17:08:15.631576-0800 xctest[77400:1197429] CouchbaseLite Database Info: {Deflater#23}==> litecore::blip::Deflater 0x618000039e48 @0x618000039e48 2022-02-16 17:08:15.631750-0800 xctest[77400:1197429] CouchbaseLite Database Info: {Deflater#23} Copying 62 bytes into 16378-byte buf (no compression) 2022-02-16 17:08:15.631907-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {BLIPIO#22} Sending frame: REQ #1 ----, bytes 0--65 2022-02-16 17:08:15.632061-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {C4SocketImpl#21} Sending 68-byte message 2022-02-16 17:08:15.632199-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#19} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:15.632317-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: >>> sending 74 bytes... 2022-02-16 17:08:15.632468-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {BLIPIO#22} Finished sending REQ #1 2022-02-16 17:08:15.632585-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: (...sent 74 bytes) 2022-02-16 17:08:15.632716-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {BLIPIO#22} ...Wrote 68 bytes to WebSocket (writeable=1) 2022-02-16 17:08:15.632850-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.632981-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: : HasBytesAvailable 2022-02-16 17:08:15.633101-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: DoRead... 2022-02-16 17:08:15.633232-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: DoRead read 78 bytes 2022-02-16 17:08:15.633322-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: <<< received 78 bytes [now 78 pending] 2022-02-16 17:08:15.633431-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {C4SocketImpl#21} Received 76-byte message 2022-02-16 17:08:15.633602-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {BLIPIO#22} Received frame: RES #1 ---C, length 74 2022-02-16 17:08:15.633770-0800 xctest[77400:1197429] CouchbaseLite Database Info: {Inflater#24}==> litecore::blip::Inflater 0x618000039ed8 @0x618000039ed8 2022-02-16 17:08:15.633893-0800 xctest[77400:1197429] CouchbaseLite Database Info: {Inflater#24} Decompressing 74 bytes into 5-byte buf 2022-02-16 17:08:15.634018-0800 xctest[77400:1197429] CouchbaseLite Database Info: {Inflater#24} inflate(in 74, out 5, mode 2)-> 0; read 7 bytes, wrote 5 bytes 2022-02-16 17:08:15.634127-0800 xctest[77400:1197429] CouchbaseLite Database Info: {Inflater#24} Decompressing 67 bytes into 34-byte buf 2022-02-16 17:08:15.634227-0800 xctest[77400:1197429] CouchbaseLite Database Info: {Inflater#24} inflate(in 67, out 34, mode 2)-> 0; read 34 bytes, wrote 34 bytes 2022-02-16 17:08:15.634349-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {Connection#18} Receiving RES #1 Z 2022-02-16 17:08:15.634454-0800 xctest[77400:1197429] CouchbaseLite Database Info: {Inflater#24} Decompressing 33 bytes into 4096-byte buf 2022-02-16 17:08:15.634576-0800 xctest[77400:1197429] CouchbaseLite Database Info: {Inflater#24} inflate(in 33, out 4096, mode 2)-> 0; read 33 bytes, wrote 29 bytes 2022-02-16 17:08:15.634720-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {Connection#18} Finished receiving RES #1 Z 2022-02-16 17:08:15.634997-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#19} Received remote checkpoint (rev='0-1'): {"local":1,"time":1645060095} 2022-02-16 17:08:15.635167-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#19} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:15.635288-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Pusher#25}==> litecore::repl::Pusher {Repl#19} @0x61700007ba10 2022-02-16 17:08:15.635412-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Pusher#25} Starting push from local seq #2 2022-02-16 17:08:15.635576-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {ReplicatorChangesFeed#26}==> litecore::repl::ReplicatorChangesFeed 0x61700007bb38 @0x61700007bb38 2022-02-16 17:08:15.635716-0800 xctest[77400:1197424] CouchbaseLite Replicator Verbose: {ReplicatorChangesFeed#26} Reading up to 200 local changes since #1 2022-02-16 17:08:15.635849-0800 xctest[77400:1197424] CouchbaseLite Query Verbose: RecordEnumerator 0x60f000008388: (default, #1..., 100 1) 2022-02-16 17:08:15.636011-0800 xctest[77400:1197424] CouchbaseLite Database Info: CREATE UNIQUE INDEX IF NOT EXISTS kv_default_seqs ON kv_default (sequence) 2022-02-16 17:08:15.636376-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.636705-0800 xctest[77400:1197424] CouchbaseLite Database Info: SELECT sequence, flags, key, version, body, extra, 0 FROM kv_default WHERE sequence > ? ORDER BY sequence 2022-02-16 17:08:15.637031-0800 xctest[77400:1197424] CouchbaseLite Query Debug: SELECT sequence, flags, key, version, body, extra, 0 FROM kv_default WHERE sequence > ? ORDER BY sequence 4|0|0| SEARCH TABLE kv_default USING INDEX kv_default_seqs (sequence>?) 2022-02-16 17:08:15.637181-0800 xctest[77400:1197424] CouchbaseLite Database Info: Enumerator: SELECT sequence, flags, key, version, body, extra, 0 FROM kv_default WHERE sequence > ? ORDER BY sequence 2022-02-16 17:08:15.637511-0800 xctest[77400:1197424] CouchbaseLite Query Debug: RecordEnumerator 0x60f000008388 --> 'doc1' 2022-02-16 17:08:15.637777-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.637984-0800 xctest[77400:1197424] CouchbaseLite Replicator Debug: {ReplicatorChangesFeed#26} remoteRevID of 'doc1' is 2022-02-16 17:08:15.638202-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Pusher#25} Read 1 local changes up to #2: sending 'proposeChanges' with sequences #2 - #2 2022-02-16 17:08:15.638300-0800 xctest[77400:1197424] CouchbaseLite Replicator Debug: {Pusher#25} - 0002: 'doc1' #2-1c3e64b7cbb00795fa77c65e8052f31ecbe85942 (remote #) 2022-02-16 17:08:15.638530-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Pusher#25} Caught up, at lastSequence #2 2022-02-16 17:08:15.638654-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {BLIPIO#22} Sending 'proposeChanges' REQ #2 UZ 2022-02-16 17:08:15.638771-0800 xctest[77400:1197424] CouchbaseLite Replicator Verbose: {Pusher#25} progress +0/+120, 0 docs -- now 0 / 120, 0 docs 2022-02-16 17:08:15.638888-0800 xctest[77400:1197427] CouchbaseLite Database Info: {Deflater#23} Compressing 111 bytes into 16378-byte buf 2022-02-16 17:08:15.639026-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Pusher#25} activityLevel=busy: pendingResponseCount=1, caughtUp=1, changeLists=1, revsInFlight=0, blobsInFlight=0, awaitingReply=0, revsToSend=0, pushingDocs=1, pendingSequences=1 2022-02-16 17:08:15.639146-0800 xctest[77400:1197424] CouchbaseLite Replicator Verbose: {Pusher#25} now busy 2022-02-16 17:08:15.639355-0800 xctest[77400:1197427] CouchbaseLite Database Info: {Deflater#23} deflate(in 111, out 16378, mode 2)-> 0; read 111 bytes, wrote 109 bytes 2022-02-16 17:08:15.639541-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Pusher#25} activityLevel=busy: pendingResponseCount=1, caughtUp=1, changeLists=1, revsInFlight=0, blobsInFlight=0, awaitingReply=0, revsToSend=0, pushingDocs=1, pendingSequences=1 2022-02-16 17:08:15.639704-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {Repl#19} pushStatus=busy, pullStatus=stopped, progress=0/120 2022-02-16 17:08:15.639858-0800 xctest[77400:1197429] CouchbaseLite Replicator Verbose: {Repl#19} progress +0/+120, 0 docs -- now 0 / 120, 0 docs 2022-02-16 17:08:15.639994-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {Repl#19} activityLevel=busy: connectionState=2, savingChkpt=1 2022-02-16 17:08:15.640183-0800 xctest[77400:1197427] CouchbaseLite Database Info: {Deflater#23} compressed 111 bytes to 109 (98%), 0 unflushed 2022-02-16 17:08:15.640427-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {BLIPIO#22} Sending frame: REQ #2 -U-C, bytes 0--108 2022-02-16 17:08:15.640547-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {C4SocketImpl#21} Sending 111-byte message 2022-02-16 17:08:15.640730-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {Pusher#25} activityLevel=busy: pendingResponseCount=1, caughtUp=1, changeLists=1, revsInFlight=0, blobsInFlight=0, awaitingReply=0, revsToSend=0, pushingDocs=1, pendingSequences=1 2022-02-16 17:08:15.640861-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: >>> sending 117 bytes... 2022-02-16 17:08:15.641033-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {BLIPIO#22} Finished sending REQ #2 UZ 2022-02-16 17:08:15.641194-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: (...sent 117 bytes) 2022-02-16 17:08:15.641353-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {BLIPIO#22} ...Wrote 111 bytes to WebSocket (writeable=1) 2022-02-16 17:08:15.641480-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.641616-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: : HasBytesAvailable 2022-02-16 17:08:15.641722-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: DoRead... 2022-02-16 17:08:15.641827-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: DoRead read 16 bytes 2022-02-16 17:08:15.641920-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: <<< received 16 bytes [now 16 pending] 2022-02-16 17:08:15.642027-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {C4SocketImpl#21} Received 14-byte message 2022-02-16 17:08:15.642186-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {BLIPIO#22} Received frame: RES #2 -U-C, length 12 2022-02-16 17:08:15.642335-0800 xctest[77400:1197427] CouchbaseLite Database Info: {Inflater#24} Decompressing 12 bytes into 5-byte buf 2022-02-16 17:08:15.642457-0800 xctest[77400:1197427] CouchbaseLite Database Info: {Inflater#24} inflate(in 12, out 5, mode 2)-> 0; read 7 bytes, wrote 5 bytes 2022-02-16 17:08:15.642580-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {Connection#18} Receiving RES #2 UZ 2022-02-16 17:08:15.642687-0800 xctest[77400:1197427] CouchbaseLite Database Info: {Inflater#24} Decompressing 5 bytes into 4096-byte buf 2022-02-16 17:08:15.642778-0800 xctest[77400:1197427] CouchbaseLite Database Info: {Inflater#24} inflate(in 5, out 4096, mode 2)-> 0; read 5 bytes, wrote 1 bytes 2022-02-16 17:08:15.642899-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {Connection#18} Finished receiving RES #2 UZ 2022-02-16 17:08:15.643045-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {Pusher#25} Got response for 1 local changes (sequences from 2) 2022-02-16 17:08:15.643257-0800 xctest[77400:1197429] CouchbaseLite Replicator Debug: {Pusher#25} ** doneWithRev doc1 #2-1c3e64b7cbb00795fa77c65e8052f31ecbe85942 2022-02-16 17:08:15.643400-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {Pusher#25} Checkpoint now [0-2] 2022-02-16 17:08:15.643575-0800 xctest[77400:1197429] CouchbaseLite Replicator Debug: {Pusher#25} Done pushing 'doc1' 2-1c3e64b7cbb00795fa77c65e8052f31ecbe85942 2022-02-16 17:08:15.643691-0800 xctest[77400:1197429] CouchbaseLite Replicator Verbose: {Pusher#25} progress +120/+0, 0 docs -- now 120 / 120, 0 docs 2022-02-16 17:08:15.643812-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {Pusher#25} activityLevel=busy: pendingResponseCount=0, caughtUp=1, changeLists=0, revsInFlight=0, blobsInFlight=0, awaitingReply=0, revsToSend=0, pushingDocs=0, pendingSequences=0 2022-02-16 17:08:15.643949-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#19} pushStatus=busy, pullStatus=stopped, progress=120/120 2022-02-16 17:08:15.644070-0800 xctest[77400:1197424] CouchbaseLite Replicator Verbose: {Repl#19} progress +120/+0, 0 docs -- now 120 / 120, 0 docs 2022-02-16 17:08:15.644188-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#19} activityLevel=busy: connectionState=2, savingChkpt=1 2022-02-16 17:08:15.644295-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {Pusher#25} activityLevel=stopped: pendingResponseCount=0, caughtUp=1, changeLists=0, revsInFlight=0, blobsInFlight=0, awaitingReply=0, revsToSend=0, pushingDocs=0, pendingSequences=0 2022-02-16 17:08:15.644407-0800 xctest[77400:1197429] CouchbaseLite Replicator Verbose: {Pusher#25} now stopped 2022-02-16 17:08:15.644536-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#19} pushStatus=stopped, pullStatus=stopped, progress=120/120 2022-02-16 17:08:15.644674-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#19} activityLevel=busy: connectionState=2, savingChkpt=1 2022-02-16 17:08:15.644831-0800 xctest[77400:1197424] CouchbaseLite Replicator Verbose: {Repl#19} Saving remote checkpoint 'cp-zkDRAuh3KcxCGeis/gM4magFBnM=' over rev='0-1': {"time":1645060095,"local":2} ... 2022-02-16 17:08:15.645050-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#19} activityLevel=busy: connectionState=2, savingChkpt=1 2022-02-16 17:08:15.645182-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {BLIPIO#22} Sending 'setCheckpoint' REQ #3 2022-02-16 17:08:15.645310-0800 xctest[77400:1197429] CouchbaseLite Database Info: {Deflater#23} Copying 99 bytes into 16378-byte buf (no compression) 2022-02-16 17:08:15.645450-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {BLIPIO#22} Sending frame: REQ #3 ----, bytes 0--102 2022-02-16 17:08:15.645551-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {C4SocketImpl#21} Sending 105-byte message 2022-02-16 17:08:15.645659-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#19} activityLevel=busy: connectionState=2, savingChkpt=1 2022-02-16 17:08:15.645757-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: >>> sending 111 bytes... 2022-02-16 17:08:15.645897-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {BLIPIO#22} Finished sending REQ #3 2022-02-16 17:08:15.646051-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: (...sent 111 bytes) 2022-02-16 17:08:15.646201-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {BLIPIO#22} ...Wrote 105 bytes to WebSocket (writeable=1) 2022-02-16 17:08:15.646349-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.646481-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: : HasBytesAvailable 2022-02-16 17:08:15.646594-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: DoRead... 2022-02-16 17:08:15.646694-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: DoRead read 17 bytes 2022-02-16 17:08:15.646799-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: <<< received 17 bytes [now 17 pending] 2022-02-16 17:08:15.646902-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {C4SocketImpl#21} Received 15-byte message 2022-02-16 17:08:15.647058-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {BLIPIO#22} Received frame: RES #3 ----, length 13 2022-02-16 17:08:15.647205-0800 xctest[77400:1197429] CouchbaseLite Database Info: {Inflater#24} Copying 9 bytes into 5-byte buf (no compression) 2022-02-16 17:08:15.647297-0800 xctest[77400:1197429] CouchbaseLite Database Info: {Inflater#24} Copying 4 bytes into 4-byte buf (no compression) 2022-02-16 17:08:15.647412-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {Connection#18} Receiving RES #3 2022-02-16 17:08:15.647536-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {Connection#18} Finished receiving RES #3 2022-02-16 17:08:15.647659-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#19} Saved remote checkpoint 'cp-zkDRAuh3KcxCGeis/gM4magFBnM=' as rev='0-2' 2022-02-16 17:08:15.648066-0800 xctest[77400:1197424] CouchbaseLite Database Debug: {Shared#3} adding DataFile 0x61200002e240 2022-02-16 17:08:15.648256-0800 xctest[77400:1197424] CouchbaseLite Database Info: {DB#27}==> litecore::SQLiteDataFile /var/folders/gk/xfc67g4s27v6jrn_5tjhg0y80000gp/T/CouchbaseLite-EE/testdb.cblite2/db.sqlite3 @0x61200002e240 2022-02-16 17:08:15.648359-0800 xctest[77400:1197424] CouchbaseLite Database Info: {DB#27} Opening database 2022-02-16 17:08:15.649461-0800 xctest[77400:1197424] CouchbaseLite Database Info: PRAGMA cache_size=-10240; PRAGMA mmap_size=-1; PRAGMA synchronous=normal; PRAGMA journal_size_limit=5242880; PRAGMA case_sensitive_like=true 2022-02-16 17:08:15.649710-0800 xctest[77400:1197424] CouchbaseLite Database Debug: {DB#27} open KVS 'info' 2022-02-16 17:08:15.649926-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.650361-0800 xctest[77400:1197424] CouchbaseLite Database Info: Compiling SQL "SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=?" 2022-02-16 17:08:15.650631-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.650822-0800 xctest[77400:1197424] CouchbaseLite Database Debug: {DB#27} open KVS 'default' 2022-02-16 17:08:15.651134-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.651335-0800 xctest[77400:1197424] CouchbaseLite Database Info: {CollectionImpl#28}==> litecore::CollectionImpl testdb/_default @0x60b000077180 2022-02-16 17:08:15.651447-0800 xctest[77400:1197424] CouchbaseLite Database Info: {CollectionImpl#28} Instantiated 2022-02-16 17:08:15.651719-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... SELECT substr(name,4) FROM sqlite_master WHERE type='table' AND name GLOB 'kv_*' 2022-02-16 17:08:15.652028-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.652180-0800 xctest[77400:1197424] CouchbaseLite Database Verbose: {DB#27} Next expiration time is 0 2022-02-16 17:08:15.652337-0800 xctest[77400:1197424] CouchbaseLite Database Verbose: {DB#27} begin transaction 2022-02-16 17:08:15.652483-0800 xctest[77400:1197424] CouchbaseLite Database Info: BEGIN 2022-02-16 17:08:15.652652-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.652862-0800 xctest[77400:1197424] CouchbaseLite Database Info: {SequenceTracker#29}==> litecore::SequenceTracker 0x61200002f470 @0x61200002f470 2022-02-16 17:08:15.652985-0800 xctest[77400:1197424] CouchbaseLite Database Info: {SequenceTracker#29} begin transaction at #0 2022-02-16 17:08:15.653166-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {DBAccess#30}==> litecore::repl::DBAccess 0x61700007b6a0 @0x61700007b6a0 2022-02-16 17:08:15.653292-0800 xctest[77400:1197424] CouchbaseLite Replicator Debug: {DBAccess#30} Marking rev 'doc1' 2-1c3e64b7cbb00795fa77c65e8052f31ecbe85942 (#2) as synced to remote db 1 2022-02-16 17:08:15.653472-0800 xctest[77400:1197424] CouchbaseLite Database Info: Compiling SQL "UPDATE kv_default SET flags = ((flags + 0x10000) | ?) WHERE key=? AND sequence=?" 2022-02-16 17:08:15.653805-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... UPDATE kv_default SET flags = ((flags + 0x10000) | ?) WHERE key=? AND sequence=? 2022-02-16 17:08:15.654011-0800 xctest[77400:1197424] CouchbaseLite Database Verbose: {DB#27} commit transaction 2022-02-16 17:08:15.654133-0800 xctest[77400:1197424] CouchbaseLite Database Info: COMMIT 2022-02-16 17:08:15.654309-0800 xctest[77400:1197424] CouchbaseLite Database Info: {SequenceTracker#29} commit: sequences #1 -- #0 2022-02-16 17:08:15.654422-0800 xctest[77400:1197424] CouchbaseLite Database Verbose: {SequenceTracker#29} Removed 0 old entries (0 left; idle has 0, byDocID has 0) 2022-02-16 17:08:15.654527-0800 xctest[77400:1197424] CouchbaseLite Replicator Verbose: {DBAccess#30} Marked 1 revs as synced-to-server in 6.76ms (148/sec) 2022-02-16 17:08:15.654642-0800 xctest[77400:1197424] CouchbaseLite Database Verbose: {DB#16} begin transaction 2022-02-16 17:08:15.654736-0800 xctest[77400:1197424] CouchbaseLite Database Info: BEGIN 2022-02-16 17:08:15.654854-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.655057-0800 xctest[77400:1197424] CouchbaseLite Database Info: {SequenceTracker#31}==> litecore::SequenceTracker 0x612000081070 @0x612000081070 2022-02-16 17:08:15.655162-0800 xctest[77400:1197424] CouchbaseLite Database Info: {SequenceTracker#31} begin transaction at #0 2022-02-16 17:08:15.655322-0800 xctest[77400:1197424] CouchbaseLite Database Verbose: {DB#16} KeyStore(checkpoints) set 'cp-zkDRAuh3KcxCGeis/gM4magFBnM=' 2022-02-16 17:08:15.655414-0800 xctest[77400:1197424] CouchbaseLite Database Info: Compiling SQL "INSERT OR REPLACE INTO kv_checkpoints (key, version, body) VALUES (?, ?, ?)" 2022-02-16 17:08:15.655607-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... INSERT OR REPLACE INTO kv_checkpoints (key, version, body) VALUES (?, ?, ?) 2022-02-16 17:08:15.655770-0800 xctest[77400:1197424] CouchbaseLite Database Verbose: {DB#16} commit transaction 2022-02-16 17:08:15.655886-0800 xctest[77400:1197424] CouchbaseLite Database Info: COMMIT 2022-02-16 17:08:15.656061-0800 xctest[77400:1197424] CouchbaseLite Database Info: {SequenceTracker#31} commit: sequences #1 -- #0 2022-02-16 17:08:15.674010-0800 xctest[77400:1197424] CouchbaseLite Database Verbose: {SequenceTracker#31} Removed 0 old entries (0 left; idle has 0, byDocID has 0) 2022-02-16 17:08:15.674391-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#19} Saved local checkpoint 'cp-zkDRAuh3KcxCGeis/gM4magFBnM=': {"time":1645060095,"local":2} 2022-02-16 17:08:15.674566-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#19} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:15.835267-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {C4Replicator#20} State: busy, progress=100.00% 2022-02-16 17:08:15.835462-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#19} Replication complete! Closing connection 2022-02-16 17:08:15.835599-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#19} Told to stop! 2022-02-16 17:08:15.835722-0800 xctest[77400:1197424] CouchbaseLite Network Info: {Connection#18} Closing with code 1000, msg '' 2022-02-16 17:08:15.835930-0800 xctest[77400:1197427] CouchbaseLite Replicator Debug: CBLReplicator[-> URL[ws://localhost:4984/todo]]: Received C4ReplicatorStatus Changed, status = 4 (state = 5) 2022-02-16 17:08:15.835947-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#19} activityLevel=busy: connectionState=3, savingChkpt=0 2022-02-16 17:08:15.836219-0800 xctest[77400:1197423] CouchbaseLite Network Info: {C4SocketImpl#21} Requesting close with status=1000, message='' 2022-02-16 17:08:15.836360-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: CBLReplicator[-> URL[ws://localhost:4984/todo]] is busy, progress 120/120, error: (null) 2022-02-16 17:08:15.836391-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: >>> sending 8 bytes... 2022-02-16 17:08:15.836621-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: (...sent 8 bytes) 2022-02-16 17:08:15.836802-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.836924-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: : HasBytesAvailable 2022-02-16 17:08:15.837049-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: DoRead... 2022-02-16 17:08:15.837178-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: DoRead read 4 bytes 2022-02-16 17:08:15.837267-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: <<< received 4 bytes [now 4 pending] 2022-02-16 17:08:15.837472-0800 xctest[77400:1197423] CouchbaseLite Network Info: {C4SocketImpl#21} Close confirmed by peer; disconnecting socket now 2022-02-16 17:08:15.837643-0800 xctest[77400:1197423] CouchbaseLite Network Info: CBLWebSocket closeSocket requested 2022-02-16 17:08:15.837860-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: DoRead read 0 bytes 2022-02-16 17:08:15.837988-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: : EndEncountered on read stream 2022-02-16 17:08:15.838119-0800 xctest[77400:1197423] CouchbaseLite Network Verbose: : Disconnect 2022-02-16 17:08:15.838435-0800 xctest[77400:1197423] CouchbaseLite Network Info: CBLWebSocket CLOSED 2022-02-16 17:08:15.838580-0800 xctest[77400:1197423] CouchbaseLite Network Info: {C4SocketImpl#21} Socket disconnected cleanly 2022-02-16 17:08:15.838762-0800 xctest[77400:1197423] CouchbaseLite Network Info: {C4SocketImpl#21} sent 310 bytes, rcvd 115, in 0.209 sec (1486/sec, 551/sec) 2022-02-16 17:08:15.839098-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: C4Socket of is being disposed 2022-02-16 17:08:15.839230-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: DEALLOC 2022-02-16 17:08:15.839449-0800 xctest[77400:1197428] CouchbaseLite Network Info: {Connection#18} Closed with WebSocket/HTTP status 1000: 2022-02-16 17:08:15.839632-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#19} Connection closed with WebSocket/HTTP status 1000: "" (state=3) 2022-02-16 17:08:15.839784-0800 xctest[77400:1197427] CouchbaseLite Replicator Debug: {Repl#19} connectionClosed 2022-02-16 17:08:15.840032-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#19} activityLevel=stopped: connectionState=0, savingChkpt=0 2022-02-16 17:08:15.840222-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#19} now stopped 2022-02-16 17:08:15.840556-0800 xctest[77400:1197428] CouchbaseLite Replicator Debug: {Pusher#25} connectionClosed 2022-02-16 17:08:15.840801-0800 xctest[77400:1197427] CouchbaseLite Database Verbose: PRAGMA optimize ... 400 2022-02-16 17:08:15.841046-0800 xctest[77400:1197428] CouchbaseLite Network Debug: {Connection#18} ~Connection 2022-02-16 17:08:15.841281-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: BLIP sent 3 msgs (284 bytes), rcvd 0 msgs (105 bytes) in 0.211 sec. Max outbox depth was 1, avg 1.00 2022-02-16 17:08:15.841495-0800 xctest[77400:1197427] CouchbaseLite Database Info: ... PRAGMA page_count 2022-02-16 17:08:15.841759-0800 xctest[77400:1197427] CouchbaseLite Database Info: ... PRAGMA freelist_count 2022-02-16 17:08:15.841975-0800 xctest[77400:1197427] CouchbaseLite Database Verbose: {DB#16} Housekeeping: 0 of 10 pages free (0%) 2022-02-16 17:08:15.842162-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Pusher#25} activityLevel=stopped: pendingResponseCount=0, caughtUp=1, changeLists=0, revsInFlight=0, blobsInFlight=0, awaitingReply=0, revsToSend=0, pushingDocs=0, pendingSequences=0 2022-02-16 17:08:15.842311-0800 xctest[77400:1197428] CouchbaseLite Replicator Debug: {Pusher#25} destructing (0x61700007ba00); actorName='Push->ws://localhost:4984/todo/_blipsync' 2022-02-16 17:08:15.842461-0800 xctest[77400:1197427] CouchbaseLite Database Verbose: {DB#16} Closed SQLite database 2022-02-16 17:08:15.842612-0800 xctest[77400:1197427] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x61200003fdc0 2022-02-16 17:08:15.842829-0800 xctest[77400:1197427] CouchbaseLite Database Info: {DB#16} Closing database 2022-02-16 17:08:15.842941-0800 xctest[77400:1197427] CouchbaseLite Database Info: {CollectionImpl#17} Closed 2022-02-16 17:08:15.843164-0800 xctest[77400:1197427] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x61200003fdc0 2022-02-16 17:08:15.843298-0800 xctest[77400:1197427] CouchbaseLite Database Debug: {DB#16} destructing (~DataFile) 2022-02-16 17:08:15.843459-0800 xctest[77400:1197427] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x61200003fdc0 2022-02-16 17:08:15.843738-0800 xctest[77400:1197427] CouchbaseLite Database Verbose: PRAGMA optimize ... 400 2022-02-16 17:08:15.844012-0800 xctest[77400:1197427] CouchbaseLite Database Info: ... PRAGMA page_count 2022-02-16 17:08:15.844159-0800 xctest[77400:1197427] CouchbaseLite Database Info: ... PRAGMA freelist_count 2022-02-16 17:08:15.844283-0800 xctest[77400:1197427] CouchbaseLite Database Verbose: {DB#27} Housekeeping: 0 of 10 pages free (0%) 2022-02-16 17:08:15.844587-0800 xctest[77400:1197427] CouchbaseLite Database Verbose: {DB#27} Closed SQLite database 2022-02-16 17:08:15.844715-0800 xctest[77400:1197427] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x61200002e240 2022-02-16 17:08:15.844833-0800 xctest[77400:1197427] CouchbaseLite Database Info: {DB#27} Closing database 2022-02-16 17:08:15.844985-0800 xctest[77400:1197427] CouchbaseLite Database Info: {CollectionImpl#28} Closed 2022-02-16 17:08:15.845178-0800 xctest[77400:1197427] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x61200002e240 2022-02-16 17:08:15.845287-0800 xctest[77400:1197427] CouchbaseLite Database Debug: {DB#27} destructing (~DataFile) 2022-02-16 17:08:15.845378-0800 xctest[77400:1197427] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x61200002e240 2022-02-16 17:08:15.845559-0800 xctest[77400:1197427] CouchbaseLite Replicator Debug: {Repl#19} terminate() called... 2022-02-16 17:08:15.845663-0800 xctest[77400:1197427] CouchbaseLite Replicator Debug: {Repl#19} ...done with terminate() 2022-02-16 17:08:15.845795-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {C4Replicator#20} State: stopped, progress=100.00% 2022-02-16 17:08:15.845972-0800 xctest[77400:1197427] CouchbaseLite Replicator Debug: {Repl#19} destructing (0x619000125780); actorName='Repl->ws://localhost:4984/todo/_blipsync' 2022-02-16 17:08:15.846135-0800 xctest[77400:1197428] CouchbaseLite Replicator Debug: CBLReplicator[-> URL[ws://localhost:4984/todo]]: Received C4ReplicatorStatus Changed, status = 0 (state = 5) 2022-02-16 17:08:15.846279-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: CBLReplicator[-> URL[ws://localhost:4984/todo]]: Replicator is now stopped. 2022-02-16 17:08:15.846456-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: CBLReplicator[-> URL[ws://localhost:4984/todo]] is stopped, progress 120/120, error: (null) 2022-02-16 17:08:15.846689-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: {C4Replicator#20} Replicator not yet created, saving progress level value for later... 2022-02-16 17:08:15.846831-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: CBLReplicator[-> URL[ws://localhost:4984/todo]]: setProgressLevel to LiteCore; level = 0, status = 1 2022-02-16 17:08:15.847078-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: {C4Replicator#20} Replicator not yet created, saving progress level value for later... 2022-02-16 17:08:15.847206-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: CBLReplicator[-> URL[ws://localhost:4984/todo]]: setProgressLevel to LiteCore; level = 0, status = 1 2022-02-16 17:08:15.847391-0800 xctest[77400:1196869] CouchbaseLite Database Info: Closing CBLDatabase[testdb] at path /var/folders/gk/xfc67g4s27v6jrn_5tjhg0y80000gp/T/CouchbaseLite-EE/testdb.cblite2/ 2022-02-16 17:08:15.847670-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: PRAGMA optimize ... 400 2022-02-16 17:08:15.847881-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... PRAGMA page_count 2022-02-16 17:08:15.848048-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... PRAGMA freelist_count 2022-02-16 17:08:15.848166-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#1} Housekeeping: 0 of 10 pages free (0%) 2022-02-16 17:08:15.849189-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#1} Closed SQLite database 2022-02-16 17:08:15.849308-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x61200005fd40 2022-02-16 17:08:15.849428-0800 xctest[77400:1196869] CouchbaseLite Database Info: {DB#1} Closing database 2022-02-16 17:08:15.849708-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#3} adding DataFile 0x0 2022-02-16 17:08:15.849848-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: Preparing to delete DataFile /private/var/folders/gk/xfc67g4s27v6jrn_5tjhg0y80000gp/T/CouchbaseLite-EE/testdb.cblite2/db.sqlite3 2022-02-16 17:08:15.849958-0800 xctest[77400:1196869] CouchbaseLite Database Info: Deleting database file /private/var/folders/gk/xfc67g4s27v6jrn_5tjhg0y80000gp/T/CouchbaseLite-EE/testdb.cblite2/db.sqlite3 (with -wal and -shm) 2022-02-16 17:08:15.850251-0800 xctest[77400:1196869] CouchbaseLite Database Debug: ...finished deleting database file /private/var/folders/gk/xfc67g4s27v6jrn_5tjhg0y80000gp/T/CouchbaseLite-EE/testdb.cblite2/db.sqlite3 (with -wal and -shm) 2022-02-16 17:08:15.851078-0800 xctest[77400:1196869] CouchbaseLite Database Info: Opening CBLDatabase[testdb] at path /var/folders/gk/xfc67g4s27v6jrn_5tjhg0y80000gp/T/CouchbaseLite-EE/testdb.cblite2 2022-02-16 17:08:15.851499-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#3} adding DataFile 0x612000081940 2022-02-16 17:08:15.851647-0800 xctest[77400:1196869] CouchbaseLite Database Info: {DB#32}==> litecore::SQLiteDataFile /var/folders/gk/xfc67g4s27v6jrn_5tjhg0y80000gp/T/CouchbaseLite-EE/testdb.cblite2/db.sqlite3 @0x612000081940 2022-02-16 17:08:15.851754-0800 xctest[77400:1196869] CouchbaseLite Database Info: {DB#32} Opening database 2022-02-16 17:08:15.852459-0800 xctest[77400:1196869] CouchbaseLite Database Info: PRAGMA auto_vacuum=incremental; PRAGMA journal_mode=WAL; BEGIN; CREATE TABLE IF NOT EXISTS kvmeta (name TEXT PRIMARY KEY, lastSeq INTEGER DEFAULT 0, purgeCnt INTEGER DEFAULT 0) WITHOUT ROWID; PRAGMA user_version=400; END; 2022-02-16 17:08:15.855106-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... PRAGMA auto_vacuum 2022-02-16 17:08:15.855261-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {DB#32} open KVS 'default' 2022-02-16 17:08:15.855457-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.855601-0800 xctest[77400:1196869] CouchbaseLite Database Info: CREATE TABLE IF NOT EXISTS kv_default ( key TEXT PRIMARY KEY, sequence INTEGER, flags INTEGER DEFAULT 0, version BLOB, body BLOB, extra BLOB) 2022-02-16 17:08:15.856355-0800 xctest[77400:1196869] CouchbaseLite Database Info: PRAGMA cache_size=-10240; PRAGMA mmap_size=-1; PRAGMA synchronous=normal; PRAGMA journal_size_limit=5242880; PRAGMA case_sensitive_like=true 2022-02-16 17:08:15.856630-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {DB#32} open KVS 'info' 2022-02-16 17:08:15.856822-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.857054-0800 xctest[77400:1196869] CouchbaseLite Database Info: CREATE TABLE IF NOT EXISTS kv_info ( key TEXT PRIMARY KEY, sequence INTEGER, flags INTEGER DEFAULT 0, version BLOB, body BLOB, extra BLOB) 2022-02-16 17:08:15.858229-0800 xctest[77400:1196869] CouchbaseLite Database Info: Compiling SQL "SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=?" 2022-02-16 17:08:15.858524-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.858677-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#32} begin transaction 2022-02-16 17:08:15.858810-0800 xctest[77400:1196869] CouchbaseLite Database Info: BEGIN 2022-02-16 17:08:15.858987-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.859219-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.859368-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.859496-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#32} KeyStore(info) set 'publicUUID' 2022-02-16 17:08:15.859616-0800 xctest[77400:1196869] CouchbaseLite Database Info: Compiling SQL "INSERT OR REPLACE INTO kv_info (key, version, body) VALUES (?, ?, ?)" 2022-02-16 17:08:15.859817-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... INSERT OR REPLACE INTO kv_info (key, version, body) VALUES (?, ?, ?) 2022-02-16 17:08:15.860073-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.860267-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#32} KeyStore(info) set 'privateUUID' 2022-02-16 17:08:15.861257-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... INSERT OR REPLACE INTO kv_info (key, version, body) VALUES (?, ?, ?) 2022-02-16 17:08:15.861508-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#32} KeyStore(info) set 'versioning' 2022-02-16 17:08:15.861732-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... INSERT OR REPLACE INTO kv_info (key, version, body) VALUES (?, ?, ?) 2022-02-16 17:08:15.861938-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#32} commit transaction 2022-02-16 17:08:15.862087-0800 xctest[77400:1196869] CouchbaseLite Database Info: COMMIT 2022-02-16 17:08:15.862445-0800 xctest[77400:1196869] CouchbaseLite Database Info: {CollectionImpl#33}==> litecore::CollectionImpl testdb/_default @0x60b00008fac0 2022-02-16 17:08:15.862593-0800 xctest[77400:1196869] CouchbaseLite Database Info: {CollectionImpl#33} Instantiated 2022-02-16 17:08:15.863072-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT substr(name,4) FROM sqlite_master WHERE type='table' AND name GLOB 'kv_*' 2022-02-16 17:08:15.863490-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.863675-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#32} Next expiration time is 0 2022-02-16 17:08:15.864020-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: CBLReplicator[<- URL[ws://localhost:4984/todo]]: Starting ... 2022-02-16 17:08:15.864696-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#3} adding DataFile 0x612000083d40 2022-02-16 17:08:15.864839-0800 xctest[77400:1196869] CouchbaseLite Database Info: {DB#34}==> litecore::SQLiteDataFile /var/folders/gk/xfc67g4s27v6jrn_5tjhg0y80000gp/T/CouchbaseLite-EE/testdb.cblite2/db.sqlite3 @0x612000083d40 2022-02-16 17:08:15.864999-0800 xctest[77400:1196869] CouchbaseLite Database Info: {DB#34} Opening database 2022-02-16 17:08:15.865985-0800 xctest[77400:1196869] CouchbaseLite Database Info: PRAGMA cache_size=-10240; PRAGMA mmap_size=-1; PRAGMA synchronous=normal; PRAGMA journal_size_limit=5242880; PRAGMA case_sensitive_like=true 2022-02-16 17:08:15.866280-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {DB#34} open KVS 'info' 2022-02-16 17:08:15.866471-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.866979-0800 xctest[77400:1196869] CouchbaseLite Database Info: Compiling SQL "SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=?" 2022-02-16 17:08:15.867326-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.867571-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {DB#34} open KVS 'default' 2022-02-16 17:08:15.867797-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.868000-0800 xctest[77400:1196869] CouchbaseLite Database Info: {CollectionImpl#35}==> litecore::CollectionImpl testdb/_default @0x60b000091850 2022-02-16 17:08:15.868187-0800 xctest[77400:1196869] CouchbaseLite Database Info: {CollectionImpl#35} Instantiated 2022-02-16 17:08:15.868469-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT substr(name,4) FROM sqlite_master WHERE type='table' AND name GLOB 'kv_*' 2022-02-16 17:08:15.868749-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.868897-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#34} Next expiration time is 0 2022-02-16 17:08:15.869061-0800 xctest[77400:1196869] CouchbaseLite Network Info: {Connection#36}==> litecore::blip::Connection ->ws://localhost:4984/todo/_blipsync @0x60c0000982d0 2022-02-16 17:08:15.869168-0800 xctest[77400:1196869] CouchbaseLite Network Info: {Connection#36} Opening connection... 2022-02-16 17:08:15.870212-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: {Repl#37}==> litecore::repl::Replicator /var/folders/gk/xfc67g4s27v6jrn_5tjhg0y80000gp/T/CouchbaseLite-EE/testdb.cblite2/ ->ws://localhost:4984/todo/_blipsync @0x6190001ab390 2022-02-16 17:08:15.870380-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: {Repl#37} Pull=one-shot, Options={{auth:{password:"********", type:"Basic", username:"user1"}, headers:{User-Agent:"CouchbaseLite/3.0.0 (Swift; macOS 12.2.1) Build/0 Commit/0e41c5a3+CHANGES LiteCore/3.0.0-EE (release/lithium:d1821646+b018a12d+)"}, onlySelfSignedServer:false}} 2022-02-16 17:08:15.871204-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: {C4Replicator#38}==> litecore::C4RemoteReplicator 0x616000067598 @0x616000067598 2022-02-16 17:08:15.871336-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: {C4Replicator#38} C4RemoteRepl 0x616000067598 created Repl 0x6190001ab390 2022-02-16 17:08:15.871507-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: {C4Replicator#38} Starting Replicator {Repl#37} 2022-02-16 17:08:15.871793-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: CBLReplicator[<- URL[ws://localhost:4984/todo]]: setProgressLevel to LiteCore; level = 0, status = 1 2022-02-16 17:08:15.872042-0800 xctest[77400:1197429] CouchbaseLite Replicator Debug: CBLReplicator[<- URL[ws://localhost:4984/todo]]: Received C4ReplicatorStatus Changed, status = 2 (state = 6) 2022-02-16 17:08:15.872226-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: CBLReplicator[<- URL[ws://localhost:4984/todo]] is connecting, progress 0/0, error: (null) 2022-02-16 17:08:15.873906-0800 xctest[77400:1197428] CouchbaseLite Query Verbose: RecordEnumerator 0x60f000017dd8: (default, 110 0) 2022-02-16 17:08:15.874237-0800 xctest[77400:1197428] CouchbaseLite Database Info: CREATE INDEX IF NOT EXISTS kv_default_conflicts ON kv_default (flags) WHERE (flags & 2) != 0 2022-02-16 17:08:15.874525-0800 xctest[77400:1197427] CouchbaseLite Network Info: {C4SocketImpl#39}==> litecore::repl::C4SocketImpl ws://localhost:4984/todo/_blipsync @0x6150000596b8 2022-02-16 17:08:15.874743-0800 xctest[77400:1197427] CouchbaseLite Network Info: {C4SocketImpl#39} Connecting... 2022-02-16 17:08:15.875982-0800 xctest[77400:1197424] CouchbaseLite Network Info: connecting to localhost:4984... 2022-02-16 17:08:15.876025-0800 xctest[77400:1197428] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.876356-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.876971-0800 xctest[77400:1197428] CouchbaseLite Database Info: SELECT sequence, flags, key, version, length(body), length(extra), 0 FROM kv_default WHERE (flags & 2) != 0 2022-02-16 17:08:15.877929-0800 xctest[77400:1197428] CouchbaseLite Query Debug: SELECT sequence, flags, key, version, length(body), length(extra), 0 FROM kv_default WHERE (flags & 2) != 0 3|0|0| SCAN TABLE kv_default USING INDEX kv_default_conflicts 2022-02-16 17:08:15.878177-0800 xctest[77400:1197428] CouchbaseLite Database Info: Enumerator: SELECT sequence, flags, key, version, length(body), length(extra), 0 FROM kv_default WHERE (flags & 2) != 0 2022-02-16 17:08:15.878402-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Repl#37} Scanning for pre-existing conflicts... 2022-02-16 17:08:15.878718-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Repl#37} Found 0 conflicted docs in 0.005 sec 2022-02-16 17:08:15.878897-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: No cookies 2022-02-16 17:08:15.879006-0800 xctest[77400:1197428] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.879442-0800 xctest[77400:1197428] CouchbaseLite Database Verbose: {DB#34} begin transaction 2022-02-16 17:08:15.879681-0800 xctest[77400:1197428] CouchbaseLite Database Info: BEGIN 2022-02-16 17:08:15.879949-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: : OpenCompleted on <__NSCFInputStream: 0x60d00001cdc0> 2022-02-16 17:08:15.879998-0800 xctest[77400:1197428] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.880158-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: : OpenCompleted on <__NSCFOutputStream: 0x60d00001cf60> 2022-02-16 17:08:15.880310-0800 xctest[77400:1197428] CouchbaseLite Database Info: {SequenceTracker#40}==> litecore::SequenceTracker 0x612000084c70 @0x612000084c70 2022-02-16 17:08:15.880430-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.880500-0800 xctest[77400:1197428] CouchbaseLite Database Info: {SequenceTracker#40} begin transaction at #0 2022-02-16 17:08:15.880708-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.880883-0800 xctest[77400:1197428] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.881073-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: : HasBytesAvailable 2022-02-16 17:08:15.881191-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: DoRead... 2022-02-16 17:08:15.881270-0800 xctest[77400:1197428] CouchbaseLite Database Verbose: {DB#34} KeyStore(info) set 'remotes' 2022-02-16 17:08:15.881427-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: DoRead read 172 bytes 2022-02-16 17:08:15.881452-0800 xctest[77400:1197428] CouchbaseLite Database Info: Compiling SQL "INSERT OR REPLACE INTO kv_info (key, version, body) VALUES (?, ?, ?)" 2022-02-16 17:08:15.881596-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: Received 172 bytes of HTTP response 2022-02-16 17:08:15.881746-0800 xctest[77400:1197428] CouchbaseLite Database Info: ... INSERT OR REPLACE INTO kv_info (key, version, body) VALUES (?, ?, ?) 2022-02-16 17:08:15.881873-0800 xctest[77400:1197427] CouchbaseLite Network Info: {C4SocketImpl#39} Got HTTP response (status 101) 2022-02-16 17:08:15.882017-0800 xctest[77400:1197428] CouchbaseLite Database Verbose: {DB#34} commit transaction 2022-02-16 17:08:15.882140-0800 xctest[77400:1197427] CouchbaseLite Network Info: CBLWebSocket CONNECTED! 2022-02-16 17:08:15.882224-0800 xctest[77400:1197428] CouchbaseLite Database Info: COMMIT 2022-02-16 17:08:15.882379-0800 xctest[77400:1197427] CouchbaseLite Network Info: {C4SocketImpl#39} Connected! 2022-02-16 17:08:15.882799-0800 xctest[77400:1197427] CouchbaseLite Network Info: {Connection#36} Connected! 2022-02-16 17:08:15.883015-0800 xctest[77400:1197428] CouchbaseLite Database Info: {SequenceTracker#40} commit: sequences #1 -- #0 2022-02-16 17:08:15.883305-0800 xctest[77400:1197424] CouchbaseLite Network Info: {BLIPIO#41}==> litecore::blip::BLIPIO ->ws://localhost:4984/todo/_blipsync @0x61800003a490 2022-02-16 17:08:15.883521-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} WebSocket is hungry! 2022-02-16 17:08:15.883707-0800 xctest[77400:1197428] CouchbaseLite Database Verbose: {SequenceTracker#40} Removed 0 old entries (0 left; idle has 0, byDocID has 0) 2022-02-16 17:08:15.883891-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} ...Wrote 0 bytes to WebSocket (writeable=1) 2022-02-16 17:08:15.884045-0800 xctest[77400:1197428] CouchbaseLite Replicator Verbose: {Repl#37} Remote-DB ID 1 found for target 2022-02-16 17:08:15.884301-0800 xctest[77400:1197428] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.884699-0800 xctest[77400:1197428] CouchbaseLite Database Debug: {DB#34} open KVS 'checkpoints' 2022-02-16 17:08:15.884987-0800 xctest[77400:1197428] CouchbaseLite Database Info: ... SELECT sql FROM sqlite_master WHERE name = ? AND type = ? AND tbl_name = ? 2022-02-16 17:08:15.885175-0800 xctest[77400:1197428] CouchbaseLite Database Info: CREATE TABLE IF NOT EXISTS kv_checkpoints ( key TEXT PRIMARY KEY, sequence INTEGER, flags INTEGER DEFAULT 0, version BLOB, body BLOB, extra BLOB) 2022-02-16 17:08:15.886113-0800 xctest[77400:1197428] CouchbaseLite Database Info: Compiling SQL "SELECT sequence, flags, null, version, body, extra FROM kv_checkpoints WHERE key=?" 2022-02-16 17:08:15.886402-0800 xctest[77400:1197428] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_checkpoints WHERE key=? 2022-02-16 17:08:15.886635-0800 xctest[77400:1197428] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.886956-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Repl#37} No local checkpoint 'cp-PQVRbwMPcZr31hbEvgaAVPL4ybE=' 2022-02-16 17:08:15.887070-0800 xctest[77400:1197428] CouchbaseLite Database Info: Compiling SQL "SELECT lastSeq FROM kvmeta WHERE name=?" 2022-02-16 17:08:15.887272-0800 xctest[77400:1197428] CouchbaseLite Database Info: ... SELECT lastSeq FROM kvmeta WHERE name=? 2022-02-16 17:08:15.887472-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Repl#37} activityLevel=connecting: connectionState=1, savingChkpt=0 2022-02-16 17:08:15.887686-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Repl#37} activityLevel=connecting: connectionState=1, savingChkpt=0 2022-02-16 17:08:15.887792-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Repl#37} Connected! 2022-02-16 17:08:15.887888-0800 xctest[77400:1197428] CouchbaseLite Replicator Verbose: {Repl#37} Requesting remote checkpoint 'cp-PQVRbwMPcZr31hbEvgaAVPL4ybE=' 2022-02-16 17:08:15.888115-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Repl#37} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:15.888216-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Repl#37} now busy 2022-02-16 17:08:15.888323-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Puller#42}==> litecore::repl::Puller {Repl#37} @0x61800003a890 2022-02-16 17:08:15.888451-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Puller#42} Starting pull from remote seq '' 2022-02-16 17:08:15.888564-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {C4Replicator#38} State: busy, progress=0.00% 2022-02-16 17:08:15.888691-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} Sending 'getCheckpoint' REQ #1 2022-02-16 17:08:15.888855-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Puller#42} msg["revocations"]="true" due to enableAutoPurge()=1 or progressNotificationLevel()=0 > 0 2022-02-16 17:08:15.889018-0800 xctest[77400:1197429] CouchbaseLite Replicator Debug: CBLReplicator[<- URL[ws://localhost:4984/todo]]: Received C4ReplicatorStatus Changed, status = 4 (state = 6) 2022-02-16 17:08:15.889036-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Deflater#43}==> litecore::blip::Deflater 0x61800003a648 @0x61800003a648 2022-02-16 17:08:15.889174-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Deflater#43} Copying 62 bytes into 16378-byte buf (no compression) 2022-02-16 17:08:15.889318-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Puller#42} activityLevel=busy: pendingResponseCount=1, _caughtUp=0, _pendingRevMessages=0, _activeIncomingRevs=0 2022-02-16 17:08:15.889492-0800 xctest[77400:1197427] CouchbaseLite Replicator Verbose: {Puller#42} now busy 2022-02-16 17:08:15.889647-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} Sending frame: REQ #1 ----, bytes 0--65 2022-02-16 17:08:15.889750-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {C4SocketImpl#39} Sending 68-byte message 2022-02-16 17:08:15.889901-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: CBLReplicator[<- URL[ws://localhost:4984/todo]] is busy, progress 0/0, error: (null) 2022-02-16 17:08:15.889914-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Repl#37} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:15.890076-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: >>> sending 74 bytes... 2022-02-16 17:08:15.890094-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Repl#37} pushStatus=stopped, pullStatus=busy, progress=0/0 2022-02-16 17:08:15.890224-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Repl#37} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:15.890403-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} Finished sending REQ #1 2022-02-16 17:08:15.890556-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: (...sent 74 bytes) 2022-02-16 17:08:15.890616-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} ...Wrote 68 bytes to WebSocket (writeable=1) 2022-02-16 17:08:15.890763-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.890779-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} Sending 'subChanges' REQ #2 2022-02-16 17:08:15.890887-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: : HasBytesAvailable 2022-02-16 17:08:15.890960-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Deflater#43} Copying 84 bytes into 16378-byte buf (no compression) 2022-02-16 17:08:15.891086-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: DoRead... 2022-02-16 17:08:15.891135-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} Sending frame: REQ #2 ----, bytes 0--87 2022-02-16 17:08:15.891278-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {C4SocketImpl#39} Sending 90-byte message 2022-02-16 17:08:15.891418-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: DoRead read 49 bytes 2022-02-16 17:08:15.891437-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Puller#42} activityLevel=busy: pendingResponseCount=1, _caughtUp=0, _pendingRevMessages=0, _activeIncomingRevs=0 2022-02-16 17:08:15.891566-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: <<< received 49 bytes [now 49 pending] 2022-02-16 17:08:15.891597-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: >>> sending 96 bytes... 2022-02-16 17:08:15.891677-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {C4SocketImpl#39} Received 47-byte message 2022-02-16 17:08:15.891806-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} Finished sending REQ #2 2022-02-16 17:08:15.891963-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: (...sent 96 bytes) 2022-02-16 17:08:15.891983-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} ...Wrote 90 bytes to WebSocket (writeable=1) 2022-02-16 17:08:15.892155-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.892174-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} Received frame: ERR #1 ----, length 45 2022-02-16 17:08:15.892463-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: : HasBytesAvailable 2022-02-16 17:08:15.892548-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#44}==> litecore::blip::Inflater 0x61800003a6d8 @0x61800003a6d8 2022-02-16 17:08:15.892728-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: DoRead... 2022-02-16 17:08:15.892788-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#44} Copying 41 bytes into 5-byte buf (no compression) 2022-02-16 17:08:15.893007-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: DoRead read 117 bytes 2022-02-16 17:08:15.893021-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#44} Copying 36 bytes into 29-byte buf (no compression) 2022-02-16 17:08:15.893180-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: <<< received 117 bytes [now 164 pending] 2022-02-16 17:08:15.893273-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {Connection#36} Receiving ERR #1 2022-02-16 17:08:15.893421-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {C4SocketImpl#39} Received 7-byte message 2022-02-16 17:08:15.893566-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#44} Copying 7 bytes into 4096-byte buf (no compression) 2022-02-16 17:08:15.893732-0800 xctest[77400:1197429] CouchbaseLite Network Verbose: {C4SocketImpl#39} Received 106-byte message 2022-02-16 17:08:15.893868-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {Connection#36} Finished receiving ERR #1 2022-02-16 17:08:15.894037-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} Received frame: RES #2 ----, length 5 2022-02-16 17:08:15.894183-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {Repl#37} No remote checkpoint 'cp-PQVRbwMPcZr31hbEvgaAVPL4ybE=' 2022-02-16 17:08:15.894341-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#44} Copying 1 bytes into 5-byte buf (no compression) 2022-02-16 17:08:15.894467-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {Repl#37} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:15.894614-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {Connection#36} Receiving RES #2 2022-02-16 17:08:15.894763-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {Connection#36} Finished receiving RES #2 2022-02-16 17:08:15.894958-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} Received frame: REQ #1 ---C, length 104 2022-02-16 17:08:15.895146-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {Puller#42} activityLevel=busy: pendingResponseCount=0, _caughtUp=0, _pendingRevMessages=0, _activeIncomingRevs=0 2022-02-16 17:08:15.895311-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#44} Decompressing 104 bytes into 5-byte buf 2022-02-16 17:08:15.895524-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#44} inflate(in 104, out 5, mode 2)-> 0; read 37 bytes, wrote 5 bytes 2022-02-16 17:08:15.895732-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#44} Decompressing 67 bytes into 42-byte buf 2022-02-16 17:08:15.895932-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#44} inflate(in 67, out 42, mode 2)-> 0; read 27 bytes, wrote 42 bytes 2022-02-16 17:08:15.896114-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {Connection#36} Receiving 'changes' REQ #1 Z 2022-02-16 17:08:15.896252-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#44} Decompressing 40 bytes into 4096-byte buf 2022-02-16 17:08:15.896400-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#44} inflate(in 40, out 4096, mode 2)-> 0; read 40 bytes, wrote 57 bytes 2022-02-16 17:08:15.896537-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {Connection#36} Finished receiving 'changes' REQ #1 Z 2022-02-16 17:08:15.896739-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {RevFinder#45}==> litecore::repl::RevFinder {Repl#37} @0x613000065bd0 2022-02-16 17:08:15.896853-0800 xctest[77400:1197429] CouchbaseLite Replicator Verbose: {RevFinder#45} Handling 'changes' REQ#1 2022-02-16 17:08:15.897173-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {RevFinder#45} Received 1 changes (seq '9'..'9') 2022-02-16 17:08:15.897803-0800 xctest[77400:1197429] CouchbaseLite Database Info: ... SELECT key, fl_callback(key, version, body, extra, sequence, flags, ?) FROM kv_default WHERE key IN ('doc1') 2022-02-16 17:08:15.898032-0800 xctest[77400:1197429] CouchbaseLite Replicator Debug: {RevFinder#45} - Requesting 'doc1' #2-1c3e64b7cbb00795fa77c65e8052f31ecbe85942, I have ancestors [] 2022-02-16 17:08:15.898223-0800 xctest[77400:1197429] CouchbaseLite Replicator Info: {RevFinder#45} Responded to 'changes' REQ#1 w/request for 1 revs in 0.000854 sec 2022-02-16 17:08:15.898361-0800 xctest[77400:1197424] CouchbaseLite Replicator Verbose: {Puller#42} Now waiting for 1 'rev' messages; 1 known sequences pending 2022-02-16 17:08:15.898489-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {BLIPIO#41} Sending RES #1 Z 2022-02-16 17:08:15.898623-0800 xctest[77400:1197429] CouchbaseLite Replicator Verbose: {RevFinder#45} now idle 2022-02-16 17:08:15.898782-0800 xctest[77400:1197424] CouchbaseLite Replicator Verbose: {Puller#42} progress +0/+1, 0 docs -- now 0 / 1, 0 docs 2022-02-16 17:08:15.898921-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Puller#42} activityLevel=busy: pendingResponseCount=0, _caughtUp=0, _pendingRevMessages=1, _activeIncomingRevs=0 2022-02-16 17:08:15.899052-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#37} pushStatus=stopped, pullStatus=busy, progress=0/0 2022-02-16 17:08:15.899170-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#37} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:15.899301-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Deflater#43} Compressing 42 bytes into 16378-byte buf 2022-02-16 17:08:15.899439-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#37} pushStatus=stopped, pullStatus=busy, progress=0/1 2022-02-16 17:08:15.899562-0800 xctest[77400:1197427] CouchbaseLite Replicator Verbose: {Repl#37} progress +0/+1, 0 docs -- now 0 / 1, 0 docs 2022-02-16 17:08:15.899706-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Deflater#43} deflate(in 42, out 16378, mode 2)-> 0; read 42 bytes, wrote 43 bytes 2022-02-16 17:08:15.899837-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#37} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:15.899997-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Deflater#43} compressed 42 bytes to 43 (102%), 0 unflushed 2022-02-16 17:08:15.900109-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {BLIPIO#41} Sending frame: RES #1 ---C, bytes 0--42 2022-02-16 17:08:15.900208-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {C4SocketImpl#39} Sending 45-byte message 2022-02-16 17:08:15.900345-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: >>> sending 51 bytes... 2022-02-16 17:08:15.900544-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {BLIPIO#41} Finished sending RES #1 Z 2022-02-16 17:08:15.900684-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {BLIPIO#41} ...Wrote 45 bytes to WebSocket (writeable=1) 2022-02-16 17:08:15.900850-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: (...sent 51 bytes) 2022-02-16 17:08:15.900975-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.901081-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: : HasBytesAvailable 2022-02-16 17:08:15.901178-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: DoRead... 2022-02-16 17:08:15.901291-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: DoRead read 235 bytes 2022-02-16 17:08:15.901391-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: <<< received 235 bytes [now 235 pending] 2022-02-16 17:08:15.901481-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {C4SocketImpl#39} Received 15-byte message 2022-02-16 17:08:15.901621-0800 xctest[77400:1197427] CouchbaseLite Network Verbose: {C4SocketImpl#39} Received 214-byte message 2022-02-16 17:08:15.901756-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {BLIPIO#41} Received frame: REQ #2 --NC, length 13 2022-02-16 17:08:15.901913-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Inflater#44} Decompressing 13 bytes into 5-byte buf 2022-02-16 17:08:15.902021-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Inflater#44} inflate(in 13, out 5, mode 2)-> 0; read 3 bytes, wrote 5 bytes 2022-02-16 17:08:15.902122-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Inflater#44} Decompressing 10 bytes into 42-byte buf 2022-02-16 17:08:15.902275-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Inflater#44} inflate(in 10, out 42, mode 2)-> 0; read 1 bytes, wrote 42 bytes 2022-02-16 17:08:15.902403-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {Connection#36} Receiving 'changes' REQ #2 NZ 2022-02-16 17:08:15.902501-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Inflater#44} Decompressing 9 bytes into 4096-byte buf 2022-02-16 17:08:15.902601-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Inflater#44} inflate(in 9, out 4096, mode 2)-> 0; read 9 bytes, wrote 4 bytes 2022-02-16 17:08:15.902725-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {Connection#36} Finished receiving 'changes' REQ #2 NZ 2022-02-16 17:08:15.902882-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {BLIPIO#41} Received frame: REQ #3 --NC, length 212 2022-02-16 17:08:15.903006-0800 xctest[77400:1197427] CouchbaseLite Replicator Verbose: {RevFinder#45} Handling 'changes' REQ#2 2022-02-16 17:08:15.903115-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Inflater#44} Decompressing 212 bytes into 5-byte buf 2022-02-16 17:08:15.903253-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {RevFinder#45} Caught up with remote changes 2022-02-16 17:08:15.903419-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Inflater#44} inflate(in 212, out 5, mode 2)-> 0; read 57 bytes, wrote 5 bytes 2022-02-16 17:08:15.903553-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Puller#42} activityLevel=busy: pendingResponseCount=0, _caughtUp=1, _pendingRevMessages=1, _activeIncomingRevs=0 2022-02-16 17:08:15.903676-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Inflater#44} Decompressing 155 bytes into 156-byte buf 2022-02-16 17:08:15.903798-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Inflater#44} inflate(in 155, out 156, mode 2)-> 0; read 55 bytes, wrote 156 bytes 2022-02-16 17:08:15.903913-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {Connection#36} Receiving 'rev' REQ #3 NZ 2022-02-16 17:08:15.904045-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Inflater#44} Decompressing 100 bytes into 4096-byte buf 2022-02-16 17:08:15.904195-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Inflater#44} inflate(in 100, out 4096, mode 2)-> 0; read 100 bytes, wrote 150 bytes 2022-02-16 17:08:15.904371-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {Connection#36} Finished receiving 'rev' REQ #3 NZ 2022-02-16 17:08:15.904695-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {IncomingRev#46}==> litecore::repl::IncomingRev {Repl#37} @0x614000011850 2022-02-16 17:08:15.904851-0800 xctest[77400:1197424] CouchbaseLite Replicator Verbose: {IncomingRev#46} Received revision 'doc1' #2-1c3e64b7cbb00795fa77c65e8052f31ecbe85942 (seq '9') 2022-02-16 17:08:15.905011-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Puller#42} activityLevel=busy: pendingResponseCount=0, _caughtUp=1, _pendingRevMessages=0, _activeIncomingRevs=1 2022-02-16 17:08:15.905480-0800 xctest[77400:1197427] CouchbaseLite Replicator Verbose: {IncomingRev#46} Requesting blob (12 bytes, compress=1) 2022-02-16 17:08:15.905733-0800 xctest[77400:1197427] CouchbaseLite Replicator Verbose: {Puller#42} progress +0/+12, 0 docs -- now 0 / 13, 0 docs 2022-02-16 17:08:15.905887-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Puller#42} activityLevel=busy: pendingResponseCount=0, _caughtUp=1, _pendingRevMessages=0, _activeIncomingRevs=1 2022-02-16 17:08:15.906028-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} Sending 'getAttachment' REQ #3 2022-02-16 17:08:15.906153-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Repl#37} pushStatus=stopped, pullStatus=busy, progress=0/13 2022-02-16 17:08:15.906369-0800 xctest[77400:1197428] CouchbaseLite Replicator Verbose: {Repl#37} progress +0/+12, 0 docs -- now 0 / 13, 0 docs 2022-02-16 17:08:15.906553-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Deflater#43} Copying 89 bytes into 16378-byte buf (no compression) 2022-02-16 17:08:15.906679-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Repl#37} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:15.906813-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} Sending frame: REQ #3 ----, bytes 0--92 2022-02-16 17:08:15.906927-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {C4SocketImpl#39} Sending 95-byte message 2022-02-16 17:08:15.907039-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: >>> sending 101 bytes... 2022-02-16 17:08:15.907170-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} Finished sending REQ #3 2022-02-16 17:08:15.907307-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: (...sent 101 bytes) 2022-02-16 17:08:15.907480-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.907648-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: : HasBytesAvailable 2022-02-16 17:08:15.907747-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: DoRead... 2022-02-16 17:08:15.907901-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: DoRead read 75 bytes 2022-02-16 17:08:15.908007-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: <<< received 75 bytes [now 75 pending] 2022-02-16 17:08:15.908149-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {C4SocketImpl#39} Received 73-byte message 2022-02-16 17:08:15.923926-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} ...Wrote 95 bytes to WebSocket (writeable=1) 2022-02-16 17:08:15.924230-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {BLIPIO#41} Received frame: ERR #3 ----, length 71 2022-02-16 17:08:15.924518-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#44} Copying 67 bytes into 5-byte buf (no compression) 2022-02-16 17:08:15.924751-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#44} Copying 62 bytes into 29-byte buf (no compression) 2022-02-16 17:08:15.925022-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {Connection#36} Receiving ERR #3 2022-02-16 17:08:15.925390-0800 xctest[77400:1197424] CouchbaseLite Database Info: {Inflater#44} Copying 33 bytes into 4096-byte buf (no compression) 2022-02-16 17:08:15.925579-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {Connection#36} Finished receiving ERR #3 2022-02-16 17:08:15.925825-0800 xctest[77400:1197428] CouchbaseLite Replicator ERROR: {IncomingRev#46} Got error response: HTTP 403 'Attachment's doc not being synced' 2022-02-16 17:08:15.926082-0800 xctest[77400:1197428] CouchbaseLite Replicator WARNING: {IncomingRev#46} failed with error: WebSocket error 403, "Attachment's doc not being synced" 2022-02-16 17:08:15.952370-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Repl#37} documentEnded doc1 2-1c3e64b7cbb00795fa77c65e8052f31ecbe85942 flags=08 (6/403) 2022-02-16 17:08:15.952719-0800 xctest[77400:1197428] CouchbaseLite Replicator Verbose: {Puller#42} Checkpoint now at '9' 2022-02-16 17:08:15.953062-0800 xctest[77400:1197428] CouchbaseLite Replicator Verbose: {Puller#42} progress +1/+0, 0 docs -- now 1 / 13, 0 docs 2022-02-16 17:08:15.953303-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Puller#42} activityLevel=busy: pendingResponseCount=0, _caughtUp=1, _pendingRevMessages=0, _activeIncomingRevs=0 2022-02-16 17:08:15.953633-0800 xctest[77400:1197428] CouchbaseLite Replicator Verbose: {Puller#42} progress +12/+0, 0 docs -- now 13 / 13, 0 docs 2022-02-16 17:08:15.953831-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Puller#42} activityLevel=stopped: pendingResponseCount=0, _caughtUp=1, _pendingRevMessages=0, _activeIncomingRevs=0 2022-02-16 17:08:15.954036-0800 xctest[77400:1197428] CouchbaseLite Replicator Verbose: {Puller#42} now stopped 2022-02-16 17:08:15.954277-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#37} pushStatus=stopped, pullStatus=busy, progress=1/13 2022-02-16 17:08:15.954444-0800 xctest[77400:1197424] CouchbaseLite Replicator Verbose: {Repl#37} progress +1/+0, 0 docs -- now 1 / 13, 0 docs 2022-02-16 17:08:15.954710-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#37} activityLevel=busy: connectionState=2, savingChkpt=1 2022-02-16 17:08:15.954908-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#37} pushStatus=stopped, pullStatus=stopped, progress=13/13 2022-02-16 17:08:15.955108-0800 xctest[77400:1197424] CouchbaseLite Replicator Verbose: {Repl#37} progress +12/+0, 0 docs -- now 13 / 13, 0 docs 2022-02-16 17:08:15.955303-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#37} activityLevel=busy: connectionState=2, savingChkpt=1 2022-02-16 17:08:15.955503-0800 xctest[77400:1197424] CouchbaseLite Replicator Verbose: {Repl#37} Saving remote checkpoint 'cp-PQVRbwMPcZr31hbEvgaAVPL4ybE=' over rev='': {"time":1645060095,"remote":9} ... 2022-02-16 17:08:15.955850-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#37} activityLevel=busy: connectionState=2, savingChkpt=1 2022-02-16 17:08:15.956053-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {BLIPIO#41} Sending 'setCheckpoint' REQ #4 2022-02-16 17:08:15.956177-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Deflater#43} Copying 97 bytes into 16378-byte buf (no compression) 2022-02-16 17:08:15.956428-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#37} activityLevel=busy: connectionState=2, savingChkpt=1 2022-02-16 17:08:15.956617-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {BLIPIO#41} Sending frame: REQ #4 ----, bytes 0--100 2022-02-16 17:08:15.956801-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {C4SocketImpl#39} Sending 103-byte message 2022-02-16 17:08:15.957082-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: >>> sending 109 bytes... 2022-02-16 17:08:15.974032-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {BLIPIO#41} Finished sending REQ #4 2022-02-16 17:08:15.974319-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: (...sent 109 bytes) 2022-02-16 17:08:15.974413-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {BLIPIO#41} ...Wrote 103 bytes to WebSocket (writeable=1) 2022-02-16 17:08:15.974564-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:15.974761-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: : HasBytesAvailable 2022-02-16 17:08:15.974980-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: DoRead... 2022-02-16 17:08:15.975208-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: DoRead read 17 bytes 2022-02-16 17:08:15.975314-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: <<< received 17 bytes [now 17 pending] 2022-02-16 17:08:15.975490-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: {C4SocketImpl#39} Received 15-byte message 2022-02-16 17:08:15.975769-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {BLIPIO#41} Received frame: RES #4 ----, length 13 2022-02-16 17:08:15.976012-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Inflater#44} Copying 9 bytes into 5-byte buf (no compression) 2022-02-16 17:08:15.976342-0800 xctest[77400:1197428] CouchbaseLite Database Info: {Inflater#44} Copying 4 bytes into 4-byte buf (no compression) 2022-02-16 17:08:15.976535-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {Connection#36} Receiving RES #4 2022-02-16 17:08:15.976861-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: {Connection#36} Finished receiving RES #4 2022-02-16 17:08:15.977165-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#37} Saved remote checkpoint 'cp-PQVRbwMPcZr31hbEvgaAVPL4ybE=' as rev='0-1' 2022-02-16 17:08:15.977449-0800 xctest[77400:1197424] CouchbaseLite Database Verbose: {DB#34} begin transaction 2022-02-16 17:08:15.977801-0800 xctest[77400:1197424] CouchbaseLite Database Info: BEGIN 2022-02-16 17:08:15.978084-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... SELECT sequence, flags, null, version, body, extra FROM kv_info WHERE key=? 2022-02-16 17:08:15.978289-0800 xctest[77400:1197424] CouchbaseLite Database Info: {SequenceTracker#40} begin transaction at #0 2022-02-16 17:08:15.978506-0800 xctest[77400:1197424] CouchbaseLite Database Verbose: {DB#34} KeyStore(checkpoints) set 'cp-PQVRbwMPcZr31hbEvgaAVPL4ybE=' 2022-02-16 17:08:15.978648-0800 xctest[77400:1197424] CouchbaseLite Database Info: Compiling SQL "INSERT OR REPLACE INTO kv_checkpoints (key, version, body) VALUES (?, ?, ?)" 2022-02-16 17:08:15.978893-0800 xctest[77400:1197424] CouchbaseLite Database Info: ... INSERT OR REPLACE INTO kv_checkpoints (key, version, body) VALUES (?, ?, ?) 2022-02-16 17:08:15.979051-0800 xctest[77400:1197424] CouchbaseLite Database Verbose: {DB#34} commit transaction 2022-02-16 17:08:15.979264-0800 xctest[77400:1197424] CouchbaseLite Database Info: COMMIT 2022-02-16 17:08:15.979516-0800 xctest[77400:1197424] CouchbaseLite Database Info: {SequenceTracker#40} commit: sequences #1 -- #0 2022-02-16 17:08:15.979638-0800 xctest[77400:1197424] CouchbaseLite Database Verbose: {SequenceTracker#40} Removed 0 old entries (0 left; idle has 0, byDocID has 0) 2022-02-16 17:08:15.979817-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#37} Saved local checkpoint 'cp-PQVRbwMPcZr31hbEvgaAVPL4ybE=': {"time":1645060095,"remote":9} 2022-02-16 17:08:15.979950-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#37} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:16.092643-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {C4Replicator#38} State: busy, progress=100.00% 2022-02-16 17:08:16.092834-0800 xctest[77400:1197424] CouchbaseLite Replicator Info: {Repl#37} activityLevel=busy: connectionState=2, savingChkpt=0 2022-02-16 17:08:16.092964-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: CBLReplicator[<- URL[ws://localhost:4984/todo]]: error pulling 'doc1': 6/403 2022-02-16 17:08:16.093213-0800 xctest[77400:1197427] CouchbaseLite Replicator Debug: CBLReplicator[<- URL[ws://localhost:4984/todo]]: Received C4ReplicatorStatus Changed, status = 4 (state = 5) 2022-02-16 17:08:16.093412-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: CBLReplicator[<- URL[ws://localhost:4984/todo]] is busy, progress 13/13, error: (null) 2022-02-16 17:08:16.173874-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#37} Replication complete! Closing connection 2022-02-16 17:08:16.174073-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#37} Told to stop! 2022-02-16 17:08:16.174234-0800 xctest[77400:1197427] CouchbaseLite Network Info: {Connection#36} Closing with code 1000, msg '' 2022-02-16 17:08:16.174456-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#37} activityLevel=busy: connectionState=3, savingChkpt=0 2022-02-16 17:08:16.174725-0800 xctest[77400:1197424] CouchbaseLite Network Info: {C4SocketImpl#39} Requesting close with status=1000, message='' 2022-02-16 17:08:16.174893-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: >>> sending 8 bytes... 2022-02-16 17:08:16.175085-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: (...sent 8 bytes) 2022-02-16 17:08:16.175224-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: : HasSpaceAvailable 2022-02-16 17:08:16.175349-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: : HasBytesAvailable 2022-02-16 17:08:16.175453-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: DoRead... 2022-02-16 17:08:16.175617-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: DoRead read 4 bytes 2022-02-16 17:08:16.175768-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: <<< received 4 bytes [now 4 pending] 2022-02-16 17:08:16.175924-0800 xctest[77400:1197424] CouchbaseLite Network Info: {C4SocketImpl#39} Close confirmed by peer; disconnecting socket now 2022-02-16 17:08:16.176088-0800 xctest[77400:1197424] CouchbaseLite Network Info: CBLWebSocket closeSocket requested 2022-02-16 17:08:16.176319-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: DoRead read 0 bytes 2022-02-16 17:08:16.176558-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: : EndEncountered on read stream 2022-02-16 17:08:16.176682-0800 xctest[77400:1197424] CouchbaseLite Network Verbose: : Disconnect 2022-02-16 17:08:16.177136-0800 xctest[77400:1197424] CouchbaseLite Network Info: CBLWebSocket CLOSED 2022-02-16 17:08:16.177326-0800 xctest[77400:1197424] CouchbaseLite Network Info: {C4SocketImpl#39} Socket disconnected cleanly 2022-02-16 17:08:16.177513-0800 xctest[77400:1197424] CouchbaseLite Network Info: {C4SocketImpl#39} sent 439 bytes, rcvd 497, in 0.295 sec (1490/sec, 1686/sec) 2022-02-16 17:08:16.177792-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: C4Socket of is being disposed 2022-02-16 17:08:16.178059-0800 xctest[77400:1197428] CouchbaseLite Network Verbose: DEALLOC 2022-02-16 17:08:16.178232-0800 xctest[77400:1197428] CouchbaseLite Network Info: {Connection#36} Closed with WebSocket/HTTP status 1000: 2022-02-16 17:08:16.178409-0800 xctest[77400:1197428] CouchbaseLite Replicator Debug: {RevFinder#45} destructing (0x613000065bc0); actorName='RevFinder->ws://localhost:4984/todo/_blipsync' 2022-02-16 17:08:16.178575-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#37} Connection closed with WebSocket/HTTP status 1000: "" (state=3) 2022-02-16 17:08:16.178697-0800 xctest[77400:1197427] CouchbaseLite Replicator Debug: {Repl#37} connectionClosed 2022-02-16 17:08:16.178807-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#37} activityLevel=stopped: connectionState=0, savingChkpt=0 2022-02-16 17:08:16.178917-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {Repl#37} now stopped 2022-02-16 17:08:16.189729-0800 xctest[77400:1197428] CouchbaseLite Replicator Debug: {Puller#42} connectionClosed 2022-02-16 17:08:16.189936-0800 xctest[77400:1197427] CouchbaseLite Database Verbose: PRAGMA optimize ... 400 2022-02-16 17:08:16.190197-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Puller#42} activityLevel=stopped: pendingResponseCount=0, _caughtUp=1, _pendingRevMessages=0, _activeIncomingRevs=0 2022-02-16 17:08:16.190438-0800 xctest[77400:1197427] CouchbaseLite Database Info: ... PRAGMA page_count 2022-02-16 17:08:16.190653-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: {Worker#47}==> litecore::repl::Worker {Repl#37} @0x615000059e10 2022-02-16 17:08:16.190883-0800 xctest[77400:1197428] CouchbaseLite Replicator Debug: {Worker#47} destructing (0x615000059e00); actorName='Insert->ws://localhost:4984/todo/_blipsync' 2022-02-16 17:08:16.191055-0800 xctest[77400:1197427] CouchbaseLite Database Info: ... PRAGMA freelist_count 2022-02-16 17:08:16.191349-0800 xctest[77400:1197428] CouchbaseLite Replicator Debug: {IncomingRev#46} destructing (0x614000011840); actorName='inc->ws://localhost:4984/todo/_blipsync' 2022-02-16 17:08:16.191492-0800 xctest[77400:1197428] CouchbaseLite Network Debug: {Connection#36} ~Connection 2022-02-16 17:08:16.191623-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: BLIP sent 5 msgs (401 bytes), rcvd 3 msgs (477 bytes) in 0.309 sec. Max outbox depth was 1, avg 1.00 2022-02-16 17:08:16.191790-0800 xctest[77400:1197427] CouchbaseLite Database Verbose: {DB#34} Housekeeping: 0 of 10 pages free (0%) 2022-02-16 17:08:16.192040-0800 xctest[77400:1197428] CouchbaseLite Replicator Debug: {Puller#42} destructing (0x61800003a880); actorName='Pull->ws://localhost:4984/todo/_blipsync' 2022-02-16 17:08:16.192316-0800 xctest[77400:1197427] CouchbaseLite Database Verbose: {DB#34} Closed SQLite database 2022-02-16 17:08:16.192445-0800 xctest[77400:1197427] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x612000083d40 2022-02-16 17:08:16.192544-0800 xctest[77400:1197427] CouchbaseLite Database Info: {DB#34} Closing database 2022-02-16 17:08:16.192704-0800 xctest[77400:1197427] CouchbaseLite Database Info: {CollectionImpl#35} Closed 2022-02-16 17:08:16.192841-0800 xctest[77400:1197427] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x612000083d40 2022-02-16 17:08:16.192935-0800 xctest[77400:1197427] CouchbaseLite Database Debug: {DB#34} destructing (~DataFile) 2022-02-16 17:08:16.193034-0800 xctest[77400:1197427] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x612000083d40 2022-02-16 17:08:16.193206-0800 xctest[77400:1197427] CouchbaseLite Replicator Debug: {Repl#37} terminate() called... 2022-02-16 17:08:16.193330-0800 xctest[77400:1197427] CouchbaseLite Replicator Debug: {Repl#37} ...done with terminate() 2022-02-16 17:08:16.193434-0800 xctest[77400:1197427] CouchbaseLite Replicator Info: {C4Replicator#38} State: stopped, progress=100.00% 2022-02-16 17:08:16.193589-0800 xctest[77400:1197427] CouchbaseLite Replicator Debug: {Repl#37} destructing (0x6190001ab380); actorName='Repl->ws://localhost:4984/todo/_blipsync' 2022-02-16 17:08:16.193757-0800 xctest[77400:1197428] CouchbaseLite Replicator Debug: CBLReplicator[<- URL[ws://localhost:4984/todo]]: Received C4ReplicatorStatus Changed, status = 0 (state = 5) 2022-02-16 17:08:16.193910-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: CBLReplicator[<- URL[ws://localhost:4984/todo]]: Replicator is now stopped. 2022-02-16 17:08:16.194024-0800 xctest[77400:1197428] CouchbaseLite Replicator Info: CBLReplicator[<- URL[ws://localhost:4984/todo]] is stopped, progress 13/13, error: (null) 2022-02-16 17:08:16.194283-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: {C4Replicator#38} Replicator not yet created, saving progress level value for later... 2022-02-16 17:08:16.194421-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: CBLReplicator[<- URL[ws://localhost:4984/todo]]: setProgressLevel to LiteCore; level = 0, status = 1 2022-02-16 17:08:16.194660-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: {C4Replicator#38} Replicator not yet created, saving progress level value for later... 2022-02-16 17:08:16.194787-0800 xctest[77400:1196869] CouchbaseLite Replicator Verbose: CBLReplicator[<- URL[ws://localhost:4984/todo]]: setProgressLevel to LiteCore; level = 0, status = 1 2022-02-16 17:08:16.194970-0800 xctest[77400:1196869] CouchbaseLite Database Info: Compiling SQL "SELECT count(*) FROM kv_default WHERE (flags & 1) != 1" 2022-02-16 17:08:16.195278-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... SELECT count(*) FROM kv_default WHERE (flags & 1) != 1 /Users/jayaharivavachan/Documents/cbl_repos/couchbase-lite-ios-ee/couchbase-lite-ios/Swift/Tests/ReplicatorTest.swift:1312: error: -[CouchbaseLiteSwiftTests.ReplicatorTest_Main testPushPullWithBlob] : XCTAssertEqual failed: ("0") is not equal to ("1") 2022-02-16 17:08:21.005725-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: {C4Replicator#20} Freeing C4BaseReplicator 2022-02-16 17:08:21.006038-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: {C4Replicator#8} Freeing C4BaseReplicator 2022-02-16 17:08:21.006169-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x61200005fd40 2022-02-16 17:08:21.006325-0800 xctest[77400:1196869] CouchbaseLite Database Info: {CollectionImpl#48}==> litecore::CollectionImpl testdb/_default @0x60b000035230 2022-02-16 17:08:21.006428-0800 xctest[77400:1196869] CouchbaseLite Database Info: {CollectionImpl#48} Closed 2022-02-16 17:08:21.006576-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x61200005fd40 2022-02-16 17:08:21.006672-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {DB#1} destructing (~DataFile) 2022-02-16 17:08:21.006764-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x61200005fd40 2022-02-16 17:08:21.007092-0800 xctest[77400:1196869] CouchbaseLite Database Info: Closing CBLDatabase[otherdb] at path /var/folders/gk/xfc67g4s27v6jrn_5tjhg0y80000gp/T/CouchbaseLite-EE/otherdb.cblite2/ 2022-02-16 17:08:21.010491-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: PRAGMA optimize ... 400 2022-02-16 17:08:21.010697-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... PRAGMA page_count 2022-02-16 17:08:21.010843-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... PRAGMA freelist_count 2022-02-16 17:08:21.010987-0800 xctest[77400:1196869] CouchbaseLite Database Info: {DB#49}==> litecore::SQLiteDataFile /var/folders/gk/xfc67g4s27v6jrn_5tjhg0y80000gp/T/CouchbaseLite-EE/otherdb.cblite2/db.sqlite3 @0x61200004d740 2022-02-16 17:08:21.011094-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#49} Housekeeping: 0 of 7 pages free (0%) 2022-02-16 17:08:21.012138-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#49} Closed SQLite database 2022-02-16 17:08:21.012289-0800 xctest[77400:1196869] CouchbaseLite Database Info: {Shared#50}==> litecore::DataFile::Shared 0x613000063718 @0x613000063718 2022-02-16 17:08:21.012788-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#50} Remove DataFile 0x61200004d740 2022-02-16 17:08:21.012938-0800 xctest[77400:1196869] CouchbaseLite Database Info: {DB#49} Closing database 2022-02-16 17:08:21.013057-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#50} Remove DataFile 0x61200004d740 2022-02-16 17:08:21.013229-0800 xctest[77400:1196869] CouchbaseLite Database Info: {CollectionImpl#51}==> litecore::CollectionImpl otherdb/_default @0x60b000036620 2022-02-16 17:08:21.013346-0800 xctest[77400:1196869] CouchbaseLite Database Info: {CollectionImpl#51} Closed 2022-02-16 17:08:21.013498-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#50} Remove DataFile 0x61200004d740 2022-02-16 17:08:21.013611-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {DB#49} destructing (~DataFile) 2022-02-16 17:08:21.013731-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#50} Remove DataFile 0x61200004d740 2022-02-16 17:08:21.013898-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#50} destructing 2022-02-16 17:08:21.014091-0800 xctest[77400:1196869] CouchbaseLite Replicator Info: {C4Replicator#38} Freeing C4BaseReplicator 2022-02-16 17:08:21.014303-0800 xctest[77400:1196869] CouchbaseLite Database Info: Closing CBLDatabase[testdb] at path /var/folders/gk/xfc67g4s27v6jrn_5tjhg0y80000gp/T/CouchbaseLite-EE/testdb.cblite2/ 2022-02-16 17:08:21.014551-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: PRAGMA optimize ... 400 2022-02-16 17:08:21.014822-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... PRAGMA page_count 2022-02-16 17:08:21.014984-0800 xctest[77400:1196869] CouchbaseLite Database Info: ... PRAGMA freelist_count 2022-02-16 17:08:21.015096-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#32} Housekeeping: 0 of 10 pages free (0%) 2022-02-16 17:08:21.015945-0800 xctest[77400:1196869] CouchbaseLite Database Verbose: {DB#32} Closed SQLite database 2022-02-16 17:08:21.016065-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x612000081940 2022-02-16 17:08:21.016196-0800 xctest[77400:1196869] CouchbaseLite Database Info: {DB#32} Closing database 2022-02-16 17:08:21.016334-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x612000081940 2022-02-16 17:08:21.016433-0800 xctest[77400:1196869] CouchbaseLite Database Info: {CollectionImpl#33} Closed 2022-02-16 17:08:21.016598-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x612000081940 2022-02-16 17:08:21.016699-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {DB#32} destructing (~DataFile) 2022-02-16 17:08:21.016791-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#3} Remove DataFile 0x612000081940 2022-02-16 17:08:21.016908-0800 xctest[77400:1196869] CouchbaseLite Database Debug: {Shared#3} destructing Test Case '-[CouchbaseLiteSwiftTests.ReplicatorTest_Main testPushPullWithBlob]' failed (5.834 seconds). Test Suite 'ReplicatorTest_Main' failed at 2022-02-16 17:08:21.018. Executed 1 test, with 1 failure (0 unexpected) in 5.834 (5.836) seconds Test Suite 'CouchbaseLiteSwiftTests.xctest' failed at 2022-02-16 17:08:21.019. Executed 1 test, with 1 failure (0 unexpected) in 5.834 (5.838) seconds Test Suite 'Selected tests' failed at 2022-02-16 17:08:21.020. Executed 1 test, with 1 failure (0 unexpected) in 5.834 (5.841) seconds Program ended with exit code: 1