Class org.syncany.tests.integration.scenarios.EmptyFileScenarioTest

1

tests

0

failures

0

ignored

0.353s

duration

100%

successful

Tests

Test Duration Result
testEmptyFileCreateAndSync 0.353s passed

Standard error

25-5-17 10:17:19.846 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:19.846 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
25-5-17 10:17:19.854 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:19.854 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101614951-97053-client-A' ...
25-5-17 10:17:19.854 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:19.854 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:19.854 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:19.854 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:19.854 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:19.854 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:19.854 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:19.854 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:19.855 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:19.855 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101614951-97053-client-A' ...
25-5-17 10:17:19.855 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:19.855 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:19.855 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:19.855 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:19.855 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:19.855 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:19.855 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:19.855 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:19.855 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:19.855 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:19.855 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:19.855 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:19.875 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
25-5-17 10:17:19.876 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
25-5-17 10:17:19.885 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
25-5-17 10:17:19.888 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
25-5-17 10:17:19.888 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
25-5-17 10:17:19.894 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
25-5-17 10:17:19.895 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
25-5-17 10:17:19.895 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
25-5-17 10:17:19.895 | 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) ); 
25-5-17 10:17:19.898 | 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 ); 
25-5-17 10:17:19.900 | 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 ); 
25-5-17 10:17:19.903 | 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 ); 
25-5-17 10:17:19.905 | 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 ); 
25-5-17 10:17:19.908 | 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 ); 
25-5-17 10:17:19.911 | 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 ); 
25-5-17 10:17:19.914 | 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 ); 
25-5-17 10:17:19.916 | 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 ); 
25-5-17 10:17:19.919 | 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) ); 
25-5-17 10:17:19.921 | 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) ); 
25-5-17 10:17:19.923 | 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) ); 
25-5-17 10:17:19.926 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
25-5-17 10:17:19.926 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
25-5-17 10:17:19.926 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
25-5-17 10:17:19.928 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
25-5-17 10:17:19.931 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
25-5-17 10:17:19.933 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
25-5-17 10:17:19.936 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
25-5-17 10:17:19.938 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
25-5-17 10:17:19.941 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
25-5-17 10:17:19.941 | 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'; 
25-5-17 10:17:19.944 | 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'; 
25-5-17 10:17:19.946 | 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; 
25-5-17 10:17:19.949 | 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'; 
25-5-17 10:17:19.951 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
25-5-17 10:17:19.951 | 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; 
25-5-17 10:17:19.953 | 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; 
25-5-17 10:17:19.956 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
25-5-17 10:17:19.956 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
25-5-17 10:17:19.956 | 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; 
25-5-17 10:17:19.958 | UpOperation     | Test worker    | INFO : 
25-5-17 10:17:19.958 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
25-5-17 10:17:19.958 | UpOperation     | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:19.959 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@710b0e3) ...
25-5-17 10:17:19.959 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:19.959 | StatusOperation | Test worker    | INFO : 
25-5-17 10:17:19.959 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
25-5-17 10:17:19.959 | StatusOperation | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:19.959 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
25-5-17 10:17:19.959 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@6b461198) ...
25-5-17 10:17:19.960 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170525101614951-97053-client-A ...
25-5-17 10:17:19.960 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
25-5-17 10:17:19.960 | StatusOperation | Test worker    | FINE : - New file: A-file1.jpg
25-5-17 10:17:19.960 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@2005fb95) ...
25-5-17 10:17:19.960 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
25-5-17 10:17:19.960 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:19.960 | LsRemoteOperati | Test worker    | INFO : 
25-5-17 10:17:19.961 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
25-5-17 10:17:19.961 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:19.961 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@3bc67692) ...
25-5-17 10:17:19.961 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
25-5-17 10:17:19.961 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@5d5b9f8) ...
25-5-17 10:17:19.961 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
25-5-17 10:17:19.961 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1495707439855] ...
25-5-17 10:17:19.961 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1495707439855]
25-5-17 10:17:19.961 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1495707439855] ...
25-5-17 10:17:19.962 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:19.962 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
25-5-17 10:17:19.962 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
25-5-17 10:17:19.963 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@2085f115) ...
25-5-17 10:17:19.963 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
25-5-17 10:17:19.963 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170525101614951-97053-client-A/A-file1.jpg
25-5-17 10:17:19.963 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170525101614951-97053-client-A/A-file1.jpg
25-5-17 10:17:19.963 | Indexer         | AsyncI/syncany | FINE : - /File: A-file1.jpg (directory/symlink/0-byte-file)
25-5-17 10:17:19.969 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: A-file1.jpg, checksum: null)
25-5-17 10:17:19.970 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file A-file1.jpg
25-5-17 10:17:19.970 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=A-file1.jpg, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:19 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:19.970 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
25-5-17 10:17:19.970 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@336d369) ...
25-5-17 10:17:19.970 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@b1e15e8) ...
25-5-17 10:17:19.970 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1495707439962, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
25-5-17 10:17:19.971 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
25-5-17 10:17:19.971 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
25-5-17 10:17:19.971 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@d5188f8) ...
25-5-17 10:17:19.972 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
25-5-17 10:17:19.972 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1495707439972, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
25-5-17 10:17:19.973 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1495707439972 to file /tmp/syncanytest/syncany-170525101614951-97053-client-A/.syncany/cache/database-A-0000000001 ... 
25-5-17 10:17:19.974 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170525101614951-97053-client-A/.syncany/cache/database-A-0000000001 ...
25-5-17 10:17:19.974 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
25-5-17 10:17:19.981 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
25-5-17 10:17:19.981 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101614951-97053-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
25-5-17 10:17:19.982 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170525101614951-97053-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-QxHyN-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
25-5-17 10:17:19.982 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
25-5-17 10:17:19.985 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
25-5-17 10:17:19.986 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170525101614951-97053-client-A/.syncany/cache/temp-transaction-4482831195728763580.tmp
25-5-17 10:17:19.987 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@55332b40) ...
25-5-17 10:17:19.987 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-65be0fad] ...
25-5-17 10:17:19.987 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
25-5-17 10:17:19.987 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@59786c1d) ...
25-5-17 10:17:19.987 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101614951-97053-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-QxHyN-database-A-0000000001] ...
25-5-17 10:17:19.988 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-QxHyN-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
25-5-17 10:17:19.988 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-65be0fad] ...
25-5-17 10:17:19.988 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
25-5-17 10:17:19.988 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
25-5-17 10:17:19.988 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1495707439972) ...
25-5-17 10:17:19.989 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
25-5-17 10:17:19.994 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1495707439972, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
25-5-17 10:17:19.994 | UpOperation     | Test worker    | INFO : Committing local database.
25-5-17 10:17:19.994 | UpOperation     | Test worker    | FINE : Waiting for new database version.
25-5-17 10:17:19.994 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1495707439974, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
25-5-17 10:17:19.994 | UpOperation     | Test worker    | INFO : Sync up done.
25-5-17 10:17:19.996 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1495707439855] ...
25-5-17 10:17:19.996 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1495707439855]
25-5-17 10:17:19.996 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
25-5-17 10:17:19.997 | Cache           | Test worker    | INFO : Cache size okay (0 KB), no need to clean (keep size is 500 MB)
25-5-17 10:17:19.997 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@3cc7cc2b) ...
25-5-17 10:17:19.997 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:19.997 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101614951-97053-client-B' ...
25-5-17 10:17:19.997 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:19.997 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:19.997 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:19.997 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:19.997 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:19.997 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:19.997 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:19.997 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:19.998 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:19.998 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101614951-97053-client-B' ...
25-5-17 10:17:19.998 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:19.998 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:19.998 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:19.998 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:19.998 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:19.998 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:19.998 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:19.998 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:19.998 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:19.998 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:19.998 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:19.998 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:20.007 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
25-5-17 10:17:20.007 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
25-5-17 10:17:20.014 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
25-5-17 10:17:20.017 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
25-5-17 10:17:20.017 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
25-5-17 10:17:20.023 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
25-5-17 10:17:20.023 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
25-5-17 10:17:20.023 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
25-5-17 10:17:20.023 | 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) ); 
25-5-17 10:17:20.025 | 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 ); 
25-5-17 10:17:20.028 | 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 ); 
25-5-17 10:17:20.030 | 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 ); 
25-5-17 10:17:20.032 | 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 ); 
25-5-17 10:17:20.034 | 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 ); 
25-5-17 10:17:20.036 | 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 ); 
25-5-17 10:17:20.038 | 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 ); 
25-5-17 10:17:20.040 | 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 ); 
25-5-17 10:17:20.043 | 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) ); 
25-5-17 10:17:20.045 | 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) ); 
25-5-17 10:17:20.047 | 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) ); 
25-5-17 10:17:20.049 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
25-5-17 10:17:20.049 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
25-5-17 10:17:20.050 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
25-5-17 10:17:20.052 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
25-5-17 10:17:20.054 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
25-5-17 10:17:20.056 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
25-5-17 10:17:20.058 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
25-5-17 10:17:20.060 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
25-5-17 10:17:20.062 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
25-5-17 10:17:20.062 | 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'; 
25-5-17 10:17:20.065 | 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'; 
25-5-17 10:17:20.067 | 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; 
25-5-17 10:17:20.069 | 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'; 
25-5-17 10:17:20.072 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
25-5-17 10:17:20.072 | 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; 
25-5-17 10:17:20.074 | 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; 
25-5-17 10:17:20.077 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
25-5-17 10:17:20.077 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
25-5-17 10:17:20.077 | 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; 
25-5-17 10:17:20.079 | DownOperation   | Test worker    | INFO : 
25-5-17 10:17:20.079 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
25-5-17 10:17:20.079 | DownOperation   | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:20.079 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@40890d6) ...
25-5-17 10:17:20.079 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
25-5-17 10:17:20.080 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.080 | LsRemoteOperati | Test worker    | INFO : 
25-5-17 10:17:20.080 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
25-5-17 10:17:20.080 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:20.080 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@225543a2) ...
25-5-17 10:17:20.080 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
25-5-17 10:17:20.080 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
25-5-17 10:17:20.080 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@88a8e46) ...
25-5-17 10:17:20.080 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@28b7ef2a) ...
25-5-17 10:17:20.080 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1495707439998] ...
25-5-17 10:17:20.080 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1495707439998]
25-5-17 10:17:20.081 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1495707439998] ...
25-5-17 10:17:20.081 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
25-5-17 10:17:20.081 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170525101614951-97053-client-B/.syncany/cache/database-A-0000000001
25-5-17 10:17:20.081 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@15b35a48) ...
25-5-17 10:17:20.081 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
25-5-17 10:17:20.081 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170525101614951-97053-client-B/.syncany/cache/database-A-0000000001 ...
25-5-17 10:17:20.083 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1495707439972
25-5-17 10:17:20.083 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170525101614951-97053-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
25-5-17 10:17:20.083 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
25-5-17 10:17:20.083 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1495707439972], B=[]}
25-5-17 10:17:20.083 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
25-5-17 10:17:20.083 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1495707439972
25-5-17 10:17:20.083 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
25-5-17 10:17:20.083 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1495707439972
25-5-17 10:17:20.083 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
25-5-17 10:17:20.083 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
25-5-17 10:17:20.084 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
25-5-17 10:17:20.084 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
25-5-17 10:17:20.084 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1495707439972]
25-5-17 10:17:20.084 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
25-5-17 10:17:20.084 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1495707439972]
25-5-17 10:17:20.084 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
25-5-17 10:17:20.084 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170525101614951-97053-client-B/.syncany/cache/database-A-0000000001 ...
25-5-17 10:17:20.085 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1495707439972
25-5-17 10:17:20.085 | DownOperation   | Test worker    | INFO : Determine file system actions ...
25-5-17 10:17:20.085 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.086 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
25-5-17 10:17:20.086 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
25-5-17 10:17:20.086 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
25-5-17 10:17:20.086 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=A-file1.jpg, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:19 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:20.086 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file A-file1.jpg
25-5-17 10:17:20.086 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=A-file1.jpg, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:19 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170525101614951-97053-client-B/A-file1.jpg
25-5-17 10:17:20.086 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=A-file1.jpg, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:19 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:20.086 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
25-5-17 10:17:20.086 | FileSystemActio | Test worker    | INFO :    Sorted actions:
25-5-17 10:17:20.086 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=A-file1.jpg, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:19 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:20.086 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
25-5-17 10:17:20.086 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=A-file1.jpg, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:19 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:20.087 | Assembler       | Test worker    | INFO :      - Creating file A-file1.jpg to /tmp/syncanytest/syncany-170525101614951-97053-client-B/.syncany/cache/temp-reconstructedFileVersion-8496007641752442501.tmp ...
25-5-17 10:17:20.087 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
25-5-17 10:17:20.087 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
25-5-17 10:17:20.087 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
25-5-17 10:17:20.087 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1495707439972, chunks=0, multiChunks=0, fileContents=0, fileHistories=1]
25-5-17 10:17:20.094 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1495707439998] ...
25-5-17 10:17:20.099 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1495707439998]
25-5-17 10:17:20.099 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
25-5-17 10:17:20.099 | Cache           | Test worker    | INFO : Cache size okay (0 KB), no need to clean (keep size is 500 MB)
25-5-17 10:17:20.099 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@45af690b) ...
25-5-17 10:17:20.099 | DownOperation   | Test worker    | INFO : Sync down done.
25-5-17 10:17:20.101 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170525101614951-97053-client-A/A-file1.jpg, but actual PATH = tmp/syncanytest/syncany-170525101614951-97053-client-B/A-file1.jpg, for file tmp/syncanytest/syncany-170525101614951-97053-client-B/A-file1.jpg
25-5-17 10:17:20.101 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.102 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.111 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from chunk order by CHECKSUM asc
25-5-17 10:17:20.112 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select STATUS, LOCALTIME, CLIENT, VECTORCLOCK_SERIALIZED from databaseversion order by ID asc
25-5-17 10:17:20.112 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CLIENT, LOGICALTIME from databaseversion_vectorclock order by DATABASEVERSION_ID asc, CLIENT asc
25-5-17 10:17:20.113 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from filecontent order by CHECKSUM asc
25-5-17 10:17:20.113 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select FILECONTENT_CHECKSUM, CHUNK_CHECKSUM, NUM from filecontent_chunk order by FILECONTENT_CHECKSUM asc, CHUNK_CHECKSUM asc, NUM asc
25-5-17 10:17:20.114 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID from filehistory order by ID asc, DATABASEVERSION_ID asc
25-5-17 10:17:20.114 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select FILEHISTORY_ID, VERSION, PATH, TYPE, STATUS, SIZE, LASTMODIFIED, LINKTARGET, FILECONTENT_CHECKSUM, UPDATED, POSIXPERMS, DOSATTRS from fileversion order by FILEHISTORY_ID asc, VERSION asc, DATABASEVERSION_ID asc
25-5-17 10:17:20.114 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID, SIZE from multichunk order by ID asc
25-5-17 10:17:20.115 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select MULTICHUNK_ID, CHUNK_CHECKSUM from multichunk_chunk order by MULTICHUNK_ID asc, CHUNK_CHECKSUM asc
25-5-17 10:17:20.115 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:20.116 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101614951-97053-client-B' ...
25-5-17 10:17:20.116 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:20.116 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:20.116 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:20.116 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:20.116 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:20.116 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:20.116 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:20.116 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:20.116 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:20.116 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101614951-97053-client-B' ...
25-5-17 10:17:20.116 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:20.116 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:20.116 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:20.116 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:20.116 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:20.116 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:20.116 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:20.116 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:20.116 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:20.116 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:20.116 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:20.116 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:20.117 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.117 | UpOperation     | Test worker    | INFO : 
25-5-17 10:17:20.117 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client B ...
25-5-17 10:17:20.117 | UpOperation     | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:20.117 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@7bd79d7e) ...
25-5-17 10:17:20.118 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.118 | StatusOperation | Test worker    | INFO : 
25-5-17 10:17:20.118 | StatusOperation | Test worker    | INFO : Running 'Status' at client B ...
25-5-17 10:17:20.118 | StatusOperation | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:20.118 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
25-5-17 10:17:20.118 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@183769de) ...
25-5-17 10:17:20.119 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170525101614951-97053-client-B ...
25-5-17 10:17:20.119 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
25-5-17 10:17:20.119 | StatusOperation | Test worker    | FINE : - New file: B-file1-moved
25-5-17 10:17:20.119 | StatusOperation | Test worker    | FINE : - New file: B-file2
25-5-17 10:17:20.119 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@3f342aea) ...
25-5-17 10:17:20.119 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
25-5-17 10:17:20.120 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.120 | LsRemoteOperati | Test worker    | INFO : 
25-5-17 10:17:20.120 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
25-5-17 10:17:20.120 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:20.120 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@53fc74d8) ...
25-5-17 10:17:20.120 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
25-5-17 10:17:20.120 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
25-5-17 10:17:20.120 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@4596fa9) ...
25-5-17 10:17:20.120 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
25-5-17 10:17:20.120 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-B-1495707440116] ...
25-5-17 10:17:20.120 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-B-1495707440116]
25-5-17 10:17:20.120 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-B-1495707440116] ...
25-5-17 10:17:20.121 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.121 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
25-5-17 10:17:20.121 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
25-5-17 10:17:20.122 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@6b00fa5a) ...
25-5-17 10:17:20.122 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
25-5-17 10:17:20.122 | Indexer         | AsyncI/syncany | FINE :   + Deleted: Adding DELETED version: FileVersion [version=2, path=A-file1.jpg, type=FILE, status=DELETED, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:20.122 | Indexer         | AsyncI/syncany | FINE :                            based on: FileVersion [version=1, path=A-file1.jpg, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:19 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:20.122 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170525101614951-97053-client-B/B-file1-moved
25-5-17 10:17:20.123 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170525101614951-97053-client-B/B-file1-moved
25-5-17 10:17:20.123 | Indexer         | AsyncI/syncany | FINE : - /File: B-file1-moved (directory/symlink/0-byte-file)
25-5-17 10:17:20.123 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: B-file1-moved, checksum: null)
25-5-17 10:17:20.123 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file B-file1-moved
25-5-17 10:17:20.123 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=B-file1-moved, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:20.123 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
25-5-17 10:17:20.123 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170525101614951-97053-client-B/B-file2
25-5-17 10:17:20.124 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170525101614951-97053-client-B/B-file2
25-5-17 10:17:20.124 | Indexer         | AsyncI/syncany | FINE : - /File: B-file2 (directory/symlink/0-byte-file)
25-5-17 10:17:20.124 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: B-file2, checksum: null)
25-5-17 10:17:20.124 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file B-file2
25-5-17 10:17:20.124 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=B-file2, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:20 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:20.124 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
25-5-17 10:17:20.124 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@5efea4a4) ...
25-5-17 10:17:20.124 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1495707440121, chunks=0, multiChunks=0, fileContents=0, fileHistories=3]
25-5-17 10:17:20.125 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
25-5-17 10:17:20.125 | UpOperation     | Test worker    | INFO : Last vector clock was: (A1)
25-5-17 10:17:20.125 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
25-5-17 10:17:20.125 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=B/(A1,B1)/T=1495707440125, chunks=0, multiChunks=0, fileContents=0, fileHistories=3]
25-5-17 10:17:20.125 | UpOperation     | Test worker    | INFO : Saving local delta database, version B/(A1,B1)/T=1495707440125 to file /tmp/syncanytest/syncany-170525101614951-97053-client-B/.syncany/cache/database-B-0000000001 ... 
25-5-17 10:17:20.126 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170525101614951-97053-client-B/.syncany/cache/database-B-0000000001 ...
25-5-17 10:17:20.127 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
25-5-17 10:17:20.127 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101614951-97053-client-B/.syncany/cache/database-B-0000000001 to RemoteFile[name=database-B-0000000001] ...
25-5-17 10:17:20.127 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170525101614951-97053-client-B/.syncany/cache/database-B-0000000001 -> Temp. remote file: RemoteFile[name=temp-wYwBI-database-B-0000000001], final location: RemoteFile[name=database-B-0000000001]
25-5-17 10:17:20.127 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
25-5-17 10:17:20.127 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
25-5-17 10:17:20.128 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170525101614951-97053-client-B/.syncany/cache/temp-transaction-7895512104561730339.tmp
25-5-17 10:17:20.128 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@718eddba) ...
25-5-17 10:17:20.129 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-5a3862c7] ...
25-5-17 10:17:20.129 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
25-5-17 10:17:20.129 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@64d71ac2) ...
25-5-17 10:17:20.129 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101614951-97053-client-B/.syncany/cache/database-B-0000000001 to temp. file RemoteFile[name=temp-wYwBI-database-B-0000000001] ...
25-5-17 10:17:20.129 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-wYwBI-database-B-0000000001] to final location RemoteFile[name=database-B-0000000001] ...
25-5-17 10:17:20.130 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-5a3862c7] ...
25-5-17 10:17:20.130 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
25-5-17 10:17:20.130 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
25-5-17 10:17:20.130 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version B/(A1,B1)/T=1495707440125) ...
25-5-17 10:17:20.131 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
25-5-17 10:17:20.131 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@3f29b4fc) ...
25-5-17 10:17:20.136 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
25-5-17 10:17:20.138 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=B/(A1,B1)/T=1495707440125, chunks=0, multiChunks=0, fileContents=0, fileHistories=3]
25-5-17 10:17:20.138 | UpOperation     | Test worker    | INFO : Committing local database.
25-5-17 10:17:20.138 | UpOperation     | Test worker    | FINE : Waiting for new database version.
25-5-17 10:17:20.138 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1495707440136, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
25-5-17 10:17:20.139 | UpOperation     | Test worker    | INFO : Sync up done.
25-5-17 10:17:20.141 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-B-1495707440116] ...
25-5-17 10:17:20.141 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-B-1495707440116]
25-5-17 10:17:20.141 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
25-5-17 10:17:20.141 | Cache           | Test worker    | INFO : Cache size okay (1 KB), no need to clean (keep size is 500 MB)
25-5-17 10:17:20.141 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@a64b8f7) ...
25-5-17 10:17:20.142 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.143 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.143 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:20.143 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101614951-97053-client-B' ...
25-5-17 10:17:20.143 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:20.143 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:20.143 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:20.143 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:20.143 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:20.143 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:20.144 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:20.144 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:20.144 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:20.144 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101614951-97053-client-B' ...
25-5-17 10:17:20.144 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:20.144 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:20.144 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:20.144 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:20.144 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:20.144 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:20.144 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:20.144 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:20.144 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:20.144 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:20.144 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:20.144 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:20.145 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.145 | UpOperation     | Test worker    | INFO : 
25-5-17 10:17:20.145 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client B ...
25-5-17 10:17:20.145 | UpOperation     | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:20.145 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@2958f758) ...
25-5-17 10:17:20.145 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.145 | StatusOperation | Test worker    | INFO : 
25-5-17 10:17:20.145 | StatusOperation | Test worker    | INFO : Running 'Status' at client B ...
25-5-17 10:17:20.145 | StatusOperation | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:20.145 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
25-5-17 10:17:20.145 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@639ae290) ...
25-5-17 10:17:20.146 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170525101614951-97053-client-B ...
25-5-17 10:17:20.146 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
25-5-17 10:17:20.147 | StatusOperation | Test worker    | INFO : - No changes to local database
25-5-17 10:17:20.147 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@7b2d65d5) ...
25-5-17 10:17:20.147 | UpOperation     | Test worker    | INFO : Local database is up-to-date (change set). NOTHING TO DO!
25-5-17 10:17:20.147 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@232fbcdc) ...
25-5-17 10:17:20.147 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:20.147 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101614951-97053-client-A' ...
25-5-17 10:17:20.147 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:20.147 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:20.147 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:20.147 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:20.147 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:20.147 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:20.147 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:20.147 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:20.148 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:20.148 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101614951-97053-client-A' ...
25-5-17 10:17:20.148 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:20.148 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:20.148 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:20.148 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:20.148 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:20.148 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:20.148 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:20.148 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:20.148 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:20.148 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:20.148 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:20.148 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:20.149 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.149 | DownOperation   | Test worker    | INFO : 
25-5-17 10:17:20.149 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client A ...
25-5-17 10:17:20.149 | DownOperation   | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:20.149 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@315b19e5) ...
25-5-17 10:17:20.149 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
25-5-17 10:17:20.149 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.150 | LsRemoteOperati | Test worker    | INFO : 
25-5-17 10:17:20.150 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
25-5-17 10:17:20.150 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:20.150 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@db9e94b) ...
25-5-17 10:17:20.150 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
25-5-17 10:17:20.150 | LsRemoteOperati | Test worker    | INFO : - Remote database database-B-0000000001 is new.
25-5-17 10:17:20.150 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
25-5-17 10:17:20.150 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@6f8f6c8b) ...
25-5-17 10:17:20.150 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@6703e976) ...
25-5-17 10:17:20.150 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-A-1495707440148] ...
25-5-17 10:17:20.150 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-A-1495707440148]
25-5-17 10:17:20.151 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-A-1495707440148] ...
25-5-17 10:17:20.151 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
25-5-17 10:17:20.151 | DownOperation   | Test worker    | INFO : - Downloading database-B-0000000001 to local cache at /tmp/syncanytest/syncany-170525101614951-97053-client-A/.syncany/cache/database-B-0000000001
25-5-17 10:17:20.151 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@21e31596) ...
25-5-17 10:17:20.152 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
25-5-17 10:17:20.152 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170525101614951-97053-client-A/.syncany/cache/database-B-0000000001 ...
25-5-17 10:17:20.153 | DatabaseXmlPars | Test worker    | INFO :    + Added database version B/(A1,B1)/T=1495707440125
25-5-17 10:17:20.153 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170525101614951-97053-repo/databases/database-B-0000000001; maybe invalid file name pattern. Ignoring file.
25-5-17 10:17:20.153 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170525101614951-97053-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
25-5-17 10:17:20.154 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
25-5-17 10:17:20.154 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1495707439972], B=[B/(A1,B1)/T=1495707440125]}
25-5-17 10:17:20.154 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
25-5-17 10:17:20.154 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1495707439972
25-5-17 10:17:20.154 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: B/(A1,B1)/T=1495707440125
25-5-17 10:17:20.154 | DatabaseReconci | Test worker    | INFO : - Winner is B with branch: 
25-5-17 10:17:20.154 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1495707439972
25-5-17 10:17:20.154 | DatabaseReconci | Test worker    | INFO :   + B/(A1,B1)/T=1495707440125
25-5-17 10:17:20.154 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
25-5-17 10:17:20.154 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
25-5-17 10:17:20.154 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
25-5-17 10:17:20.154 | DatabaseReconci | Test worker    | INFO : Losers Branch: [A/(A1)/T=1495707439972]
25-5-17 10:17:20.154 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1495707439972, B/(A1,B1)/T=1495707440125]
25-5-17 10:17:20.154 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
25-5-17 10:17:20.154 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [B/(A1,B1)/T=1495707440125]
25-5-17 10:17:20.154 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
25-5-17 10:17:20.154 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170525101614951-97053-client-A/.syncany/cache/database-B-0000000001 ...
25-5-17 10:17:20.155 | DatabaseXmlPars | Test worker    | INFO :    + Added database version B/(A1,B1)/T=1495707440125
25-5-17 10:17:20.155 | DownOperation   | Test worker    | INFO : Determine file system actions ...
25-5-17 10:17:20.156 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.157 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
25-5-17 10:17:20.157 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
25-5-17 10:17:20.157 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
25-5-17 10:17:20.157 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=B-file1-moved, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:20.157 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file B-file1-moved
25-5-17 10:17:20.157 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=B-file1-moved, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170525101614951-97053-client-A/B-file1-moved
25-5-17 10:17:20.157 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=B-file1-moved, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:20.157 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
25-5-17 10:17:20.157 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=B-file2, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:20 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:20.158 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file B-file2
25-5-17 10:17:20.158 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=B-file2, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:20 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170525101614951-97053-client-A/B-file2
25-5-17 10:17:20.158 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=B-file2, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:20 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:20.158 | FileSystemActio | Test worker    | INFO :   + Comparing local version: FileVersion [version=1, path=A-file1.jpg, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:19 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:20.158 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=2, path=A-file1.jpg, type=FILE, status=DELETED, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:20.158 | FileVersionComp | Test worker    | INFO :      - [NEW]: Local file DIFFERS from file version, expected EXISTS = false, but actual EXISTS = true, for file A-file1.jpg
25-5-17 10:17:20.158 | FileSystemActio | Test worker    | INFO :      -> (10) Local file exists, but should not: local file = /tmp/syncanytest/syncany-170525101614951-97053-client-A/A-file1.jpg, local version = FileVersion [version=1, path=A-file1.jpg, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:19 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], winning version = FileVersion [version=2, path=A-file1.jpg, type=FILE, status=DELETED, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:20.158 | FileSystemActio | Test worker    | INFO :      -> DeleteFileSystemAction [file1=FileVersion [version=1, path=A-file1.jpg, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:19 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=A-file1.jpg, type=FILE, status=DELETED, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:20.158 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
25-5-17 10:17:20.158 | FileSystemActio | Test worker    | INFO :    Sorted actions:
25-5-17 10:17:20.158 | FileSystemActio | Test worker    | INFO :    + DeleteFileSystemAction [file1=FileVersion [version=1, path=A-file1.jpg, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:19 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=A-file1.jpg, type=FILE, status=DELETED, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:20.159 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=B-file1-moved, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:20.159 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=B-file2, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:20 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:20.159 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
25-5-17 10:17:20.159 | DownOperation   | Test worker    | FINE :    +  DeleteFileSystemAction [file1=FileVersion [version=1, path=A-file1.jpg, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:19 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-], file2=FileVersion [version=2, path=A-file1.jpg, type=FILE, status=DELETED, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:20.159 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=B-file1-moved, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:19 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:20.159 | Assembler       | Test worker    | INFO :      - Creating file B-file1-moved to /tmp/syncanytest/syncany-170525101614951-97053-client-A/.syncany/cache/temp-reconstructedFileVersion-3630274484985846706.tmp ...
25-5-17 10:17:20.159 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
25-5-17 10:17:20.159 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=B-file2, type=FILE, status=NEW, size=0, lastModified=Thu May 25 10:17:20 UTC 2017, linkTarget=null, checksum=null, updated=Thu May 25 10:17:20 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:20.160 | Assembler       | Test worker    | INFO :      - Creating file B-file2 to /tmp/syncanytest/syncany-170525101614951-97053-client-A/.syncany/cache/temp-reconstructedFileVersion-5058982525732527037.tmp ...
25-5-17 10:17:20.160 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
25-5-17 10:17:20.160 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
25-5-17 10:17:20.160 | DownOperation   | Test worker    | INFO :   + Applying database version (A1,B1)
25-5-17 10:17:20.160 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=B/(A1,B1)/T=1495707440125, chunks=0, multiChunks=0, fileContents=0, fileHistories=3]
25-5-17 10:17:20.169 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-A-1495707440148] ...
25-5-17 10:17:20.169 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-A-1495707440148]
25-5-17 10:17:20.170 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
25-5-17 10:17:20.170 | Cache           | Test worker    | INFO : Cache size okay (1 KB), no need to clean (keep size is 500 MB)
25-5-17 10:17:20.170 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@1ca5d703) ...
25-5-17 10:17:20.170 | DownOperation   | Test worker    | INFO : Sync down done.
25-5-17 10:17:20.172 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170525101614951-97053-client-A/B-file1-moved, but actual PATH = tmp/syncanytest/syncany-170525101614951-97053-client-B/B-file1-moved, for file tmp/syncanytest/syncany-170525101614951-97053-client-B/B-file1-moved
25-5-17 10:17:20.172 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170525101614951-97053-client-A/B-file2, but actual PATH = tmp/syncanytest/syncany-170525101614951-97053-client-B/B-file2, for file tmp/syncanytest/syncany-170525101614951-97053-client-B/B-file2
25-5-17 10:17:20.173 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.173 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.187 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from chunk order by CHECKSUM asc
25-5-17 10:17:20.188 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select STATUS, LOCALTIME, CLIENT, VECTORCLOCK_SERIALIZED from databaseversion order by ID asc
25-5-17 10:17:20.188 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CLIENT, LOGICALTIME from databaseversion_vectorclock order by DATABASEVERSION_ID asc, CLIENT asc
25-5-17 10:17:20.189 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from filecontent order by CHECKSUM asc
25-5-17 10:17:20.189 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select FILECONTENT_CHECKSUM, CHUNK_CHECKSUM, NUM from filecontent_chunk order by FILECONTENT_CHECKSUM asc, CHUNK_CHECKSUM asc, NUM asc
25-5-17 10:17:20.190 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID from filehistory order by ID asc, DATABASEVERSION_ID asc
25-5-17 10:17:20.190 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select FILEHISTORY_ID, VERSION, PATH, TYPE, STATUS, SIZE, LASTMODIFIED, LINKTARGET, FILECONTENT_CHECKSUM, UPDATED, POSIXPERMS, DOSATTRS from fileversion order by FILEHISTORY_ID asc, VERSION asc, DATABASEVERSION_ID asc
25-5-17 10:17:20.191 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID, SIZE from multichunk order by ID asc
25-5-17 10:17:20.191 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select MULTICHUNK_ID, CHUNK_CHECKSUM from multichunk_chunk order by MULTICHUNK_ID asc, CHUNK_CHECKSUM asc
25-5-17 10:17:20.192 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:20.192 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101614951-97053-client-A' ...
25-5-17 10:17:20.193 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:20.193 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:20.193 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:20.193 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:20.193 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:20.193 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:20.193 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:20.193 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:20.193 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:20.193 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101614951-97053-client-A' ...
25-5-17 10:17:20.193 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:20.193 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:20.193 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:20.193 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:20.193 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:20.193 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:20.193 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:20.193 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:20.193 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:20.193 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:20.193 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:20.193 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:20.194 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.194 | DownOperation   | Test worker    | INFO : 
25-5-17 10:17:20.194 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client A ...
25-5-17 10:17:20.194 | DownOperation   | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:20.194 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@3e6eac8e) ...
25-5-17 10:17:20.194 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
25-5-17 10:17:20.195 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:20.195 | LsRemoteOperati | Test worker    | INFO : 
25-5-17 10:17:20.195 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
25-5-17 10:17:20.195 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:20.195 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@f92a4f0) ...
25-5-17 10:17:20.195 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
25-5-17 10:17:20.195 | LsRemoteOperati | Test worker    | INFO : - Remote database database-B-0000000001 is already known (in local database). Ignoring.
25-5-17 10:17:20.195 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is already known (in local database). Ignoring.
25-5-17 10:17:20.195 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@57dc5c58) ...
25-5-17 10:17:20.195 | DownOperation   | Test worker    | INFO : * Nothing new. Skipping down operation.
25-5-17 10:17:20.195 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@4e4c7c10) ...
25-5-17 10:17:20.196 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170525101614951-97053-client-B/B-file1-moved, but actual PATH = tmp/syncanytest/syncany-170525101614951-97053-client-A/B-file1-moved, for file tmp/syncanytest/syncany-170525101614951-97053-client-A/B-file1-moved
25-5-17 10:17:20.196 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170525101614951-97053-client-B/B-file2, but actual PATH = tmp/syncanytest/syncany-170525101614951-97053-client-A/B-file2, for file tmp/syncanytest/syncany-170525101614951-97053-client-A/B-file2