"./sync.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestSyncBackupDir|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncBackupDirWithSuffixKeepExtension|TestSyncCompareDest)$'" - Starting (try 5/5) 2026/06/28 03:59:33 DEBUG : Creating backend with remote "TestMega:rclone-test-ducafap8nemi" 2026/06/28 03:59:33 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/06/28 03:59:33 DEBUG : mega root 'rclone-test-ducafap8nemi': Using previously stored session ID and master key to initialize the Mega API 2026/06/28 03:59:54 DEBUG : Creating backend with remote "/tmp/rclone3938078655" === RUN TestSyncCompareDest run.go:198: Remote "mega root 'rclone-test-ducafap8nemi'", Local "Local file system at /tmp/rclone3938078655", Modify Window "876000h0m0s" 2026/06/28 03:59:54 DEBUG : Creating backend with remote "TestMega:rclone-test-ducafap8nemi/dst" 2026/06/28 03:59:54 DEBUG : mega root 'rclone-test-ducafap8nemi/dst': Using previously stored session ID and master key to initialize the Mega API sync_test.go:2106: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2106 Error: Received unexpected error: login with previous auth keys failed: unexpected end of JSON input Test: TestSyncCompareDest 2026/06/28 04:00:04 ERROR : error listing: directory not found --- FAIL: TestSyncCompareDest (10.62s) === RUN TestSyncBackupDir run.go:198: Remote "mega root 'rclone-test-ducafap8nemi'", Local "Local file system at /tmp/rclone3938078655", Modify Window "876000h0m0s" 2026/06/28 04:00:11 DEBUG : Creating backend with remote "TestMega:rclone-test-ducafap8nemi/dst" 2026/06/28 04:00:11 DEBUG : mega root 'rclone-test-ducafap8nemi/dst': Using previously stored session ID and master key to initialize the Mega API 2026/06/28 04:00:40 DEBUG : Creating backend with remote "TestMega:rclone-test-ducafap8nemi/backup" 2026/06/28 04:00:40 DEBUG : mega root 'rclone-test-ducafap8nemi/backup': Using previously stored session ID and master key to initialize the Mega API 2026/06/28 04:01:08 DEBUG : one: size = 4 (Local file system at /tmp/rclone3938078655) 2026/06/28 04:01:08 DEBUG : one: size = 3 (mega root 'rclone-test-ducafap8nemi/dst') 2026/06/28 04:01:08 DEBUG : one: Sizes differ 2026/06/28 04:01:08 DEBUG : mega root 'rclone-test-ducafap8nemi/dst': Waiting for checks to finish 2026/06/28 04:01:08 DEBUG : two: size = 3 OK 2026/06/28 04:01:08 DEBUG : two: Sizes identical 2026/06/28 04:01:08 DEBUG : two: Unchanged skipping 2026/06/28 04:01:13 INFO : one: Moved (server-side) 2026/06/28 04:01:13 DEBUG : mega root 'rclone-test-ducafap8nemi/dst': Waiting for transfers to finish 2026/06/28 04:01:13 DEBUG : one: size = 4 OK 2026/06/28 04:01:13 INFO : one: Copied (new) 2026/06/28 04:01:13 DEBUG : Waiting for deletions to finish 2026/06/28 04:01:14 INFO : three.txt: Moved (server-side) 2026/06/28 04:01:14 INFO : three.txt: Moved into backup dir 2026/06/28 04:01:14 DEBUG : one: size = 5 (Local file system at /tmp/rclone3938078655) 2026/06/28 04:01:14 DEBUG : one: size = 4 (mega root 'rclone-test-ducafap8nemi/dst') 2026/06/28 04:01:14 DEBUG : one: Sizes differ 2026/06/28 04:01:14 DEBUG : two: size = 3 OK 2026/06/28 04:01:14 DEBUG : two: Sizes identical 2026/06/28 04:01:14 DEBUG : two: Unchanged skipping 2026/06/28 04:01:14 DEBUG : mega root 'rclone-test-ducafap8nemi/dst': Waiting for checks to finish 2026/06/28 04:01:16 INFO : one: Deleted 2026/06/28 04:01:17 INFO : one: Moved (server-side) 2026/06/28 04:01:17 DEBUG : mega root 'rclone-test-ducafap8nemi/dst': Waiting for transfers to finish 2026/06/28 04:01:18 DEBUG : one: size = 5 OK 2026/06/28 04:01:18 INFO : one: Copied (new) 2026/06/28 04:01:18 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:358 /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:1771 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: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:358 /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 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:358 /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" --- FAIL: TestSyncBackupDir (87.09s) === RUN TestSyncBackupDirWithSuffix run.go:198: Remote "mega root 'rclone-test-ducafap8nemi'", Local "Local file system at /tmp/rclone3938078655", Modify Window "876000h0m0s" 2026/06/28 04:01:34 DEBUG : Creating backend with remote "TestMega:rclone-test-ducafap8nemi/dst" 2026/06/28 04:01:34 DEBUG : mega root 'rclone-test-ducafap8nemi/dst': Using previously stored session ID and master key to initialize the Mega API 2026/06/28 04:01:55 DEBUG : Creating backend with remote "TestMega:rclone-test-ducafap8nemi/backup" 2026/06/28 04:01:55 DEBUG : mega root 'rclone-test-ducafap8nemi/backup': Using previously stored session ID and master key to initialize the Mega API 2026/06/28 04:02:19 DEBUG : one: size = 4 (Local file system at /tmp/rclone3938078655) 2026/06/28 04:02:19 DEBUG : mega root 'rclone-test-ducafap8nemi/dst': Waiting for checks to finish 2026/06/28 04:02:19 DEBUG : one: size = 3 (mega root 'rclone-test-ducafap8nemi/dst') 2026/06/28 04:02:19 DEBUG : one: Sizes differ 2026/06/28 04:02:19 DEBUG : two: size = 3 OK 2026/06/28 04:02:19 DEBUG : two: Sizes identical 2026/06/28 04:02:19 DEBUG : two: Unchanged skipping 2026/06/28 04:02:22 INFO : one: Moved (server-side) to: one.bak 2026/06/28 04:02:22 DEBUG : mega root 'rclone-test-ducafap8nemi/dst': Waiting for transfers to finish 2026/06/28 04:02:33 ERROR : one: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/06/28 04:02:33 ERROR : mega root 'rclone-test-ducafap8nemi/dst': not deleting files as there were IO errors 2026/06/28 04:02:33 ERROR : mega root 'rclone-test-ducafap8nemi/dst': not deleting directories as there were IO errors sync_test.go:2416: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2416 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2462 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestSyncBackupDirWithSuffix --- FAIL: TestSyncBackupDirWithSuffix (73.47s) === RUN TestSyncBackupDirWithSuffixKeepExtension run.go:198: Remote "mega root 'rclone-test-ducafap8nemi'", Local "Local file system at /tmp/rclone3938078655", Modify Window "876000h0m0s" 2026/06/28 04:02:47 DEBUG : Creating backend with remote "TestMega:rclone-test-ducafap8nemi/dst" 2026/06/28 04:02:47 DEBUG : mega root 'rclone-test-ducafap8nemi/dst': Using previously stored session ID and master key to initialize the Mega API 2026/06/28 04:03:12 DEBUG : Creating backend with remote "TestMega:rclone-test-ducafap8nemi/backup" 2026/06/28 04:03:12 DEBUG : mega root 'rclone-test-ducafap8nemi/backup': Using previously stored session ID and master key to initialize the Mega API 2026/06/28 04:03:32 DEBUG : one: size = 4 (Local file system at /tmp/rclone3938078655) 2026/06/28 04:03:32 DEBUG : one: size = 3 (mega root 'rclone-test-ducafap8nemi/dst') 2026/06/28 04:03:32 DEBUG : one: Sizes differ 2026/06/28 04:03:32 DEBUG : two: size = 3 OK 2026/06/28 04:03:32 DEBUG : two: Sizes identical 2026/06/28 04:03:32 DEBUG : two: Unchanged skipping 2026/06/28 04:03:32 DEBUG : mega root 'rclone-test-ducafap8nemi/dst': Waiting for checks to finish 2026/06/28 04:03:34 INFO : one: Moved (server-side) to: one-2019-01-01 2026/06/28 04:03:34 DEBUG : mega root 'rclone-test-ducafap8nemi/dst': Waiting for transfers to finish 2026/06/28 04:03:35 DEBUG : one: size = 4 OK 2026/06/28 04:03:35 INFO : one: Copied (new) 2026/06/28 04:03:35 DEBUG : Waiting for deletions to finish 2026/06/28 04:03:35 INFO : three.txt: Moved (server-side) to: three-2019-01-01.txt 2026/06/28 04:03:35 INFO : three.txt: Moved into backup dir run.go:303: Failed to put "dst/three.txt" to "mega root 'rclone-test-ducafap8nemi'": upload file failed to create session: unexpected end of JSON input --- FAIL: TestSyncBackupDirWithSuffixKeepExtension (62.06s) === RUN TestSyncBackupDirSuffixOnly run.go:198: Remote "mega root 'rclone-test-ducafap8nemi'", Local "Local file system at /tmp/rclone3938078655", Modify Window "876000h0m0s" run.go:303: Failed to put "dst/one" to "mega root 'rclone-test-ducafap8nemi'": mkdir create node failed: unexpected end of JSON input --- FAIL: TestSyncBackupDirSuffixOnly (10.66s) FAIL 2026/06/28 04:03:58 DEBUG : mega root 'rclone-test-ducafap8nemi': Purge remote "./sync.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestSyncBackupDir|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncBackupDirWithSuffixKeepExtension|TestSyncCompareDest)$'" - Finished ERROR in 4m25.859454864s (try 5/5): exit status 1: Failed [TestSyncCompareDest TestSyncBackupDir TestSyncBackupDirWithSuffix TestSyncBackupDirWithSuffixKeepExtension TestSyncBackupDirSuffixOnly]