"./operations.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCaseInsensitiveMoveFile|TestCaseInsensitiveMoveFileDryRun|TestCat|TestCopyDirMetadata|TestCopyFileBackupDir|TestCopyFileCompareDest|TestCopyFileCopyDest|TestCopyFileMaxTransfer|TestCopyInplace|TestCopyLongFileName|TestCopyURL|TestCount|TestDeduplicateFirst|TestDeduplicateInteractive|TestDeduplicateLargest|TestDeduplicateNewest|TestDeduplicateNewestByHash|TestDeduplicateOldest|TestDeduplicateRename|TestDeduplicateSizeOnly|TestDeduplicateSkip|TestDeduplicateSmallest|TestDelete|TestDirMove|TestDirsEqual|TestGetFsInfo|TestHashSums|TestListDirSorted|TestLs|TestLsLong|TestLsWithFilesFrom|TestLsd|TestMaxDelete|TestMaxDeleteSize|TestMaxDeleteSizeLargeFile|TestMergeDirs|TestMkdir|TestMkdirMetadata|TestMkdirModTime|TestMoveFile|TestMoveFileBackupDir|TestMoveFileWithIgnoreExisting|TestRcatMetadata|TestRcatSize|TestRcatSizeMetadata|TestReadFile|TestRemoveExisting|TestRmdirsLeaveRoot|TestRmdirsNoLeaveRoot|TestRmdirsWithFilter|TestSetDirModTime|TestStatJSON|TestTouchDir)$|^TestListJSON$/^(Default|DirsOnly|Metadata|Recurse)$|^TestRcat$/^(withChecksum=false,ignoreChecksum=false|withChecksum=false,ignoreChecksum=true|withChecksum=true,ignoreChecksum=false|withChecksum=true,ignoreChecksum=true)$'" - Starting (try 2/5) 2025/01/31 02:54:22 DEBUG : Creating backend with remote "TestMega:rclone-test-seqayig9yiwu" 2025/01/31 02:54:22 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/31 02:54:35 DEBUG : Creating backend with remote "/tmp/rclone3427587697" === RUN TestCopyFileBackupDir run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:54:36 DEBUG : Creating backend with remote "TestMega:rclone-test-seqayig9yiwu/backup" 2025/01/31 02:54:36 DEBUG : dst/file1: Sizes differ (src 14 vs dst 18) 2025/01/31 02:54:37 INFO : dst/file1: Moved (server-side) 2025/01/31 02:54:38 INFO : dst/file1: Copied (new) --- PASS: TestCopyFileBackupDir (4.52s) === RUN TestCopyFileCompareDest run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:54:40 DEBUG : Creating backend with remote "TestMega:rclone-test-seqayig9yiwu/dst" 2025/01/31 02:54:40 DEBUG : Creating backend with remote "TestMega:rclone-test-seqayig9yiwu/CompareDest" 2025/01/31 02:54:40 DEBUG : one: Need to transfer - File not found at Destination 2025/01/31 02:54:41 INFO : one: Copied (new) 2025/01/31 02:54:41 DEBUG : one: Sizes differ (src 5 vs dst 3) 2025/01/31 02:54:41 INFO : one: Copied (replaced existing) fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure 2025/01/31 02:54:51 DEBUG : one: Sizes differ (src 5 vs dst 3) 2025/01/31 02:54:51 DEBUG : one: Sizes identical 2025/01/31 02:54:51 DEBUG : one: Destination found in --compare-dest, skipping 2025/01/31 02:54:51 DEBUG : two: Need to transfer - File not found at Destination 2025/01/31 02:54:51 DEBUG : two: Sizes identical 2025/01/31 02:54:51 DEBUG : two: Destination found in --compare-dest, skipping 2025/01/31 02:54:51 DEBUG : two: Need to transfer - File not found at Destination 2025/01/31 02:54:51 DEBUG : two: Sizes identical 2025/01/31 02:54:51 DEBUG : two: Destination found in --compare-dest, skipping 2025/01/31 02:54:51 DEBUG : two: Need to transfer - File not found at Destination 2025/01/31 02:54:51 DEBUG : two: Sizes differ (src 5 vs dst 3) 2025/01/31 02:54:51 INFO : two: Copied (new) --- PASS: TestCopyFileCompareDest (12.64s) === RUN TestCopyFileCopyDest run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" copy_test.go:276: Skipping test as remote does not support server-side copy --- SKIP: TestCopyFileCopyDest (0.00s) === RUN TestCopyInplace run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" copy_test.go:370: Partial uploads not supported --- SKIP: TestCopyInplace (0.00s) === RUN TestCopyLongFileName run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" copy_test.go:403: Partial uploads not supported --- SKIP: TestCopyLongFileName (0.00s) === RUN TestCopyFileMaxTransfer run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:54:52 DEBUG : TestCopyFileMaxTransfer/file1: Need to transfer - File not found at Destination 2025/01/31 02:54:55 INFO : TestCopyFileMaxTransfer/file1: Copied (new) 2025/01/31 02:54:55 DEBUG : TestCopyFileMaxTransfer/file2: Need to transfer - File not found at Destination 2025/01/31 02:54:56 ERROR : TestCopyFileMaxTransfer/file2: Failed to copy: upload failed to read data: max transfer limit reached as set by --max-transfer 2025/01/31 02:54:56 DEBUG : TestCopyFileMaxTransfer/file3: Need to transfer - File not found at Destination 2025/01/31 02:54:56 DEBUG : TestCopyFileMaxTransfer/file4: Need to transfer - File not found at Destination 2025/01/31 02:54:57 INFO : TestCopyFileMaxTransfer/file4: Copied (new) run.go:125: removing dir "TestCopyFileMaxTransfer" failed - try 1/3: directory not empty --- PASS: TestCopyFileMaxTransfer (6.81s) === RUN TestDeduplicateInteractive run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" dedupe_test.go:36: Can't run this test without a hash --- SKIP: TestDeduplicateInteractive (0.00s) === RUN TestDeduplicateSkip run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:55:00 INFO : mega root 'rclone-test-seqayig9yiwu': Looking for duplicate names using skip mode. 2025/01/31 02:55:00 NOTICE: one: Found 2 files with duplicate names 2025/01/31 02:55:00 NOTICE: one: Skipping 2 files with duplicate names fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure --- PASS: TestDeduplicateSkip (8.55s) === RUN TestDeduplicateSizeOnly run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:55:09 INFO : mega root 'rclone-test-seqayig9yiwu': Looking for duplicate names using skip mode. 2025/01/31 02:55:09 NOTICE: one: Found 3 files with duplicate names 2025/01/31 02:55:09 NOTICE: one: Deleting 1/2 identical duplicates (size 11) 2025/01/31 02:55:09 INFO : one: Deleted 2025/01/31 02:55:09 NOTICE: one: Skipping 2 files with duplicate names --- PASS: TestDeduplicateSizeOnly (1.44s) === RUN TestDeduplicateFirst run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:55:10 INFO : mega root 'rclone-test-seqayig9yiwu': Looking for duplicate names using first mode. 2025/01/31 02:55:10 NOTICE: one: Found 3 files with duplicate names 2025/01/31 02:55:11 INFO : one: Deleted 2025/01/31 02:55:11 INFO : one: Deleted 2025/01/31 02:55:11 NOTICE: one: Deleted 2 extra copies --- PASS: TestDeduplicateFirst (2.67s) === RUN TestDeduplicateNewest run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" dedupe_test.go:42: Can't run this test without modtimes --- SKIP: TestDeduplicateNewest (0.00s) === RUN TestDeduplicateNewestByHash run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" dedupe_test.go:36: Can't run this test without a hash --- SKIP: TestDeduplicateNewestByHash (0.00s) === RUN TestDeduplicateOldest run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:55:16 INFO : mega root 'rclone-test-seqayig9yiwu': Looking for duplicate names using oldest mode. 2025/01/31 02:55:16 NOTICE: one: Found 3 files with duplicate names 2025/01/31 02:55:16 INFO : one: Deleted 2025/01/31 02:55:16 INFO : one: Deleted 2025/01/31 02:55:16 NOTICE: one: Deleted 2 extra copies --- PASS: TestDeduplicateOldest (3.84s) === RUN TestDeduplicateLargest run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:55:16 INFO : mega root 'rclone-test-seqayig9yiwu': Looking for duplicate names using largest mode. 2025/01/31 02:55:16 NOTICE: one: Found 3 files with duplicate names 2025/01/31 02:55:16 INFO : one: Deleted 2025/01/31 02:55:16 INFO : one: Deleted 2025/01/31 02:55:16 NOTICE: one: Deleted 2 extra copies --- PASS: TestDeduplicateLargest (0.56s) === RUN TestDeduplicateSmallest run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:55:18 INFO : mega root 'rclone-test-seqayig9yiwu': Looking for duplicate names using smallest mode. 2025/01/31 02:55:18 NOTICE: one: Found 3 files with duplicate names 2025/01/31 02:55:18 INFO : one: Deleted 2025/01/31 02:55:18 INFO : one: Deleted 2025/01/31 02:55:18 NOTICE: one: Deleted 2 extra copies fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure --- PASS: TestDeduplicateSmallest (8.87s) === RUN TestDeduplicateRename run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:55:28 INFO : mega root 'rclone-test-seqayig9yiwu': Looking for duplicate names using rename mode. 2025/01/31 02:55:28 NOTICE: one.txt: Found 3 files with duplicate names 2025/01/31 02:55:28 INFO : one-2.txt: renamed from: one.txt 2025/01/31 02:55:28 INFO : one-3.txt: renamed from: one.txt 2025/01/31 02:55:29 INFO : one-4.txt: renamed from: one.txt --- PASS: TestDeduplicateRename (3.99s) === RUN TestMergeDirs run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:55:30 INFO : dupe2: merging "two.txt" 2025/01/31 02:55:30 INFO : dupe2: removing empty directory 2025/01/31 02:55:30 INFO : dupe3: merging "three.txt" 2025/01/31 02:55:31 INFO : dupe3: removing empty directory run.go:125: removing dir "dupe1" failed - try 1/3: directory not empty run.go:125: removing dir "dupe1" failed - try 2/3: directory not empty run.go:125: removing dir "dupe1" failed - try 3/3: directory not empty run.go:128: removing dir "dupe1" failed: directory not empty fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/testing/testing.go:1175 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/testing/testing.go:1353 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/testing/testing.go:1683 Error: Should be true Test: TestMergeDirs Messages: listing wrong, want got dupe1/three.txt (19) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/testing/testing.go:1175 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/testing/testing.go:1353 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/testing/testing.go:1683 Error: Should be true Test: TestMergeDirs Messages: Unexpected file "dupe1/three.txt" fstest.go:321: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:321 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/testing/testing.go:1175 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/testing/testing.go:1353 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/testing/testing.go:1683 Error: Not equal: expected: []string{} actual : []string{"dupe1"} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) { +([]string) (len=1) { + (string) (len=5) "dupe1" } Test: TestMergeDirs Messages: directories --- FAIL: TestMergeDirs (11.67s) === RUN TestListDirSorted run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/listdirsorted_test.go:36 Error: Should be true Test: TestListDirSorted Messages: listing wrong, want a.txt (11), sub dir/hello world (11), sub dir/hello world2 (11), sub dir/ignore dir/.ignore (1), sub dir/ignore dir/should be ignored (9), sub dir/sub sub dir/hello world3 (11), zend.txt (5) got a.txt (11), dupe1/three.txt (19), sub dir/hello world (11), sub dir/hello world2 (11), sub dir/ignore dir/.ignore (1), sub dir/ignore dir/should be ignored (9), sub dir/sub sub dir/hello world3 (11), zend.txt (5) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/listdirsorted_test.go:36 Error: Should be true Test: TestListDirSorted Messages: Unexpected file "dupe1/three.txt" listdirsorted_test.go:57: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/listdirsorted_test.go:57 Error: "[a.txt dupe1 sub dir zend.txt]" should have 3 item(s), but has 4 Test: TestListDirSorted --- FAIL: TestListDirSorted (14.93s) === RUN TestListJSON run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" === RUN TestListJSON/Default === RUN TestListJSON/DirsOnly === RUN TestListJSON/Recurse === RUN TestListJSON/Metadata --- PASS: TestListJSON (1.69s) --- PASS: TestListJSON/Default (0.00s) --- PASS: TestListJSON/DirsOnly (0.00s) --- PASS: TestListJSON/Recurse (0.00s) --- PASS: TestListJSON/Metadata (0.00s) === RUN TestStatJSON run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" === RUN TestStatJSON/Root === RUN TestStatJSON/RootFilesOnly === RUN TestStatJSON/RootDirsOnly === RUN TestStatJSON/Dir === RUN TestStatJSON/DirWithTrailingSlash === RUN TestStatJSON/File === RUN TestStatJSON/NotFound === RUN TestStatJSON/DirFilesOnly === RUN TestStatJSON/FileFilesOnly === RUN TestStatJSON/NotFoundFilesOnly === RUN TestStatJSON/DirDirsOnly === RUN TestStatJSON/FileDirsOnly === RUN TestStatJSON/NotFoundDirsOnly === RUN TestStatJSON/RootNotFound 2025/01/31 02:56:03 DEBUG : Creating backend with remote "TestMega:rclone-test-seqayig9yiwu/notfound" 2025/01/31 02:56:03 DEBUG : Config file has changed externally - reloading === NAME TestStatJSON run.go:125: removing dir "sub" failed - try 1/3: directory not empty --- PASS: TestStatJSON (7.31s) --- PASS: TestStatJSON/Root (0.00s) --- PASS: TestStatJSON/RootFilesOnly (0.00s) --- PASS: TestStatJSON/RootDirsOnly (0.00s) --- PASS: TestStatJSON/Dir (0.00s) --- PASS: TestStatJSON/DirWithTrailingSlash (0.00s) --- PASS: TestStatJSON/File (0.00s) --- PASS: TestStatJSON/NotFound (0.00s) --- PASS: TestStatJSON/DirFilesOnly (0.00s) --- PASS: TestStatJSON/FileFilesOnly (0.00s) --- PASS: TestStatJSON/NotFoundFilesOnly (0.00s) --- PASS: TestStatJSON/DirDirsOnly (0.00s) --- PASS: TestStatJSON/FileDirsOnly (0.00s) --- PASS: TestStatJSON/NotFoundDirsOnly (0.00s) --- PASS: TestStatJSON/RootNotFound (0.00s) === RUN TestMkdir run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:56:05 INFO : mega root 'rclone-test-seqayig9yiwu': Making directory 2025/01/31 02:56:05 INFO : mega root 'rclone-test-seqayig9yiwu': Making directory --- PASS: TestMkdir (0.00s) === RUN TestLsd run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" run.go:125: removing dir "sub dir" failed - try 1/3: directory not empty --- PASS: TestLsd (2.65s) === RUN TestLs run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" --- PASS: TestLs (1.07s) === RUN TestLsWithFilesFrom run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:56:09 DEBUG : empty space: Excluded (FilesFrom Filter) 2025/01/31 02:56:09 DEBUG : empty space: Excluded fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure --- PASS: TestLsWithFilesFrom (8.06s) === RUN TestLsLong run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure --- PASS: TestLsLong (8.31s) === RUN TestHashSums run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure --- PASS: TestHashSums (8.09s) === RUN TestCount run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" run.go:285: Failed to put "empty space" to "mega root 'rclone-test-seqayig9yiwu'": upload file failed to create session: Try again --- FAIL: TestCount (11.19s) === RUN TestDelete run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:56:45 DEBUG : large: Excluded (Size Filter) 2025/01/31 02:56:45 DEBUG : large: Excluded 2025/01/31 02:56:45 DEBUG : Waiting for deletions to finish 2025/01/31 02:56:45 INFO : medium: Deleted 2025/01/31 02:56:46 INFO : small: Deleted --- PASS: TestDelete (1.60s) === RUN TestMaxDelete run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:56:47 DEBUG : Waiting for deletions to finish 2025/01/31 02:56:47 INFO : large: Deleted 2025/01/31 02:56:47 ERROR : small: Got fatal error on delete: --max-delete threshold reached 2025/01/31 02:56:47 INFO : medium: Deleted --- PASS: TestMaxDelete (1.18s) === RUN TestMaxDeleteSizeLargeFile run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:56:48 DEBUG : Waiting for deletions to finish 2025/01/31 02:56:48 INFO : medium: Deleted 2025/01/31 02:56:49 INFO : small: Deleted 2025/01/31 02:56:49 ERROR : large: Got fatal error on delete: --max-delete-size threshold reached --- PASS: TestMaxDeleteSizeLargeFile (1.64s) === RUN TestMaxDeleteSize run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:56:52 DEBUG : Waiting for deletions to finish 2025/01/31 02:56:52 INFO : large: Deleted 2025/01/31 02:56:52 INFO : medium: Deleted 2025/01/31 02:56:52 ERROR : small: Got fatal error on delete: --max-delete-size threshold reached operations_test.go:492: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:492 Error: Not equal: expected: 1 actual : 2 Test: TestMaxDeleteSize --- FAIL: TestMaxDeleteSize (3.67s) === RUN TestReadFile run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" --- PASS: TestReadFile (1.46s) === RUN TestCat run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" --- PASS: TestCat (9.47s) === RUN TestRmdirsNoLeaveRoot run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:57:11 INFO : A2: Making directory 2025/01/31 02:57:11 INFO : A1/B2: Making directory 2025/01/31 02:57:12 INFO : A1/B2/C2: Making directory 2025/01/31 02:57:12 INFO : A1/B1/C3: Making directory 2025/01/31 02:57:12 INFO : A3: Making directory 2025/01/31 02:57:12 INFO : A3/B3: Making directory 2025/01/31 02:57:12 INFO : A3/B3/C4: Making directory 2025/01/31 02:57:13 DEBUG : removing 1 level 3 directories 2025/01/31 02:57:13 INFO : A3/B3/C4: Removing directory 2025/01/31 02:57:13 DEBUG : removing 2 level 3 directories 2025/01/31 02:57:13 INFO : A1/B2/C2: Removing directory 2025/01/31 02:57:13 INFO : A1/B1/C3: Removing directory 2025/01/31 02:57:14 DEBUG : removing 2 level 2 directories 2025/01/31 02:57:14 INFO : A3/B3: Removing directory 2025/01/31 02:57:14 INFO : A1/B2: Removing directory 2025/01/31 02:57:14 DEBUG : removing 2 level 1 directories 2025/01/31 02:57:14 INFO : A3: Removing directory 2025/01/31 02:57:14 INFO : A2: Removing directory 2025/01/31 02:57:16 DEBUG : removing 1 level 3 directories 2025/01/31 02:57:16 INFO : A1/B1/C1: Removing directory 2025/01/31 02:57:17 DEBUG : removing 1 level 2 directories 2025/01/31 02:57:17 INFO : A1/B1: Removing directory 2025/01/31 02:57:17 DEBUG : removing 1 level 1 directories 2025/01/31 02:57:17 INFO : A1: Removing directory 2025/01/31 02:57:17 DEBUG : removing 1 level 0 directories 2025/01/31 02:57:17 INFO : mega root 'rclone-test-seqayig9yiwu': Removing directory 2025/01/31 02:57:18 ERROR : : error listing: directory not found 2025/01/31 02:57:18 ERROR : : error listing: directory not found --- PASS: TestRmdirsNoLeaveRoot (14.93s) === RUN TestRmdirsLeaveRoot run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:57:18 INFO : A1: Making directory 2025/01/31 02:57:18 INFO : A1/B1: Making directory 2025/01/31 02:57:18 INFO : A1/B1/C1: Making directory 2025/01/31 02:57:18 DEBUG : removing 1 level 3 directories 2025/01/31 02:57:18 INFO : A1/B1/C1: Removing directory 2025/01/31 02:57:19 DEBUG : removing 1 level 2 directories 2025/01/31 02:57:19 INFO : A1/B1: Removing directory --- PASS: TestRmdirsLeaveRoot (1.23s) === RUN TestRmdirsWithFilter run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:57:19 INFO : A1: Making directory 2025/01/31 02:57:19 INFO : A1/B1: Making directory 2025/01/31 02:57:19 INFO : A1/B1/C1: Making directory 2025/01/31 02:57:20 DEBUG : removing 1 level 3 directories 2025/01/31 02:57:20 INFO : A1/B1/C1: Removing directory 2025/01/31 02:57:21 DEBUG : removing 1 level 2 directories 2025/01/31 02:57:21 INFO : A1/B1: Removing directory 2025/01/31 02:57:21 ERROR : A1/B1: Failed to rmdir: directory not empty operations_test.go:801: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:801 Error: Received unexpected error: failed to remove directories: directory not empty Test: TestRmdirsWithFilter --- FAIL: TestRmdirsWithFilter (2.36s) === RUN TestCopyURL run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:57:22 DEBUG : filename.txt: File name found in url 2025/01/31 02:57:23 DEBUG : headerfilename.txt: filename found in Content-Disposition header. fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure --- PASS: TestCopyURL (10.37s) === RUN TestMoveFile run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:57:32 DEBUG : file1: Need to transfer - File not found at Destination 2025/01/31 02:57:33 INFO : file1: Copied (new) to: sub/file2 2025/01/31 02:57:33 INFO : file1: Deleted 2025/01/31 02:57:33 DEBUG : file1: Sizes identical 2025/01/31 02:57:33 DEBUG : file1: Unchanged skipping 2025/01/31 02:57:33 INFO : file1: Deleted 2025/01/31 02:57:33 DEBUG : mega root 'rclone-test-seqayig9yiwu': don't need to copy/move sub/file2, it is already at target location run.go:125: removing dir "sub" failed - try 1/3: directory not empty --- PASS: TestMoveFile (2.19s) === RUN TestMoveFileWithIgnoreExisting run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:57:34 DEBUG : file1: Need to transfer - File not found at Destination 2025/01/31 02:57:35 INFO : file1: Copied (new) 2025/01/31 02:57:35 INFO : file1: Deleted 2025/01/31 02:57:35 DEBUG : file1: Destination exists, skipping 2025/01/31 02:57:35 DEBUG : file1: Not removing source file as destination file exists and --ignore-existing is set --- PASS: TestMoveFileWithIgnoreExisting (0.94s) === RUN TestCaseInsensitiveMoveFile run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" --- PASS: TestCaseInsensitiveMoveFile (0.00s) === RUN TestCaseInsensitiveMoveFileDryRun run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" --- PASS: TestCaseInsensitiveMoveFileDryRun (0.00s) === RUN TestMoveFileBackupDir run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:57:36 DEBUG : Creating backend with remote "TestMega:rclone-test-seqayig9yiwu/backup" 2025/01/31 02:57:36 DEBUG : dst/file1: Sizes differ (src 14 vs dst 18) 2025/01/31 02:57:37 INFO : dst/file1: Moved (server-side) 2025/01/31 02:57:37 INFO : dst/file1: Copied (new) 2025/01/31 02:57:37 INFO : dst/file1: Deleted --- PASS: TestMoveFileBackupDir (3.44s) === RUN TestDirMove run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:57:40 INFO : A1/B2: Making directory 2025/01/31 02:57:41 INFO : A1/B1/C3: Making directory 2025/01/31 02:57:44 INFO : A2/one: Moved (server-side) to: A3/one 2025/01/31 02:57:44 INFO : A2/two: Moved (server-side) to: A3/two 2025/01/31 02:57:44 INFO : A2/B1/three: Moved (server-side) to: A3/B1/three 2025/01/31 02:57:44 INFO : A2/B1/C1/four: Moved (server-side) to: A3/B1/C1/four 2025/01/31 02:57:45 INFO : A2/B1/C2/five: Moved (server-side) to: A3/B1/C2/five 2025/01/31 02:57:47 INFO : mega root 'rclone-test-seqayig9yiwu': Can't DirMove - falling back to file moves: can't move directory - incompatible remotes 2025/01/31 02:57:48 INFO : A3/B1/C1/four: Moved (server-side) to: A4/B1/C1/four 2025/01/31 02:57:49 INFO : A3/one: Moved (server-side) to: A4/one 2025/01/31 02:57:49 INFO : A3/B1/C2/five: Moved (server-side) to: A4/B1/C2/five 2025/01/31 02:57:49 INFO : A3/two: Moved (server-side) to: A4/two 2025/01/31 02:57:49 INFO : A3/B1/three: Moved (server-side) to: A4/B1/three --- PASS: TestDirMove (16.71s) === RUN TestGetFsInfo run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" --- PASS: TestGetFsInfo (0.00s) === RUN TestRcat === RUN TestRcat/withChecksum=false,ignoreChecksum=false run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:57:55 DEBUG : mega root 'rclone-test-seqayig9yiwu': File to upload is small (34 bytes), uploading instead of streaming 2025/01/31 02:57:56 NOTICE: mega root 'rclone-test-seqayig9yiwu': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2025/01/31 02:57:56 DEBUG : no_checksum_small_file_from_pipe: Size of src and dst objects identical 2025/01/31 02:57:56 DEBUG : mega root 'rclone-test-seqayig9yiwu': Target remote doesn't support streaming uploads, creating temporary local FS to spool file 2025/01/31 02:57:56 DEBUG : no_checksum_big_file_from_pipe: Size of src and dst objects identical === RUN TestRcat/withChecksum=true,ignoreChecksum=false run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:57:56 DEBUG : mega root 'rclone-test-seqayig9yiwu': File to upload is small (34 bytes), uploading instead of streaming 2025/01/31 02:57:57 DEBUG : with_checksum_small_file_from_pipe: Size of src and dst objects identical 2025/01/31 02:57:57 DEBUG : mega root 'rclone-test-seqayig9yiwu': Target remote doesn't support streaming uploads, creating temporary local FS to spool file 2025/01/31 02:57:57 DEBUG : with_checksum_big_file_from_pipe: Size of src and dst objects identical === RUN TestRcat/withChecksum=false,ignoreChecksum=true run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:57:57 DEBUG : mega root 'rclone-test-seqayig9yiwu': File to upload is small (34 bytes), uploading instead of streaming 2025/01/31 02:57:57 DEBUG : ignore_checksum_small_file_from_pipe: Sizes identical 2025/01/31 02:57:57 DEBUG : mega root 'rclone-test-seqayig9yiwu': Target remote doesn't support streaming uploads, creating temporary local FS to spool file 2025/01/31 02:57:57 DEBUG : ignore_checksum_big_file_from_pipe: Sizes identical === RUN TestRcat/withChecksum=true,ignoreChecksum=true run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:57:58 DEBUG : mega root 'rclone-test-seqayig9yiwu': File to upload is small (34 bytes), uploading instead of streaming 2025/01/31 02:57:58 DEBUG : ignore_checksum_small_file_from_pipe: Size of src and dst objects identical 2025/01/31 02:57:58 DEBUG : mega root 'rclone-test-seqayig9yiwu': Target remote doesn't support streaming uploads, creating temporary local FS to spool file 2025/01/31 02:57:59 DEBUG : ignore_checksum_big_file_from_pipe: Size of src and dst objects identical fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure --- PASS: TestRcat (10.43s) --- PASS: TestRcat/withChecksum=false,ignoreChecksum=false (0.96s) --- PASS: TestRcat/withChecksum=true,ignoreChecksum=false (0.61s) --- PASS: TestRcat/withChecksum=false,ignoreChecksum=true (0.80s) --- PASS: TestRcat/withChecksum=true,ignoreChecksum=true (8.06s) === RUN TestRcatMetadata run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" operations_test.go:1532: Skipping as destination doesn't support user metadata --- SKIP: TestRcatMetadata (0.00s) === RUN TestRcatSize run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:58:07 DEBUG : mega root 'rclone-test-seqayig9yiwu': File to upload is small (60 bytes), uploading instead of streaming 2025/01/31 02:58:07 DEBUG : potato2: Size of src and dst objects identical --- PASS: TestRcatSize (1.21s) === RUN TestRcatSizeMetadata run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" operations_test.go:1613: Skipping as destination doesn't support user metadata --- SKIP: TestRcatSizeMetadata (0.00s) === RUN TestTouchDir run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" operations_test.go:1665: Skipping test as remote does not support modtime --- SKIP: TestTouchDir (0.00s) === RUN TestMkdirMetadata run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" operations_test.go:1703: Skipping test as remote does not support MkdirMetadata --- SKIP: TestMkdirMetadata (0.00s) === RUN TestMkdirModTime run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" operations_test.go:1722: Skipping test as remote does not support DirSetModTime or MkdirMetadata --- SKIP: TestMkdirModTime (0.00s) === RUN TestCopyDirMetadata run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" operations_test.go:1743: Skipping test as remote does not support WriteDirMetadata or MkdirMetadata --- SKIP: TestCopyDirMetadata (0.00s) === RUN TestSetDirModTime run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" operations_test.go:1779: Skipping test as remote does not support DirSetModTime or WriteDirSetModTime --- SKIP: TestSetDirModTime (0.00s) === RUN TestDirsEqual run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" operations_test.go:1823: Skipping test as remote does not support WriteDirMetadata or MkdirMetadata --- SKIP: TestDirsEqual (0.00s) === RUN TestRemoveExisting run.go:180: Remote "mega root 'rclone-test-seqayig9yiwu'", Local "Local file system at /tmp/rclone3427587697", Modify Window "876000h0m0s" 2025/01/31 02:58:07 DEBUG : sub dir/test remove existing: TEST: renaming existing object to "sub dir/test remove existing.nevanap3" before starting 2025/01/31 02:58:08 DEBUG : sub dir/test remove existing.nevanap3: TEST: removing renamed existing file after operation 2025/01/31 02:58:08 DEBUG : sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890123456789: TEST: renaming existing object to "sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890.rekoxar3" before starting 2025/01/31 02:58:09 DEBUG : sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890.rekoxar3: TEST: renaming existing back after failed operation 2025/01/31 02:58:09 DEBUG : sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890123456789: TEST: renaming existing object to "sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890.pepudab1" before starting 2025/01/31 02:58:09 DEBUG : sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890.pepudab1: TEST: removing renamed existing file after operation --- PASS: TestRemoveExisting (4.84s) FAIL 2025/01/31 02:58:12 DEBUG : mega root 'rclone-test-seqayig9yiwu': Purge remote "./operations.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCaseInsensitiveMoveFile|TestCaseInsensitiveMoveFileDryRun|TestCat|TestCopyDirMetadata|TestCopyFileBackupDir|TestCopyFileCompareDest|TestCopyFileCopyDest|TestCopyFileMaxTransfer|TestCopyInplace|TestCopyLongFileName|TestCopyURL|TestCount|TestDeduplicateFirst|TestDeduplicateInteractive|TestDeduplicateLargest|TestDeduplicateNewest|TestDeduplicateNewestByHash|TestDeduplicateOldest|TestDeduplicateRename|TestDeduplicateSizeOnly|TestDeduplicateSkip|TestDeduplicateSmallest|TestDelete|TestDirMove|TestDirsEqual|TestGetFsInfo|TestHashSums|TestListDirSorted|TestLs|TestLsLong|TestLsWithFilesFrom|TestLsd|TestMaxDelete|TestMaxDeleteSize|TestMaxDeleteSizeLargeFile|TestMergeDirs|TestMkdir|TestMkdirMetadata|TestMkdirModTime|TestMoveFile|TestMoveFileBackupDir|TestMoveFileWithIgnoreExisting|TestRcatMetadata|TestRcatSize|TestRcatSizeMetadata|TestReadFile|TestRemoveExisting|TestRmdirsLeaveRoot|TestRmdirsNoLeaveRoot|TestRmdirsWithFilter|TestSetDirModTime|TestStatJSON|TestTouchDir)$|^TestListJSON$/^(Default|DirsOnly|Metadata|Recurse)$|^TestRcat$/^(withChecksum=false,ignoreChecksum=false|withChecksum=false,ignoreChecksum=true|withChecksum=true,ignoreChecksum=false|withChecksum=true,ignoreChecksum=true)$'" - Finished ERROR in 3m50.771937532s (try 2/5): exit status 1: Failed [TestMergeDirs TestListDirSorted TestCount TestMaxDeleteSize TestRmdirsWithFilter]