"./sync.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestMoveWithDeleteEmptySrcDirs|TestMoveWithIgnoreExisting|TestMoveWithoutDeleteEmptySrcDirs|TestServerSideMove|TestServerSideMoveDeleteEmptySourceDirs|TestServerSideMoveLocal|TestServerSideMoveOverlap|TestServerSideMoveWithFilter|TestSyncBackupDir|TestSyncBackupDirWithSuffix|TestSyncCompareDest|TestSyncCopyDest|TestSyncMultipleCompareDest|TestSyncOverlap|TestSyncOverlapWithFilter|TestSyncWithTrackRenamesStrategyLeaf)$'" - Starting (try 4/5) 2026/01/09 04:25:35 DEBUG : Creating backend with remote "TestMega:rclone-test-fenekap6ganu" 2026/01/09 04:25:35 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/01/09 04:25:35 DEBUG : mega root 'rclone-test-fenekap6ganu': Using previously stored session ID and master key to initialize the Mega API 2026/01/09 04:25:54 DEBUG : Creating backend with remote "/tmp/rclone3577323347" === RUN TestSyncWithTrackRenamesStrategyLeaf run.go:185: Remote "mega root 'rclone-test-fenekap6ganu'", Local "Local file system at /tmp/rclone3577323347", Modify Window "876000h0m0s" sync_test.go:1680: Can track renames: false 2026/01/09 04:25:54 INFO : mega root 'rclone-test-fenekap6ganu': Making map for --track-renames 2026/01/09 04:25:54 INFO : mega root 'rclone-test-fenekap6ganu': Finished making map for --track-renames 2026/01/09 04:25:54 DEBUG : mega root 'rclone-test-fenekap6ganu': Waiting for checks to finish 2026/01/09 04:25:54 DEBUG : potato: Need to transfer - No matching file found at Destination 2026/01/09 04:25:54 DEBUG : sub/yam: Need to transfer - No matching file found at Destination 2026/01/09 04:25:54 DEBUG : mega root 'rclone-test-fenekap6ganu': Waiting for renames to finish 2026/01/09 04:25:54 DEBUG : mega root 'rclone-test-fenekap6ganu': Waiting for transfers to finish 2026/01/09 04:26:04 ERROR : potato: Failed to copy: mkdir create node failed: unexpected end of JSON input 2026/01/09 04:26:15 ERROR : sub/yam: Failed to copy: mkdir create node failed: unexpected end of JSON input 2026/01/09 04:26:15 ERROR : mega root 'rclone-test-fenekap6ganu': not deleting files as there were IO errors 2026/01/09 04:26:15 ERROR : mega root 'rclone-test-fenekap6ganu': not deleting directories as there were IO errors sync_test.go:1687: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1687 Error: Received unexpected error: mkdir create node failed: unexpected end of JSON input Test: TestSyncWithTrackRenamesStrategyLeaf 2026/01/09 04:26:15 ERROR : error listing: directory not found --- FAIL: TestSyncWithTrackRenamesStrategyLeaf (21.52s) === RUN TestServerSideMoveLocal run.go:185: Remote "mega root 'rclone-test-fenekap6ganu'", Local "Local file system at /tmp/rclone3577323347", Modify Window "876000h0m0s" 2026/01/09 04:26:15 DEBUG : Creating backend with remote "/tmp/rclone3577323347/dir1" 2026/01/09 04:26:15 DEBUG : Creating backend with remote "/tmp/rclone3577323347/dir2" 2026/01/09 04:26:15 DEBUG : Local file system at /tmp/rclone3577323347/dir2: Using server-side directory move 2026/01/09 04:26:15 INFO : Local file system at /tmp/rclone3577323347/dir2: Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2026/01/09 04:26:15 DEBUG : file1.txt: Need to transfer - File not found at Destination 2026/01/09 04:26:15 INFO : file1.txt: Moved (server-side) 2026/01/09 04:26:15 DEBUG : Local file system at /tmp/rclone3577323347/dir2: Waiting for checks to finish 2026/01/09 04:26:15 DEBUG : Local file system at /tmp/rclone3577323347/dir2: Waiting for transfers to finish 2026/01/09 04:26:15 ERROR : error listing: directory not found --- PASS: TestServerSideMoveLocal (0.01s) === RUN TestMoveWithDeleteEmptySrcDirs run.go:185: Remote "mega root 'rclone-test-fenekap6ganu'", Local "Local file system at /tmp/rclone3577323347", Modify Window "876000h0m0s" run.go:242: Failed to mkdir "mega root 'rclone-test-fenekap6ganu'": mkdir create node failed: unexpected end of JSON input 2026/01/09 04:26:26 ERROR : error listing: directory not found --- FAIL: TestMoveWithDeleteEmptySrcDirs (10.56s) === RUN TestMoveWithoutDeleteEmptySrcDirs run.go:185: Remote "mega root 'rclone-test-fenekap6ganu'", Local "Local file system at /tmp/rclone3577323347", Modify Window "876000h0m0s" run.go:242: Failed to mkdir "mega root 'rclone-test-fenekap6ganu'": mkdir create node failed: unexpected end of JSON input 2026/01/09 04:26:36 ERROR : error listing: directory not found --- FAIL: TestMoveWithoutDeleteEmptySrcDirs (10.55s) === RUN TestMoveWithIgnoreExisting run.go:185: Remote "mega root 'rclone-test-fenekap6ganu'", Local "Local file system at /tmp/rclone3577323347", Modify Window "876000h0m0s" 2026/01/09 04:26:36 DEBUG : existing-b: Need to transfer - File not found at Destination 2026/01/09 04:26:36 DEBUG : existing: Need to transfer - File not found at Destination 2026/01/09 04:26:36 DEBUG : mega root 'rclone-test-fenekap6ganu': Waiting for checks to finish 2026/01/09 04:26:36 DEBUG : mega root 'rclone-test-fenekap6ganu': Waiting for transfers to finish 2026/01/09 04:26:47 ERROR : existing-b: Failed to copy: mkdir create node failed: unexpected end of JSON input 2026/01/09 04:26:47 ERROR : existing-b: Not deleting source as copy failed: mkdir create node failed: unexpected end of JSON input 2026/01/09 04:26:57 ERROR : existing: Failed to copy: mkdir create node failed: unexpected end of JSON input 2026/01/09 04:26:57 ERROR : existing: Not deleting source as copy failed: mkdir create node failed: unexpected end of JSON input sync_test.go:1866: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1866 Error: Received unexpected error: mkdir create node failed: unexpected end of JSON input Test: TestMoveWithIgnoreExisting 2026/01/09 04:26:57 ERROR : error listing: directory not found --- FAIL: TestMoveWithIgnoreExisting (20.97s) === RUN TestServerSideMove run.go:185: Remote "mega root 'rclone-test-fenekap6ganu'", Local "Local file system at /tmp/rclone3577323347", Modify Window "876000h0m0s" 2026/01/09 04:26:57 DEBUG : Creating backend with remote "TestMega:rclone-test-maxajaf7duqo" 2026/01/09 04:26:57 DEBUG : mega root 'rclone-test-maxajaf7duqo': Using previously stored session ID and master key to initialize the Mega API 2026/01/09 04:27:08 DEBUG : mega root 'rclone-test-maxajaf7duqo': login with previous auth keys failed: unexpected end of JSON input run.go:242: Failed to mkdir "mega root 'rclone-test-fenekap6ganu'": mkdir create node failed: unexpected end of JSON input 2026/01/09 04:27:19 DEBUG : mega root 'rclone-test-maxajaf7duqo': Purge remote 2026/01/09 04:27:19 NOTICE: purge failed: Invalid arguments 2026/01/09 04:27:19 ERROR : error listing: directory not found --- FAIL: TestServerSideMove (21.44s) === RUN TestServerSideMoveWithFilter run.go:185: Remote "mega root 'rclone-test-fenekap6ganu'", Local "Local file system at /tmp/rclone3577323347", Modify Window "876000h0m0s" 2026/01/09 04:27:19 DEBUG : Creating backend with remote "TestMega:rclone-test-numijof9zuli" 2026/01/09 04:27:19 DEBUG : mega root 'rclone-test-numijof9zuli': Using previously stored session ID and master key to initialize the Mega API 2026/01/09 04:27:29 DEBUG : mega root 'rclone-test-numijof9zuli': login with previous auth keys failed: unexpected end of JSON input run.go:242: Failed to mkdir "mega root 'rclone-test-fenekap6ganu'": mkdir create node failed: unexpected end of JSON input 2026/01/09 04:27:40 DEBUG : mega root 'rclone-test-numijof9zuli': Purge remote 2026/01/09 04:27:40 NOTICE: purge failed: Invalid arguments 2026/01/09 04:27:40 ERROR : error listing: directory not found --- FAIL: TestServerSideMoveWithFilter (21.15s) === RUN TestServerSideMoveDeleteEmptySourceDirs run.go:185: Remote "mega root 'rclone-test-fenekap6ganu'", Local "Local file system at /tmp/rclone3577323347", Modify Window "876000h0m0s" 2026/01/09 04:27:40 DEBUG : Creating backend with remote "TestMega:rclone-test-dowojib6qite" 2026/01/09 04:27:40 DEBUG : mega root 'rclone-test-dowojib6qite': Using previously stored session ID and master key to initialize the Mega API 2026/01/09 04:27:50 DEBUG : mega root 'rclone-test-dowojib6qite': login with previous auth keys failed: unexpected end of JSON input run.go:242: Failed to mkdir "mega root 'rclone-test-fenekap6ganu'": mkdir create node failed: unexpected end of JSON input 2026/01/09 04:28:01 DEBUG : mega root 'rclone-test-dowojib6qite': Purge remote 2026/01/09 04:28:01 NOTICE: purge failed: Invalid arguments 2026/01/09 04:28:01 ERROR : error listing: directory not found --- FAIL: TestServerSideMoveDeleteEmptySourceDirs (21.19s) === RUN TestServerSideMoveOverlap run.go:185: Remote "mega root 'rclone-test-fenekap6ganu'", Local "Local file system at /tmp/rclone3577323347", Modify Window "876000h0m0s" sync_test.go:1941: Skipping test as remote supports DirMove 2026/01/09 04:28:01 ERROR : error listing: directory not found --- SKIP: TestServerSideMoveOverlap (0.00s) === RUN TestSyncOverlap run.go:185: Remote "mega root 'rclone-test-fenekap6ganu'", Local "Local file system at /tmp/rclone3577323347", Modify Window "876000h0m0s" 2026/01/09 04:28:01 DEBUG : Creating backend with remote "TestMega:rclone-test-fenekap6ganu/rclone-sync-test" 2026/01/09 04:28:01 DEBUG : Config file has changed externally - reloading 2026/01/09 04:28:01 DEBUG : mega root 'rclone-test-fenekap6ganu/rclone-sync-test': Using previously stored session ID and master key to initialize the Mega API 2026/01/09 04:28:12 DEBUG : mega root 'rclone-test-fenekap6ganu/rclone-sync-test': login with previous auth keys failed: unexpected end of JSON input 2026/01/09 04:28:12 ERROR : error listing: directory not found --- PASS: TestSyncOverlap (10.59s) === RUN TestSyncOverlapWithFilter run.go:185: Remote "mega root 'rclone-test-fenekap6ganu'", Local "Local file system at /tmp/rclone3577323347", Modify Window "876000h0m0s" 2026/01/09 04:28:12 DEBUG : Creating backend with remote "TestMega:rclone-test-fenekap6ganu/rclone-sync-test" 2026/01/09 04:28:12 DEBUG : mega root 'rclone-test-fenekap6ganu/rclone-sync-test': Using previously stored session ID and master key to initialize the Mega API 2026/01/09 04:28:22 DEBUG : mega root 'rclone-test-fenekap6ganu/rclone-sync-test': login with previous auth keys failed: unexpected end of JSON input sync_test.go:2012: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2012 Error: Received unexpected error: Invalid arguments Test: TestSyncOverlapWithFilter 2026/01/09 04:28:22 ERROR : error listing: directory not found --- FAIL: TestSyncOverlapWithFilter (10.58s) === RUN TestSyncCompareDest run.go:185: Remote "mega root 'rclone-test-fenekap6ganu'", Local "Local file system at /tmp/rclone3577323347", Modify Window "876000h0m0s" 2026/01/09 04:28:22 DEBUG : Creating backend with remote "TestMega:rclone-test-fenekap6ganu/dst" 2026/01/09 04:28:22 DEBUG : mega root 'rclone-test-fenekap6ganu/dst': Using previously stored session ID and master key to initialize the Mega API 2026/01/09 04:28:33 DEBUG : mega root 'rclone-test-fenekap6ganu/dst': login with previous auth keys failed: unexpected end of JSON input 2026/01/09 04:28:33 DEBUG : Creating backend with remote "TestMega:rclone-test-fenekap6ganu/CompareDest" 2026/01/09 04:28:33 DEBUG : mega root 'rclone-test-fenekap6ganu/CompareDest': Using previously stored session ID and master key to initialize the Mega API 2026/01/09 04:28:43 DEBUG : mega root 'rclone-test-fenekap6ganu/CompareDest': login with previous auth keys failed: unexpected end of JSON input 2026/01/09 04:28:43 DEBUG : one: Need to transfer - File not found at Destination 2026/01/09 04:28:43 ERROR : mega root 'rclone-test-fenekap6ganu/dst': error reading destination root directory: Invalid arguments 2026/01/09 04:28:43 DEBUG : mega root 'rclone-test-fenekap6ganu/dst': Waiting for checks to finish 2026/01/09 04:28:43 ERROR : one: Failed to copy: Invalid arguments 2026/01/09 04:28:43 DEBUG : mega root 'rclone-test-fenekap6ganu/dst': Waiting for transfers to finish 2026/01/09 04:28:43 ERROR : mega root 'rclone-test-fenekap6ganu/dst': not deleting files as there were IO errors 2026/01/09 04:28:43 ERROR : mega root 'rclone-test-fenekap6ganu/dst': not deleting directories as there were IO errors sync_test.go:2116: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2116 Error: Received unexpected error: Invalid arguments Test: TestSyncCompareDest 2026/01/09 04:28:43 ERROR : error listing: directory not found --- FAIL: TestSyncCompareDest (21.21s) === RUN TestSyncMultipleCompareDest run.go:185: Remote "mega root 'rclone-test-fenekap6ganu'", Local "Local file system at /tmp/rclone3577323347", Modify Window "876000h0m0s" run.go:242: Failed to mkdir "mega root 'rclone-test-fenekap6ganu'": mkdir create node failed: unexpected end of JSON input 2026/01/09 04:28:54 ERROR : error listing: directory not found --- FAIL: TestSyncMultipleCompareDest (10.53s) === RUN TestSyncCopyDest run.go:185: Remote "mega root 'rclone-test-fenekap6ganu'", Local "Local file system at /tmp/rclone3577323347", Modify Window "876000h0m0s" sync_test.go:2266: Skipping test as remote does not support server-side copy 2026/01/09 04:28:54 ERROR : error listing: directory not found --- SKIP: TestSyncCopyDest (0.00s) === RUN TestSyncBackupDir run.go:185: Remote "mega root 'rclone-test-fenekap6ganu'", Local "Local file system at /tmp/rclone3577323347", Modify Window "876000h0m0s" run.go:242: Failed to mkdir "mega root 'rclone-test-fenekap6ganu'": mkdir create node failed: unexpected end of JSON input 2026/01/09 04:29:04 ERROR : error listing: directory not found --- FAIL: TestSyncBackupDir (10.50s) === RUN TestSyncBackupDirWithSuffix run.go:185: Remote "mega root 'rclone-test-fenekap6ganu'", Local "Local file system at /tmp/rclone3577323347", Modify Window "876000h0m0s" run.go:242: Failed to mkdir "mega root 'rclone-test-fenekap6ganu'": mkdir create node failed: unexpected end of JSON input 2026/01/09 04:29:15 ERROR : error listing: directory not found --- FAIL: TestSyncBackupDirWithSuffix (10.54s) FAIL 2026/01/09 04:29:15 DEBUG : mega root 'rclone-test-fenekap6ganu': Purge remote 2026/01/09 04:29:15 NOTICE: purge failed: directory not found "./sync.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestMoveWithDeleteEmptySrcDirs|TestMoveWithIgnoreExisting|TestMoveWithoutDeleteEmptySrcDirs|TestServerSideMove|TestServerSideMoveDeleteEmptySourceDirs|TestServerSideMoveLocal|TestServerSideMoveOverlap|TestServerSideMoveWithFilter|TestSyncBackupDir|TestSyncBackupDirWithSuffix|TestSyncCompareDest|TestSyncCopyDest|TestSyncMultipleCompareDest|TestSyncOverlap|TestSyncOverlapWithFilter|TestSyncWithTrackRenamesStrategyLeaf)$'" - Finished ERROR in 3m40.936927788s (try 4/5): exit status 1: Failed [TestSyncWithTrackRenamesStrategyLeaf TestMoveWithDeleteEmptySrcDirs TestMoveWithoutDeleteEmptySrcDirs TestMoveWithIgnoreExisting TestServerSideMove TestServerSideMoveWithFilter TestServerSideMoveDeleteEmptySourceDirs TestSyncOverlapWithFilter TestSyncCompareDest TestSyncMultipleCompareDest TestSyncBackupDir TestSyncBackupDirWithSuffix]