Class org.syncany.tests.integration.scenarios.Issue374Pre1965DateScenarioTest

1

tests

0

failures

0

ignored

0.264s

duration

100%

successful

Tests

Test Duration Result
testIssue316CleanupThenDeleteFile 0.264s passed

Standard error

27-4-17 11:02:13.634 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:02:13.634 | LocalTransferMa | Test worker    | INFO : testTargetExists: Target exists.
27-4-17 11:02:13.641 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:02:13.645 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110008054-95986-client-A' ...
27-4-17 11:02:13.648 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:02:13.648 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:02:13.648 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:02:13.648 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:02:13.648 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:02:13.648 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:02:13.648 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:02:13.648 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:02:13.648 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:02:13.649 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110008054-95986-client-A' ...
27-4-17 11:02:13.649 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:02:13.649 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:02:13.649 | TransferManager | Test worker    | INFO : - With feature PathAware
27-4-17 11:02:13.649 | TransferManager | Test worker    | INFO : - With feature TransactionAware
27-4-17 11:02:13.649 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:02:13.649 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:02:13.649 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:02:13.649 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:02:13.649 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:02:13.649 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:02:13.649 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
27-4-17 11:02:13.649 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
27-4-17 11:02:13.664 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
27-4-17 11:02:13.664 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
27-4-17 11:02:13.674 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
27-4-17 11:02:13.677 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
27-4-17 11:02:13.677 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
27-4-17 11:02:13.683 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
27-4-17 11:02:13.683 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
27-4-17 11:02:13.683 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
27-4-17 11:02:13.683 | 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) ); 
27-4-17 11:02:13.686 | 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 ); 
27-4-17 11:02:13.688 | 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 ); 
27-4-17 11:02:13.691 | 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 ); 
27-4-17 11:02:13.693 | 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 ); 
27-4-17 11:02:13.696 | 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 ); 
27-4-17 11:02:13.698 | 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 ); 
27-4-17 11:02:13.701 | 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 ); 
27-4-17 11:02:13.706 | 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 ); 
27-4-17 11:02:13.709 | 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) ); 
27-4-17 11:02:13.711 | 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) ); 
27-4-17 11:02:13.714 | 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) ); 
27-4-17 11:02:13.717 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
27-4-17 11:02:13.717 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
27-4-17 11:02:13.718 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
27-4-17 11:02:13.721 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
27-4-17 11:02:13.723 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
27-4-17 11:02:13.726 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
27-4-17 11:02:13.728 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
27-4-17 11:02:13.730 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
27-4-17 11:02:13.732 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
27-4-17 11:02:13.732 | 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'; 
27-4-17 11:02:13.735 | 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'; 
27-4-17 11:02:13.737 | 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; 
27-4-17 11:02:13.740 | 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'; 
27-4-17 11:02:13.742 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
27-4-17 11:02:13.742 | 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; 
27-4-17 11:02:13.745 | 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; 
27-4-17 11:02:13.747 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
27-4-17 11:02:13.747 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
27-4-17 11:02:13.747 | 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; 
27-4-17 11:02:13.751 | UpOperation     | Test worker    | INFO : 
27-4-17 11:02:13.751 | UpOperation     | Test worker    | INFO : Running 'Sync up' at client A ...
27-4-17 11:02:13.751 | UpOperation     | Test worker    | INFO : --------------------------------------------
27-4-17 11:02:13.751 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpStartSyncExternalEvent@642d43d0) ...
27-4-17 11:02:13.751 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:02:13.751 | StatusOperation | Test worker    | INFO : 
27-4-17 11:02:13.751 | StatusOperation | Test worker    | INFO : Running 'Status' at client A ...
27-4-17 11:02:13.751 | StatusOperation | Test worker    | INFO : --------------------------------------------
27-4-17 11:02:13.751 | StatusOperation | Test worker    | INFO : Force checksum ENABLED.
27-4-17 11:02:13.751 | StatusOperation | Test worker    | INFO : Querying current file tree from database ...
27-4-17 11:02:13.751 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusStartSyncExternalEvent (org.syncany.operations.daemon.messages.StatusStartSyncExternalEvent@46f517dd) ...
27-4-17 11:02:13.752 | StatusOperation | Test worker    | INFO : Analyzing local folder /tmp/syncanytest/syncany-170427110008054-95986-client-A ...
27-4-17 11:02:13.752 | StatusOperation | Test worker    | FINE : - Ignoring file (syncany app-related): .syncany
27-4-17 11:02:13.752 | StatusOperation | Test worker    | FINE : - New file: pre1965.txt
27-4-17 11:02:13.752 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event StatusEndSyncExternalEvent (org.syncany.operations.daemon.messages.StatusEndSyncExternalEvent@1c72be53) ...
27-4-17 11:02:13.752 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
27-4-17 11:02:13.753 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:02:13.753 | LsRemoteOperati | Test worker    | INFO : 
27-4-17 11:02:13.753 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client A ...
27-4-17 11:02:13.753 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
27-4-17 11:02:13.753 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@35175b1e) ...
27-4-17 11:02:13.753 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
27-4-17 11:02:13.753 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@604d5668) ...
27-4-17 11:02:13.753 | UpOperation     | Test worker    | INFO : No remote changes, ready to upload.
27-4-17 11:02:13.753 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-up-A-1493290933649] ...
27-4-17 11:02:13.753 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-up-A-1493290933649]
27-4-17 11:02:13.753 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-up-A-1493290933649] ...
27-4-17 11:02:13.754 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:02:13.754 | TransactionAwar | Test worker    | INFO : Done rolling back previous transactions.
27-4-17 11:02:13.754 | AsyncIndexer    | AsyncI/syncany | INFO : Starting Indexing.
27-4-17 11:02:13.754 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexStartSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexStartSyncExternalEvent@44971274) ...
27-4-17 11:02:13.754 | Indexer         | AsyncI/syncany | FINE : - Looking for deleted files ...
27-4-17 11:02:13.754 | Indexer         | AsyncI/syncany | FINE : - +File /tmp/syncanytest/syncany-170427110008054-95986-client-A/pre1965.txt
27-4-17 11:02:13.755 | Indexer         | AsyncI/syncany | FINE : - +FileContent: /tmp/syncanytest/syncany-170427110008054-95986-client-A/pre1965.txt
27-4-17 11:02:13.756 | Indexer         | AsyncI/syncany | FINE : - Chunk new: c46dffb5c38d6580e5568c0fc7ba1e1405c8ffcb
27-4-17 11:02:13.756 | Indexer         | AsyncI/syncany | FINE : - +MultiChunk 6a7f090ada0d975670cdf00e9a9215ea8f8c5f80
27-4-17 11:02:13.757 | Indexer         | AsyncI/syncany | FINE : - Chunk > MultiChunk: c46dffb5c38d6580e5568c0fc7ba1e1405c8ffcb > 6a7f090ada0d975670cdf00e9a9215ea8f8c5f80
27-4-17 11:02:13.757 | Indexer         | AsyncI/syncany | FINE : - Chunk > FileContent: c46dffb5c38d6580e5568c0fc7ba1e1405c8ffcb > /tmp/syncanytest/syncany-170427110008054-95986-client-A/pre1965.txt
27-4-17 11:02:13.757 | Indexer         | AsyncI/syncany | FINE : - /File: pre1965.txt (checksum c46dffb5c38d6580e5568c0fc7ba1e1405c8ffcb)
27-4-17 11:02:13.758 | Indexer         | AsyncI/syncany | FINE :    * No old file history found, starting new history (path: pre1965.txt, checksum: c46dffb5c38d6580e5568c0fc7ba1e1405c8ffcb)
27-4-17 11:02:13.758 | FileVersionComp | AsyncI/syncany | INFO :      - [DELETED]: Local file DIFFERS from file version, actual file is NULL, for file pre1965.txt
27-4-17 11:02:13.758 | Indexer         | AsyncI/syncany | INFO :    * Added file version:    FileVersion [version=1, path=pre1965.txt, type=FILE, status=NEW, size=51200, lastModified=Thu Dec 31 00:00:00 UTC 1964, linkTarget=null, checksum=c46dffb5c38d6580e5568c0fc7ba1e1405c8ffcb, updated=Thu Apr 27 11:02:13 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
27-4-17 11:02:13.758 | Indexer         | AsyncI/syncany | INFO :      based on file version: null
27-4-17 11:02:13.758 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexChangesDetectedSyncExternalEvent@545a6b58) ...
27-4-17 11:02:13.758 | Indexer         | AsyncI/syncany | FINE : - /MultiChunk 6a7f090ada0d975670cdf00e9a9215ea8f8c5f80
27-4-17 11:02:13.758 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexEndSyncExternalEvent@19d2581d) ...
27-4-17 11:02:13.758 | Indexer         | AsyncI/syncany | FINE : Processed new database version: DatabaseVersion [header=UnknownMachine/()/T=1493290933754, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
27-4-17 11:02:13.758 | InternalEventBu | AsyncI/syncany | INFO : Event bus 'LocalEventBus': Posting event UpIndexMidSyncExternalEvent (org.syncany.operations.daemon.messages.UpIndexMidSyncExternalEvent@1d0afc4) ...
27-4-17 11:02:13.759 | UpOperation     | Test worker    | INFO : No DIRTY data found in database (no dirty databases); Nothing to do here.
27-4-17 11:02:13.759 | UpOperation     | Test worker    | INFO : Last vector clock was: ()
27-4-17 11:02:13.759 | UpOperation     | Test worker    | INFO : Uploading new multichunks ...
27-4-17 11:02:13.759 | UpOperation     | Test worker    | INFO : - Uploading multichunk 6a7f090ada0d975670cdf00e9a9215ea8f8c5f80 from /tmp/syncanytest/syncany-170427110008054-95986-client-A/.syncany/cache/multichunk-6a7f090ada0d975670cdf00e9a9215ea8f8c5f80 to RemoteFile[name=multichunk-6a7f090ada0d975670cdf00e9a9215ea8f8c5f80] ...
27-4-17 11:02:13.759 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170427110008054-95986-client-A/.syncany/cache/multichunk-6a7f090ada0d975670cdf00e9a9215ea8f8c5f80 -> Temp. remote file: RemoteFile[name=temp-AEAWk-multichunk-6a7f090ada0d975670cdf00e9a9215ea8f8c5f80], final location: RemoteFile[name=multichunk-6a7f090ada0d975670cdf00e9a9215ea8f8c5f80]
27-4-17 11:02:13.759 | UpOperation     | Test worker    | INFO : Uploading database: DatabaseVersion [header=A/(A1)/T=1493290933759, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
27-4-17 11:02:13.760 | UpOperation     | Test worker    | INFO : Saving local delta database, version A/(A1)/T=1493290933759 to file /tmp/syncanytest/syncany-170427110008054-95986-client-A/.syncany/cache/database-A-0000000001 ... 
27-4-17 11:02:13.760 | UpOperation     | Test worker    | INFO : - Saving database to /tmp/syncanytest/syncany-170427110008054-95986-client-A/.syncany/cache/database-A-0000000001 ...
27-4-17 11:02:13.761 | UpOperation     | Test worker    | INFO : - Uploading local delta database file ...
27-4-17 11:02:13.761 | UpOperation     | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110008054-95986-client-A/.syncany/cache/database-A-0000000001 to RemoteFile[name=database-A-0000000001] ...
27-4-17 11:02:13.761 | RemoteTransacti | Test worker    | INFO : - Adding file to TX for UPLOAD: /tmp/syncanytest/syncany-170427110008054-95986-client-A/.syncany/cache/database-A-0000000001 -> Temp. remote file: RemoteFile[name=temp-iqIwY-database-A-0000000001], final location: RemoteFile[name=database-A-0000000001]
27-4-17 11:02:13.761 | UpOperation     | Test worker    | INFO : Adding shutdown hook (to allow resuming the upload) ...
27-4-17 11:02:13.762 | RemoteTransacti | Test worker    | INFO : Starting TX.commit() ...
27-4-17 11:02:13.762 | RemoteTransacti | Test worker    | INFO : Wrote transaction manifest to temporary file: /tmp/syncanytest/syncany-170427110008054-95986-client-A/.syncany/cache/temp-transaction-6511217286740214151.tmp
27-4-17 11:02:13.762 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileSyncExternalEvent@45e84ae1) ...
27-4-17 11:02:13.762 | RemoteTransacti | Test worker    | INFO : - Uploading remote transaction file RemoteFile[name=transaction-18cd0b57] ...
27-4-17 11:02:13.763 | RemoteTransacti | Test worker    | INFO : - Starting to upload data in commit.
27-4-17 11:02:13.763 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@4df2b8d9) ...
27-4-17 11:02:13.763 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110008054-95986-client-A/.syncany/cache/multichunk-6a7f090ada0d975670cdf00e9a9215ea8f8c5f80 to temp. file RemoteFile[name=temp-AEAWk-multichunk-6a7f090ada0d975670cdf00e9a9215ea8f8c5f80] ...
27-4-17 11:02:13.763 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpUploadFileInTransactionSyncExternalEvent (org.syncany.operations.daemon.messages.UpUploadFileInTransactionSyncExternalEvent@1a875ff7) ...
27-4-17 11:02:13.763 | RemoteTransacti | Test worker    | INFO : - Uploading /tmp/syncanytest/syncany-170427110008054-95986-client-A/.syncany/cache/database-A-0000000001 to temp. file RemoteFile[name=temp-iqIwY-database-A-0000000001] ...
27-4-17 11:02:13.764 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-AEAWk-multichunk-6a7f090ada0d975670cdf00e9a9215ea8f8c5f80] to final location RemoteFile[name=multichunk-6a7f090ada0d975670cdf00e9a9215ea8f8c5f80] ...
27-4-17 11:02:13.764 | RemoteTransacti | Test worker    | INFO : - Moving temp. file RemoteFile[name=temp-iqIwY-database-A-0000000001] to final location RemoteFile[name=database-A-0000000001] ...
27-4-17 11:02:13.764 | RemoteTransacti | Test worker    | INFO : - Deleting remote transaction file RemoteFile[name=transaction-18cd0b57] ...
27-4-17 11:02:13.764 | RemoteTransacti | Test worker    | INFO : END of TX.commmit(): Succesfully committed transaction.
27-4-17 11:02:13.764 | RemoteTransacti | Test worker    | INFO : END of TX.delTemp(): Sucessfully deleted final files.
27-4-17 11:02:13.764 | UpOperation     | Test worker    | INFO : Persisting local SQL database (new database version A/(A1)/T=1493290933759) ...
27-4-17 11:02:13.765 | AsyncIndexer    | AsyncI/syncany | INFO : Stopping indexing. Signal end of stream with empty databaseversion
27-4-17 11:02:13.766 | UpOperation     | Test worker    | INFO : Removing DIRTY database versions from database ...
27-4-17 11:02:13.770 | UpOperation     | Test worker    | INFO : Adding database version to result changes:DatabaseVersion [header=A/(A1)/T=1493290933759, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
27-4-17 11:02:13.770 | UpOperation     | Test worker    | INFO : Committing local database.
27-4-17 11:02:13.770 | UpOperation     | Test worker    | FINE : Waiting for new database version.
27-4-17 11:02:13.770 | UpOperation     | Test worker    | FINE : Took new database version: DatabaseVersion [header=UnknownMachine/()/T=1493290933765, chunks=0, multiChunks=0, fileContents=0, fileHistories=0]
27-4-17 11:02:13.770 | UpOperation     | Test worker    | INFO : Sync up done.
27-4-17 11:02:13.781 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-up-A-1493290933649] ...
27-4-17 11:02:13.781 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-up-A-1493290933649]
27-4-17 11:02:13.781 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
27-4-17 11:02:13.781 | Cache           | Test worker    | INFO : Cache size okay (51 KB), no need to clean (keep size is 500 MB)
27-4-17 11:02:13.781 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event UpEndSyncExternalEvent (org.syncany.operations.daemon.messages.UpEndSyncExternalEvent@6674fd63) ...
27-4-17 11:02:13.781 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:02:13.782 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110008054-95986-client-B' ...
27-4-17 11:02:13.782 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:02:13.782 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:02:13.782 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:02:13.782 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:02:13.782 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:02:13.782 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:02:13.782 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:02:13.782 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:02:13.782 | org.syncany.plu | Test worker    | FINE : Validating required fields
27-4-17 11:02:13.782 | TransferManager | Test worker    | INFO : Building LocalTransferManager from config 'syncany-170427110008054-95986-client-B' ...
27-4-17 11:02:13.782 | TransferManager | Test worker    | INFO : - With feature ReadAfterWriteConsistent
27-4-17 11:02:13.782 | TransferManager | Test worker    | INFO : - With feature Retriable
27-4-17 11:02:13.782 | TransferManager | Test worker    | INFO : - With feature PathAware
27-4-17 11:02:13.782 | TransferManager | Test worker    | INFO : - With feature TransactionAware
27-4-17 11:02:13.782 | TransferManager | Test worker    | FINE : - Checking if selected features supported ...
27-4-17 11:02:13.782 | TransferManager | Test worker    | FINE : - Checking for duplicate features ...
27-4-17 11:02:13.782 | TransferManager | Test worker    | FINE : - Checking required feature TransactionAware in LocalTransferManager ...
27-4-17 11:02:13.782 | TransferManager | Test worker    | FINE : - Checking required feature Retriable in LocalTransferManager ...
27-4-17 11:02:13.782 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature ReadAfterWriteConsistent
27-4-17 11:02:13.782 | TransferManager | Test worker    | FINE : - Wrapping TransferManager LocalTransferManager in RetriableFeatureTransferManager
27-4-17 11:02:13.782 | TransferManager | Test worker    | INFO : - SKIPPING unsupported optional feature PathAware
27-4-17 11:02:13.782 | TransferManager | Test worker    | FINE : - Wrapping TransferManager RetriableFeatureTransferManager in TransactionAwareFeatureTransferManager
27-4-17 11:02:13.790 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint start
27-4-17 11:02:13.790 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose start
27-4-17 11:02:13.803 | hsqldb.db.HSQLD | Test worker    | FINE : log close size: 0
27-4-17 11:02:13.806 | hsqldb.db.HSQLD | Test worker    | INFO : checkpointClose end
27-4-17 11:02:13.806 | hsqldb.db.HSQLD | Test worker    | INFO : Checkpoint end - txts: 1
27-4-17 11:02:13.812 | DatabaseConnect | Test worker    | INFO : Found 0 tables.
27-4-17 11:02:13.812 | DatabaseConnect | Test worker    | INFO : Database has no tables. Creating tables from script.create.all.sql
27-4-17 11:02:13.812 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Tables
27-4-17 11:02:13.812 | 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) ); 
27-4-17 11:02:13.815 | 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 ); 
27-4-17 11:02:13.817 | 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 ); 
27-4-17 11:02:13.820 | 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 ); 
27-4-17 11:02:13.822 | 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 ); 
27-4-17 11:02:13.824 | 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 ); 
27-4-17 11:02:13.826 | 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 ); 
27-4-17 11:02:13.829 | 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 ); 
27-4-17 11:02:13.831 | 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 ); 
27-4-17 11:02:13.833 | 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) ); 
27-4-17 11:02:13.836 | 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) ); 
27-4-17 11:02:13.838 | 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) ); 
27-4-17 11:02:13.840 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Non-primary indices
27-4-17 11:02:13.840 | SqlRunner       | Test worker    | INFO : SQL:   CREATE INDEX idx_databaseversion_status ON databaseversion (status); 
27-4-17 11:02:13.841 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open start
27-4-17 11:02:13.843 | hsqldb.db.HSQLD | Test worker    | INFO : dataFileCache open end
27-4-17 11:02:13.847 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_databaseversion_vectorclock_serialized ON databaseversion (vectorclock_serialized); 
27-4-17 11:02:13.849 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_path ON fileversion (path); 
27-4-17 11:02:13.851 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_status ON fileversion (status); 
27-4-17 11:02:13.853 | SqlRunner       | Test worker    | INFO : SQL: CREATE INDEX idx_fileversion_filecontent_checksum ON fileversion (filecontent_checksum); 
27-4-17 11:02:13.856 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Views
27-4-17 11:02:13.856 | 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'; 
27-4-17 11:02:13.858 | 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'; 
27-4-17 11:02:13.861 | 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; 
27-4-17 11:02:13.863 | 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'; 
27-4-17 11:02:13.866 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Full Views
27-4-17 11:02:13.866 | 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; 
27-4-17 11:02:13.869 | 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; 
27-4-17 11:02:13.873 | SqlRunner       | Test worker    | INFO : SQL (comment): -- Functions
27-4-17 11:02:13.873 | SqlRunner       | Test worker    | INFO : SQL (new delimiter): end;
27-4-17 11:02:13.873 | 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; 
27-4-17 11:02:13.876 | DownOperation   | Test worker    | INFO : 
27-4-17 11:02:13.876 | DownOperation   | Test worker    | INFO : Running 'Sync down' at client B ...
27-4-17 11:02:13.876 | DownOperation   | Test worker    | INFO : --------------------------------------------
27-4-17 11:02:13.876 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownStartSyncExternalEvent (org.syncany.operations.daemon.messages.DownStartSyncExternalEvent@78989ce4) ...
27-4-17 11:02:13.876 | AbstractTransfe | Test worker    | INFO : Looking for other running remote operations ...
27-4-17 11:02:13.877 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:02:13.877 | LsRemoteOperati | Test worker    | INFO : 
27-4-17 11:02:13.877 | LsRemoteOperati | Test worker    | INFO : Running 'Remote Status' at client B ...
27-4-17 11:02:13.877 | LsRemoteOperati | Test worker    | INFO : --------------------------------------------
27-4-17 11:02:13.877 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteStartSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteStartSyncExternalEvent@53a06136) ...
27-4-17 11:02:13.877 | LsRemoteOperati | Test worker    | INFO : Retrieving remote database list.
27-4-17 11:02:13.877 | LsRemoteOperati | Test worker    | INFO : - Remote database database-A-0000000001 is new.
27-4-17 11:02:13.877 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event LsRemoteEndSyncExternalEvent (org.syncany.operations.daemon.messages.LsRemoteEndSyncExternalEvent@6fea0b12) ...
27-4-17 11:02:13.877 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownChangesDetectedSyncExternalEvent (org.syncany.operations.daemon.messages.DownChangesDetectedSyncExternalEvent@3c53c96d) ...
27-4-17 11:02:13.877 | ActionFileHandl | Test worker    | INFO : Starting action for RemoteFile[name=action-down-B-1493290933783] ...
27-4-17 11:02:13.877 | ActionFileHandl | Test worker    | INFO : Uploading action file: RemoteFile[name=action-down-B-1493290933783]
27-4-17 11:02:13.877 | ActionFileHandl | Test worker    | INFO : Scheduling action renewal task for every 2 minutes, for RemoteFile[name=action-down-B-1493290933783] ...
27-4-17 11:02:13.877 | DownOperation   | Test worker    | INFO : Downloading unknown databases.
27-4-17 11:02:13.878 | DownOperation   | Test worker    | INFO : - Downloading database-A-0000000001 to local cache at /tmp/syncanytest/syncany-170427110008054-95986-client-B/.syncany/cache/database-A-0000000001
27-4-17 11:02:13.878 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@4e829e28) ...
27-4-17 11:02:13.878 | DownOperation   | Test worker    | INFO : Loading database headers, creating branches ...
27-4-17 11:02:13.878 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (HEADER_ONLY) from file /tmp/syncanytest/syncany-170427110008054-95986-client-B/.syncany/cache/database-A-0000000001 ...
27-4-17 11:02:13.879 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1493290933759
27-4-17 11:02:13.879 | LocalTransferMa | Test worker    | INFO : Cannot create instance of CleanupRemoteFile for file /tmp/syncanytest/syncany-170427110008054-95986-repo/databases/database-A-0000000001; maybe invalid file name pattern. Ignoring file.
27-4-17 11:02:13.880 | ApplicationSqlD | Test worker    | INFO : SQL (general_settings): Read cleanupNumber  = (not set)
27-4-17 11:02:13.880 | DownOperation   | Test worker    | INFO : Populated unknown branches: {A=[A/(A1)/T=1493290933759], B=[]}
27-4-17 11:02:13.880 | DownOperation   | Test worker    | INFO : Determine winner using database reconciliator ...
27-4-17 11:02:13.880 | DatabaseReconci | Test worker    | INFO : Adding database version to winning branch: A/(A1)/T=1493290933759
27-4-17 11:02:13.880 | DatabaseReconci | Test worker    | INFO : - Winner is A with branch: 
27-4-17 11:02:13.880 | DatabaseReconci | Test worker    | INFO :   + A/(A1)/T=1493290933759
27-4-17 11:02:13.880 | DownOperation   | Test worker    | INFO : - Database versions to REMOVE locally: []
27-4-17 11:02:13.880 | DownOperation   | Test worker    | INFO :   + Nothing to purge locally. No conflicts. Only updates. Nice!
27-4-17 11:02:13.880 | DatabaseReconci | Test worker    | INFO : Finding winnersApplyBranch.
27-4-17 11:02:13.880 | DatabaseReconci | Test worker    | INFO : Losers Branch: []
27-4-17 11:02:13.880 | DatabaseReconci | Test worker    | INFO : Winners Branch: [A/(A1)/T=1493290933759]
27-4-17 11:02:13.880 | DownOperation   | Test worker    | INFO : - Cleanup occurred: false
27-4-17 11:02:13.880 | DownOperation   | Test worker    | INFO : - Database versions to APPLY locally: [A/(A1)/T=1493290933759]
27-4-17 11:02:13.880 | DownOperation   | Test worker    | INFO : Loading winners database (DEFAULT) ...
27-4-17 11:02:13.880 | DatabaseXmlSeri | Test worker    | INFO : - Loading database (FULL) from file /tmp/syncanytest/syncany-170427110008054-95986-client-B/.syncany/cache/database-A-0000000001 ...
27-4-17 11:02:13.881 | DatabaseXmlPars | Test worker    | INFO :    + Added database version A/(A1)/T=1493290933759
27-4-17 11:02:13.881 | DownOperation   | Test worker    | INFO : Determine file system actions ...
27-4-17 11:02:13.882 | DatabaseConnect | Test worker    | INFO : Found 12 tables.
27-4-17 11:02:13.882 | FileSystemActio | Test worker    | INFO : - Loading current file tree...
27-4-17 11:02:13.882 | FileSystemActio | Test worker    | INFO : - Determine filesystem actions ...
27-4-17 11:02:13.882 | FileSystemActio | Test worker    | INFO :   + Comparing local version: null
27-4-17 11:02:13.882 | FileSystemActio | Test worker    | INFO :     with winning version   : FileVersion [version=1, path=pre1965.txt, type=FILE, status=NEW, size=51200, lastModified=Thu Dec 31 00:00:00 UTC 1964, linkTarget=null, checksum=c46dffb5c38d6580e5568c0fc7ba1e1405c8ffcb, updated=Thu Apr 27 11:02:13 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]
27-4-17 11:02:13.882 | FileVersionComp | Test worker    | INFO :      - [DELETED]: Local file DIFFERS from file version, expected EXISTS = true, but actual EXISTS = false, for file pre1965.txt
27-4-17 11:02:13.882 | FileSystemActio | Test worker    | INFO :      -> (2) Deleted: Local file does NOT exist, but it should, winning version not known: FileVersion [version=1, path=pre1965.txt, type=FILE, status=NEW, size=51200, lastModified=Thu Dec 31 00:00:00 UTC 1964, linkTarget=null, checksum=c46dffb5c38d6580e5568c0fc7ba1e1405c8ffcb, updated=Thu Apr 27 11:02:13 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-] AND /tmp/syncanytest/syncany-170427110008054-95986-client-B/pre1965.txt
27-4-17 11:02:13.882 | FileSystemActio | Test worker    | INFO :      -> NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=pre1965.txt, type=FILE, status=NEW, size=51200, lastModified=Thu Dec 31 00:00:00 UTC 1964, linkTarget=null, checksum=c46dffb5c38d6580e5568c0fc7ba1e1405c8ffcb, updated=Thu Apr 27 11:02:13 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
27-4-17 11:02:13.883 | DownOperation   | Test worker    | INFO :   + Adding multichunk 6a7f090ada0d975670cdf00e9a9215ea8f8c5f80 to download list ...
27-4-17 11:02:13.883 | Downloader      | Test worker    | INFO : Downloading and extracting multichunks ...
27-4-17 11:02:13.883 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownDownloadFileSyncExternalEvent (org.syncany.operations.daemon.messages.DownDownloadFileSyncExternalEvent@54ad081a) ...
27-4-17 11:02:13.883 | Downloader      | Test worker    | INFO :   + Downloading multichunk 6a7f090ada0d975670cdf00e9a9215ea8f8c5f80 ...
27-4-17 11:02:13.883 | Downloader      | Test worker    | INFO :   + Decrypting multichunk 6a7f090ada0d975670cdf00e9a9215ea8f8c5f80 ...
27-4-17 11:02:13.884 | Downloader      | Test worker    | FINE :   + Locally deleting multichunk 6a7f090ada0d975670cdf00e9a9215ea8f8c5f80 ...
27-4-17 11:02:13.885 | FileSystemActio | Test worker    | INFO :    Sorted actions:
27-4-17 11:02:13.885 | FileSystemActio | Test worker    | INFO :    + NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=pre1965.txt, type=FILE, status=NEW, size=51200, lastModified=Thu Dec 31 00:00:00 UTC 1964, linkTarget=null, checksum=c46dffb5c38d6580e5568c0fc7ba1e1405c8ffcb, updated=Thu Apr 27 11:02:13 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
27-4-17 11:02:13.885 | DownOperation   | Test worker    | FINE : - Applying file system actions (sorted!) ...
27-4-17 11:02:13.885 | DownOperation   | Test worker    | FINE :    +  NewFileSystemAction [file1=null, file2=FileVersion [version=1, path=pre1965.txt, type=FILE, status=NEW, size=51200, lastModified=Thu Dec 31 00:00:00 UTC 1964, linkTarget=null, checksum=c46dffb5c38d6580e5568c0fc7ba1e1405c8ffcb, updated=Thu Apr 27 11:02:13 UTC 2017, posixPermissions=rw-rw-r--, dosAttributes=--a-]]
27-4-17 11:02:13.885 | Assembler       | Test worker    | INFO :      - Creating file pre1965.txt to /tmp/syncanytest/syncany-170427110008054-95986-client-B/.syncany/cache/temp-reconstructedFileVersion-5563468481393756190.tmp ...
27-4-17 11:02:13.886 | FileSystemActio | Test worker    | INFO :      - Setting POSIX permissions: rw-rw-r-- ...
27-4-17 11:02:13.886 | DownOperation   | Test worker    | INFO : - Adding database versions to SQL database ...
27-4-17 11:02:13.886 | DownOperation   | Test worker    | INFO :   + Applying database version (A1)
27-4-17 11:02:13.886 | DownOperation   | Test worker    | FINE :   + Contents: DatabaseVersion [header=A/(A1)/T=1493290933759, chunks=1, multiChunks=1, fileContents=1, fileHistories=1]
27-4-17 11:02:13.893 | ActionFileHandl | Test worker    | INFO : Finishing action for RemoteFile[name=action-down-B-1493290933783] ...
27-4-17 11:02:13.893 | ActionFileHandl | Test worker    | INFO : Deleting action file: RemoteFile[name=action-down-B-1493290933783]
27-4-17 11:02:13.893 | AbstractTransfe | Test worker    | INFO : Cleaning own old action files ...
27-4-17 11:02:13.893 | Cache           | Test worker    | INFO : Cache size okay (51 KB), no need to clean (keep size is 500 MB)
27-4-17 11:02:13.893 | InternalEventBu | Test worker    | INFO : Event bus 'LocalEventBus': Posting event DownEndSyncExternalEvent (org.syncany.operations.daemon.messages.DownEndSyncExternalEvent@40bdac2c) ...
27-4-17 11:02:13.894 | DownOperation   | Test worker    | INFO : Sync down done.