Class org.syncany.tests.integration.scenarios.FirstVersionDirtyScenarioTest

1

tests

0

failures

0

ignored

0.618s

duration

100%

successful

Tests

Test Duration Result
testFirstVersionDirty 0.618s passed

Standard error

18-11-18 14:33:33.280 | org.syncany.plu | Test worker    | FINE : Validating required fields
18-11-18 14:33:33.280 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
18-11-18 14:33:33.297 | org.syncany.plu | Test worker    | FINE : Validating required fields
18-11-18 14:33:33.301 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-181118143101653-92660-client-A' ...
18-11-18 14:33:33.301 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
18-11-18 14:33:33.301 | TransferManager | Test worker    | INFO : - With feature Retriable
18-11-18 14:33:33.301 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
18-11-18 14:33:33.301 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
18-11-18 14:33:33.301 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
18-11-18 14:33:33.301 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
18-11-18 14:33:33.301 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
18-11-18 14:33:33.308 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
18-11-18 14:33:33.308 | org.syncany.plu | Test worker    | FINE : Validating required fields
18-11-18 14:33:33.308 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-181118143101653-92660-client-A' ...
18-11-18 14:33:33.308 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
18-11-18 14:33:33.308 | TransferManager | Test worker    | INFO : - With feature Retriable
18-11-18 14:33:33.308 | TransferManager | Test worker    | INFO : - With feature PathAware
18-11-18 14:33:33.308 | TransferManager | Test worker    | INFO : - With feature TransactionAware
18-11-18 14:33:33.308 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
18-11-18 14:33:33.308 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
18-11-18 14:33:33.308 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
18-11-18 14:33:33.308 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
18-11-18 14:33:33.308 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
18-11-18 14:33:33.308 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
18-11-18 14:33:33.309 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
18-11-18 14:33:33.309 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
18-11-18 14:33:33.325 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
18-11-18 14:33:33.325 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
18-11-18 14:33:33.333 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
18-11-18 14:33:33.335 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
18-11-18 14:33:33.335 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
18-11-18 14:33:33.343 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
18-11-18 14:33:33.343 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
18-11-18 14:33:33.344 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
18-11-18 14:33:33.344 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS databaseversion ( id int NOT NULL IDENTITY, status varchar(45) NOT NULL, localtime datetime NOT NULL, client varchar(45) NOT NULL, vectorclock_serialized varchar(1024) NOT NULL, UNIQUE (vectorclock_serialized) ); 
18-11-18 14:33:33.350 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  chunk ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
18-11-18 14:33:33.352 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  databaseversion_vectorclock ( databaseversion_id int NOT NULL, client varchar(45) NOT NULL, logicaltime int NOT NULL, PRIMARY KEY (databaseversion_id, client), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
18-11-18 14:33:33.354 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
18-11-18 14:33:33.356 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent_chunk ( filecontent_checksum varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, num int NOT NULL, PRIMARY KEY (filecontent_checksum, chunk_checksum, num), FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
18-11-18 14:33:33.358 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filehistory ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, PRIMARY KEY (id, databaseversion_id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
18-11-18 14:33:33.359 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  fileversion ( filehistory_id varchar(40) NOT NULL, version int NOT NULL, databaseversion_id int NOT NULL, path varchar(1024) NOT NULL, type varchar(45) NOT NULL, status varchar(45) NOT NULL, size bigint NOT NULL, lastmodified datetime NOT NULL, linktarget varchar(1024), filecontent_checksum varchar(40) DEFAULT NULL, updated datetime NOT NULL, posixperms varchar(45) DEFAULT NULL, dosattrs varchar(45) DEFAULT NULL, PRIMARY KEY (filehistory_id, version, databaseversion_id), FOREIGN KEY (filehistory_id, databaseversion_id) REFERENCES filehistory (id, databaseversion_id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
18-11-18 14:33:33.362 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
18-11-18 14:33:33.365 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_chunk ( multichunk_id varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, PRIMARY KEY (multichunk_id, chunk_checksum), FOREIGN KEY (multichunk_id) REFERENCES multichunk (id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
18-11-18 14:33:33.368 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_muddy ( id varchar(40) NOT NULL, machine_name varchar(255) NOT NULL, machine_version int NOT NULL, PRIMARY KEY (id) ); 
18-11-18 14:33:33.370 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  known_databases ( id int NOT NULL IDENTITY, client varchar(45) NOT NULL, filenumber int NOT NULL, UNIQUE (client, filenumber) ); 
18-11-18 14:33:33.374 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  general_settings ( key varchar(255) NOT NULL, value varchar(255) NOT NULL, PRIMARY KEY (key) ); 
18-11-18 14:33:33.376 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
18-11-18 14:33:33.376 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
18-11-18 14:33:33.376 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
18-11-18 14:33:33.382 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
18-11-18 14:33:33.384 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
18-11-18 14:33:33.386 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
18-11-18 14:33:33.388 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
18-11-18 14:33:33.390 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
18-11-18 14:33:33.392 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
18-11-18 14:33:33.392 | SqlRunner       | Test worker    | INFO : SQL:    CREATE VIEW databaseversion_master AS SELECT dbv.*, vc.logicaltime as client_version FROM databaseversion dbv JOIN databaseversion_vectorclock vc on dbv.id=vc.databaseversion_id and dbv.client=vc.client WHERE dbv.status='MASTER'; 
18-11-18 14:33:33.394 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master AS SELECT fv0.* FROM fileversion fv0 JOIN databaseversion dbv ON fv0.databaseversion_id=dbv.id AND dbv.status='MASTER'; 
18-11-18 14:33:33.396 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_maxversion AS SELECT DISTINCT filehistory_id, MAX(version) version FROM fileversion_master GROUP BY filehistory_id; 
18-11-18 14:33:33.401 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_last AS SELECT fv.* FROM fileversion_master_maxversion fvmax JOIN fileversion_master fv ON fvmax.filehistory_id=fv.filehistory_id AND fvmax.version=fv.version WHERE fv.status<>'DELETED'; 
18-11-18 14:33:33.404 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
18-11-18 14:33:33.404 | SqlRunner       | Test worker    | INFO : SQL:    create view filehistory_full as select dbv.status as databaseversion_status, dbv.localtime as databaseversion_localtime, dbv.client as databaseversion_client, dbv.vectorclock_serialized as databaseversion_vectorclock_serialized, fh.* from databaseversion dbv join filehistory fh on dbv.id=fh.databaseversion_id; 
18-11-18 14:33:33.406 | SqlRunner       | Test worker    | INFO : SQL:  create view fileversion_full as select fhf.databaseversion_status, fhf.databaseversion_localtime, fhf.databaseversion_client, fhf.databaseversion_vectorclock_serialized, fv.* from filehistory_full fhf join fileversion fv on fhf.id=fv.filehistory_id and fhf.databaseversion_id=fv.databaseversion_id; 
18-11-18 14:33:33.408 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
18-11-18 14:33:33.408 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
18-11-18 14:33:33.408 | SqlRunner       | Test worker    | INFO : SQL:     create function substr_count(haystack varchar(255), needle varchar(255)) returns integer begin atomic declare strCount integer; declare lastIndex integer;  set strCount = 0; set lastIndex = 1;  while lastIndex <> 0 do set lastIndex = locate(needle, haystack, lastIndex);  if lastIndex <> 0 then set strCount = strCount + 1; set lastIndex = lastIndex + length(needle); end if; end while;  return strCount; end; 
18-11-18 14:33:33.411 | UpOperation     | Test worker    | INFO : 
18-11-18 14:33:33.411 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
18-11-18 14:33:33.411 | UpOperation     | Test worker    | INFO : --------------------------------------------
18-11-18 14:33:33.411 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@60c49832) ...
18-11-18 14:33:33.412 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
18-11-18 14:33:33.412 | StatusOperation | Test worker    | INFO : 
18-11-18 14:33:33.412 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
18-11-18 14:33:33.412 | StatusOperation | Test worker    | INFO : --------------------------------------------
18-11-18 14:33:33.412 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
18-11-18 14:33:33.412 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@423318ba) ...
18-11-18 14:33:33.412 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-181118143101653-92660-client-A ...
18-11-18 14:33:33.412 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
18-11-18 14:33:33.413 | StatusOperation | Test worker    | FINE : - New file: A-file1.jpg
18-11-18 14:33:33.413 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@707b5ba4) ...
18-11-18 14:33:33.413 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
18-11-18 14:33:33.413 | UpOperation     | Test worker    | INFO : Force (--force-upload) is enabled, ignoring potential remote changes.
18-11-18 14:33:33.413 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1542551613309] ...
18-11-18 14:33:33.413 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1542551613309]
18-11-18 14:33:33.413 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1542551613309] ...
18-11-18 14:33:33.414 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
18-11-18 14:33:33.418 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
18-11-18 14:33:33.419 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
18-11-18 14:33:33.419 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@55722e8d) ...
18-11-18 14:33:33.419 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
18-11-18 14:33:33.419 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-181118143101653-92660-client-A/A-file1.jpg
18-11-18 14:33:33.420 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-181118143101653-92660-client-A/A-file1.jpg
18-11-18 14:33:33.437 | Indexer         | AsyncI/syncany | FINE : - Chunk new: f4d7626bdfd3eb84c880f89f5459796473f16d24
18-11-18 14:33:33.440 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk 31e54569d0169a96f20dfe692d0fabf3c14470a4
18-11-18 14:33:33.453 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: f4d7626bdfd3eb84c880f89f5459796473f16d24 > 31e54569d0169a96f20dfe692d0fabf3c14470a4
18-11-18 14:33:33.454 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: f4d7626bdfd3eb84c880f89f5459796473f16d24 > /tmp/syncanytest/syncany-181118143101653-92660-client-A/A-file1.jpg
18-11-18 14:33:33.472 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 18319be6f07281fbed52e1b96c07744b726874bd
18-11-18 14:33:33.483 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 18319be6f07281fbed52e1b96c07744b726874bd > 31e54569d0169a96f20dfe692d0fabf3c14470a4
18-11-18 14:33:33.488 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 18319be6f07281fbed52e1b96c07744b726874bd > /tmp/syncanytest/syncany-181118143101653-92660-client-A/A-file1.jpg
18-11-18 14:33:33.489 | Indexer         | AsyncI/syncany | FINE : - /File: A-file1.jpg (checksum 720cdddc9155218a7b16b2674f90d613760132e0)
18-11-18 14:33:33.489 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: A-file1.jpg, checksum: 720cdddc9155218a7b16b2674f90d613760132e0)
18-11-18 14:33:33.489 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file A-file1.jpg
18-11-18 14:33:33.490 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=A-file1.jpg, type=FILE, status=NEW, size=1048576, lastModified=Sun Nov 18 14:33:33 UTC 2018, linkTarget=null, checksum=720cdddc9155218a7b16b2674f90d613760132e0, updated=Sun Nov 18 14:33:33 UTC 2018, posixPermissions=rw-rw-r--, dosAttributes=--a-]
18-11-18 14:33:33.490 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
18-11-18 14:33:33.490 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@4e10ec9c) ...
18-11-18 14:33:33.491 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk 31e54569d0169a96f20dfe692d0fabf3c14470a4
18-11-18 14:33:33.491 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@67d0386e) ...
18-11-18 14:33:33.491 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1542551613419, chunks=2, multiChunks=1, fileContents=1, fileHistories=1]
18-11-18 14:33:33.492 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
18-11-18 14:33:33.492 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
18-11-18 14:33:33.492 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
18-11-18 14:33:33.493 | UpOperation     | Test worker    | INFO : - Uploading multichunk 31e54569d0169a96f20dfe692d0fabf3c14470a4 from /tmp/syncanytest/syncany-181118143101653-92660-client-A/.syncany/cache/multichunk-31e54569d0169a96f20dfe692d0fabf3c14470a4 to RemoteFile[name=multichunk-31e54569d0169a96f20dfe692d0fabf3c14470a4] ...
18-11-18 14:33:33.493 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-181118143101653-92660-client-A/.syncany/cache/multichunk-31e54569d0169a96f20dfe692d0fabf3c14470a4 -> Temp. remote file: RemoteFile[name=temp-IsSZT-multichunk-31e54569d0169a96f20dfe692d0fabf3c14470a4], final location: RemoteFile[name=multichunk-31e54569d0169a96f20dfe692d0fabf3c14470a4]
18-11-18 14:33:33.493 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1542551613492, chunks=2, multiChunks=1, fileContents=1, fileHistories=1]
18-11-18 14:33:33.493 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1542551613492 to file /tmp/syncanytest/syncany-181118143101653-92660-client-A/.syncany/cache/database-A-0000000001 ... 
18-11-18 14:33:33.493 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-181118143101653-92660-client-A/.syncany/cache/database-A-0000000001 ...
18-11-18 14:33:33.494 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
18-11-18 14:33:33.494 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-181118143101653-92660-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
18-11-18 14:33:33.494 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-181118143101653-92660-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-UqKLs-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
18-11-18 14:33:33.494 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
18-11-18 14:33:33.494 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
18-11-18 14:33:33.496 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-181118143101653-92660-client-A/.syncany/cache/temp-transaction-1065333272175825794.tmp
18-11-18 14:33:33.496 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@5d0060ba) ...
18-11-18 14:33:33.496 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-38a6c40c] ...
18-11-18 14:33:33.496 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
18-11-18 14:33:33.496 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@2cec7227) ...
18-11-18 14:33:33.497 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-181118143101653-92660-client-A/.syncany/cache/multichunk-31e54569d0169a96f20dfe692d0fabf3c14470a4 to temp. file RemoteFile[name=temp-IsSZT-multichunk-31e54569d0169a96f20dfe692d0fabf3c14470a4] ...
18-11-18 14:33:33.499 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@7398163e) ...
18-11-18 14:33:33.499 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-181118143101653-92660-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-UqKLs-database-A-0000000001] ...
18-11-18 14:33:33.500 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-IsSZT-multichunk-31e54569d0169a96f20dfe692d0fabf3c14470a4] to final location RemoteFile[name=multichunk-31e54569d0169a96f20dfe692d0fabf3c14470a4] ...
18-11-18 14:33:33.500 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-UqKLs-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
18-11-18 14:33:33.500 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-38a6c40c] ...
18-11-18 14:33:33.500 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
18-11-18 14:33:33.500 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
18-11-18 14:33:33.500 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1542551613492) ...
18-11-18 14:33:33.501 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@3a3f8200) ...
18-11-18 14:33:33.502 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
18-11-18 14:33:33.504 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
18-11-18 14:33:33.514 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1542551613492, chunks=2, multiChunks=1, fileContents=1, fileHistories=1]
18-11-18 14:33:33.514 | UpOperation     | Test worker    | INFO : Committing local database.
18-11-18 14:33:33.514 | UpOperation     | Test worker    | FINE : Waiting for new database version.
18-11-18 14:33:33.514 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1542551613504, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
18-11-18 14:33:33.514 | UpOperation     | Test worker    | INFO : Sync up done.
18-11-18 14:33:33.516 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1542551613309] ...
18-11-18 14:33:33.517 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1542551613309]
18-11-18 14:33:33.517 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
18-11-18 14:33:33.517 | Cache           | Test worker    | INFO : Cache size okay (1025 KB), no need to clean (keep size is 500 MB)
18-11-18 14:33:33.518 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@1188d208) ...
18-11-18 14:33:33.721 | org.syncany.plu | Test worker    | FINE : Validating required fields
18-11-18 14:33:33.721 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-181118143101653-92660-client-B' ...
18-11-18 14:33:33.721 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
18-11-18 14:33:33.721 | TransferManager | Test worker    | INFO : - With feature Retriable
18-11-18 14:33:33.721 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
18-11-18 14:33:33.721 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
18-11-18 14:33:33.721 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
18-11-18 14:33:33.721 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
18-11-18 14:33:33.721 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
18-11-18 14:33:33.721 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
18-11-18 14:33:33.721 | org.syncany.plu | Test worker    | FINE : Validating required fields
18-11-18 14:33:33.721 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-181118143101653-92660-client-B' ...
18-11-18 14:33:33.721 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
18-11-18 14:33:33.721 | TransferManager | Test worker    | INFO : - With feature Retriable
18-11-18 14:33:33.721 | TransferManager | Test worker    | INFO : - With feature PathAware
18-11-18 14:33:33.721 | TransferManager | Test worker    | INFO : - With feature TransactionAware
18-11-18 14:33:33.721 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
18-11-18 14:33:33.721 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
18-11-18 14:33:33.721 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
18-11-18 14:33:33.721 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
18-11-18 14:33:33.721 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
18-11-18 14:33:33.721 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
18-11-18 14:33:33.721 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
18-11-18 14:33:33.721 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
18-11-18 14:33:33.733 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
18-11-18 14:33:33.734 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
18-11-18 14:33:33.739 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
18-11-18 14:33:33.742 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
18-11-18 14:33:33.743 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
18-11-18 14:33:33.750 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
18-11-18 14:33:33.750 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
18-11-18 14:33:33.750 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
18-11-18 14:33:33.750 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS databaseversion ( id int NOT NULL IDENTITY, status varchar(45) NOT NULL, localtime datetime NOT NULL, client varchar(45) NOT NULL, vectorclock_serialized varchar(1024) NOT NULL, UNIQUE (vectorclock_serialized) ); 
18-11-18 14:33:33.753 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  chunk ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
18-11-18 14:33:33.755 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  databaseversion_vectorclock ( databaseversion_id int NOT NULL, client varchar(45) NOT NULL, logicaltime int NOT NULL, PRIMARY KEY (databaseversion_id, client), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
18-11-18 14:33:33.757 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent ( checksum varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (checksum), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
18-11-18 14:33:33.759 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filecontent_chunk ( filecontent_checksum varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, num int NOT NULL, PRIMARY KEY (filecontent_checksum, chunk_checksum, num), FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
18-11-18 14:33:33.762 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  filehistory ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, PRIMARY KEY (id, databaseversion_id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
18-11-18 14:33:33.764 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  fileversion ( filehistory_id varchar(40) NOT NULL, version int NOT NULL, databaseversion_id int NOT NULL, path varchar(1024) NOT NULL, type varchar(45) NOT NULL, status varchar(45) NOT NULL, size bigint NOT NULL, lastmodified datetime NOT NULL, linktarget varchar(1024), filecontent_checksum varchar(40) DEFAULT NULL, updated datetime NOT NULL, posixperms varchar(45) DEFAULT NULL, dosattrs varchar(45) DEFAULT NULL, PRIMARY KEY (filehistory_id, version, databaseversion_id), FOREIGN KEY (filehistory_id, databaseversion_id) REFERENCES filehistory (id, databaseversion_id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (filecontent_checksum) REFERENCES filecontent (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
18-11-18 14:33:33.767 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk ( id varchar(40) NOT NULL, databaseversion_id int NOT NULL, size bigint NOT NULL, PRIMARY KEY (id), FOREIGN KEY (databaseversion_id) REFERENCES databaseversion (id) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
18-11-18 14:33:33.769 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_chunk ( multichunk_id varchar(40) NOT NULL, chunk_checksum varchar(40) NOT NULL, PRIMARY KEY (multichunk_id, chunk_checksum), FOREIGN KEY (multichunk_id) REFERENCES multichunk (id) ON DELETE NO ACTION ON UPDATE NO ACTION, FOREIGN KEY (chunk_checksum) REFERENCES chunk (checksum) ON DELETE NO ACTION ON UPDATE NO ACTION ); 
18-11-18 14:33:33.771 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  multichunk_muddy ( id varchar(40) NOT NULL, machine_name varchar(255) NOT NULL, machine_version int NOT NULL, PRIMARY KEY (id) ); 
18-11-18 14:33:33.773 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  known_databases ( id int NOT NULL IDENTITY, client varchar(45) NOT NULL, filenumber int NOT NULL, UNIQUE (client, filenumber) ); 
18-11-18 14:33:33.775 | SqlRunner       | Test worker    | INFO : SQL:  CREATE CACHED TABLE IF NOT EXISTS  general_settings ( key varchar(255) NOT NULL, value varchar(255) NOT NULL, PRIMARY KEY (key) ); 
18-11-18 14:33:33.777 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
18-11-18 14:33:33.777 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
18-11-18 14:33:33.778 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
18-11-18 14:33:33.782 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
18-11-18 14:33:33.783 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
18-11-18 14:33:33.785 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
18-11-18 14:33:33.787 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
18-11-18 14:33:33.788 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
18-11-18 14:33:33.790 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
18-11-18 14:33:33.790 | SqlRunner       | Test worker    | INFO : SQL:    CREATE VIEW databaseversion_master AS SELECT dbv.*, vc.logicaltime as client_version FROM databaseversion dbv JOIN databaseversion_vectorclock vc on dbv.id=vc.databaseversion_id and dbv.client=vc.client WHERE dbv.status='MASTER'; 
18-11-18 14:33:33.792 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master AS SELECT fv0.* FROM fileversion fv0 JOIN databaseversion dbv ON fv0.databaseversion_id=dbv.id AND dbv.status='MASTER'; 
18-11-18 14:33:33.794 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_maxversion AS SELECT DISTINCT filehistory_id, MAX(version) version FROM fileversion_master GROUP BY filehistory_id; 
18-11-18 14:33:33.796 | SqlRunner       | Test worker    | INFO : SQL:  CREATE VIEW fileversion_master_last AS SELECT fv.* FROM fileversion_master_maxversion fvmax JOIN fileversion_master fv ON fvmax.filehistory_id=fv.filehistory_id AND fvmax.version=fv.version WHERE fv.status<>'DELETED'; 
18-11-18 14:33:33.799 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
18-11-18 14:33:33.799 | SqlRunner       | Test worker    | INFO : SQL:    create view filehistory_full as select dbv.status as databaseversion_status, dbv.localtime as databaseversion_localtime, dbv.client as databaseversion_client, dbv.vectorclock_serialized as databaseversion_vectorclock_serialized, fh.* from databaseversion dbv join filehistory fh on dbv.id=fh.databaseversion_id; 
18-11-18 14:33:33.801 | SqlRunner       | Test worker    | INFO : SQL:  create view fileversion_full as select fhf.databaseversion_status, fhf.databaseversion_localtime, fhf.databaseversion_client, fhf.databaseversion_vectorclock_serialized, fv.* from filehistory_full fhf join fileversion fv on fhf.id=fv.filehistory_id and fhf.databaseversion_id=fv.databaseversion_id; 
18-11-18 14:33:33.803 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
18-11-18 14:33:33.803 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
18-11-18 14:33:33.803 | SqlRunner       | Test worker    | INFO : SQL:     create function substr_count(haystack varchar(255), needle varchar(255)) returns integer begin atomic declare strCount integer; declare lastIndex integer;  set strCount = 0; set lastIndex = 1;  while lastIndex <> 0 do set lastIndex = locate(needle, haystack, lastIndex);  if lastIndex <> 0 then set strCount = strCount + 1; set lastIndex = lastIndex + length(needle); end if; end while;  return strCount; end; 
18-11-18 14:33:33.811 | UpOperation     | Test worker    | INFO : 
18-11-18 14:33:33.812 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client B ...
18-11-18 14:33:33.812 | UpOperation     | Test worker    | INFO : --------------------------------------------
18-11-18 14:33:33.812 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@b933a81) ...
18-11-18 14:33:33.812 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
18-11-18 14:33:33.812 | StatusOperation | Test worker    | INFO : 
18-11-18 14:33:33.812 | StatusOperation | Test worker    | INFO : Running 'Status' at client B ...
18-11-18 14:33:33.812 | StatusOperation | Test worker    | INFO : --------------------------------------------
18-11-18 14:33:33.812 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
18-11-18 14:33:33.812 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@1f45a80c) ...
18-11-18 14:33:33.813 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-181118143101653-92660-client-B ...
18-11-18 14:33:33.813 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
18-11-18 14:33:33.813 | StatusOperation | Test worker    | FINE : - New file: A-file1.jpg
18-11-18 14:33:33.813 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@54c716dd) ...
18-11-18 14:33:33.813 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
18-11-18 14:33:33.814 | UpOperation     | Test worker    | INFO : Force (--force-upload) is enabled, ignoring potential remote changes.
18-11-18 14:33:33.814 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-B-1542551613721] ...
18-11-18 14:33:33.814 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-B-1542551613721]
18-11-18 14:33:33.814 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-B-1542551613721] ...
18-11-18 14:33:33.814 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
18-11-18 14:33:33.815 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
18-11-18 14:33:33.815 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
18-11-18 14:33:33.815 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@4f88cf40) ...
18-11-18 14:33:33.815 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
18-11-18 14:33:33.815 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-181118143101653-92660-client-B/A-file1.jpg
18-11-18 14:33:33.815 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-181118143101653-92660-client-B/A-file1.jpg
18-11-18 14:33:33.822 | Indexer         | AsyncI/syncany | FINE : - Chunk new: f4d7626bdfd3eb84c880f89f5459796473f16d24
18-11-18 14:33:33.823 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk 07710fca6678e5b89357aff08d2113d24b5d657e
18-11-18 14:33:33.827 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: f4d7626bdfd3eb84c880f89f5459796473f16d24 > 07710fca6678e5b89357aff08d2113d24b5d657e
18-11-18 14:33:33.827 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: f4d7626bdfd3eb84c880f89f5459796473f16d24 > /tmp/syncanytest/syncany-181118143101653-92660-client-B/A-file1.jpg
18-11-18 14:33:33.833 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 18319be6f07281fbed52e1b96c07744b726874bd
18-11-18 14:33:33.839 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 18319be6f07281fbed52e1b96c07744b726874bd > 07710fca6678e5b89357aff08d2113d24b5d657e
18-11-18 14:33:33.839 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 18319be6f07281fbed52e1b96c07744b726874bd > /tmp/syncanytest/syncany-181118143101653-92660-client-B/A-file1.jpg
18-11-18 14:33:33.839 | Indexer         | AsyncI/syncany | FINE : - /File: A-file1.jpg (checksum 720cdddc9155218a7b16b2674f90d613760132e0)
18-11-18 14:33:33.840 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: A-file1.jpg, checksum: 720cdddc9155218a7b16b2674f90d613760132e0)
18-11-18 14:33:33.840 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file A-file1.jpg
18-11-18 14:33:33.840 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=A-file1.jpg, type=FILE, status=NEW, size=1048576, lastModified=Sun Nov 18 14:33:33 UTC 2018, linkTarget=null, checksum=720cdddc9155218a7b16b2674f90d613760132e0, updated=Sun Nov 18 14:33:33 UTC 2018, posixPermissions=rw-rw-r--, dosAttributes=--a-]
18-11-18 14:33:33.840 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
18-11-18 14:33:33.840 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@3b4a7b5d) ...
18-11-18 14:33:33.841 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk 07710fca6678e5b89357aff08d2113d24b5d657e
18-11-18 14:33:33.841 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@4348e174) ...
18-11-18 14:33:33.841 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1542551613815, chunks=2, multiChunks=1, fileContents=1, fileHistories=1]
18-11-18 14:33:33.841 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
18-11-18 14:33:33.841 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@2a9394e7) ...
18-11-18 14:33:33.841 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
18-11-18 14:33:33.842 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
18-11-18 14:33:33.842 | UpOperation     | Test worker    | INFO : - Uploading multichunk 07710fca6678e5b89357aff08d2113d24b5d657e from /tmp/syncanytest/syncany-181118143101653-92660-client-B/.syncany/cache/multichunk-07710fca6678e5b89357aff08d2113d24b5d657e to RemoteFile[name=multichunk-07710fca6678e5b89357aff08d2113d24b5d657e] ...
18-11-18 14:33:33.842 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-181118143101653-92660-client-B/.syncany/cache/multichunk-07710fca6678e5b89357aff08d2113d24b5d657e -> Temp. remote file: RemoteFile[name=temp-GDrcU-multichunk-07710fca6678e5b89357aff08d2113d24b5d657e], final location: RemoteFile[name=multichunk-07710fca6678e5b89357aff08d2113d24b5d657e]
18-11-18 14:33:33.842 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=B/(B1)/T=1542551613842, chunks=2, multiChunks=1, fileContents=1, fileHistories=1]
18-11-18 14:33:33.843 | UpOperation     | Test worker    | INFO : Saving local delta database, version B/(B1)/T=1542551613842 to file /tmp/syncanytest/syncany-181118143101653-92660-client-B/.syncany/cache/database-B-0000000001 ... 
18-11-18 14:33:33.843 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-181118143101653-92660-client-B/.syncany/cache/database-B-0000000001 ...
18-11-18 14:33:33.843 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
18-11-18 14:33:33.844 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
18-11-18 14:33:33.844 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-181118143101653-92660-client-B/.syncany/cache/database-B-0000000001 to RemoteFile[name=database-B-0000000001] ...
18-11-18 14:33:33.844 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-181118143101653-92660-client-B/.syncany/cache/database-B-0000000001 -> Temp. remote file: RemoteFile[name=temp-faVNx-database-B-0000000001], final location: RemoteFile[name=database-B-0000000001]
18-11-18 14:33:33.844 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
18-11-18 14:33:33.844 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
18-11-18 14:33:33.845 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-181118143101653-92660-client-B/.syncany/cache/temp-transaction-6477936233561318311.tmp
18-11-18 14:33:33.845 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@3c232608) ...
18-11-18 14:33:33.845 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-4fa141d2] ...
18-11-18 14:33:33.846 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
18-11-18 14:33:33.846 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@5167543e) ...
18-11-18 14:33:33.846 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-181118143101653-92660-client-B/.syncany/cache/multichunk-07710fca6678e5b89357aff08d2113d24b5d657e to temp. file RemoteFile[name=temp-GDrcU-multichunk-07710fca6678e5b89357aff08d2113d24b5d657e] ...
18-11-18 14:33:33.847 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@3e3002e4) ...
18-11-18 14:33:33.847 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-181118143101653-92660-client-B/.syncany/cache/database-B-0000000001 to temp. file RemoteFile[name=temp-faVNx-database-B-0000000001] ...
18-11-18 14:33:33.847 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-GDrcU-multichunk-07710fca6678e5b89357aff08d2113d24b5d657e] to final location RemoteFile[name=multichunk-07710fca6678e5b89357aff08d2113d24b5d657e] ...
18-11-18 14:33:33.847 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-faVNx-database-B-0000000001] to final location RemoteFile[name=database-B-0000000001] ...
18-11-18 14:33:33.847 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-4fa141d2] ...
18-11-18 14:33:33.847 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
18-11-18 14:33:33.848 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
18-11-18 14:33:33.848 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version B/(B1)/T=1542551613842) ...
18-11-18 14:33:33.849 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
18-11-18 14:33:33.852 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=B/(B1)/T=1542551613842, chunks=2, multiChunks=1, fileContents=1, fileHistories=1]
18-11-18 14:33:33.853 | UpOperation     | Test worker    | INFO : Committing local database.
18-11-18 14:33:33.853 | UpOperation     | Test worker    | FINE : Waiting for new database version.
18-11-18 14:33:33.853 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1542551613843, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
18-11-18 14:33:33.853 | UpOperation     | Test worker    | INFO : Sync up done.
18-11-18 14:33:33.854 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-B-1542551613721] ...
18-11-18 14:33:33.854 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-B-1542551613721]
18-11-18 14:33:33.854 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
18-11-18 14:33:33.855 | Cache           | Test worker    | INFO : Cache size okay (1025 KB), no need to clean (keep size is 500 MB)
18-11-18 14:33:33.855 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@4ec5d32f) ...
18-11-18 14:33:33.855 | org.syncany.plu | Test worker    | FINE : Validating required fields
18-11-18 14:33:33.855 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-181118143101653-92660-client-B' ...
18-11-18 14:33:33.855 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
18-11-18 14:33:33.855 | TransferManager | Test worker    | INFO : - With feature Retriable
18-11-18 14:33:33.855 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
18-11-18 14:33:33.855 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
18-11-18 14:33:33.855 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
18-11-18 14:33:33.855 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
18-11-18 14:33:33.855 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
18-11-18 14:33:33.855 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
18-11-18 14:33:33.855 | org.syncany.plu | Test worker    | FINE : Validating required fields
18-11-18 14:33:33.855 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-181118143101653-92660-client-B' ...
18-11-18 14:33:33.855 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
18-11-18 14:33:33.855 | TransferManager | Test worker    | INFO : - With feature Retriable
18-11-18 14:33:33.855 | TransferManager | Test worker    | INFO : - With feature PathAware
18-11-18 14:33:33.855 | TransferManager | Test worker    | INFO : - With feature TransactionAware
18-11-18 14:33:33.855 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
18-11-18 14:33:33.855 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
18-11-18 14:33:33.855 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
18-11-18 14:33:33.855 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
18-11-18 14:33:33.855 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
18-11-18 14:33:33.855 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
18-11-18 14:33:33.855 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
18-11-18 14:33:33.855 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
18-11-18 14:33:33.858 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
18-11-18 14:33:33.858 | DownOperation   | Test worker    | INFO : 
18-11-18 14:33:33.858 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
18-11-18 14:33:33.858 | DownOperation   | Test worker    | INFO : --------------------------------------------
18-11-18 14:33:33.858 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@1855e6c5) ...
18-11-18 14:33:33.858 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
18-11-18 14:33:33.859 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
18-11-18 14:33:33.859 | LsRemoteOperati | Test worker    | INFO : 
18-11-18 14:33:33.859 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
18-11-18 14:33:33.859 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
18-11-18 14:33:33.859 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@6bf61c6e) ...
18-11-18 14:33:33.859 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
18-11-18 14:33:33.859 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
18-11-18 14:33:33.859 | LsRemoteOperati | Test worker    | INFO : - Remote database database-B-0000000001 is already known (in local database). Ignoring.
18-11-18 14:33:33.859 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@280991a1) ...
18-11-18 14:33:33.859 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@744b78d1) ...
18-11-18 14:33:33.859 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1542551613855] ...
18-11-18 14:33:33.859 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1542551613855]
18-11-18 14:33:33.859 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1542551613855] ...
18-11-18 14:33:33.860 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
18-11-18 14:33:33.860 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-181118143101653-92660-client-B/.syncany/cache/database-A-0000000001
18-11-18 14:33:33.860 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@3db49cde) ...
18-11-18 14:33:33.860 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
18-11-18 14:33:33.860 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-181118143101653-92660-client-B/.syncany/cache/database-A-0000000001 ...
18-11-18 14:33:33.862 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1542551613492
18-11-18 14:33:33.862 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-181118143101653-92660-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
18-11-18 14:33:33.862 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-181118143101653-92660-repo/databases/database-B-0000000001; maybe invalid file name pattern. Ignoring file.
18-11-18 14:33:33.863 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
18-11-18 14:33:33.863 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1542551613492], B=[B/(B1)/T=1542551613842]}
18-11-18 14:33:33.863 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
18-11-18 14:33:33.863 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1542551613492
18-11-18 14:33:33.863 | DatabaseReconci | Test worker    | INFO : Ignoring databaseVersion: B/(B1)/T=1542551613842
18-11-18 14:33:33.863 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
18-11-18 14:33:33.863 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1542551613492
18-11-18 14:33:33.863 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: [B/(B1)/T=1542551613842]
18-11-18 14:33:33.863 | DownOperation   | Test worker    | INFO :   + Marking databases as DIRTY locally ...
18-11-18 14:33:33.863 | DownOperation   | Test worker    | INFO :     * MASTER->DIRTY: B/(B1)/T=1542551613842
18-11-18 14:33:33.865 | DownOperation   | Test worker    | INFO :     * Deleting own remote database file RemoteFile[name=database-B-0000000001] ...
18-11-18 14:33:33.865 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
18-11-18 14:33:33.865 | DatabaseReconci | Test worker    | INFO : Losers Branch: [B/(B1)/T=1542551613842]
18-11-18 14:33:33.865 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1542551613492]
18-11-18 14:33:33.865 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
18-11-18 14:33:33.865 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1542551613492]
18-11-18 14:33:33.865 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
18-11-18 14:33:33.865 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-181118143101653-92660-client-B/.syncany/cache/database-A-0000000001 ...
18-11-18 14:33:33.867 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1542551613492
18-11-18 14:33:33.867 | DownOperation   | Test worker    | INFO : Determine file system actions ...
18-11-18 14:33:33.868 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
18-11-18 14:33:33.869 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
18-11-18 14:33:33.869 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
18-11-18 14:33:33.869 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
18-11-18 14:33:33.869 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=A-file1.jpg, type=FILE, status=NEW, size=1048576, lastModified=Sun Nov 18 14:33:33 UTC 2018, linkTarget=null, checksum=720cdddc9155218a7b16b2674f90d613760132e0, updated=Sun Nov 18 14:33:33 UTC 2018, posixPermissions=rw-rw-r--, dosAttributes=--a-]
18-11-18 14:33:33.876 | FileSystemActio | Test worker    | INFO :      -> (1) Equals: Nothing to do, winning version equals winning file: FileVersion [version=1, path=A-file1.jpg, type=FILE, status=NEW, size=1048576, lastModified=Sun Nov 18 14:33:33 UTC 2018, linkTarget=null, checksum=720cdddc9155218a7b16b2674f90d613760132e0, updated=Sun Nov 18 14:33:33 UTC 2018, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-181118143101653-92660-client-B/A-file1.jpg
18-11-18 14:33:33.876 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
18-11-18 14:33:33.876 | FileSystemActio | Test worker    | INFO :    Sorted actions:
18-11-18 14:33:33.876 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
18-11-18 14:33:33.876 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
18-11-18 14:33:33.876 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
18-11-18 14:33:33.876 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1542551613492, chunks=2, multiChunks=1, fileContents=1, fileHistories=1]
18-11-18 14:33:33.881 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1542551613855] ...
18-11-18 14:33:33.882 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1542551613855]
18-11-18 14:33:33.882 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
18-11-18 14:33:33.882 | Cache           | Test worker    | INFO : Cache size okay (1027 KB), no need to clean (keep size is 500 MB)
18-11-18 14:33:33.882 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@5bc3903d) ...
18-11-18 14:33:33.882 | DownOperation   | Test worker    | INFO : Sync down done.
18-11-18 14:33:33.883 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
18-11-18 14:33:33.883 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
18-11-18 14:33:33.884 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
18-11-18 14:33:33.884 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
18-11-18 14:33:33.894 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, DATABASEVERSION_ID, SIZE from chunk order by CHECKSUM asc