"./operations.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCopyFileCompareDest|TestDeduplicateLargest|TestLsLong|TestMaxDelete|TestMoveFile|TestMoveFileBackupDir|TestPurge)$'" - Starting (try 2/5) 2025/12/19 01:31:31 DEBUG : Creating backend with remote "TestMega:rclone-test-duhelen2xule" 2025/12/19 01:31:31 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/12/19 01:31:31 DEBUG : mega root 'rclone-test-duhelen2xule': Using previously stored session ID and master key to initialize the Mega API 2025/12/19 01:31:50 DEBUG : Creating backend with remote "/tmp/rclone2136664440" === RUN TestCopyFileCompareDest run.go:185: Remote "mega root 'rclone-test-duhelen2xule'", Local "Local file system at /tmp/rclone2136664440", Modify Window "876000h0m0s" 2025/12/19 01:31:50 DEBUG : Creating backend with remote "TestMega:rclone-test-duhelen2xule/dst" 2025/12/19 01:31:50 DEBUG : mega root 'rclone-test-duhelen2xule/dst': Using previously stored session ID and master key to initialize the Mega API 2025/12/19 01:32:09 DEBUG : Creating backend with remote "TestMega:rclone-test-duhelen2xule/CompareDest" 2025/12/19 01:32:09 DEBUG : mega root 'rclone-test-duhelen2xule/CompareDest': Using previously stored session ID and master key to initialize the Mega API 2025/12/19 01:32:27 DEBUG : one: Need to transfer - File not found at Destination 2025/12/19 01:32:30 DEBUG : one: size = 3 OK 2025/12/19 01:32:30 INFO : one: Copied (new) 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 2025/12/19 01:32:37 DEBUG : one: size = 5 (Local file system at /tmp/rclone2136664440) 2025/12/19 01:32:37 DEBUG : one: size = 3 (mega root 'rclone-test-duhelen2xule/dst') 2025/12/19 01:32:37 DEBUG : one: Sizes differ 2025/12/19 01:32:38 DEBUG : one: size = 5 OK 2025/12/19 01:32:38 INFO : one: Copied (replaced existing) 2025/12/19 01:32:41 DEBUG : one: size = 5 (Local file system at /tmp/rclone2136664440) 2025/12/19 01:32:41 DEBUG : one: size = 3 (mega root 'rclone-test-duhelen2xule/dst') 2025/12/19 01:32:41 DEBUG : one: Sizes differ 2025/12/19 01:32:43 DEBUG : one: size = 5 OK 2025/12/19 01:32:43 INFO : one: Copied (replaced existing) 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:345 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/copy_test.go:237 Error: Should be true Test: TestCopyFileCompareDest Messages: listing wrong, want CompareDest/one (5), dst/one (3) got CompareDest/one (5), dst/one (5) 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:345 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/copy_test.go:237 Error: Not equal: expected: 3 actual : 5 Test: TestCopyFileCompareDest Messages: dst/one: size incorrect file=3 vs obj=5 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:345 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/copy_test.go:242 Error: Should be true Test: TestCopyFileCompareDest Messages: listing wrong, want CompareDest/one (5), CompareDest/two (3), dst/one (3) got CompareDest/one (5), CompareDest/two (3), dst/one (5) 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:345 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/copy_test.go:242 Error: Not equal: expected: 3 actual : 5 Test: TestCopyFileCompareDest Messages: dst/one: size incorrect file=3 vs obj=5 2025/12/19 01:32:57 DEBUG : two: Need to transfer - File not found at Destination 2025/12/19 01:32:57 DEBUG : two: size = 3 OK 2025/12/19 01:32:57 DEBUG : two: Sizes identical 2025/12/19 01:32:57 DEBUG : two: Destination found in --compare-dest, skipping 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:345 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/copy_test.go:248 Error: Should be true Test: TestCopyFileCompareDest Messages: listing wrong, want CompareDest/one (5), CompareDest/two (3), dst/one (3) got CompareDest/one (5), CompareDest/two (3), dst/one (5) 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:345 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/copy_test.go:248 Error: Not equal: expected: 3 actual : 5 Test: TestCopyFileCompareDest Messages: dst/one: size incorrect file=3 vs obj=5 2025/12/19 01:33:04 DEBUG : two: Need to transfer - File not found at Destination 2025/12/19 01:33:04 DEBUG : two: size = 3 OK 2025/12/19 01:33:04 DEBUG : two: Sizes identical 2025/12/19 01:33:04 DEBUG : two: Destination found in --compare-dest, skipping 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:345 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/copy_test.go:254 Error: Should be true Test: TestCopyFileCompareDest Messages: listing wrong, want CompareDest/one (5), CompareDest/two (3), dst/one (3) got CompareDest/one (5), CompareDest/two (3), dst/one (5) 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:345 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/copy_test.go:254 Error: Not equal: expected: 3 actual : 5 Test: TestCopyFileCompareDest Messages: dst/one: size incorrect file=3 vs obj=5 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:345 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/copy_test.go:258 Error: Should be true Test: TestCopyFileCompareDest Messages: listing wrong, want CompareDest/one (5), CompareDest/two (3), dst/one (3) got CompareDest/one (5), CompareDest/two (3), dst/one (5) 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:345 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/copy_test.go:258 Error: Not equal: expected: 3 actual : 5 Test: TestCopyFileCompareDest Messages: dst/one: size incorrect file=3 vs obj=5 2025/12/19 01:33:18 DEBUG : two: Need to transfer - File not found at Destination 2025/12/19 01:33:18 DEBUG : two: size = 5 (Local file system at /tmp/rclone2136664440) 2025/12/19 01:33:18 DEBUG : two: size = 3 (mega root 'rclone-test-duhelen2xule/CompareDest') 2025/12/19 01:33:18 DEBUG : two: Sizes differ 2025/12/19 01:33:18 DEBUG : two: size = 5 OK 2025/12/19 01:33:18 INFO : two: Copied (new) 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:345 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/copy_test.go:267 Error: Should be true Test: TestCopyFileCompareDest Messages: listing wrong, want CompareDest/one (5), CompareDest/two (3), dst/one (3), dst/two (5) got CompareDest/one (5), CompareDest/two (3), dst/one (5), dst/two (5) 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:345 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/copy_test.go:267 Error: Not equal: expected: 3 actual : 5 Test: TestCopyFileCompareDest Messages: dst/one: size incorrect file=3 vs obj=5 --- FAIL: TestCopyFileCompareDest (96.31s) === RUN TestDeduplicateLargest run.go:185: Remote "mega root 'rclone-test-duhelen2xule'", Local "Local file system at /tmp/rclone2136664440", Modify Window "876000h0m0s" 2025/12/19 01:33:27 INFO : mega root 'rclone-test-duhelen2xule': Looking for duplicate names using largest mode. 2025/12/19 01:33:27 NOTICE: one: Found 3 files with duplicate names 2025/12/19 01:33:28 INFO : one: Deleted 2025/12/19 01:33:28 INFO : one: Deleted 2025/12/19 01:33:28 NOTICE: one: Deleted 2 extra copies --- PASS: TestDeduplicateLargest (1.61s) === RUN TestLsLong run.go:185: Remote "mega root 'rclone-test-duhelen2xule'", Local "Local file system at /tmp/rclone2136664440", Modify Window "876000h0m0s" 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: TestLsLong (10.43s) === RUN TestMaxDelete run.go:185: Remote "mega root 'rclone-test-duhelen2xule'", Local "Local file system at /tmp/rclone2136664440", Modify Window "876000h0m0s" 2025/12/19 01:33:40 DEBUG : Waiting for deletions to finish 2025/12/19 01:33:42 INFO : large: Deleted 2025/12/19 01:33:42 INFO : medium: Deleted 2025/12/19 01:33:42 ERROR : small: Got fatal error on delete: --max-delete threshold reached --- PASS: TestMaxDelete (5.50s) === RUN TestPurge 2025/12/19 01:33:44 DEBUG : Creating backend with remote "TestMega:rclone-test-dokepoh6seku" 2025/12/19 01:33:44 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/12/19 01:33:44 DEBUG : mega root 'rclone-test-dokepoh6seku': Using previously stored session ID and master key to initialize the Mega API 2025/12/19 01:34:00 DEBUG : Creating backend with remote "/tmp/rclone3815133145" run.go:185: Remote "mega root 'rclone-test-dokepoh6seku'", Local "Local file system at /tmp/rclone3815133145", Modify Window "876000h0m0s" 2025/12/19 01:34:06 INFO : A2: Making directory 2025/12/19 01:34:06 INFO : A1/B2: Making directory 2025/12/19 01:34:06 INFO : A1/B2/C2: Making directory 2025/12/19 01:34:06 INFO : A1/B1/C3: Making directory 2025/12/19 01:34:06 INFO : A3: Making directory 2025/12/19 01:34:07 INFO : A3/B3: Making directory 2025/12/19 01:34:07 INFO : A3/B3/C4: Making directory 2025/12/19 01:34:10 ERROR : error listing: directory not found 2025/12/19 01:34:10 DEBUG : mega root 'rclone-test-dokepoh6seku': Purge remote 2025/12/19 01:34:10 NOTICE: purge failed: directory not found --- PASS: TestPurge (25.55s) === RUN TestMoveFile run.go:185: Remote "mega root 'rclone-test-duhelen2xule'", Local "Local file system at /tmp/rclone2136664440", Modify Window "876000h0m0s" 2025/12/19 01:34:10 DEBUG : file1: Need to transfer - File not found at Destination 2025/12/19 01:34:12 DEBUG : sub/file2: size = 14 OK 2025/12/19 01:34:12 INFO : file1: Copied (new) to: sub/file2 2025/12/19 01:34:12 INFO : file1: Deleted 2025/12/19 01:34:12 DEBUG : sub/file2: size = 14 OK 2025/12/19 01:34:12 DEBUG : file1: Sizes identical 2025/12/19 01:34:12 DEBUG : file1: Unchanged skipping 2025/12/19 01:34:12 INFO : file1: Deleted 2025/12/19 01:34:12 DEBUG : mega root 'rclone-test-duhelen2xule': don't need to copy/move sub/file2, it is already at target location run.go:130: removing dir "sub" failed - try 1/3: directory not empty --- PASS: TestMoveFile (5.12s) === RUN TestMoveFileBackupDir run.go:185: Remote "mega root 'rclone-test-duhelen2xule'", Local "Local file system at /tmp/rclone2136664440", Modify Window "876000h0m0s" 2025/12/19 01:34:18 DEBUG : Creating backend with remote "TestMega:rclone-test-duhelen2xule/backup" 2025/12/19 01:34:18 DEBUG : mega root 'rclone-test-duhelen2xule/backup': Using previously stored session ID and master key to initialize the Mega API 2025/12/19 01:34:37 DEBUG : dst/file1: size = 14 (Local file system at /tmp/rclone2136664440) 2025/12/19 01:34:37 DEBUG : dst/file1: size = 18 (mega root 'rclone-test-duhelen2xule') 2025/12/19 01:34:37 DEBUG : dst/file1: Sizes differ 2025/12/19 01:34:39 INFO : dst/file1: Moved (server-side) 2025/12/19 01:34:39 DEBUG : dst/file1: size = 14 OK 2025/12/19 01:34:39 INFO : dst/file1: Copied (new) 2025/12/19 01:34:39 INFO : dst/file1: Deleted run.go:130: removing dir "dst" failed - try 1/3: directory not empty --- PASS: TestMoveFileBackupDir (26.79s) FAIL 2025/12/19 01:34:41 DEBUG : mega root 'rclone-test-duhelen2xule': Purge remote "./operations.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCopyFileCompareDest|TestDeduplicateLargest|TestLsLong|TestMaxDelete|TestMoveFile|TestMoveFileBackupDir|TestPurge)$'" - Finished ERROR in 3m10.758455069s (try 2/5): exit status 1: Failed [TestCopyFileCompareDest]