"./sync.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestServerSideMoveDeleteEmptySourceDirs|TestServerSideMoveOverSelf|TestServerSideMoveWithFilter|TestSyncBackupDir|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncWithTrackRenamesStrategyLeaf)$'" - Starting (try 2/5) 2026/07/16 02:09:31 DEBUG : Creating backend with remote "TestMega:rclone-test-jihosez6mepu" 2026/07/16 02:09:31 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/16 02:09:31 DEBUG : mega root 'rclone-test-jihosez6mepu': Using previously stored session ID and master key to initialize the Mega API 2026/07/16 02:09:50 DEBUG : Creating backend with remote "/tmp/rclone448051550" === RUN TestServerSideMoveOverSelf run.go:198: Remote "mega root 'rclone-test-jihosez6mepu'", Local "Local file system at /tmp/rclone448051550", Modify Window "876000h0m0s" 2026/07/16 02:09:50 DEBUG : Creating backend with remote "TestMega:rclone-test-momedet3wujo" 2026/07/16 02:09:50 DEBUG : mega root 'rclone-test-momedet3wujo': Using previously stored session ID and master key to initialize the Mega API sync_test.go:701: Server side copy (if possible) mega root 'rclone-test-jihosez6mepu' -> mega root 'rclone-test-momedet3wujo' 2026/07/16 02:10:08 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination 2026/07/16 02:10:08 DEBUG : mega root 'rclone-test-momedet3wujo': Waiting for checks to finish 2026/07/16 02:10:08 DEBUG : mega root 'rclone-test-momedet3wujo': Waiting for transfers to finish 2026/07/16 02:10:09 DEBUG : sub dir/hello world: size = 11 OK 2026/07/16 02:10:09 INFO : sub dir/hello world: Copied (new) 2026/07/16 02:10:09 DEBUG : mega root 'rclone-test-momedet3wujo': Using server-side directory move 2026/07/16 02:10:09 INFO : mega root 'rclone-test-momedet3wujo': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2026/07/16 02:10:09 DEBUG : sub dir/hello world: size = 17 (mega root 'rclone-test-jihosez6mepu') 2026/07/16 02:10:09 DEBUG : sub dir/hello world: size = 11 (mega root 'rclone-test-momedet3wujo') 2026/07/16 02:10:09 DEBUG : sub dir/hello world: Sizes differ 2026/07/16 02:10:09 DEBUG : mega root 'rclone-test-momedet3wujo': Waiting for checks to finish 2026/07/16 02:10:09 DEBUG : mega root 'rclone-test-momedet3wujo': Waiting for transfers to finish 2026/07/16 02:10:09 INFO : sub dir/hello world: Deleted 2026/07/16 02:10:12 INFO : sub dir/hello world: Moved (server-side) 2026/07/16 02:10:12 DEBUG : testing file moves 2026/07/16 02:10:12 DEBUG : sub dir/hello world: size = 24 (mega root 'rclone-test-jihosez6mepu') 2026/07/16 02:10:12 DEBUG : sub dir/hello world: size = 17 (mega root 'rclone-test-momedet3wujo') 2026/07/16 02:10:12 DEBUG : sub dir/hello world: Sizes differ 2026/07/16 02:10:12 DEBUG : mega root 'rclone-test-momedet3wujo': Waiting for checks to finish 2026/07/16 02:10:12 DEBUG : mega root 'rclone-test-momedet3wujo': Waiting for transfers to finish 2026/07/16 02:10:12 INFO : sub dir/hello world: Deleted 2026/07/16 02:10:13 INFO : sub dir/hello world: Moved (server-side) 2026/07/16 02:10:13 DEBUG : mega root 'rclone-test-momedet3wujo': Purge remote --- PASS: TestServerSideMoveOverSelf (26.62s) === RUN TestSyncWithTrackRenamesStrategyLeaf run.go:198: Remote "mega root 'rclone-test-jihosez6mepu'", Local "Local file system at /tmp/rclone448051550", Modify Window "876000h0m0s" sync_test.go:1680: Can track renames: false 2026/07/16 02:10:16 INFO : mega root 'rclone-test-jihosez6mepu': Making map for --track-renames 2026/07/16 02:10:16 INFO : mega root 'rclone-test-jihosez6mepu': Finished making map for --track-renames 2026/07/16 02:10:16 DEBUG : mega root 'rclone-test-jihosez6mepu': Waiting for checks to finish 2026/07/16 02:10:16 DEBUG : sub/yam: Need to transfer - No matching file found at Destination 2026/07/16 02:10:16 DEBUG : potato: Need to transfer - No matching file found at Destination 2026/07/16 02:10:16 DEBUG : mega root 'rclone-test-jihosez6mepu': Waiting for renames to finish 2026/07/16 02:10:16 DEBUG : mega root 'rclone-test-jihosez6mepu': Waiting for transfers to finish 2026/07/16 02:10:16 DEBUG : sub/yam: size = 11 OK 2026/07/16 02:10:16 INFO : sub/yam: Copied (new) 2026/07/16 02:10:17 DEBUG : potato: size = 14 OK 2026/07/16 02:10:17 INFO : potato: Copied (new) 2026/07/16 02:10:17 DEBUG : Waiting for deletions to finish 2026/07/16 02:10:17 DEBUG : potato: size = 14 OK 2026/07/16 02:10:17 DEBUG : potato: Sizes identical 2026/07/16 02:10:17 DEBUG : potato: Unchanged skipping 2026/07/16 02:10:17 INFO : mega root 'rclone-test-jihosez6mepu': Making map for --track-renames 2026/07/16 02:10:17 INFO : mega root 'rclone-test-jihosez6mepu': Finished making map for --track-renames 2026/07/16 02:10:17 DEBUG : mega root 'rclone-test-jihosez6mepu': Waiting for checks to finish 2026/07/16 02:10:17 DEBUG : mega root 'rclone-test-jihosez6mepu': Waiting for renames to finish 2026/07/16 02:10:17 INFO : sub/yam: Moved (server-side) to: yam 2026/07/16 02:10:17 INFO : yam: Renamed from "sub/yam" 2026/07/16 02:10:17 DEBUG : mega root 'rclone-test-jihosez6mepu': Waiting for transfers to finish 2026/07/16 02:10:17 DEBUG : Waiting for deletions to finish 2026/07/16 02:10:17 INFO : There was nothing to transfer --- PASS: TestSyncWithTrackRenamesStrategyLeaf (1.19s) === RUN TestServerSideMoveWithFilter run.go:198: Remote "mega root 'rclone-test-jihosez6mepu'", Local "Local file system at /tmp/rclone448051550", Modify Window "876000h0m0s" 2026/07/16 02:10:17 DEBUG : Creating backend with remote "TestMega:rclone-test-pumedab4debo" 2026/07/16 02:10:17 DEBUG : mega root 'rclone-test-pumedab4debo': 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-jihosez6mepu' -> mega root 'rclone-test-pumedab4debo' 2026/07/16 02:10:34 DEBUG : empty space: Excluded (Size Filter) 2026/07/16 02:10:34 DEBUG : empty space: Excluded 2026/07/16 02:10:34 DEBUG : empty space: Excluded (Size Filter) 2026/07/16 02:10:34 DEBUG : empty space: Excluded 2026/07/16 02:10:34 DEBUG : potato2: Need to transfer - File not found at Destination 2026/07/16 02:10:34 DEBUG : mega root 'rclone-test-pumedab4debo': Waiting for checks to finish 2026/07/16 02:10:34 DEBUG : potato3: size = 68 (mega root 'rclone-test-jihosez6mepu') 2026/07/16 02:10:34 DEBUG : potato3: size = 60 (mega root 'rclone-test-pumedab4debo') 2026/07/16 02:10:34 DEBUG : potato3: Sizes differ 2026/07/16 02:10:34 DEBUG : mega root 'rclone-test-pumedab4debo': Waiting for transfers to finish 2026/07/16 02:10:34 INFO : potato2: Moved (server-side) 2026/07/16 02:10:34 INFO : potato3: Deleted 2026/07/16 02:10:34 INFO : potato3: Moved (server-side) 2026/07/16 02:10:34 DEBUG : Creating backend with remote "TestMega:rclone-test-nonusub8befo" 2026/07/16 02:10:34 DEBUG : mega root 'rclone-test-nonusub8befo': Using previously stored session ID and master key to initialize the Mega API 2026/07/16 02:10:54 DEBUG : empty space: Excluded (Size Filter) 2026/07/16 02:10:54 DEBUG : empty space: Excluded 2026/07/16 02:10:54 DEBUG : potato2: Need to transfer - File not found at Destination 2026/07/16 02:10:54 DEBUG : potato3: Need to transfer - File not found at Destination 2026/07/16 02:10:54 DEBUG : mega root 'rclone-test-nonusub8befo': Waiting for checks to finish 2026/07/16 02:10:54 DEBUG : mega root 'rclone-test-nonusub8befo': Waiting for transfers to finish 2026/07/16 02:11:00 INFO : potato2: Moved (server-side) 2026/07/16 02:11:00 INFO : potato3: Moved (server-side) 2026/07/16 02:11:00 DEBUG : mega root 'rclone-test-nonusub8befo': Purge remote 2026/07/16 02:11:02 DEBUG : mega root 'rclone-test-pumedab4debo': Purge remote --- PASS: TestServerSideMoveWithFilter (44.60s) === RUN TestServerSideMoveDeleteEmptySourceDirs run.go:198: Remote "mega root 'rclone-test-jihosez6mepu'", Local "Local file system at /tmp/rclone448051550", Modify Window "876000h0m0s" 2026/07/16 02:11:02 DEBUG : Creating backend with remote "TestMega:rclone-test-nugawep4zalo" 2026/07/16 02:11:02 DEBUG : mega root 'rclone-test-nugawep4zalo': Using previously stored session ID and master key to initialize the Mega API 2026/07/16 02:11:18 INFO : tomatoDir: Making directory sync_test.go:1736: Server side move (if possible) mega root 'rclone-test-jihosez6mepu' -> mega root 'rclone-test-nugawep4zalo' 2026/07/16 02:11:19 DEBUG : mega root 'rclone-test-nugawep4zalo': Using server-side directory move 2026/07/16 02:11:19 INFO : mega root 'rclone-test-nugawep4zalo': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2026/07/16 02:11:19 DEBUG : potato2: Need to transfer - File not found at Destination 2026/07/16 02:11:19 DEBUG : empty space: size = 1 OK 2026/07/16 02:11:19 DEBUG : empty space: Sizes identical 2026/07/16 02:11:19 DEBUG : empty space: Unchanged skipping 2026/07/16 02:11:19 DEBUG : mega root 'rclone-test-nugawep4zalo': Waiting for checks to finish 2026/07/16 02:11:19 DEBUG : potato3: size = 68 (mega root 'rclone-test-jihosez6mepu') 2026/07/16 02:11:19 DEBUG : potato3: size = 60 (mega root 'rclone-test-nugawep4zalo') 2026/07/16 02:11:19 DEBUG : potato3: Sizes differ 2026/07/16 02:11:19 INFO : empty space: Deleted 2026/07/16 02:11:19 DEBUG : mega root 'rclone-test-nugawep4zalo': Waiting for transfers to finish 2026/07/16 02:11:20 INFO : potato2: Moved (server-side) 2026/07/16 02:11:20 INFO : potato3: Deleted 2026/07/16 02:11:20 INFO : potato3: Moved (server-side) 2026/07/16 02:11:20 INFO : tomatoDir: Removing directory 2026/07/16 02:11:20 DEBUG : mega root 'rclone-test-jihosez6mepu': deleted 1 directories 2026/07/16 02:11:20 DEBUG : Creating backend with remote "TestMega:rclone-test-qidowef6bise" 2026/07/16 02:11:20 DEBUG : mega root 'rclone-test-qidowef6bise': Using previously stored session ID and master key to initialize the Mega API 2026/07/16 02:11:34 INFO : tomatoDir: Making directory 2026/07/16 02:11:34 DEBUG : mega root 'rclone-test-qidowef6bise': Using server-side directory move 2026/07/16 02:11:35 INFO : mega root 'rclone-test-qidowef6bise': Server side directory move succeeded 2026/07/16 02:11:35 ERROR : error listing: directory not found 2026/07/16 02:11:35 ERROR : error listing: directory not found 2026/07/16 02:11:35 DEBUG : mega root 'rclone-test-qidowef6bise': Purge remote 2026/07/16 02:11:35 DEBUG : mega root 'rclone-test-nugawep4zalo': Purge remote 2026/07/16 02:11:35 NOTICE: purge failed: directory not found --- PASS: TestServerSideMoveDeleteEmptySourceDirs (32.82s) === RUN TestSyncBackupDir run.go:198: Remote "mega root 'rclone-test-jihosez6mepu'", Local "Local file system at /tmp/rclone448051550", Modify Window "876000h0m0s" 2026/07/16 02:11:36 DEBUG : Creating backend with remote "TestMega:rclone-test-jihosez6mepu/dst" 2026/07/16 02:11:36 DEBUG : mega root 'rclone-test-jihosez6mepu/dst': Using previously stored session ID and master key to initialize the Mega API 2026/07/16 02:11:51 DEBUG : Creating backend with remote "TestMega:rclone-test-jihosez6mepu/backup" 2026/07/16 02:11:51 DEBUG : mega root 'rclone-test-jihosez6mepu/backup': Using previously stored session ID and master key to initialize the Mega API 2026/07/16 02:12:05 DEBUG : one: size = 4 (Local file system at /tmp/rclone448051550) 2026/07/16 02:12:05 DEBUG : one: size = 3 (mega root 'rclone-test-jihosez6mepu/dst') 2026/07/16 02:12:05 DEBUG : one: Sizes differ 2026/07/16 02:12:05 DEBUG : mega root 'rclone-test-jihosez6mepu/dst': Waiting for checks to finish 2026/07/16 02:12:05 DEBUG : two: size = 3 OK 2026/07/16 02:12:05 DEBUG : two: Sizes identical 2026/07/16 02:12:05 DEBUG : two: Unchanged skipping 2026/07/16 02:12:05 INFO : one: Moved (server-side) 2026/07/16 02:12:05 DEBUG : mega root 'rclone-test-jihosez6mepu/dst': Waiting for transfers to finish 2026/07/16 02:12:06 DEBUG : one: size = 4 OK 2026/07/16 02:12:06 INFO : one: Copied (new) 2026/07/16 02:12:06 DEBUG : Waiting for deletions to finish 2026/07/16 02:12:06 INFO : three.txt: Moved (server-side) 2026/07/16 02:12:06 INFO : three.txt: Moved into backup dir 2026/07/16 02:12:06 DEBUG : one: size = 5 (Local file system at /tmp/rclone448051550) 2026/07/16 02:12:06 DEBUG : one: size = 4 (mega root 'rclone-test-jihosez6mepu/dst') 2026/07/16 02:12:06 DEBUG : one: Sizes differ 2026/07/16 02:12:06 DEBUG : two: size = 3 OK 2026/07/16 02:12:06 DEBUG : two: Sizes identical 2026/07/16 02:12:06 DEBUG : two: Unchanged skipping 2026/07/16 02:12:06 DEBUG : mega root 'rclone-test-jihosez6mepu/dst': Waiting for checks to finish 2026/07/16 02:12:07 INFO : one: Deleted 2026/07/16 02:12:07 INFO : one: Moved (server-side) 2026/07/16 02:12:07 DEBUG : mega root 'rclone-test-jihosez6mepu/dst': Waiting for transfers to finish 2026/07/16 02:12:08 DEBUG : one: size = 5 OK 2026/07/16 02:12:08 INFO : one: Copied (new) 2026/07/16 02:12:08 DEBUG : Waiting for deletions to finish 2026/07/16 02:12:09 INFO : three.txt: Deleted 2026/07/16 02:12:09 INFO : three.txt: Moved (server-side) 2026/07/16 02:12:09 INFO : three.txt: Moved into backup dir --- PASS: TestSyncBackupDir (36.93s) === RUN TestSyncBackupDirWithSuffix run.go:198: Remote "mega root 'rclone-test-jihosez6mepu'", Local "Local file system at /tmp/rclone448051550", Modify Window "876000h0m0s" 2026/07/16 02:12:15 DEBUG : Creating backend with remote "TestMega:rclone-test-jihosez6mepu/dst" 2026/07/16 02:12:15 DEBUG : mega root 'rclone-test-jihosez6mepu/dst': Using previously stored session ID and master key to initialize the Mega API 2026/07/16 02:12:29 DEBUG : Creating backend with remote "TestMega:rclone-test-jihosez6mepu/backup" 2026/07/16 02:12:29 DEBUG : mega root 'rclone-test-jihosez6mepu/backup': Using previously stored session ID and master key to initialize the Mega API 2026/07/16 02:12:43 DEBUG : two: size = 3 OK 2026/07/16 02:12:43 DEBUG : two: Sizes identical 2026/07/16 02:12:43 DEBUG : two: Unchanged skipping 2026/07/16 02:12:43 DEBUG : mega root 'rclone-test-jihosez6mepu/dst': Waiting for checks to finish 2026/07/16 02:12:43 DEBUG : one: size = 4 (Local file system at /tmp/rclone448051550) 2026/07/16 02:12:43 DEBUG : one: size = 3 (mega root 'rclone-test-jihosez6mepu/dst') 2026/07/16 02:12:43 DEBUG : one: Sizes differ 2026/07/16 02:12:44 INFO : one: Moved (server-side) to: one.bak 2026/07/16 02:12:44 DEBUG : mega root 'rclone-test-jihosez6mepu/dst': Waiting for transfers to finish 2026/07/16 02:12:45 DEBUG : one: size = 4 OK 2026/07/16 02:12:45 INFO : one: Copied (new) 2026/07/16 02:12:45 DEBUG : Waiting for deletions to finish 2026/07/16 02:12:45 INFO : three.txt: Moved (server-side) to: three.txt.bak 2026/07/16 02:12:45 INFO : three.txt: Moved into backup dir 2026/07/16 02:12:45 DEBUG : two: size = 3 OK 2026/07/16 02:12:45 DEBUG : two: Sizes identical 2026/07/16 02:12:45 DEBUG : two: Unchanged skipping 2026/07/16 02:12:45 DEBUG : mega root 'rclone-test-jihosez6mepu/dst': Waiting for checks to finish 2026/07/16 02:12:45 DEBUG : one: size = 5 (Local file system at /tmp/rclone448051550) 2026/07/16 02:12:45 DEBUG : one: size = 4 (mega root 'rclone-test-jihosez6mepu/dst') 2026/07/16 02:12:45 DEBUG : one: Sizes differ 2026/07/16 02:12:45 INFO : one.bak: Deleted 2026/07/16 02:12:46 INFO : one: Moved (server-side) to: one.bak 2026/07/16 02:12:46 DEBUG : mega root 'rclone-test-jihosez6mepu/dst': Waiting for transfers to finish 2026/07/16 02:12:46 DEBUG : one: size = 5 OK 2026/07/16 02:12:46 INFO : one: Copied (new) 2026/07/16 02:12:46 DEBUG : Waiting for deletions to finish 2026/07/16 02:12:46 INFO : three.txt.bak: Deleted 2026/07/16 02:12:47 INFO : three.txt: Moved (server-side) to: three.txt.bak 2026/07/16 02:12:47 INFO : three.txt: Moved into backup dir --- PASS: TestSyncBackupDirWithSuffix (38.21s) === RUN TestSyncBackupDirSuffixOnly run.go:198: Remote "mega root 'rclone-test-jihosez6mepu'", Local "Local file system at /tmp/rclone448051550", Modify Window "876000h0m0s" 2026/07/16 02:12:52 DEBUG : Creating backend with remote "TestMega:rclone-test-jihosez6mepu/dst" 2026/07/16 02:12:52 DEBUG : mega root 'rclone-test-jihosez6mepu/dst': Using previously stored session ID and master key to initialize the Mega API 2026/07/16 02:13:06 DEBUG : one: size = 4 (Local file system at /tmp/rclone448051550) 2026/07/16 02:13:06 DEBUG : one: size = 3 (mega root 'rclone-test-jihosez6mepu/dst') 2026/07/16 02:13:06 DEBUG : one: Sizes differ 2026/07/16 02:13:06 DEBUG : two: size = 3 OK 2026/07/16 02:13:06 DEBUG : two: Sizes identical 2026/07/16 02:13:06 DEBUG : two: Unchanged skipping 2026/07/16 02:13:06 DEBUG : mega root 'rclone-test-jihosez6mepu/dst': Waiting for checks to finish 2026/07/16 02:13:06 INFO : one: Moved (server-side) to: one.bak 2026/07/16 02:13:06 DEBUG : mega root 'rclone-test-jihosez6mepu/dst': Waiting for transfers to finish 2026/07/16 02:13:07 DEBUG : one: size = 4 OK 2026/07/16 02:13:07 INFO : one: Copied (new) 2026/07/16 02:13:07 DEBUG : Waiting for deletions to finish 2026/07/16 02:13:07 INFO : three.txt: Moved (server-side) to: three.txt.bak 2026/07/16 02:13:07 INFO : three.txt: Moved into backup dir 2026/07/16 02:13:09 DEBUG : one.bak: Excluded (Path Filter) 2026/07/16 02:13:09 DEBUG : one.bak: Excluded 2026/07/16 02:13:09 DEBUG : three.txt.bak: Excluded (Path Filter) 2026/07/16 02:13:09 DEBUG : three.txt.bak: Excluded 2026/07/16 02:13:09 DEBUG : one: size = 5 (Local file system at /tmp/rclone448051550) 2026/07/16 02:13:09 DEBUG : one: size = 4 (mega root 'rclone-test-jihosez6mepu/dst') 2026/07/16 02:13:09 DEBUG : one: Sizes differ 2026/07/16 02:13:09 DEBUG : mega root 'rclone-test-jihosez6mepu/dst': Waiting for checks to finish 2026/07/16 02:13:09 DEBUG : two: size = 3 OK 2026/07/16 02:13:09 DEBUG : two: Sizes identical 2026/07/16 02:13:09 DEBUG : two: Unchanged skipping 2026/07/16 02:13:09 INFO : one.bak: Deleted 2026/07/16 02:13:09 INFO : one: Moved (server-side) to: one.bak 2026/07/16 02:13:09 DEBUG : mega root 'rclone-test-jihosez6mepu/dst': Waiting for transfers to finish 2026/07/16 02:13:09 DEBUG : one: size = 5 OK 2026/07/16 02:13:09 INFO : one: Copied (new) 2026/07/16 02:13:09 DEBUG : Waiting for deletions to finish 2026/07/16 02:13:10 INFO : three.txt.bak: Deleted 2026/07/16 02:13:10 INFO : three.txt: Moved (server-side) to: three.txt.bak 2026/07/16 02:13:10 INFO : three.txt: Moved into backup dir --- PASS: TestSyncBackupDirSuffixOnly (22.74s) PASS 2026/07/16 02:13:13 DEBUG : mega root 'rclone-test-jihosez6mepu': Purge remote "./sync.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestServerSideMoveDeleteEmptySourceDirs|TestServerSideMoveOverSelf|TestServerSideMoveWithFilter|TestSyncBackupDir|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncWithTrackRenamesStrategyLeaf)$'" - Finished OK in 3m41.700027544s (try 2/5)