"./sync.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestServerSideMoveWithFilter|TestSyncBackupDir|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncBackupDirWithSuffixKeepExtension|TestSyncCompareDest)$'" - Starting (try 2/5) 2026/01/02 03:26:13 DEBUG : Creating backend with remote "TestMega:rclone-test-zuciboq1rono" 2026/01/02 03:26:13 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/01/02 03:26:13 DEBUG : mega root 'rclone-test-zuciboq1rono': Using previously stored session ID and master key to initialize the Mega API 2026/01/02 03:26:26 DEBUG : Creating backend with remote "/tmp/rclone3398904053" === RUN TestServerSideMoveWithFilter run.go:185: Remote "mega root 'rclone-test-zuciboq1rono'", Local "Local file system at /tmp/rclone3398904053", Modify Window "876000h0m0s" 2026/01/02 03:26:26 DEBUG : Creating backend with remote "TestMega:rclone-test-rahezol3jaha" 2026/01/02 03:26:26 DEBUG : mega root 'rclone-test-rahezol3jaha': Using previously stored session ID and master key to initialize the Mega API sync_test.go:1736: Server side move (if possible) mega root 'rclone-test-zuciboq1rono' -> mega root 'rclone-test-rahezol3jaha' 2026/01/02 03:26:44 DEBUG : empty space: Excluded (Size Filter) 2026/01/02 03:26:44 DEBUG : empty space: Excluded 2026/01/02 03:26:44 DEBUG : empty space: Excluded (Size Filter) 2026/01/02 03:26:44 DEBUG : empty space: Excluded 2026/01/02 03:26:44 DEBUG : potato2: Need to transfer - File not found at Destination 2026/01/02 03:26:44 DEBUG : mega root 'rclone-test-rahezol3jaha': Waiting for checks to finish 2026/01/02 03:26:44 DEBUG : potato3: size = 68 (mega root 'rclone-test-zuciboq1rono') 2026/01/02 03:26:44 DEBUG : potato3: size = 60 (mega root 'rclone-test-rahezol3jaha') 2026/01/02 03:26:44 DEBUG : potato3: Sizes differ 2026/01/02 03:26:44 DEBUG : mega root 'rclone-test-rahezol3jaha': Waiting for transfers to finish 2026/01/02 03:26:44 INFO : potato3: Deleted 2026/01/02 03:26:44 INFO : potato2: Moved (server-side) 2026/01/02 03:26:44 INFO : potato3: Moved (server-side) 2026/01/02 03:26:44 DEBUG : Creating backend with remote "TestMega:rclone-test-mequgec1bubu" 2026/01/02 03:26:44 DEBUG : mega root 'rclone-test-mequgec1bubu': Using previously stored session ID and master key to initialize the Mega API 2026/01/02 03:26:58 DEBUG : empty space: Excluded (Size Filter) 2026/01/02 03:26:58 DEBUG : empty space: Excluded 2026/01/02 03:26:58 DEBUG : potato2: Need to transfer - File not found at Destination 2026/01/02 03:26:58 DEBUG : potato3: Need to transfer - File not found at Destination 2026/01/02 03:26:58 DEBUG : mega root 'rclone-test-mequgec1bubu': Waiting for checks to finish 2026/01/02 03:26:58 DEBUG : mega root 'rclone-test-mequgec1bubu': Waiting for transfers to finish 2026/01/02 03:26:59 INFO : potato2: Moved (server-side) 2026/01/02 03:26:59 INFO : potato3: Moved (server-side) fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure 2026/01/02 03:27:06 DEBUG : mega root 'rclone-test-mequgec1bubu': Purge remote 2026/01/02 03:27:06 DEBUG : mega root 'rclone-test-rahezol3jaha': Purge remote --- PASS: TestServerSideMoveWithFilter (40.17s) === RUN TestSyncCompareDest run.go:185: Remote "mega root 'rclone-test-zuciboq1rono'", Local "Local file system at /tmp/rclone3398904053", Modify Window "876000h0m0s" 2026/01/02 03:27:06 DEBUG : Creating backend with remote "TestMega:rclone-test-zuciboq1rono/dst" 2026/01/02 03:27:06 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Using previously stored session ID and master key to initialize the Mega API 2026/01/02 03:27:20 DEBUG : Creating backend with remote "TestMega:rclone-test-zuciboq1rono/CompareDest" 2026/01/02 03:27:20 DEBUG : mega root 'rclone-test-zuciboq1rono/CompareDest': Using previously stored session ID and master key to initialize the Mega API 2026/01/02 03:27:33 DEBUG : one: Need to transfer - File not found at Destination 2026/01/02 03:27:33 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for checks to finish 2026/01/02 03:27:33 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for transfers to finish 2026/01/02 03:27:36 DEBUG : one: size = 3 OK 2026/01/02 03:27:36 INFO : one: Copied (new) 2026/01/02 03:27:36 DEBUG : Waiting for deletions to finish 2026/01/02 03:27:36 DEBUG : one: size = 5 (Local file system at /tmp/rclone3398904053) 2026/01/02 03:27:36 DEBUG : one: size = 3 (mega root 'rclone-test-zuciboq1rono/dst') 2026/01/02 03:27:36 DEBUG : one: Sizes differ 2026/01/02 03:27:36 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for checks to finish 2026/01/02 03:27:36 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for transfers to finish 2026/01/02 03:27:38 DEBUG : one: size = 5 OK 2026/01/02 03:27:38 INFO : one: Copied (replaced existing) 2026/01/02 03:27:38 DEBUG : Waiting for deletions to finish fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure 2026/01/02 03:27:45 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for checks to finish 2026/01/02 03:27:45 DEBUG : one: size = 5 OK 2026/01/02 03:27:45 DEBUG : one: Sizes identical 2026/01/02 03:27:45 DEBUG : one: Unchanged skipping 2026/01/02 03:27:45 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for transfers to finish 2026/01/02 03:27:45 DEBUG : Waiting for deletions to finish 2026/01/02 03:27:45 INFO : There was nothing to transfer 2026/01/02 03:27:46 DEBUG : two: size = 3 OK 2026/01/02 03:27:46 DEBUG : two: Sizes identical 2026/01/02 03:27:46 DEBUG : two: Destination found in --compare-dest, skipping 2026/01/02 03:27:46 DEBUG : one: size = 5 OK 2026/01/02 03:27:46 DEBUG : one: Sizes identical 2026/01/02 03:27:46 DEBUG : one: Unchanged skipping 2026/01/02 03:27:46 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for checks to finish 2026/01/02 03:27:46 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for transfers to finish 2026/01/02 03:27:46 DEBUG : Waiting for deletions to finish 2026/01/02 03:27:46 INFO : There was nothing to transfer 2026/01/02 03:27:46 DEBUG : two: size = 3 OK 2026/01/02 03:27:46 DEBUG : two: Sizes identical 2026/01/02 03:27:46 DEBUG : two: Destination found in --compare-dest, skipping 2026/01/02 03:27:46 DEBUG : one: size = 5 OK 2026/01/02 03:27:46 DEBUG : one: Sizes identical 2026/01/02 03:27:46 DEBUG : one: Unchanged skipping 2026/01/02 03:27:46 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for checks to finish 2026/01/02 03:27:46 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for transfers to finish 2026/01/02 03:27:46 DEBUG : Waiting for deletions to finish 2026/01/02 03:27:46 INFO : There was nothing to transfer sync_test.go:2206: No hash on uploaded file so skipping compare timestamp test 2026/01/02 03:27:46 DEBUG : two: size = 5 (Local file system at /tmp/rclone3398904053) 2026/01/02 03:27:46 DEBUG : two: size = 3 (mega root 'rclone-test-zuciboq1rono/CompareDest') 2026/01/02 03:27:46 DEBUG : two: Sizes differ 2026/01/02 03:27:46 DEBUG : two: Need to transfer - File not found at Destination 2026/01/02 03:27:46 DEBUG : one: size = 5 OK 2026/01/02 03:27:46 DEBUG : one: Sizes identical 2026/01/02 03:27:46 DEBUG : one: Unchanged skipping 2026/01/02 03:27:46 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for checks to finish 2026/01/02 03:27:46 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for transfers to finish 2026/01/02 03:27:46 DEBUG : two: size = 5 OK 2026/01/02 03:27:46 INFO : two: Copied (new) 2026/01/02 03:27:46 DEBUG : Waiting for deletions to finish fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- PASS: TestSyncCompareDest (47.91s) === RUN TestSyncBackupDir run.go:185: Remote "mega root 'rclone-test-zuciboq1rono'", Local "Local file system at /tmp/rclone3398904053", Modify Window "876000h0m0s" 2026/01/02 03:27:55 DEBUG : Creating backend with remote "TestMega:rclone-test-zuciboq1rono/dst" 2026/01/02 03:27:55 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Using previously stored session ID and master key to initialize the Mega API 2026/01/02 03:28:11 DEBUG : Creating backend with remote "TestMega:rclone-test-zuciboq1rono/backup" 2026/01/02 03:28:11 DEBUG : mega root 'rclone-test-zuciboq1rono/backup': Using previously stored session ID and master key to initialize the Mega API 2026/01/02 03:28:26 DEBUG : one: size = 4 (Local file system at /tmp/rclone3398904053) 2026/01/02 03:28:26 DEBUG : one: size = 3 (mega root 'rclone-test-zuciboq1rono/dst') 2026/01/02 03:28:26 DEBUG : one: Sizes differ 2026/01/02 03:28:26 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for checks to finish 2026/01/02 03:28:26 DEBUG : two: size = 3 OK 2026/01/02 03:28:26 DEBUG : two: Sizes identical 2026/01/02 03:28:26 DEBUG : two: Unchanged skipping 2026/01/02 03:28:31 INFO : one: Moved (server-side) 2026/01/02 03:28:31 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for transfers to finish 2026/01/02 03:28:32 DEBUG : one: size = 4 OK 2026/01/02 03:28:32 INFO : one: Copied (new) 2026/01/02 03:28:32 DEBUG : Waiting for deletions to finish 2026/01/02 03:28:34 INFO : three.txt: Moved (server-side) 2026/01/02 03:28:34 INFO : three.txt: Moved into backup dir 2026/01/02 03:28:34 DEBUG : one: size = 5 (Local file system at /tmp/rclone3398904053) 2026/01/02 03:28:34 DEBUG : two: size = 3 OK 2026/01/02 03:28:34 DEBUG : one: size = 4 (mega root 'rclone-test-zuciboq1rono/dst') 2026/01/02 03:28:34 DEBUG : one: Sizes differ 2026/01/02 03:28:34 DEBUG : two: Sizes identical 2026/01/02 03:28:34 DEBUG : two: Unchanged skipping 2026/01/02 03:28:34 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for checks to finish 2026/01/02 03:28:36 INFO : one: Deleted 2026/01/02 03:28:36 INFO : one: Moved (server-side) 2026/01/02 03:28:36 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for transfers to finish 2026/01/02 03:28:38 DEBUG : one: size = 5 OK 2026/01/02 03:28:38 INFO : one: Copied (new) 2026/01/02 03:28:38 DEBUG : Waiting for deletions to finish fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2454 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2458 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestSyncBackupDir Messages: listing wrong, want backup/one (4), backup/three.txt (6), dst/one (5), dst/two (3) got backup/one (4), backup/three.txt (5), dst/one (5), dst/three.txt (6), dst/two (3) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2454 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2458 Error: Should be true Test: TestSyncBackupDir Messages: Unexpected file "dst/three.txt" fstest.go:150: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:150 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:195 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2454 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2458 Error: Not equal: expected: 6 actual : 5 Test: TestSyncBackupDir Messages: backup/three.txt: size incorrect file=6 vs obj=5 --- FAIL: TestSyncBackupDir (56.03s) === RUN TestSyncBackupDirWithSuffix run.go:185: Remote "mega root 'rclone-test-zuciboq1rono'", Local "Local file system at /tmp/rclone3398904053", Modify Window "876000h0m0s" 2026/01/02 03:28:55 DEBUG : Creating backend with remote "TestMega:rclone-test-zuciboq1rono/dst" 2026/01/02 03:28:55 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Using previously stored session ID and master key to initialize the Mega API 2026/01/02 03:29:08 DEBUG : Creating backend with remote "TestMega:rclone-test-zuciboq1rono/backup" 2026/01/02 03:29:08 DEBUG : mega root 'rclone-test-zuciboq1rono/backup': Using previously stored session ID and master key to initialize the Mega API 2026/01/02 03:29:22 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for checks to finish 2026/01/02 03:29:22 DEBUG : one: size = 4 (Local file system at /tmp/rclone3398904053) 2026/01/02 03:29:22 DEBUG : one: size = 3 (mega root 'rclone-test-zuciboq1rono/dst') 2026/01/02 03:29:22 DEBUG : one: Sizes differ 2026/01/02 03:29:22 DEBUG : two: size = 3 OK 2026/01/02 03:29:22 DEBUG : two: Sizes identical 2026/01/02 03:29:22 DEBUG : two: Unchanged skipping 2026/01/02 03:29:24 INFO : one: Moved (server-side) to: one.bak 2026/01/02 03:29:24 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for transfers to finish 2026/01/02 03:29:24 DEBUG : one: size = 4 OK 2026/01/02 03:29:24 INFO : one: Copied (new) 2026/01/02 03:29:24 DEBUG : Waiting for deletions to finish 2026/01/02 03:29:47 INFO : three.txt: Moved (server-side) to: three.txt.bak 2026/01/02 03:29:47 INFO : three.txt: Moved into backup dir fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2429 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2462 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestSyncBackupDirWithSuffix Messages: listing wrong, want backup/one.bak (3), backup/three.txt.bak (5), dst/one (4), dst/two (3) got backup/one.bak (3), dst/one (4), dst/three.txt (5), dst/two (3) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2429 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2462 Error: Should be true Test: TestSyncBackupDirWithSuffix Messages: Unexpected file "dst/three.txt" fstest.go:203: Not found "backup/three.txt.bak" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2429 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2462 Error: Not equal: expected: 0 actual : 1 Test: TestSyncBackupDirWithSuffix Messages: 1 objects not found fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2435 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2462 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestSyncBackupDirWithSuffix Messages: listing wrong, want backup/one.bak (3), backup/three.txt.bak (5), dst/one (4), dst/three.txt (6), dst/two (3) got backup/one.bak (3), dst/one (4), dst/three.txt (6), dst/two (3) fstest.go:203: Not found "backup/three.txt.bak" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2435 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2462 Error: Not equal: expected: 0 actual : 1 Test: TestSyncBackupDirWithSuffix Messages: 1 objects not found 2026/01/02 03:30:02 DEBUG : one: size = 5 (Local file system at /tmp/rclone3398904053) 2026/01/02 03:30:02 DEBUG : one: size = 4 (mega root 'rclone-test-zuciboq1rono/dst') 2026/01/02 03:30:02 DEBUG : one: Sizes differ 2026/01/02 03:30:02 DEBUG : two: size = 3 OK 2026/01/02 03:30:02 DEBUG : two: Sizes identical 2026/01/02 03:30:02 DEBUG : two: Unchanged skipping 2026/01/02 03:30:02 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for checks to finish 2026/01/02 03:30:04 INFO : one.bak: Deleted 2026/01/02 03:30:04 INFO : one: Moved (server-side) to: one.bak 2026/01/02 03:30:04 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for transfers to finish 2026/01/02 03:30:04 DEBUG : one: size = 5 OK 2026/01/02 03:30:04 INFO : one: Copied (new) 2026/01/02 03:30:04 DEBUG : Waiting for deletions to finish 2026/01/02 03:30:05 INFO : three.txt: Moved (server-side) to: three.txt.bak 2026/01/02 03:30:05 INFO : three.txt: Moved into backup dir fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- FAIL: TestSyncBackupDirWithSuffix (89.81s) === RUN TestSyncBackupDirWithSuffixKeepExtension run.go:185: Remote "mega root 'rclone-test-zuciboq1rono'", Local "Local file system at /tmp/rclone3398904053", Modify Window "876000h0m0s" run.go:290: Failed to put "dst/one" to "mega root 'rclone-test-zuciboq1rono'": upload file failed to create session: unexpected end of JSON input --- FAIL: TestSyncBackupDirWithSuffixKeepExtension (22.56s) === RUN TestSyncBackupDirSuffixOnly run.go:185: Remote "mega root 'rclone-test-zuciboq1rono'", Local "Local file system at /tmp/rclone3398904053", Modify Window "876000h0m0s" 2026/01/02 03:30:47 DEBUG : Creating backend with remote "TestMega:rclone-test-zuciboq1rono/dst" 2026/01/02 03:30:47 DEBUG : Config file has changed externally - reloading 2026/01/02 03:30:47 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Using previously stored session ID and master key to initialize the Mega API 2026/01/02 03:31:05 DEBUG : one: size = 4 (Local file system at /tmp/rclone3398904053) 2026/01/02 03:31:05 DEBUG : one: size = 3 (mega root 'rclone-test-zuciboq1rono/dst') 2026/01/02 03:31:05 DEBUG : one: Sizes differ 2026/01/02 03:31:05 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for checks to finish 2026/01/02 03:31:05 DEBUG : two: size = 3 OK 2026/01/02 03:31:05 DEBUG : two: Sizes identical 2026/01/02 03:31:05 DEBUG : two: Unchanged skipping 2026/01/02 03:31:05 INFO : one: Moved (server-side) to: one.bak 2026/01/02 03:31:05 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for transfers to finish 2026/01/02 03:31:06 DEBUG : one: size = 4 OK 2026/01/02 03:31:06 INFO : one: Copied (new) 2026/01/02 03:31:06 DEBUG : Waiting for deletions to finish 2026/01/02 03:31:06 INFO : three.txt: Moved (server-side) to: three.txt.bak 2026/01/02 03:31:06 INFO : three.txt: Moved into backup dir 2026/01/02 03:31:08 DEBUG : one.bak: Excluded (Path Filter) 2026/01/02 03:31:08 DEBUG : one.bak: Excluded 2026/01/02 03:31:08 DEBUG : three.txt.bak: Excluded (Path Filter) 2026/01/02 03:31:08 DEBUG : three.txt.bak: Excluded 2026/01/02 03:31:08 DEBUG : one: size = 5 (Local file system at /tmp/rclone3398904053) 2026/01/02 03:31:08 DEBUG : one: size = 4 (mega root 'rclone-test-zuciboq1rono/dst') 2026/01/02 03:31:08 DEBUG : one: Sizes differ 2026/01/02 03:31:08 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for checks to finish 2026/01/02 03:31:08 INFO : one.bak: Deleted 2026/01/02 03:31:08 DEBUG : two: size = 3 OK 2026/01/02 03:31:08 DEBUG : two: Sizes identical 2026/01/02 03:31:08 DEBUG : two: Unchanged skipping 2026/01/02 03:31:08 INFO : one: Moved (server-side) to: one.bak 2026/01/02 03:31:08 DEBUG : mega root 'rclone-test-zuciboq1rono/dst': Waiting for transfers to finish 2026/01/02 03:31:10 DEBUG : one: size = 5 OK 2026/01/02 03:31:10 INFO : one: Copied (new) 2026/01/02 03:31:10 DEBUG : Waiting for deletions to finish fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2454 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2470 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestSyncBackupDirSuffixOnly Messages: listing wrong, want dst/one (5), dst/one.bak (4), dst/three.txt.bak (6), dst/two (3) got dst/one (5), dst/one.bak (4), dst/three.txt (6), dst/three.txt.bak (5), dst/two (3) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2454 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2470 Error: Should be true Test: TestSyncBackupDirSuffixOnly Messages: Unexpected file "dst/three.txt" fstest.go:150: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:150 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:195 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2454 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2470 Error: Not equal: expected: 6 actual : 5 Test: TestSyncBackupDirSuffixOnly Messages: dst/three.txt.bak: size incorrect file=6 vs obj=5 --- FAIL: TestSyncBackupDirSuffixOnly (42.93s) FAIL 2026/01/02 03:31:26 DEBUG : mega root 'rclone-test-zuciboq1rono': Purge remote "./sync.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestServerSideMoveWithFilter|TestSyncBackupDir|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncBackupDirWithSuffixKeepExtension|TestSyncCompareDest)$'" - Finished ERROR in 5m13.224317061s (try 2/5): exit status 1: Failed [TestSyncBackupDir TestSyncBackupDirWithSuffix TestSyncBackupDirWithSuffixKeepExtension TestSyncBackupDirSuffixOnly]