Class org.syncany.tests.integration.scenarios.FilenameCapitalizationWindowsScenarioTest

2

tests

0

failures

0

ignored

1.046s

duration

100%

successful

Tests

Test Duration Result
testFilenameCapitalizationWindows 0.476s passed
testFilenameNonASCII 0.570s passed

Standard error

25-5-17 10:17:47.634 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:47.635 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
25-5-17 10:17:47.645 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:47.653 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-53691-client-A' ...
25-5-17 10:17:47.653 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:47.653 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:47.653 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:47.653 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:47.653 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:47.654 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:47.654 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:47.654 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:47.654 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:47.654 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-53691-client-A' ...
25-5-17 10:17:47.654 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:47.654 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:47.654 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:47.654 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:47.655 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:47.655 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:47.655 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:47.655 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:47.655 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:47.655 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:47.655 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:47.655 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:47.678 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
25-5-17 10:17:47.678 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
25-5-17 10:17:47.687 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
25-5-17 10:17:47.690 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
25-5-17 10:17:47.690 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
25-5-17 10:17:47.697 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
25-5-17 10:17:47.697 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
25-5-17 10:17:47.697 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
25-5-17 10:17:47.697 | 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:47.700 | 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:47.703 | 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:47.705 | 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:47.708 | 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:47.711 | 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:47.714 | 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:47.716 | 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:47.719 | 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:47.722 | 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:47.725 | 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:47.727 | 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:47.729 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
25-5-17 10:17:47.730 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
25-5-17 10:17:47.730 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
25-5-17 10:17:47.733 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
25-5-17 10:17:47.736 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
25-5-17 10:17:47.738 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
25-5-17 10:17:47.741 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
25-5-17 10:17:47.743 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
25-5-17 10:17:47.746 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
25-5-17 10:17:47.746 | 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:47.749 | 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:47.752 | 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:47.755 | 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:47.758 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
25-5-17 10:17:47.758 | 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:47.760 | 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:47.763 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
25-5-17 10:17:47.763 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
25-5-17 10:17:47.763 | 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:47.766 | UpOperation     | Test worker    | INFO : 
25-5-17 10:17:47.766 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
25-5-17 10:17:47.766 | UpOperation     | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:47.766 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@7f83f154) ...
25-5-17 10:17:47.767 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:47.767 | StatusOperation | Test worker    | INFO : 
25-5-17 10:17:47.767 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
25-5-17 10:17:47.767 | StatusOperation | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:47.768 | StatusOperation | Test worker    | INFO : Force checksum ENABLED.
25-5-17 10:17:47.768 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
25-5-17 10:17:47.768 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@4205a960) ...
25-5-17 10:17:47.768 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170525101612005-53691-client-A ...
25-5-17 10:17:47.768 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
25-5-17 10:17:47.772 | StatusOperation | Test worker    | FINE : - New file: 這是一個測試
25-5-17 10:17:47.773 | StatusOperation | Test worker    | FINE : - New file: Exposé
25-5-17 10:17:47.773 | StatusOperation | Test worker    | FINE : - New file: One&Two
25-5-17 10:17:47.774 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@2f930cdf) ...
25-5-17 10:17:47.780 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
25-5-17 10:17:47.783 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:47.785 | LsRemoteOperati | Test worker    | INFO : 
25-5-17 10:17:47.785 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
25-5-17 10:17:47.786 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:47.786 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@33f33d72) ...
25-5-17 10:17:47.786 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
25-5-17 10:17:47.786 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@2994bb0) ...
25-5-17 10:17:47.787 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
25-5-17 10:17:47.787 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1495707467655] ...
25-5-17 10:17:47.787 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1495707467655]
25-5-17 10:17:47.787 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1495707467655] ...
25-5-17 10:17:47.791 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:47.796 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
25-5-17 10:17:47.796 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
25-5-17 10:17:47.797 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@2a1cae1) ...
25-5-17 10:17:47.797 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
25-5-17 10:17:47.797 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170525101612005-53691-client-A/Exposé
25-5-17 10:17:47.798 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170525101612005-53691-client-A/Exposé
25-5-17 10:17:47.802 | Indexer         | AsyncI/syncany | FINE : - Chunk new: beb853c3f8103be1ad5b804724643bc9c8f17a2e
25-5-17 10:17:47.802 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk 969ed5af704c1f257689798840e083d1d88a346f
25-5-17 10:17:47.803 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: beb853c3f8103be1ad5b804724643bc9c8f17a2e > 969ed5af704c1f257689798840e083d1d88a346f
25-5-17 10:17:47.804 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: beb853c3f8103be1ad5b804724643bc9c8f17a2e > /tmp/syncanytest/syncany-170525101612005-53691-client-A/Exposé
25-5-17 10:17:47.805 | Indexer         | AsyncI/syncany | FINE : - /File: Exposé (checksum beb853c3f8103be1ad5b804724643bc9c8f17a2e)
25-5-17 10:17:47.806 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: Exposé, checksum: beb853c3f8103be1ad5b804724643bc9c8f17a2e)
25-5-17 10:17:47.809 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file Exposé
25-5-17 10:17:47.811 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=Exposé, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=beb853c3f8103be1ad5b804724643bc9c8f17a2e, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:47.811 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
25-5-17 10:17:47.811 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@4031327d) ...
25-5-17 10:17:47.811 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170525101612005-53691-client-A/One&Two
25-5-17 10:17:47.812 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170525101612005-53691-client-A/One&Two
25-5-17 10:17:47.813 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 0654560fc8e36544ff4146ad663cc413d1027c5b
25-5-17 10:17:47.814 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 0654560fc8e36544ff4146ad663cc413d1027c5b > 969ed5af704c1f257689798840e083d1d88a346f
25-5-17 10:17:47.818 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 0654560fc8e36544ff4146ad663cc413d1027c5b > /tmp/syncanytest/syncany-170525101612005-53691-client-A/One&Two
25-5-17 10:17:47.818 | Indexer         | AsyncI/syncany | FINE : - /File: One&Two (checksum 0654560fc8e36544ff4146ad663cc413d1027c5b)
25-5-17 10:17:47.820 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: One&Two, checksum: 0654560fc8e36544ff4146ad663cc413d1027c5b)
25-5-17 10:17:47.820 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file One&Two
25-5-17 10:17:47.820 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=One&Two, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=0654560fc8e36544ff4146ad663cc413d1027c5b, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:47.820 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
25-5-17 10:17:47.821 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170525101612005-53691-client-A/這是一個測試
25-5-17 10:17:47.821 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170525101612005-53691-client-A/這是一個測試
25-5-17 10:17:47.822 | Indexer         | AsyncI/syncany | FINE : - Chunk new: bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f
25-5-17 10:17:47.825 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f > 969ed5af704c1f257689798840e083d1d88a346f
25-5-17 10:17:47.826 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f > /tmp/syncanytest/syncany-170525101612005-53691-client-A/這是一個測試
25-5-17 10:17:47.826 | Indexer         | AsyncI/syncany | FINE : - /File: 這是一個測試 (checksum bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f)
25-5-17 10:17:47.827 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: 這是一個測試, checksum: bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f)
25-5-17 10:17:47.829 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file 這是一個測試
25-5-17 10:17:47.830 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=這是一個測試, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:47.830 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
25-5-17 10:17:47.830 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk 969ed5af704c1f257689798840e083d1d88a346f
25-5-17 10:17:47.831 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@2cec734) ...
25-5-17 10:17:47.831 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1495707467797, chunks=3, multiChunks=1, fileContents=3, fileHistories=3]
25-5-17 10:17:47.831 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
25-5-17 10:17:47.831 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
25-5-17 10:17:47.832 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
25-5-17 10:17:47.832 | UpOperation     | Test worker    | INFO : - Uploading multichunk 969ed5af704c1f257689798840e083d1d88a346f from /tmp/syncanytest/syncany-170525101612005-53691-client-A/.syncany/cache/multichunk-969ed5af704c1f257689798840e083d1d88a346f to RemoteFile[name=multichunk-969ed5af704c1f257689798840e083d1d88a346f] ...
25-5-17 10:17:47.832 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170525101612005-53691-client-A/.syncany/cache/multichunk-969ed5af704c1f257689798840e083d1d88a346f -> Temp. remote file: RemoteFile[name=temp-IUqIz-multichunk-969ed5af704c1f257689798840e083d1d88a346f], final location: RemoteFile[name=multichunk-969ed5af704c1f257689798840e083d1d88a346f]
25-5-17 10:17:47.832 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1495707467832, chunks=3, multiChunks=1, fileContents=3, fileHistories=3]
25-5-17 10:17:47.833 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1495707467832 to file /tmp/syncanytest/syncany-170525101612005-53691-client-A/.syncany/cache/database-A-0000000001 ... 
25-5-17 10:17:47.833 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170525101612005-53691-client-A/.syncany/cache/database-A-0000000001 ...
25-5-17 10:17:47.834 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
25-5-17 10:17:47.834 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101612005-53691-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
25-5-17 10:17:47.834 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170525101612005-53691-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-XSsrZ-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
25-5-17 10:17:47.835 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
25-5-17 10:17:47.835 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
25-5-17 10:17:47.836 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170525101612005-53691-client-A/.syncany/cache/temp-transaction-6822270773335692814.tmp
25-5-17 10:17:47.837 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@3744ed75) ...
25-5-17 10:17:47.837 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-4a4e708] ...
25-5-17 10:17:47.837 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
25-5-17 10:17:47.838 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@559befba) ...
25-5-17 10:17:47.838 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101612005-53691-client-A/.syncany/cache/multichunk-969ed5af704c1f257689798840e083d1d88a346f to temp. file RemoteFile[name=temp-IUqIz-multichunk-969ed5af704c1f257689798840e083d1d88a346f] ...
25-5-17 10:17:47.838 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@11bfcd80) ...
25-5-17 10:17:47.839 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101612005-53691-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-XSsrZ-database-A-0000000001] ...
25-5-17 10:17:47.839 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-IUqIz-multichunk-969ed5af704c1f257689798840e083d1d88a346f] to final location RemoteFile[name=multichunk-969ed5af704c1f257689798840e083d1d88a346f] ...
25-5-17 10:17:47.840 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-XSsrZ-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
25-5-17 10:17:47.841 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-4a4e708] ...
25-5-17 10:17:47.842 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
25-5-17 10:17:47.842 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
25-5-17 10:17:47.842 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1495707467832) ...
25-5-17 10:17:47.838 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@4d0d7f0) ...
25-5-17 10:17:47.865 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
25-5-17 10:17:47.867 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
25-5-17 10:17:47.875 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1495707467832, chunks=3, multiChunks=1, fileContents=3, fileHistories=3]
25-5-17 10:17:47.875 | UpOperation     | Test worker    | INFO : Committing local database.
25-5-17 10:17:47.875 | UpOperation     | Test worker    | FINE : Waiting for new database version.
25-5-17 10:17:47.875 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1495707467866, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
25-5-17 10:17:47.876 | UpOperation     | Test worker    | INFO : Sync up done.
25-5-17 10:17:47.878 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1495707467655] ...
25-5-17 10:17:47.881 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1495707467655]
25-5-17 10:17:47.881 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
25-5-17 10:17:47.882 | Cache           | Test worker    | INFO : Cache size okay (153 KB), no need to clean (keep size is 500 MB)
25-5-17 10:17:47.882 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@38d2054) ...
25-5-17 10:17:47.884 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:47.884 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-53691-client-B' ...
25-5-17 10:17:47.884 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:47.884 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:47.884 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:47.884 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:47.884 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:47.884 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:47.884 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:47.884 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:47.885 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:47.885 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-53691-client-B' ...
25-5-17 10:17:47.885 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:47.885 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:47.885 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:47.885 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:47.885 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:47.885 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:47.885 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:47.885 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:47.885 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:47.885 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:47.885 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:47.885 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:47.922 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
25-5-17 10:17:47.923 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
25-5-17 10:17:47.932 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
25-5-17 10:17:47.937 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
25-5-17 10:17:47.937 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
25-5-17 10:17:47.944 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
25-5-17 10:17:47.944 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
25-5-17 10:17:47.945 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
25-5-17 10:17:47.945 | 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:47.949 | 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:47.952 | 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:47.955 | 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:47.958 | 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:47.961 | 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:47.964 | 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:47.969 | 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:47.974 | 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:47.980 | 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:47.984 | 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:47.989 | 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:47.992 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
25-5-17 10:17:47.992 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
25-5-17 10:17:47.993 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
25-5-17 10:17:47.997 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
25-5-17 10:17:47.999 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
25-5-17 10:17:48.002 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
25-5-17 10:17:48.005 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
25-5-17 10:17:48.009 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
25-5-17 10:17:48.012 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
25-5-17 10:17:48.013 | 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:48.016 | 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:48.018 | 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:48.023 | 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:48.028 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
25-5-17 10:17:48.028 | 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:48.031 | 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:48.034 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
25-5-17 10:17:48.034 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
25-5-17 10:17:48.034 | 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:48.037 | DownOperation   | Test worker    | INFO : 
25-5-17 10:17:48.037 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
25-5-17 10:17:48.037 | DownOperation   | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:48.037 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@11f5c862) ...
25-5-17 10:17:48.037 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
25-5-17 10:17:48.038 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:48.038 | LsRemoteOperati | Test worker    | INFO : 
25-5-17 10:17:48.038 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
25-5-17 10:17:48.038 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:48.038 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@68dc128f) ...
25-5-17 10:17:48.038 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
25-5-17 10:17:48.038 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
25-5-17 10:17:48.038 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@9f7c05a) ...
25-5-17 10:17:48.038 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@3fd60329) ...
25-5-17 10:17:48.038 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1495707467885] ...
25-5-17 10:17:48.038 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1495707467885]
25-5-17 10:17:48.039 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1495707467885] ...
25-5-17 10:17:48.040 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
25-5-17 10:17:48.040 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170525101612005-53691-client-B/.syncany/cache/database-A-0000000001
25-5-17 10:17:48.040 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@43a834fc) ...
25-5-17 10:17:48.041 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
25-5-17 10:17:48.041 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170525101612005-53691-client-B/.syncany/cache/database-A-0000000001 ...
25-5-17 10:17:48.043 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1495707467832
25-5-17 10:17:48.043 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170525101612005-53691-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
25-5-17 10:17:48.044 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
25-5-17 10:17:48.044 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1495707467832], B=[]}
25-5-17 10:17:48.045 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
25-5-17 10:17:48.045 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1495707467832
25-5-17 10:17:48.045 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
25-5-17 10:17:48.045 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1495707467832
25-5-17 10:17:48.045 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
25-5-17 10:17:48.045 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
25-5-17 10:17:48.047 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
25-5-17 10:17:48.047 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
25-5-17 10:17:48.047 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1495707467832]
25-5-17 10:17:48.047 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
25-5-17 10:17:48.047 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1495707467832]
25-5-17 10:17:48.048 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
25-5-17 10:17:48.048 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170525101612005-53691-client-B/.syncany/cache/database-A-0000000001 ...
25-5-17 10:17:48.050 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1495707467832
25-5-17 10:17:48.055 | DownOperation   | Test worker    | INFO : Determine file system actions ...
25-5-17 10:17:48.056 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:48.057 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
25-5-17 10:17:48.057 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
25-5-17 10:17:48.057 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
25-5-17 10:17:48.057 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=Exposé, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=beb853c3f8103be1ad5b804724643bc9c8f17a2e, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:48.058 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file Exposé
25-5-17 10:17:48.058 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=Exposé, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=beb853c3f8103be1ad5b804724643bc9c8f17a2e, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170525101612005-53691-client-B/Exposé
25-5-17 10:17:48.058 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=Exposé, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=beb853c3f8103be1ad5b804724643bc9c8f17a2e, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.058 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
25-5-17 10:17:48.058 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=One&Two, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=0654560fc8e36544ff4146ad663cc413d1027c5b, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:48.059 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file One&Two
25-5-17 10:17:48.059 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=One&Two, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=0654560fc8e36544ff4146ad663cc413d1027c5b, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170525101612005-53691-client-B/One&Two
25-5-17 10:17:48.068 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=One&Two, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=0654560fc8e36544ff4146ad663cc413d1027c5b, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.069 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
25-5-17 10:17:48.069 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=這是一個測試, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:48.069 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file 這是一個測試
25-5-17 10:17:48.070 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=這是一個測試, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170525101612005-53691-client-B/這是一個測試
25-5-17 10:17:48.070 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=這是一個測試, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.071 | DownOperation   | Test worker    | INFO :   + Adding multichunk 969ed5af704c1f257689798840e083d1d88a346f to download list ...
25-5-17 10:17:48.071 | DownOperation   | Test worker    | INFO :   + Adding multichunk 969ed5af704c1f257689798840e083d1d88a346f to download list ...
25-5-17 10:17:48.072 | DownOperation   | Test worker    | INFO :   + Adding multichunk 969ed5af704c1f257689798840e083d1d88a346f to download list ...
25-5-17 10:17:48.072 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
25-5-17 10:17:48.072 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@79d64fd4) ...
25-5-17 10:17:48.073 | Downloader      | Test worker    | INFO :   + Downloading multichunk 969ed5af704c1f257689798840e083d1d88a346f ...
25-5-17 10:17:48.073 | Downloader      | Test worker    | INFO :   + Decrypting multichunk 969ed5af704c1f257689798840e083d1d88a346f ...
25-5-17 10:17:48.075 | Downloader      | Test worker    | FINE :   + Locally deleting multichunk 969ed5af704c1f257689798840e083d1d88a346f ...
25-5-17 10:17:48.076 | FileSystemActio | Test worker    | INFO :    Sorted actions:
25-5-17 10:17:48.076 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=Exposé, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=beb853c3f8103be1ad5b804724643bc9c8f17a2e, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.076 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=One&Two, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=0654560fc8e36544ff4146ad663cc413d1027c5b, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.083 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=這是一個測試, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.083 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
25-5-17 10:17:48.083 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=Exposé, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=beb853c3f8103be1ad5b804724643bc9c8f17a2e, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.083 | Assembler       | Test worker    | INFO :      - Creating file Exposé to /tmp/syncanytest/syncany-170525101612005-53691-client-B/.syncany/cache/temp-reconstructedFileVersion-2872274130477895530.tmp ...
25-5-17 10:17:48.085 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
25-5-17 10:17:48.085 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=One&Two, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=0654560fc8e36544ff4146ad663cc413d1027c5b, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.086 | Assembler       | Test worker    | INFO :      - Creating file One&Two to /tmp/syncanytest/syncany-170525101612005-53691-client-B/.syncany/cache/temp-reconstructedFileVersion-5216145449310156384.tmp ...
25-5-17 10:17:48.087 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
25-5-17 10:17:48.087 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=這是一個測試, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:47 UTC 2017, linkTarget=null, checksum=bf9a7554a8a737674f74d7b7dac6fbc1cf584d8f, updated=Thu May 25 10:17:47 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.088 | Assembler       | Test worker    | INFO :      - Creating file 這是一個測試 to /tmp/syncanytest/syncany-170525101612005-53691-client-B/.syncany/cache/temp-reconstructedFileVersion-5293338038416128446.tmp ...
25-5-17 10:17:48.089 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
25-5-17 10:17:48.089 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
25-5-17 10:17:48.089 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
25-5-17 10:17:48.089 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1495707467832, chunks=3, multiChunks=1, fileContents=3, fileHistories=3]
25-5-17 10:17:48.111 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1495707467885] ...
25-5-17 10:17:48.117 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1495707467885]
25-5-17 10:17:48.117 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
25-5-17 10:17:48.118 | Cache           | Test worker    | INFO : Cache size okay (153 KB), no need to clean (keep size is 500 MB)
25-5-17 10:17:48.118 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@5a52b1c6) ...
25-5-17 10:17:48.118 | DownOperation   | Test worker    | INFO : Sync down done.
25-5-17 10:17:48.128 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170525101612005-53691-client-A/Exposé, but actual PATH = tmp/syncanytest/syncany-170525101612005-53691-client-B/Exposé, for file tmp/syncanytest/syncany-170525101612005-53691-client-B/Exposé
25-5-17 10:17:48.133 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170525101612005-53691-client-A/這是一個測試, but actual PATH = tmp/syncanytest/syncany-170525101612005-53691-client-B/這是一個測試, for file tmp/syncanytest/syncany-170525101612005-53691-client-B/這是一個測試
25-5-17 10:17:48.136 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170525101612005-53691-client-A/One&Two, but actual PATH = tmp/syncanytest/syncany-170525101612005-53691-client-B/One&Two, for file tmp/syncanytest/syncany-170525101612005-53691-client-B/One&Two
25-5-17 10:17:48.137 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:48.144 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:48.176 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from chunk order by CHECKSUM asc
25-5-17 10:17:48.177 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select STATUS, LOCALTIME, CLIENT, VECTORCLOCK_SERIALIZED from databaseversion order by ID asc
25-5-17 10:17:48.183 | 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:48.184 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from filecontent order by CHECKSUM asc
25-5-17 10:17:48.185 | 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:48.186 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID from filehistory order by ID asc, DATABASEVERSION_ID asc
25-5-17 10:17:48.186 | 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:48.187 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID, SIZE from multichunk order by ID asc
25-5-17 10:17:48.188 | 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:48.199 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:48.199 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
25-5-17 10:17:48.217 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:48.222 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-35906-client-A' ...
25-5-17 10:17:48.222 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:48.222 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:48.222 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:48.222 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:48.223 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:48.223 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:48.223 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:48.223 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:48.223 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:48.223 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-35906-client-A' ...
25-5-17 10:17:48.223 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:48.223 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:48.224 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:48.224 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:48.224 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:48.224 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:48.224 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:48.224 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:48.225 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:48.225 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:48.226 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:48.226 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:48.260 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
25-5-17 10:17:48.260 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
25-5-17 10:17:48.268 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
25-5-17 10:17:48.271 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
25-5-17 10:17:48.272 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
25-5-17 10:17:48.277 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
25-5-17 10:17:48.277 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
25-5-17 10:17:48.278 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
25-5-17 10:17:48.278 | 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:48.281 | 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:48.283 | 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:48.286 | 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:48.288 | 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:48.291 | 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:48.294 | 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:48.297 | 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:48.299 | 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:48.302 | 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:48.305 | 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:48.308 | 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:48.315 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
25-5-17 10:17:48.315 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
25-5-17 10:17:48.316 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
25-5-17 10:17:48.319 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
25-5-17 10:17:48.321 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
25-5-17 10:17:48.324 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
25-5-17 10:17:48.327 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
25-5-17 10:17:48.330 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
25-5-17 10:17:48.334 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
25-5-17 10:17:48.334 | 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:48.338 | 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:48.340 | 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:48.344 | 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:48.348 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
25-5-17 10:17:48.348 | 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:48.351 | 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:48.353 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
25-5-17 10:17:48.353 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
25-5-17 10:17:48.353 | 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:48.356 | UpOperation     | Test worker    | INFO : 
25-5-17 10:17:48.356 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
25-5-17 10:17:48.356 | UpOperation     | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:48.356 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@718d9037) ...
25-5-17 10:17:48.357 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:48.357 | StatusOperation | Test worker    | INFO : 
25-5-17 10:17:48.357 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
25-5-17 10:17:48.357 | StatusOperation | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:48.357 | StatusOperation | Test worker    | INFO : Force checksum ENABLED.
25-5-17 10:17:48.357 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
25-5-17 10:17:48.357 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@356ef5c0) ...
25-5-17 10:17:48.358 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170525101612005-35906-client-A ...
25-5-17 10:17:48.358 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
25-5-17 10:17:48.358 | StatusOperation | Test worker    | FINE : - New file: filename-for-windows
25-5-17 10:17:48.358 | StatusOperation | Test worker    | FINE : - New file: FILENAME-FOR-WINDOWS
25-5-17 10:17:48.358 | StatusOperation | Test worker    | FINE : - New file: Filename-For-Windows
25-5-17 10:17:48.359 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@4c64bf49) ...
25-5-17 10:17:48.359 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
25-5-17 10:17:48.359 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:48.359 | LsRemoteOperati | Test worker    | INFO : 
25-5-17 10:17:48.359 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
25-5-17 10:17:48.359 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:48.359 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@66f0e408) ...
25-5-17 10:17:48.359 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
25-5-17 10:17:48.360 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@34d2f529) ...
25-5-17 10:17:48.360 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
25-5-17 10:17:48.360 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1495707468226] ...
25-5-17 10:17:48.360 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1495707468226]
25-5-17 10:17:48.360 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1495707468226] ...
25-5-17 10:17:48.361 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:48.369 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
25-5-17 10:17:48.370 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
25-5-17 10:17:48.370 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@62998fc8) ...
25-5-17 10:17:48.370 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
25-5-17 10:17:48.370 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170525101612005-35906-client-A/FILENAME-FOR-WINDOWS
25-5-17 10:17:48.370 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170525101612005-35906-client-A/FILENAME-FOR-WINDOWS
25-5-17 10:17:48.374 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 150657286f28c801c6c39688d5d76905d8e40f39
25-5-17 10:17:48.374 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk e46f17f0f79af0f2ca7eb541a13240c3ef1c1256
25-5-17 10:17:48.375 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 150657286f28c801c6c39688d5d76905d8e40f39 > e46f17f0f79af0f2ca7eb541a13240c3ef1c1256
25-5-17 10:17:48.375 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 150657286f28c801c6c39688d5d76905d8e40f39 > /tmp/syncanytest/syncany-170525101612005-35906-client-A/FILENAME-FOR-WINDOWS
25-5-17 10:17:48.375 | Indexer         | AsyncI/syncany | FINE : - /File: FILENAME-FOR-WINDOWS (checksum 150657286f28c801c6c39688d5d76905d8e40f39)
25-5-17 10:17:48.376 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: FILENAME-FOR-WINDOWS, checksum: 150657286f28c801c6c39688d5d76905d8e40f39)
25-5-17 10:17:48.377 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file FILENAME-FOR-WINDOWS
25-5-17 10:17:48.377 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=FILENAME-FOR-WINDOWS, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=150657286f28c801c6c39688d5d76905d8e40f39, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:48.377 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
25-5-17 10:17:48.377 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@3249b9ae) ...
25-5-17 10:17:48.377 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170525101612005-35906-client-A/Filename-For-Windows
25-5-17 10:17:48.378 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170525101612005-35906-client-A/Filename-For-Windows
25-5-17 10:17:48.379 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 99889542260064122a7c46a71fd7721066528d5d
25-5-17 10:17:48.380 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 99889542260064122a7c46a71fd7721066528d5d > e46f17f0f79af0f2ca7eb541a13240c3ef1c1256
25-5-17 10:17:48.380 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 99889542260064122a7c46a71fd7721066528d5d > /tmp/syncanytest/syncany-170525101612005-35906-client-A/Filename-For-Windows
25-5-17 10:17:48.380 | Indexer         | AsyncI/syncany | FINE : - /File: Filename-For-Windows (checksum 99889542260064122a7c46a71fd7721066528d5d)
25-5-17 10:17:48.381 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: Filename-For-Windows, checksum: 99889542260064122a7c46a71fd7721066528d5d)
25-5-17 10:17:48.381 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file Filename-For-Windows
25-5-17 10:17:48.381 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=Filename-For-Windows, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=99889542260064122a7c46a71fd7721066528d5d, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:48.381 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
25-5-17 10:17:48.382 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170525101612005-35906-client-A/filename-for-windows
25-5-17 10:17:48.382 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170525101612005-35906-client-A/filename-for-windows
25-5-17 10:17:48.383 | Indexer         | AsyncI/syncany | FINE : - Chunk new: 10b9f206a1c3d171fcf0405aef4e0e914131c30f
25-5-17 10:17:48.384 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: 10b9f206a1c3d171fcf0405aef4e0e914131c30f > e46f17f0f79af0f2ca7eb541a13240c3ef1c1256
25-5-17 10:17:48.384 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: 10b9f206a1c3d171fcf0405aef4e0e914131c30f > /tmp/syncanytest/syncany-170525101612005-35906-client-A/filename-for-windows
25-5-17 10:17:48.384 | Indexer         | AsyncI/syncany | FINE : - /File: filename-for-windows (checksum 10b9f206a1c3d171fcf0405aef4e0e914131c30f)
25-5-17 10:17:48.385 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: filename-for-windows, checksum: 10b9f206a1c3d171fcf0405aef4e0e914131c30f)
25-5-17 10:17:48.385 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file filename-for-windows
25-5-17 10:17:48.385 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=filename-for-windows, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=10b9f206a1c3d171fcf0405aef4e0e914131c30f, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:48.385 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
25-5-17 10:17:48.386 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk e46f17f0f79af0f2ca7eb541a13240c3ef1c1256
25-5-17 10:17:48.386 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@9115de1) ...
25-5-17 10:17:48.386 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1495707468370, chunks=3, multiChunks=1, fileContents=3, fileHistories=3]
25-5-17 10:17:48.386 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
25-5-17 10:17:48.387 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
25-5-17 10:17:48.387 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
25-5-17 10:17:48.387 | UpOperation     | Test worker    | INFO : - Uploading multichunk e46f17f0f79af0f2ca7eb541a13240c3ef1c1256 from /tmp/syncanytest/syncany-170525101612005-35906-client-A/.syncany/cache/multichunk-e46f17f0f79af0f2ca7eb541a13240c3ef1c1256 to RemoteFile[name=multichunk-e46f17f0f79af0f2ca7eb541a13240c3ef1c1256] ...
25-5-17 10:17:48.387 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170525101612005-35906-client-A/.syncany/cache/multichunk-e46f17f0f79af0f2ca7eb541a13240c3ef1c1256 -> Temp. remote file: RemoteFile[name=temp-MmmJL-multichunk-e46f17f0f79af0f2ca7eb541a13240c3ef1c1256], final location: RemoteFile[name=multichunk-e46f17f0f79af0f2ca7eb541a13240c3ef1c1256]
25-5-17 10:17:48.388 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1495707468387, chunks=3, multiChunks=1, fileContents=3, fileHistories=3]
25-5-17 10:17:48.388 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1495707468387 to file /tmp/syncanytest/syncany-170525101612005-35906-client-A/.syncany/cache/database-A-0000000001 ... 
25-5-17 10:17:48.388 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170525101612005-35906-client-A/.syncany/cache/database-A-0000000001 ...
25-5-17 10:17:48.389 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
25-5-17 10:17:48.389 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101612005-35906-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
25-5-17 10:17:48.389 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170525101612005-35906-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-HOVWj-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
25-5-17 10:17:48.389 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
25-5-17 10:17:48.389 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
25-5-17 10:17:48.391 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170525101612005-35906-client-A/.syncany/cache/temp-transaction-8929064815105434085.tmp
25-5-17 10:17:48.391 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@4b8ebec2) ...
25-5-17 10:17:48.391 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-45068d09] ...
25-5-17 10:17:48.391 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
25-5-17 10:17:48.392 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@9867099) ...
25-5-17 10:17:48.392 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101612005-35906-client-A/.syncany/cache/multichunk-e46f17f0f79af0f2ca7eb541a13240c3ef1c1256 to temp. file RemoteFile[name=temp-MmmJL-multichunk-e46f17f0f79af0f2ca7eb541a13240c3ef1c1256] ...
25-5-17 10:17:48.392 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@5287332e) ...
25-5-17 10:17:48.392 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170525101612005-35906-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-HOVWj-database-A-0000000001] ...
25-5-17 10:17:48.393 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-MmmJL-multichunk-e46f17f0f79af0f2ca7eb541a13240c3ef1c1256] to final location RemoteFile[name=multichunk-e46f17f0f79af0f2ca7eb541a13240c3ef1c1256] ...
25-5-17 10:17:48.393 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-HOVWj-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
25-5-17 10:17:48.393 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-45068d09] ...
25-5-17 10:17:48.394 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
25-5-17 10:17:48.394 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
25-5-17 10:17:48.394 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1495707468387) ...
25-5-17 10:17:48.394 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@6e7b088d) ...
25-5-17 10:17:48.403 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
25-5-17 10:17:48.406 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
25-5-17 10:17:48.417 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1495707468387, chunks=3, multiChunks=1, fileContents=3, fileHistories=3]
25-5-17 10:17:48.417 | UpOperation     | Test worker    | INFO : Committing local database.
25-5-17 10:17:48.417 | UpOperation     | Test worker    | FINE : Waiting for new database version.
25-5-17 10:17:48.417 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1495707468407, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
25-5-17 10:17:48.418 | UpOperation     | Test worker    | INFO : Sync up done.
25-5-17 10:17:48.420 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1495707468226] ...
25-5-17 10:17:48.424 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1495707468226]
25-5-17 10:17:48.424 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
25-5-17 10:17:48.424 | Cache           | Test worker    | INFO : Cache size okay (153 KB), no need to clean (keep size is 500 MB)
25-5-17 10:17:48.424 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@67b0da2a) ...
25-5-17 10:17:48.427 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:48.427 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-35906-client-B' ...
25-5-17 10:17:48.427 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:48.427 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:48.427 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:48.427 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:48.427 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:48.427 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:48.427 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:48.427 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:48.427 | org.syncany.plu | Test worker    | FINE : Validating required fields
25-5-17 10:17:48.427 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170525101612005-35906-client-B' ...
25-5-17 10:17:48.427 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
25-5-17 10:17:48.427 | TransferManager | Test worker    | INFO : - With feature Retriable
25-5-17 10:17:48.427 | TransferManager | Test worker    | INFO : - With feature PathAware
25-5-17 10:17:48.427 | TransferManager | Test worker    | INFO : - With feature TransactionAware
25-5-17 10:17:48.428 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
25-5-17 10:17:48.428 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
25-5-17 10:17:48.428 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
25-5-17 10:17:48.428 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
25-5-17 10:17:48.428 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
25-5-17 10:17:48.428 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
25-5-17 10:17:48.428 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
25-5-17 10:17:48.428 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
25-5-17 10:17:48.454 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
25-5-17 10:17:48.455 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
25-5-17 10:17:48.464 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
25-5-17 10:17:48.467 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
25-5-17 10:17:48.467 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
25-5-17 10:17:48.473 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
25-5-17 10:17:48.473 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
25-5-17 10:17:48.474 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
25-5-17 10:17:48.474 | 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:48.477 | 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:48.480 | 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:48.483 | 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:48.485 | 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:48.488 | 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:48.490 | 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:48.493 | 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:48.495 | 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:48.497 | 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:48.500 | 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:48.505 | 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:48.508 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
25-5-17 10:17:48.508 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
25-5-17 10:17:48.509 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
25-5-17 10:17:48.512 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
25-5-17 10:17:48.514 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
25-5-17 10:17:48.516 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
25-5-17 10:17:48.518 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
25-5-17 10:17:48.520 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
25-5-17 10:17:48.522 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
25-5-17 10:17:48.522 | 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:48.525 | 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:48.527 | 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:48.529 | 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:48.532 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
25-5-17 10:17:48.532 | 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:48.534 | 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:48.537 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
25-5-17 10:17:48.537 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
25-5-17 10:17:48.537 | 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:48.539 | DownOperation   | Test worker    | INFO : 
25-5-17 10:17:48.539 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
25-5-17 10:17:48.539 | DownOperation   | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:48.539 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@291a921f) ...
25-5-17 10:17:48.539 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
25-5-17 10:17:48.540 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:48.540 | LsRemoteOperati | Test worker    | INFO : 
25-5-17 10:17:48.540 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
25-5-17 10:17:48.540 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
25-5-17 10:17:48.540 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@48e349a1) ...
25-5-17 10:17:48.540 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
25-5-17 10:17:48.540 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
25-5-17 10:17:48.541 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@7c97410) ...
25-5-17 10:17:48.541 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@5189a6a7) ...
25-5-17 10:17:48.541 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1495707468428] ...
25-5-17 10:17:48.541 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1495707468428]
25-5-17 10:17:48.541 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1495707468428] ...
25-5-17 10:17:48.543 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
25-5-17 10:17:48.543 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170525101612005-35906-client-B/.syncany/cache/database-A-0000000001
25-5-17 10:17:48.543 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@41b933e6) ...
25-5-17 10:17:48.544 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
25-5-17 10:17:48.544 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170525101612005-35906-client-B/.syncany/cache/database-A-0000000001 ...
25-5-17 10:17:48.548 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1495707468387
25-5-17 10:17:48.548 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170525101612005-35906-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
25-5-17 10:17:48.549 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
25-5-17 10:17:48.549 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1495707468387], B=[]}
25-5-17 10:17:48.549 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
25-5-17 10:17:48.549 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1495707468387
25-5-17 10:17:48.549 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
25-5-17 10:17:48.549 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1495707468387
25-5-17 10:17:48.553 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
25-5-17 10:17:48.553 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
25-5-17 10:17:48.554 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
25-5-17 10:17:48.554 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
25-5-17 10:17:48.554 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1495707468387]
25-5-17 10:17:48.554 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
25-5-17 10:17:48.554 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1495707468387]
25-5-17 10:17:48.554 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
25-5-17 10:17:48.554 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170525101612005-35906-client-B/.syncany/cache/database-A-0000000001 ...
25-5-17 10:17:48.558 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1495707468387
25-5-17 10:17:48.558 | DownOperation   | Test worker    | INFO : Determine file system actions ...
25-5-17 10:17:48.559 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:48.562 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
25-5-17 10:17:48.562 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
25-5-17 10:17:48.562 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
25-5-17 10:17:48.562 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=Filename-For-Windows, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=99889542260064122a7c46a71fd7721066528d5d, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:48.568 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file Filename-For-Windows
25-5-17 10:17:48.568 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=Filename-For-Windows, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=99889542260064122a7c46a71fd7721066528d5d, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170525101612005-35906-client-B/Filename-For-Windows
25-5-17 10:17:48.568 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=Filename-For-Windows, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=99889542260064122a7c46a71fd7721066528d5d, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.569 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
25-5-17 10:17:48.569 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=filename-for-windows, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=10b9f206a1c3d171fcf0405aef4e0e914131c30f, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:48.569 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file filename-for-windows
25-5-17 10:17:48.569 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=filename-for-windows, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=10b9f206a1c3d171fcf0405aef4e0e914131c30f, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170525101612005-35906-client-B/filename-for-windows
25-5-17 10:17:48.569 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=filename-for-windows, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=10b9f206a1c3d171fcf0405aef4e0e914131c30f, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.569 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
25-5-17 10:17:48.569 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=FILENAME-FOR-WINDOWS, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=150657286f28c801c6c39688d5d76905d8e40f39, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
25-5-17 10:17:48.570 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file FILENAME-FOR-WINDOWS
25-5-17 10:17:48.570 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=FILENAME-FOR-WINDOWS, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=150657286f28c801c6c39688d5d76905d8e40f39, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170525101612005-35906-client-B/FILENAME-FOR-WINDOWS
25-5-17 10:17:48.570 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=FILENAME-FOR-WINDOWS, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=150657286f28c801c6c39688d5d76905d8e40f39, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.571 | DownOperation   | Test worker    | INFO :   + Adding multichunk e46f17f0f79af0f2ca7eb541a13240c3ef1c1256 to download list ...
25-5-17 10:17:48.571 | DownOperation   | Test worker    | INFO :   + Adding multichunk e46f17f0f79af0f2ca7eb541a13240c3ef1c1256 to download list ...
25-5-17 10:17:48.571 | DownOperation   | Test worker    | INFO :   + Adding multichunk e46f17f0f79af0f2ca7eb541a13240c3ef1c1256 to download list ...
25-5-17 10:17:48.571 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
25-5-17 10:17:48.572 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@765c9469) ...
25-5-17 10:17:48.572 | Downloader      | Test worker    | INFO :   + Downloading multichunk e46f17f0f79af0f2ca7eb541a13240c3ef1c1256 ...
25-5-17 10:17:48.572 | Downloader      | Test worker    | INFO :   + Decrypting multichunk e46f17f0f79af0f2ca7eb541a13240c3ef1c1256 ...
25-5-17 10:17:48.573 | Downloader      | Test worker    | FINE :   + Locally deleting multichunk e46f17f0f79af0f2ca7eb541a13240c3ef1c1256 ...
25-5-17 10:17:48.576 | FileSystemActio | Test worker    | INFO :    Sorted actions:
25-5-17 10:17:48.576 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=FILENAME-FOR-WINDOWS, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=150657286f28c801c6c39688d5d76905d8e40f39, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.576 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=Filename-For-Windows, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=99889542260064122a7c46a71fd7721066528d5d, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.576 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=filename-for-windows, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=10b9f206a1c3d171fcf0405aef4e0e914131c30f, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.576 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
25-5-17 10:17:48.576 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=FILENAME-FOR-WINDOWS, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=150657286f28c801c6c39688d5d76905d8e40f39, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.577 | Assembler       | Test worker    | INFO :      - Creating file FILENAME-FOR-WINDOWS to /tmp/syncanytest/syncany-170525101612005-35906-client-B/.syncany/cache/temp-reconstructedFileVersion-8255199164826248984.tmp ...
25-5-17 10:17:48.578 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
25-5-17 10:17:48.578 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=Filename-For-Windows, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=99889542260064122a7c46a71fd7721066528d5d, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.579 | Assembler       | Test worker    | INFO :      - Creating file Filename-For-Windows to /tmp/syncanytest/syncany-170525101612005-35906-client-B/.syncany/cache/temp-reconstructedFileVersion-2621223017920038702.tmp ...
25-5-17 10:17:48.580 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
25-5-17 10:17:48.580 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=filename-for-windows, type=FILE, status=NEW, size=51200, lastModified=Thu May 25 10:17:48 UTC 2017, linkTarget=null, checksum=10b9f206a1c3d171fcf0405aef4e0e914131c30f, updated=Thu May 25 10:17:48 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
25-5-17 10:17:48.581 | Assembler       | Test worker    | INFO :      - Creating file filename-for-windows to /tmp/syncanytest/syncany-170525101612005-35906-client-B/.syncany/cache/temp-reconstructedFileVersion-6924833549087726278.tmp ...
25-5-17 10:17:48.586 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
25-5-17 10:17:48.587 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
25-5-17 10:17:48.587 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
25-5-17 10:17:48.587 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1495707468387, chunks=3, multiChunks=1, fileContents=3, fileHistories=3]
25-5-17 10:17:48.596 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1495707468428] ...
25-5-17 10:17:48.605 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1495707468428]
25-5-17 10:17:48.605 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
25-5-17 10:17:48.606 | Cache           | Test worker    | INFO : Cache size okay (153 KB), no need to clean (keep size is 500 MB)
25-5-17 10:17:48.606 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@4dd74fbd) ...
25-5-17 10:17:48.606 | DownOperation   | Test worker    | INFO : Sync down done.
25-5-17 10:17:48.612 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170525101612005-35906-client-A/filename-for-windows, but actual PATH = tmp/syncanytest/syncany-170525101612005-35906-client-B/filename-for-windows, for file tmp/syncanytest/syncany-170525101612005-35906-client-B/filename-for-windows
25-5-17 10:17:48.615 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170525101612005-35906-client-A/Filename-For-Windows, but actual PATH = tmp/syncanytest/syncany-170525101612005-35906-client-B/Filename-For-Windows, for file tmp/syncanytest/syncany-170525101612005-35906-client-B/Filename-For-Windows
25-5-17 10:17:48.622 | FileVersionComp | Test worker    | INFO :      - [CHANGED_PATH]: Local file DIFFERS from file version, expected PATH = tmp/syncanytest/syncany-170525101612005-35906-client-A/FILENAME-FOR-WINDOWS, but actual PATH = tmp/syncanytest/syncany-170525101612005-35906-client-B/FILENAME-FOR-WINDOWS, for file tmp/syncanytest/syncany-170525101612005-35906-client-B/FILENAME-FOR-WINDOWS
25-5-17 10:17:48.624 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:48.624 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
25-5-17 10:17:48.654 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from chunk order by CHECKSUM asc
25-5-17 10:17:48.659 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select STATUS, LOCALTIME, CLIENT, VECTORCLOCK_SERIALIZED from databaseversion order by ID asc
25-5-17 10:17:48.660 | 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:48.662 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select CHECKSUM, SIZE from filecontent order by CHECKSUM asc
25-5-17 10:17:48.662 | 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:48.663 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID from filehistory order by ID asc, DATABASEVERSION_ID asc
25-5-17 10:17:48.670 | 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:48.670 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select ID, SIZE from multichunk order by ID asc
25-5-17 10:17:48.671 | TestAssertUtil  | Test worker    | FINE :  Comparing database table: select MULTICHUNK_ID, CHUNK_CHECKSUM from multichunk_chunk order by MULTICHUNK_ID asc, CHUNK_CHECKSUM asc