"./sync.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestAllTag|TestBase64|TestConflicting|TestDirTag|TestDoubleTransform|TestError|TestFileTag|TestFixCase|TestManualTransformFile|TestMove|TestMoveWithDeleteEmptySrcDirs|TestMoveWithIgnoreExisting|TestMoveWithoutDeleteEmptySrcDirs|TestNoTag|TestNothingToTransferWithEmptyDirs|TestNothingToTransferWithoutEmptyDirs|TestRunTwice|TestServerSideMove|TestServerSideMoveDeleteEmptySourceDirs|TestServerSideMoveLocal|TestServerSideMoveOverlap|TestServerSideMoveWithFilter|TestSyncBackupDir|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncBackupDirWithSuffixKeepExtension|TestSyncCompareDest|TestSyncConcurrentDelete|TestSyncConcurrentTruncate|TestSyncCopyDest|TestSyncIgnoreCase|TestSyncImmutable|TestSyncMultipleCompareDest|TestSyncOverlap|TestSyncOverlapWithFilter|TestSyncReplaceDirModTime|TestSyncReplaceDirModTimeWithEmptyDirs|TestSyncSuffix|TestSyncSuffixKeepExtension|TestSyncUTFNorm|TestSyncWithTrackRenamesStrategyLeaf|TestTransformCopy|TestTransformFile)$|^TestMaxTransfer$/^(Cautious|Hard|Soft)$|^TestTransform$/^(ISO-8859-1|NFC|NFD|ascii|base64|charmap|encoder|lowercase|prefix|suffix|truncate)$'" - Starting (try 2/5) 2026/07/01 02:08:13 DEBUG : Creating backend with remote "TestMega:rclone-test-dijuvam4yudo" 2026/07/01 02:08:13 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/01 02:08:13 DEBUG : mega root 'rclone-test-dijuvam4yudo': Using previously stored session ID and master key to initialize the Mega API 2026/07/01 02:08:37 DEBUG : Creating backend with remote "/tmp/rclone1036512727" === RUN TestSyncWithTrackRenamesStrategyLeaf run.go:198: Remote "mega root 'rclone-test-dijuvam4yudo'", Local "Local file system at /tmp/rclone1036512727", Modify Window "876000h0m0s" sync_test.go:1680: Can track renames: false 2026/07/01 02:08:37 INFO : mega root 'rclone-test-dijuvam4yudo': Making map for --track-renames 2026/07/01 02:08:37 INFO : mega root 'rclone-test-dijuvam4yudo': Finished making map for --track-renames 2026/07/01 02:08:37 DEBUG : mega root 'rclone-test-dijuvam4yudo': Waiting for checks to finish 2026/07/01 02:08:37 DEBUG : sub/yam: Need to transfer - No matching file found at Destination 2026/07/01 02:08:37 DEBUG : potato: Need to transfer - No matching file found at Destination 2026/07/01 02:08:37 DEBUG : mega root 'rclone-test-dijuvam4yudo': Waiting for renames to finish 2026/07/01 02:08:37 DEBUG : mega root 'rclone-test-dijuvam4yudo': Waiting for transfers to finish 2026/07/01 02:08:37 DEBUG : sub/yam: size = 11 OK 2026/07/01 02:08:37 INFO : sub/yam: Copied (new) 2026/07/01 02:08:37 DEBUG : potato: size = 14 OK 2026/07/01 02:08:37 INFO : potato: Copied (new) 2026/07/01 02:08:37 DEBUG : Waiting for deletions to finish 2026/07/01 02:08:37 DEBUG : potato: size = 14 OK 2026/07/01 02:08:37 DEBUG : potato: Sizes identical 2026/07/01 02:08:37 DEBUG : potato: Unchanged skipping 2026/07/01 02:08:37 INFO : mega root 'rclone-test-dijuvam4yudo': Making map for --track-renames 2026/07/01 02:08:37 INFO : mega root 'rclone-test-dijuvam4yudo': Finished making map for --track-renames 2026/07/01 02:08:37 DEBUG : mega root 'rclone-test-dijuvam4yudo': Waiting for checks to finish 2026/07/01 02:08:37 DEBUG : mega root 'rclone-test-dijuvam4yudo': Waiting for renames to finish 2026/07/01 02:08:38 INFO : sub/yam: Moved (server-side) to: yam 2026/07/01 02:08:38 INFO : yam: Renamed from "sub/yam" 2026/07/01 02:08:38 DEBUG : mega root 'rclone-test-dijuvam4yudo': Waiting for transfers to finish 2026/07/01 02:08:38 DEBUG : Waiting for deletions to finish 2026/07/01 02:08:38 INFO : There was nothing to transfer --- PASS: TestSyncWithTrackRenamesStrategyLeaf (1.00s) === RUN TestServerSideMoveLocal run.go:198: Remote "mega root 'rclone-test-dijuvam4yudo'", Local "Local file system at /tmp/rclone1036512727", Modify Window "876000h0m0s" 2026/07/01 02:08:38 DEBUG : Creating backend with remote "/tmp/rclone1036512727/dir1" 2026/07/01 02:08:38 DEBUG : Creating backend with remote "/tmp/rclone1036512727/dir2" 2026/07/01 02:08:38 DEBUG : Local file system at /tmp/rclone1036512727/dir2: Using server-side directory move 2026/07/01 02:08:38 INFO : Local file system at /tmp/rclone1036512727/dir2: Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2026/07/01 02:08:38 DEBUG : file1.txt: Need to transfer - File not found at Destination 2026/07/01 02:08:38 DEBUG : Local file system at /tmp/rclone1036512727/dir2: Waiting for checks to finish 2026/07/01 02:08:38 DEBUG : Local file system at /tmp/rclone1036512727/dir2: Waiting for transfers to finish 2026/07/01 02:08:38 INFO : file1.txt: Moved (server-side) --- PASS: TestServerSideMoveLocal (0.00s) === RUN TestMoveWithDeleteEmptySrcDirs run.go:198: Remote "mega root 'rclone-test-dijuvam4yudo'", Local "Local file system at /tmp/rclone1036512727", Modify Window "876000h0m0s" 2026/07/01 02:08:38 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination 2026/07/01 02:08:38 DEBUG : nested/sub dir/file: Need to transfer - File not found at Destination 2026/07/01 02:08:38 DEBUG : mega root 'rclone-test-dijuvam4yudo': Waiting for checks to finish 2026/07/01 02:08:38 DEBUG : mega root 'rclone-test-dijuvam4yudo': Waiting for transfers to finish 2026/07/01 02:08:38 DEBUG : sub dir/hello world: size = 11 OK 2026/07/01 02:08:38 INFO : sub dir/hello world: Copied (new) 2026/07/01 02:08:38 INFO : sub dir/hello world: Deleted 2026/07/01 02:08:39 DEBUG : nested/sub dir/file: size = 6 OK 2026/07/01 02:08:39 INFO : nested/sub dir/file: Copied (new) 2026/07/01 02:08:39 INFO : nested/sub dir/file: Deleted 2026/07/01 02:08:39 INFO : sub dir: Removing directory 2026/07/01 02:08:39 INFO : nested/sub dir: Removing directory 2026/07/01 02:08:39 INFO : nested: Removing directory 2026/07/01 02:08:39 DEBUG : Local file system at /tmp/rclone1036512727: deleted 3 directories --- PASS: TestMoveWithDeleteEmptySrcDirs (1.43s) === RUN TestMoveWithoutDeleteEmptySrcDirs run.go:198: Remote "mega root 'rclone-test-dijuvam4yudo'", Local "Local file system at /tmp/rclone1036512727", Modify Window "876000h0m0s" 2026/07/01 02:08:39 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination 2026/07/01 02:08:39 DEBUG : nested/sub dir/file: Need to transfer - File not found at Destination 2026/07/01 02:08:39 DEBUG : mega root 'rclone-test-dijuvam4yudo': Waiting for checks to finish 2026/07/01 02:08:39 DEBUG : mega root 'rclone-test-dijuvam4yudo': Waiting for transfers to finish 2026/07/01 02:08:40 DEBUG : sub dir/hello world: size = 11 OK 2026/07/01 02:08:40 INFO : sub dir/hello world: Copied (new) 2026/07/01 02:08:40 INFO : sub dir/hello world: Deleted 2026/07/01 02:08:40 DEBUG : nested/sub dir/file: size = 6 OK 2026/07/01 02:08:40 INFO : nested/sub dir/file: Copied (new) 2026/07/01 02:08:40 INFO : nested/sub dir/file: Deleted --- PASS: TestMoveWithoutDeleteEmptySrcDirs (1.24s) === RUN TestMoveWithIgnoreExisting run.go:198: Remote "mega root 'rclone-test-dijuvam4yudo'", Local "Local file system at /tmp/rclone1036512727", Modify Window "876000h0m0s" 2026/07/01 02:08:41 DEBUG : existing-b: Need to transfer - File not found at Destination 2026/07/01 02:08:41 DEBUG : existing: Need to transfer - File not found at Destination 2026/07/01 02:08:41 DEBUG : mega root 'rclone-test-dijuvam4yudo': Waiting for checks to finish 2026/07/01 02:08:41 DEBUG : mega root 'rclone-test-dijuvam4yudo': Waiting for transfers to finish 2026/07/01 02:08:41 DEBUG : existing-b: size = 6 OK 2026/07/01 02:08:41 INFO : existing-b: Copied (new) 2026/07/01 02:08:41 INFO : existing-b: Deleted 2026/07/01 02:08:41 DEBUG : existing: size = 6 OK 2026/07/01 02:08:41 INFO : existing: Copied (new) 2026/07/01 02:08:41 INFO : existing: Deleted 2026/07/01 02:08:41 DEBUG : existing: Destination exists, skipping 2026/07/01 02:08:41 DEBUG : existing: Not removing source file as destination file exists and --ignore-existing is set 2026/07/01 02:08:41 DEBUG : mega root 'rclone-test-dijuvam4yudo': Waiting for checks to finish 2026/07/01 02:08:41 DEBUG : mega root 'rclone-test-dijuvam4yudo': Waiting for transfers to finish 2026/07/01 02:08:41 INFO : There was nothing to transfer 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: TestMoveWithIgnoreExisting (7.33s) === RUN TestServerSideMove run.go:198: Remote "mega root 'rclone-test-dijuvam4yudo'", Local "Local file system at /tmp/rclone1036512727", Modify Window "876000h0m0s" 2026/07/01 02:08:48 DEBUG : Creating backend with remote "TestMega:rclone-test-xofedaz1sigi" 2026/07/01 02:08:48 DEBUG : mega root 'rclone-test-xofedaz1sigi': 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-dijuvam4yudo' -> mega root 'rclone-test-xofedaz1sigi' 2026/07/01 02:09:11 DEBUG : mega root 'rclone-test-xofedaz1sigi': Using server-side directory move 2026/07/01 02:09:11 INFO : mega root 'rclone-test-xofedaz1sigi': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2026/07/01 02:09:11 DEBUG : potato2: Need to transfer - File not found at Destination 2026/07/01 02:09:11 DEBUG : empty space: size = 1 OK 2026/07/01 02:09:11 DEBUG : empty space: Sizes identical 2026/07/01 02:09:11 DEBUG : empty space: Unchanged skipping 2026/07/01 02:09:13 INFO : empty space: Deleted 2026/07/01 02:09:13 DEBUG : mega root 'rclone-test-xofedaz1sigi': Waiting for checks to finish 2026/07/01 02:09:13 DEBUG : potato3: size = 68 (mega root 'rclone-test-dijuvam4yudo') 2026/07/01 02:09:13 DEBUG : potato3: size = 60 (mega root 'rclone-test-xofedaz1sigi') 2026/07/01 02:09:13 DEBUG : potato3: Sizes differ 2026/07/01 02:09:13 DEBUG : mega root 'rclone-test-xofedaz1sigi': Waiting for transfers to finish 2026/07/01 02:09:13 INFO : potato3: Deleted 2026/07/01 02:09:14 INFO : potato2: Moved (server-side) 2026/07/01 02:09:14 INFO : potato3: Moved (server-side) 2026/07/01 02:09:14 DEBUG : Creating backend with remote "TestMega:rclone-test-venopoy6buva" 2026/07/01 02:09:14 DEBUG : mega root 'rclone-test-venopoy6buva': Using previously stored session ID and master key to initialize the Mega API 2026/07/01 02:09:32 DEBUG : mega root 'rclone-test-venopoy6buva': Using server-side directory move 2026/07/01 02:09:32 INFO : mega root 'rclone-test-venopoy6buva': Server side directory move succeeded 2026/07/01 02:09:32 ERROR : error listing: directory not found 2026/07/01 02:09:32 DEBUG : mega root 'rclone-test-venopoy6buva': Purge remote 2026/07/01 02:09:32 DEBUG : mega root 'rclone-test-xofedaz1sigi': Purge remote 2026/07/01 02:09:32 NOTICE: purge failed: directory not found --- PASS: TestServerSideMove (44.34s) === RUN TestServerSideMoveWithFilter run.go:198: Remote "mega root 'rclone-test-dijuvam4yudo'", Local "Local file system at /tmp/rclone1036512727", Modify Window "876000h0m0s" 2026/07/01 02:09:32 DEBUG : Creating backend with remote "TestMega:rclone-test-heyahig3kayi" 2026/07/01 02:09:32 DEBUG : mega root 'rclone-test-heyahig3kayi': 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-dijuvam4yudo' -> mega root 'rclone-test-heyahig3kayi' 2026/07/01 02:09:57 DEBUG : empty space: Excluded (Size Filter) 2026/07/01 02:09:57 DEBUG : empty space: Excluded 2026/07/01 02:09:57 DEBUG : empty space: Excluded (Size Filter) 2026/07/01 02:09:57 DEBUG : empty space: Excluded 2026/07/01 02:09:57 DEBUG : potato2: Need to transfer - File not found at Destination 2026/07/01 02:09:57 DEBUG : mega root 'rclone-test-heyahig3kayi': Waiting for checks to finish 2026/07/01 02:09:59 DEBUG : potato3: size = 68 (mega root 'rclone-test-dijuvam4yudo') 2026/07/01 02:09:59 DEBUG : potato3: size = 60 (mega root 'rclone-test-heyahig3kayi') 2026/07/01 02:09:59 DEBUG : potato3: Sizes differ 2026/07/01 02:09:59 DEBUG : mega root 'rclone-test-heyahig3kayi': Waiting for transfers to finish 2026/07/01 02:10:00 INFO : potato2: Moved (server-side) 2026/07/01 02:10:01 INFO : potato3: Deleted 2026/07/01 02:10:02 INFO : potato3: Moved (server-side) 2026/07/01 02:10:02 DEBUG : Creating backend with remote "TestMega:rclone-test-hejupuq0nodo" 2026/07/01 02:10:02 DEBUG : mega root 'rclone-test-hejupuq0nodo': Using previously stored session ID and master key to initialize the Mega API 2026/07/01 02:10:21 DEBUG : empty space: Excluded (Size Filter) 2026/07/01 02:10:21 DEBUG : empty space: Excluded 2026/07/01 02:10:21 DEBUG : potato2: Need to transfer - File not found at Destination 2026/07/01 02:10:21 DEBUG : potato3: Need to transfer - File not found at Destination 2026/07/01 02:10:21 DEBUG : mega root 'rclone-test-hejupuq0nodo': Waiting for checks to finish 2026/07/01 02:10:21 DEBUG : mega root 'rclone-test-hejupuq0nodo': Waiting for transfers to finish 2026/07/01 02:10:24 INFO : potato2: Moved (server-side) 2026/07/01 02:10:26 INFO : potato3: Moved (server-side) 2026/07/01 02:10:26 DEBUG : mega root 'rclone-test-hejupuq0nodo': Purge remote 2026/07/01 02:10:26 DEBUG : mega root 'rclone-test-heyahig3kayi': Purge remote --- PASS: TestServerSideMoveWithFilter (57.74s) === RUN TestServerSideMoveDeleteEmptySourceDirs run.go:198: Remote "mega root 'rclone-test-dijuvam4yudo'", Local "Local file system at /tmp/rclone1036512727", Modify Window "876000h0m0s" 2026/07/01 02:10:30 DEBUG : Creating backend with remote "TestMega:rclone-test-yucadox9lamu" 2026/07/01 02:10:30 DEBUG : mega root 'rclone-test-yucadox9lamu': Using previously stored session ID and master key to initialize the Mega API sync_test.go:1722: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1722 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1932 Error: Received unexpected error: login with previous auth keys failed: unexpected end of JSON input Test: TestServerSideMoveDeleteEmptySourceDirs --- FAIL: TestServerSideMoveDeleteEmptySourceDirs (310.58s) === RUN TestServerSideMoveOverlap run.go:198: Remote "mega root 'rclone-test-dijuvam4yudo'", Local "Local file system at /tmp/rclone1036512727", Modify Window "876000h0m0s" sync_test.go:1941: Skipping test as remote supports DirMove --- SKIP: TestServerSideMoveOverlap (0.00s) === RUN TestSyncOverlap run.go:198: Remote "mega root 'rclone-test-dijuvam4yudo'", Local "Local file system at /tmp/rclone1036512727", Modify Window "876000h0m0s" 2026/07/01 02:15:41 DEBUG : Creating backend with remote "TestMega:rclone-test-dijuvam4yudo/rclone-sync-test" 2026/07/01 02:15:41 DEBUG : mega root 'rclone-test-dijuvam4yudo/rclone-sync-test': Using previously stored session ID and master key to initialize the Mega API sync_test.go:1976: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1976 Error: Received unexpected error: login with previous auth keys failed: unexpected end of JSON input Test: TestSyncOverlap --- FAIL: TestSyncOverlap (10.75s) === RUN TestSyncOverlapWithFilter run.go:198: Remote "mega root 'rclone-test-dijuvam4yudo'", Local "Local file system at /tmp/rclone1036512727", Modify Window "876000h0m0s" 2026/07/01 02:15:51 DEBUG : Creating backend with remote "TestMega:rclone-test-dijuvam4yudo/rclone-sync-test" 2026/07/01 02:15:51 DEBUG : mega root 'rclone-test-dijuvam4yudo/rclone-sync-test': Using previously stored session ID and master key to initialize the Mega API --- FAIL: TestSyncOverlapWithFilter (10.54s) panic: runtime error: invalid memory address or nil pointer dereference [recovered, repanicked] [signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x218341e] goroutine 1054 [running]: testing.tRunner.func1.2({0x25280e0, 0x45f5550}) /usr/local/go/src/testing/testing.go:1974 +0x232 testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1977 +0x349 panic({0x25280e0?, 0x45f5550?}) /usr/local/go/src/runtime/panic.go:860 +0x13a github.com/rclone/rclone/fs/sync.TestSyncOverlapWithFilter(0x3e48ac1b0248) /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2012 +0x1de testing.tRunner(0x3e48ac1b0248, 0x2bb31d8) /usr/local/go/src/testing/testing.go:2036 +0xea created by testing.(*T).Run in goroutine 1 /usr/local/go/src/testing/testing.go:2101 +0x4c5 "./sync.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestAllTag|TestBase64|TestConflicting|TestDirTag|TestDoubleTransform|TestError|TestFileTag|TestFixCase|TestManualTransformFile|TestMove|TestMoveWithDeleteEmptySrcDirs|TestMoveWithIgnoreExisting|TestMoveWithoutDeleteEmptySrcDirs|TestNoTag|TestNothingToTransferWithEmptyDirs|TestNothingToTransferWithoutEmptyDirs|TestRunTwice|TestServerSideMove|TestServerSideMoveDeleteEmptySourceDirs|TestServerSideMoveLocal|TestServerSideMoveOverlap|TestServerSideMoveWithFilter|TestSyncBackupDir|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncBackupDirWithSuffixKeepExtension|TestSyncCompareDest|TestSyncConcurrentDelete|TestSyncConcurrentTruncate|TestSyncCopyDest|TestSyncIgnoreCase|TestSyncImmutable|TestSyncMultipleCompareDest|TestSyncOverlap|TestSyncOverlapWithFilter|TestSyncReplaceDirModTime|TestSyncReplaceDirModTimeWithEmptyDirs|TestSyncSuffix|TestSyncSuffixKeepExtension|TestSyncUTFNorm|TestSyncWithTrackRenamesStrategyLeaf|TestTransformCopy|TestTransformFile)$|^TestMaxTransfer$/^(Cautious|Hard|Soft)$|^TestTransform$/^(ISO-8859-1|NFC|NFD|ascii|base64|charmap|encoder|lowercase|prefix|suffix|truncate)$'" - Finished ERROR in 7m49.418127987s (try 2/5): exit status 2: Failed [TestServerSideMoveDeleteEmptySourceDirs TestSyncOverlap TestSyncOverlapWithFilter]