"./sync.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestBase64|TestError|TestManualTransformFile|TestServerSideMoveOverSelf|TestTransformFile)$'" - Starting (try 3/5) 2025/09/10 05:29:53 DEBUG : Creating backend with remote "TestMega:rclone-test-muxixaj7nifu" 2025/09/10 05:29:53 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/09/10 05:30:22 DEBUG : Creating backend with remote "/tmp/rclone3711834368" === RUN TestServerSideMoveOverSelf run.go:180: Remote "mega root 'rclone-test-muxixaj7nifu'", Local "Local file system at /tmp/rclone3711834368", Modify Window "876000h0m0s" 2025/09/10 05:30:22 DEBUG : Creating backend with remote "TestMega:rclone-test-jopesam3yure" sync_test.go:701: Server side copy (if possible) mega root 'rclone-test-muxixaj7nifu' -> mega root 'rclone-test-jopesam3yure' 2025/09/10 05:30:22 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination 2025/09/10 05:30:22 DEBUG : mega root 'rclone-test-jopesam3yure': Waiting for checks to finish 2025/09/10 05:30:22 DEBUG : mega root 'rclone-test-jopesam3yure': Waiting for transfers to finish 2025/09/10 05:30:23 INFO : sub dir/hello world: Copied (new) 2025/09/10 05:30:24 DEBUG : mega root 'rclone-test-jopesam3yure': Using server-side directory move 2025/09/10 05:30:24 INFO : mega root 'rclone-test-jopesam3yure': Server side directory move failed - fallback to file moves: can't copy directory - destination already exists 2025/09/10 05:30:24 DEBUG : sub dir/hello world: Sizes differ (src 17 vs dst 11) 2025/09/10 05:30:24 DEBUG : mega root 'rclone-test-jopesam3yure': Waiting for checks to finish 2025/09/10 05:30:24 DEBUG : mega root 'rclone-test-jopesam3yure': Waiting for transfers to finish 2025/09/10 05:30:24 INFO : sub dir/hello world: Deleted 2025/09/10 05:30:24 INFO : sub dir/hello world: Moved (server-side) 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:356 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:717 Error: Should be true Test: TestServerSideMoveOverSelf Messages: listing wrong, want sub dir/hello world (17) got sub dir/hello world (17), sub dir/hello world (17) 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:356 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:717 Error: Should be true Test: TestServerSideMoveOverSelf Messages: Unexpected file "sub dir/hello world" 2025/09/10 05:30:31 DEBUG : testing file moves 2025/09/10 05:30:31 NOTICE: sub dir/hello world: Duplicate object found in destination - ignoring 2025/09/10 05:30:31 DEBUG : sub dir/hello world: Sizes differ (src 24 vs dst 17) 2025/09/10 05:30:31 DEBUG : mega root 'rclone-test-jopesam3yure': Waiting for checks to finish 2025/09/10 05:30:31 DEBUG : mega root 'rclone-test-jopesam3yure': Waiting for transfers to finish 2025/09/10 05:30:31 INFO : sub dir/hello world: Deleted 2025/09/10 05:30:32 INFO : sub dir/hello world: Moved (server-side) 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:356 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:729 Error: Should be true Test: TestServerSideMoveOverSelf Messages: listing wrong, want sub dir/hello world (24) got sub dir/hello world (17), sub dir/hello world (24), sub dir/hello world (24) 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:356 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:729 Error: Should be true Test: TestServerSideMoveOverSelf Messages: Unexpected file "sub dir/hello world" 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:356 /home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:729 Error: Should be true Test: TestServerSideMoveOverSelf Messages: Unexpected file "sub dir/hello world" 2025/09/10 05:30:39 DEBUG : mega root 'rclone-test-jopesam3yure': Purge remote --- FAIL: TestServerSideMoveOverSelf (17.83s) === RUN TestTransformFile run.go:180: Remote "mega root 'rclone-test-muxixaj7nifu'", Local "Local file system at /tmp/rclone3711834368", Modify Window "876000h0m0s" 2025/09/10 05:30:40 DEBUG : empty_dir: Making directory with metadata 2025/09/10 05:30:40 INFO : empty_dir: Made directory with metadata (mtime=2001-02-03T04:05:06.499999999Z) 2025/09/10 05:30:40 DEBUG : toe: transformed to: tictactoe 2025/09/10 05:30:40 DEBUG : empty_dir: transformed to: tictacempty_dir 2025/09/10 05:30:40 DEBUG : empty_dir: transformed to: tictacempty_dir 2025/09/10 05:30:40 DEBUG : empty_dir: transformed to: tictacempty_dir 2025/09/10 05:30:40 INFO : tictacempty_dir: Making directory 2025/09/10 05:30:40 DEBUG : empty_dir: transformed to: tictacempty_dir 2025/09/10 05:30:40 DEBUG : toe: transformed to: tictactoe 2025/09/10 05:30:40 DEBUG : toe: transformed to: tictactoe 2025/09/10 05:30:40 INFO : tictactoe: Making directory 2025/09/10 05:30:40 DEBUG : toe: transformed to: tictactoe 2025/09/10 05:30:40 DEBUG : toe: transformed to: tictactoe 2025/09/10 05:30:40 DEBUG : toe/toe: transformed to: tictactoe/tictactoe 2025/09/10 05:30:40 INFO : tictactoe/tictactoe: Making directory 2025/09/10 05:30:40 DEBUG : toe/toe: transformed to: tictactoe/tictactoe 2025/09/10 05:30:40 DEBUG : toe.txt: transformed to: tictactoe.txt 2025/09/10 05:30:40 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2025/09/10 05:30:40 DEBUG : toe/toe/toe.txt: Need to transfer - File not found at Destination 2025/09/10 05:30:40 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2025/09/10 05:30:40 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2025/09/10 05:30:40 DEBUG : mega root 'rclone-test-muxixaj7nifu': Waiting for checks to finish 2025/09/10 05:30:40 DEBUG : mega root 'rclone-test-muxixaj7nifu': Waiting for transfers to finish 2025/09/10 05:30:41 INFO : toe/toe/toe.txt: Copied (new) to: tictactoe/tictactoe/tictactoe.txt 2025/09/10 05:30:41 INFO : toe/toe/toe.txt: Deleted 2025/09/10 05:30:41 INFO : toe/toe: Removing directory 2025/09/10 05:30:41 INFO : toe: Removing directory 2025/09/10 05:30:41 INFO : empty_dir: Removing directory 2025/09/10 05:30:41 DEBUG : Local file system at /tmp/rclone3711834368: deleted 3 directories 2025/09/10 05:30:41 DEBUG : tictactoe/tictactoe/tictactoe.txt: Sizes identical 2025/09/10 05:30:41 DEBUG : tictactoe/tictactoe/tictactoe.txt: transformed to: toe/toe/toe.txt 2025/09/10 05:30:41 DEBUG : tictactoe/tictactoe/tictactoe.txt: transformed to: toe/toe/toe.txt 2025/09/10 05:30:41 DEBUG : tictactoe/tictactoe/tictactoe.txt: transformed to: toe/toe/toe.txt 2025/09/10 05:30:41 INFO : tictactoe/tictactoe/tictactoe.txt: Moved (server-side) to: toe/toe/toe.txt --- PASS: TestTransformFile (2.91s) === RUN TestManualTransformFile run.go:180: Remote "mega root 'rclone-test-muxixaj7nifu'", Local "Local file system at /tmp/rclone3711834368", Modify Window "876000h0m0s" 2025/09/10 05:30:43 DEBUG : Reset feature "Copy" 2025/09/10 05:30:43 DEBUG : Reset feature "Move" 2025/09/10 05:30:43 DEBUG : Reset feature "Copy" 2025/09/10 05:30:43 DEBUG : Reset feature "Move" 2025/09/10 05:30:43 DEBUG : empty_dir: Making directory with metadata 2025/09/10 05:30:43 INFO : empty_dir: Made directory with metadata (mtime=2001-02-03T04:05:06.499999999Z) 2025/09/10 05:30:43 DEBUG : toe: transformed to: tictactoe 2025/09/10 05:30:43 DEBUG : empty_dir: transformed to: tictacempty_dir 2025/09/10 05:30:43 DEBUG : empty_dir: transformed to: tictacempty_dir 2025/09/10 05:30:43 DEBUG : empty_dir: transformed to: tictacempty_dir 2025/09/10 05:30:43 INFO : tictacempty_dir: Making directory 2025/09/10 05:30:43 DEBUG : empty_dir: transformed to: tictacempty_dir 2025/09/10 05:30:43 DEBUG : toe: transformed to: tictactoe 2025/09/10 05:30:43 DEBUG : toe: transformed to: tictactoe 2025/09/10 05:30:43 INFO : tictactoe: Making directory 2025/09/10 05:30:43 DEBUG : toe: transformed to: tictactoe 2025/09/10 05:30:43 DEBUG : toe: transformed to: tictactoe 2025/09/10 05:30:43 DEBUG : toe/toe: transformed to: tictactoe/tictactoe 2025/09/10 05:30:43 INFO : tictactoe/tictactoe: Making directory 2025/09/10 05:30:43 DEBUG : toe/toe: transformed to: tictactoe/tictactoe 2025/09/10 05:30:43 DEBUG : toe.txt: transformed to: tictactoe.txt 2025/09/10 05:30:43 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2025/09/10 05:30:43 DEBUG : toe/toe/toe.txt: Need to transfer - File not found at Destination 2025/09/10 05:30:43 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2025/09/10 05:30:43 DEBUG : toe/toe/toe.txt: transformed to: tictactoe/tictactoe/tictactoe.txt 2025/09/10 05:30:43 DEBUG : mega root 'rclone-test-muxixaj7nifu': Waiting for checks to finish 2025/09/10 05:30:43 DEBUG : mega root 'rclone-test-muxixaj7nifu': Waiting for transfers to finish 2025/09/10 05:30:43 INFO : toe/toe/toe.txt: Copied (new) to: tictactoe/tictactoe/tictactoe.txt 2025/09/10 05:30:43 INFO : toe/toe/toe.txt: Deleted 2025/09/10 05:30:43 INFO : toe/toe: Removing directory 2025/09/10 05:30:43 INFO : toe: Removing directory 2025/09/10 05:30:43 INFO : empty_dir: Removing directory 2025/09/10 05:30:43 DEBUG : Local file system at /tmp/rclone3711834368: deleted 3 directories 2025/09/10 05:30:43 DEBUG : tictactoe/tictactoe/tictactoe.txt: Sizes identical 2025/09/10 05:30:43 DEBUG : tictactoe/tictactoe/tictactoe.txt: transformed to: toe/toe/toe.txt 2025/09/10 05:30:43 DEBUG : tictactoe/tictactoe/tictactoe.txt: transformed to: toe/toe/toe.txt 2025/09/10 05:30:43 DEBUG : tictactoe/tictactoe/tictactoe.txt: transformed to: toe/toe/toe.txt 2025/09/10 05:30:44 INFO : tictactoe/tictactoe/tictactoe.txt: Copied (new) to: toe/toe/toe.txt 2025/09/10 05:30:44 INFO : tictactoe/tictactoe/tictactoe.txt: Deleted --- PASS: TestManualTransformFile (2.58s) === RUN TestBase64 run.go:180: Remote "mega root 'rclone-test-muxixaj7nifu'", Local "Local file system at /tmp/rclone3711834368", Modify Window "876000h0m0s" 2025/09/10 05:30:45 DEBUG : toe: transformed to: dG9l 2025/09/10 05:30:45 DEBUG : toe: transformed to: dG9l 2025/09/10 05:30:45 INFO : dG9l: Making directory 2025/09/10 05:30:45 DEBUG : toe: transformed to: dG9l 2025/09/10 05:30:45 DEBUG : toe: transformed to: dG9l 2025/09/10 05:30:45 DEBUG : toe/toe: transformed to: dG9l/dG9l 2025/09/10 05:30:45 INFO : dG9l/dG9l: Making directory 2025/09/10 05:30:45 DEBUG : toe/toe: transformed to: dG9l/dG9l 2025/09/10 05:30:45 DEBUG : toe.txt: transformed to: dG9lLnR4dA== 2025/09/10 05:30:45 DEBUG : toe/toe/toe.txt: transformed to: dG9l/dG9l/dG9lLnR4dA== 2025/09/10 05:30:45 DEBUG : toe/toe/toe.txt: Need to transfer - File not found at Destination 2025/09/10 05:30:45 DEBUG : toe/toe/toe.txt: transformed to: dG9l/dG9l/dG9lLnR4dA== 2025/09/10 05:30:45 DEBUG : mega root 'rclone-test-muxixaj7nifu': Waiting for checks to finish 2025/09/10 05:30:45 DEBUG : mega root 'rclone-test-muxixaj7nifu': Waiting for transfers to finish 2025/09/10 05:30:46 INFO : toe/toe/toe.txt: Copied (new) to: dG9l/dG9l/dG9lLnR4dA== 2025/09/10 05:30:46 DEBUG : Waiting for deletions to finish 2025/09/10 05:30:46 DEBUG : dG9l: transformed to: toe 2025/09/10 05:30:46 DEBUG : dG9l: transformed to: toe 2025/09/10 05:30:46 DEBUG : Added delayed dir = "toe", newDst=toe 2025/09/10 05:30:46 DEBUG : dG9l: transformed to: toe 2025/09/10 05:30:46 DEBUG : dG9l/dG9l: transformed to: toe/toe 2025/09/10 05:30:46 DEBUG : Added delayed dir = "toe/toe", newDst=toe/toe 2025/09/10 05:30:46 DEBUG : dG9lLnR4dA==: transformed to: toe.txt 2025/09/10 05:30:46 DEBUG : dG9l/dG9l/dG9lLnR4dA==: Sizes identical 2025/09/10 05:30:46 DEBUG : dG9l/dG9l/dG9lLnR4dA==: transformed to: toe/toe/toe.txt 2025/09/10 05:30:46 DEBUG : Local file system at /tmp/rclone3711834368: Waiting for checks to finish 2025/09/10 05:30:46 DEBUG : dG9l/dG9l/dG9lLnR4dA==: Unchanged skipping 2025/09/10 05:30:46 DEBUG : Local file system at /tmp/rclone3711834368: Waiting for transfers to finish 2025/09/10 05:30:46 DEBUG : Waiting for deletions to finish run.go:125: removing dir "dG9l/dG9l" failed - try 1/3: directory not empty --- PASS: TestBase64 (1.93s) === RUN TestError run.go:180: Remote "mega root 'rclone-test-muxixaj7nifu'", Local "Local file system at /tmp/rclone3711834368", Modify Window "876000h0m0s" 2025/09/10 05:30:47 ERROR : Failed to transform: transform cannot add path separators: ta/ctoe 2025/09/10 05:30:47 DEBUG : toe: transformed to: 2025/09/10 05:30:47 ERROR : Failed to transform: transform cannot add path separators: ta/ctoe 2025/09/10 05:30:47 DEBUG : toe: transformed to: 2025/09/10 05:30:47 INFO : mega root 'rclone-test-muxixaj7nifu': Making directory 2025/09/10 05:30:47 ERROR : Failed to transform: transform cannot add path separators: ta/ctoe 2025/09/10 05:30:47 DEBUG : toe: transformed to: 2025/09/10 05:30:47 ERROR : Failed to transform: transform cannot add path separators: ta/ctoe 2025/09/10 05:30:47 DEBUG : toe: transformed to: 2025/09/10 05:30:47 ERROR : Failed to transform: transform cannot add path separators: ta/ctoe 2025/09/10 05:30:47 DEBUG : toe/toe: transformed to: 2025/09/10 05:30:47 ERROR : toe/toe: number of path segments must match: toe/toe (1), (0) 2025/09/10 05:30:47 INFO : toe/toe: Making directory 2025/09/10 05:30:47 ERROR : Failed to transform: transform cannot add path separators: ta/ctoe 2025/09/10 05:30:47 DEBUG : toe/toe: transformed to: 2025/09/10 05:30:47 ERROR : toe/toe: number of path segments must match: toe/toe (1), (0) 2025/09/10 05:30:47 ERROR : Failed to transform: transform cannot add path separators: ta/ctoe 2025/09/10 05:30:47 DEBUG : toe: transformed to: 2025/09/10 05:30:47 DEBUG : toe/toe/toe: Need to transfer - File not found at Destination 2025/09/10 05:30:47 ERROR : Failed to transform: transform cannot add path separators: ta/ctoe 2025/09/10 05:30:47 DEBUG : toe/toe/toe: transformed to: 2025/09/10 05:30:47 ERROR : toe/toe/toe: number of path segments must match: toe/toe/toe (2), (0) 2025/09/10 05:30:47 DEBUG : mega root 'rclone-test-muxixaj7nifu': Waiting for checks to finish 2025/09/10 05:30:47 DEBUG : mega root 'rclone-test-muxixaj7nifu': Waiting for transfers to finish 2025/09/10 05:30:48 INFO : toe/toe/toe: Copied (new) 2025/09/10 05:30:48 ERROR : mega root 'rclone-test-muxixaj7nifu': not deleting files as there were IO errors 2025/09/10 05:30:48 ERROR : mega root 'rclone-test-muxixaj7nifu': not deleting directories as there were IO errors run.go:125: removing dir "toe/toe" failed - try 1/3: directory not empty --- PASS: TestError (2.16s) FAIL 2025/09/10 05:30:49 DEBUG : mega root 'rclone-test-muxixaj7nifu': Purge remote "./sync.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestBase64|TestError|TestManualTransformFile|TestServerSideMoveOverSelf|TestTransformFile)$'" - Finished ERROR in 56.952969735s (try 3/5): exit status 1: Failed [TestServerSideMoveOverSelf]