"./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/03/07 04:09:13 DEBUG : Creating backend with remote "TestMega:rclone-test-nimaler6qofe"
2025/03/07 04:09:13 DEBUG : Using config file from "/home/rclone/.rclone.conf"
2025/03/07 04:09:30 DEBUG : Creating backend with remote "/tmp/rclone3540199739"
=== RUN   TestCopyFileBackupDir
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:09:30 DEBUG : Creating backend with remote "TestMega:rclone-test-nimaler6qofe/backup"
2025/03/07 04:09:30 DEBUG : dst/file1: Sizes differ (src 14 vs dst 18)
2025/03/07 04:09:30 INFO  : dst/file1: Moved (server-side)
2025/03/07 04:09:30 INFO  : dst/file1: Copied (new)
    run.go:125: removing dir "dst" failed - try 1/3: directory not empty
--- PASS: TestCopyFileBackupDir (2.94s)
=== RUN   TestCopyFileCompareDest
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:09:32 DEBUG : Creating backend with remote "TestMega:rclone-test-nimaler6qofe/dst"
2025/03/07 04:09:32 DEBUG : Creating backend with remote "TestMega:rclone-test-nimaler6qofe/CompareDest"
2025/03/07 04:09:32 DEBUG : one: Need to transfer - File not found at Destination
2025/03/07 04:09:33 INFO  : one: Copied (new)
2025/03/07 04:09:33 DEBUG : one: Sizes differ (src 5 vs dst 3)
2025/03/07 04:09:33 INFO  : one: Copied (replaced existing)
2025/03/07 04:09:34 DEBUG : one: Sizes differ (src 5 vs dst 3)
2025/03/07 04:09:34 DEBUG : one: Sizes identical
2025/03/07 04:09:34 DEBUG : one: Destination found in --compare-dest, skipping
2025/03/07 04:09:34 DEBUG : two: Need to transfer - File not found at Destination
2025/03/07 04:09:34 DEBUG : two: Sizes identical
2025/03/07 04:09:34 DEBUG : two: Destination found in --compare-dest, skipping
2025/03/07 04:09:34 DEBUG : two: Need to transfer - File not found at Destination
2025/03/07 04:09:34 DEBUG : two: Sizes identical
2025/03/07 04:09:34 DEBUG : two: Destination found in --compare-dest, skipping
2025/03/07 04:09:34 DEBUG : two: Need to transfer - File not found at Destination
2025/03/07 04:09:34 DEBUG : two: Sizes differ (src 5 vs dst 3)
2025/03/07 04:09:35 INFO  : two: Copied (new)
--- PASS: TestCopyFileCompareDest (3.06s)
=== RUN   TestCopyFileCopyDest
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", 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-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", 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-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", 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-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:09:36 DEBUG : TestCopyFileMaxTransfer/file1: Need to transfer - File not found at Destination
2025/03/07 04:09:36 INFO  : TestCopyFileMaxTransfer/file1: Copied (new)
2025/03/07 04:09:36 DEBUG : TestCopyFileMaxTransfer/file2: Need to transfer - File not found at Destination
2025/03/07 04:09:36 ERROR : TestCopyFileMaxTransfer/file2: Failed to copy: upload failed to read data: max transfer limit reached as set by --max-transfer
2025/03/07 04:09:36 DEBUG : TestCopyFileMaxTransfer/file3: Need to transfer - File not found at Destination
2025/03/07 04:09:36 DEBUG : TestCopyFileMaxTransfer/file4: Need to transfer - File not found at Destination
2025/03/07 04:09:37 INFO  : TestCopyFileMaxTransfer/file4: Copied (new)
--- PASS: TestCopyFileMaxTransfer (1.66s)
=== RUN   TestDeduplicateInteractive
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", 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-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:09:38 INFO  : mega root 'rclone-test-nimaler6qofe': Looking for duplicate names using skip mode.
2025/03/07 04:09:38 NOTICE: one: Found 2 files with duplicate names
2025/03/07 04:09:38 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 (7.67s)
=== RUN   TestDeduplicateSizeOnly
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:09:46 INFO  : mega root 'rclone-test-nimaler6qofe': Looking for duplicate names using skip mode.
2025/03/07 04:09:46 NOTICE: one: Found 3 files with duplicate names
2025/03/07 04:09:46 NOTICE: one: Deleting 1/2 identical duplicates (size 11)
2025/03/07 04:09:46 INFO  : one: Deleted
2025/03/07 04:09:46 NOTICE: one: Skipping 2 files with duplicate names
--- PASS: TestDeduplicateSizeOnly (1.04s)
=== RUN   TestDeduplicateFirst
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:09:47 INFO  : mega root 'rclone-test-nimaler6qofe': Looking for duplicate names using first mode.
2025/03/07 04:09:47 NOTICE: one: Found 3 files with duplicate names
2025/03/07 04:09:47 INFO  : one: Deleted
2025/03/07 04:09:47 INFO  : one: Deleted
2025/03/07 04:09:47 NOTICE: one: Deleted 2 extra copies
--- PASS: TestDeduplicateFirst (1.10s)
=== RUN   TestDeduplicateNewest
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", 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-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", 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-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:09:48 INFO  : mega root 'rclone-test-nimaler6qofe': Looking for duplicate names using oldest mode.
2025/03/07 04:09:48 NOTICE: one: Found 3 files with duplicate names
2025/03/07 04:09:48 INFO  : one: Deleted
2025/03/07 04:09:48 INFO  : one: Deleted
2025/03/07 04:09:48 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: TestDeduplicateOldest (7.94s)
=== RUN   TestDeduplicateLargest
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:09:56 INFO  : mega root 'rclone-test-nimaler6qofe': Looking for duplicate names using largest mode.
2025/03/07 04:09:56 NOTICE: one: Found 3 files with duplicate names
2025/03/07 04:09:56 INFO  : one: Deleted
2025/03/07 04:09:56 INFO  : one: Deleted
2025/03/07 04:09:56 NOTICE: one: Deleted 2 extra copies
--- PASS: TestDeduplicateLargest (1.43s)
=== RUN   TestDeduplicateSmallest
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:09:57 INFO  : mega root 'rclone-test-nimaler6qofe': Looking for duplicate names using smallest mode.
2025/03/07 04:09:57 NOTICE: one: Found 3 files with duplicate names
2025/03/07 04:09:57 INFO  : one: Deleted
2025/03/07 04:09:57 INFO  : one: Deleted
2025/03/07 04:09:57 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 (7.84s)
=== RUN   TestDeduplicateRename
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:10:05 INFO  : mega root 'rclone-test-nimaler6qofe': Looking for duplicate names using rename mode.
2025/03/07 04:10:05 NOTICE: one.txt: Found 3 files with duplicate names
2025/03/07 04:10:05 INFO  : one-2.txt: renamed from: one.txt
2025/03/07 04:10:06 INFO  : one-3.txt: renamed from: one.txt
2025/03/07 04:10:06 INFO  : one-4.txt: renamed from: one.txt
--- PASS: TestDeduplicateRename (1.97s)
=== RUN   TestMergeDirs
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:10:08 INFO  : dupe2: merging "two.txt"
2025/03/07 04:10:08 INFO  : dupe2: removing empty directory
2025/03/07 04:10:08 INFO  : dupe3: merging "three.txt"
2025/03/07 04:10:08 INFO  : dupe3: removing empty directory
    run.go:125: removing dir "dupe1" failed - try 1/3: directory not empty
--- PASS: TestMergeDirs (3.90s)
=== RUN   TestListDirSorted
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:10:13 DEBUG : a.txt: Excluded (Size Filter)
2025/03/07 04:10:13 DEBUG : a.txt: Excluded
2025/03/07 04:10:13 DEBUG : sub dir/hello world: Excluded (Size Filter)
2025/03/07 04:10:13 DEBUG : sub dir/hello world: Excluded
2025/03/07 04:10:13 DEBUG : sub dir/hello world2: Excluded (Size Filter)
2025/03/07 04:10:13 DEBUG : sub dir/hello world2: Excluded
2025/03/07 04:10:13 DEBUG : sub dir/hello world: Excluded (Size Filter)
2025/03/07 04:10:13 DEBUG : sub dir/hello world: Excluded
2025/03/07 04:10:13 DEBUG : sub dir/hello world2: Excluded (Size Filter)
2025/03/07 04:10:13 DEBUG : sub dir/hello world2: Excluded
2025/03/07 04:10:13 DEBUG : sub dir/ignore dir: Excluded
2025/03/07 04:10:13 DEBUG : sub dir/ignore dir: Excluded
--- PASS: TestListDirSorted (4.28s)
=== RUN   TestListJSON
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
=== RUN   TestListJSON/Default
=== RUN   TestListJSON/DirsOnly
=== RUN   TestListJSON/Recurse
=== RUN   TestListJSON/Metadata
=== NAME  TestListJSON
    run.go:125: removing dir "sub" failed - try 1/3: directory not empty
--- PASS: TestListJSON (2.47s)
    --- 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-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", 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/03/07 04:10:17 DEBUG : Creating backend with remote "TestMega:rclone-test-nimaler6qofe/notfound"
--- PASS: TestStatJSON (1.25s)
    --- 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-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:10:18 INFO  : mega root 'rclone-test-nimaler6qofe': Making directory
2025/03/07 04:10:18 INFO  : mega root 'rclone-test-nimaler6qofe': Making directory
--- PASS: TestMkdir (0.00s)
=== RUN   TestLsd
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
    run.go:125: removing dir "sub dir" failed - try 1/3: directory not empty
--- PASS: TestLsd (1.67s)
=== RUN   TestLs
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
--- PASS: TestLs (0.54s)
=== RUN   TestLsWithFilesFrom
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:10:21 DEBUG : empty space: Excluded (FilesFrom Filter)
2025/03/07 04:10:21 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 (7.96s)
=== RUN   TestLsLong
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
--- PASS: TestLsLong (0.86s)
=== RUN   TestHashSums
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", 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 (7.58s)
=== RUN   TestCount
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
--- PASS: TestCount (1.35s)
=== RUN   TestDelete
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:10:39 DEBUG : large: Excluded (Size Filter)
2025/03/07 04:10:39 DEBUG : large: Excluded
2025/03/07 04:10:39 DEBUG : Waiting for deletions to finish
2025/03/07 04:10:39 INFO  : medium: Deleted
2025/03/07 04:10:39 INFO  : small: Deleted
--- PASS: TestDelete (1.05s)
=== RUN   TestMaxDelete
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:10:40 DEBUG : Waiting for deletions to finish
2025/03/07 04:10:40 INFO  : large: Deleted
2025/03/07 04:10:40 INFO  : medium: Deleted
2025/03/07 04:10:40 ERROR : small: Got fatal error on delete: --max-delete threshold reached
    operations_test.go:453: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:453
        	Error:      	Not equal: 
        	            	expected: 1
        	            	actual  : 2
        	Test:       	TestMaxDelete
--- FAIL: TestMaxDelete (0.96s)
=== RUN   TestMaxDeleteSizeLargeFile
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:10:41 DEBUG : Waiting for deletions to finish
2025/03/07 04:10:41 ERROR : large: Got fatal error on delete: --max-delete-size threshold reached
2025/03/07 04:10:41 INFO  : small: Deleted
2025/03/07 04:10:41 INFO  : medium: Deleted
--- PASS: TestMaxDeleteSizeLargeFile (1.09s)
=== RUN   TestMaxDeleteSize
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:10:42 DEBUG : Waiting for deletions to finish
2025/03/07 04:10:42 INFO  : large: Deleted
2025/03/07 04:10:42 ERROR : small: Got fatal error on delete: --max-delete-size threshold reached
2025/03/07 04:10:42 INFO  : medium: Deleted
    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: TestMaxDeleteSize (7.82s)
=== RUN   TestReadFile
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
--- PASS: TestReadFile (0.80s)
=== RUN   TestCat
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
--- PASS: TestCat (9.97s)
=== RUN   TestRmdirsNoLeaveRoot
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:11:00 INFO  : A2: Making directory
2025/03/07 04:11:00 INFO  : A1/B2: Making directory
2025/03/07 04:11:00 INFO  : A1/B2/C2: Making directory
2025/03/07 04:11:01 INFO  : A1/B1/C3: Making directory
2025/03/07 04:11:01 INFO  : A3: Making directory
2025/03/07 04:11:01 INFO  : A3/B3: Making directory
2025/03/07 04:11:01 INFO  : A3/B3/C4: Making directory
2025/03/07 04:11:01 DEBUG : removing 1 level 3 directories
2025/03/07 04:11:01 INFO  : A3/B3/C4: Removing directory
2025/03/07 04:11:01 DEBUG : removing 2 level 3 directories
2025/03/07 04:11:01 INFO  : A1/B2/C2: Removing directory
2025/03/07 04:11:01 INFO  : A1/B1/C3: Removing directory
2025/03/07 04:11:02 DEBUG : removing 2 level 2 directories
2025/03/07 04:11:02 INFO  : A1/B2: Removing directory
2025/03/07 04:11:02 INFO  : A3/B3: Removing directory
2025/03/07 04:11:02 DEBUG : removing 2 level 1 directories
2025/03/07 04:11:02 INFO  : A3: Removing directory
2025/03/07 04:11:02 INFO  : A2: Removing directory
2025/03/07 04:11:03 DEBUG : removing 1 level 3 directories
2025/03/07 04:11:03 INFO  : A1/B1/C1: Removing directory
2025/03/07 04:11:03 DEBUG : removing 1 level 2 directories
2025/03/07 04:11:03 INFO  : A1/B1: Removing directory
2025/03/07 04:11:03 DEBUG : removing 1 level 1 directories
2025/03/07 04:11:03 INFO  : A1: Removing directory
2025/03/07 04:11:04 DEBUG : removing 1 level 0 directories
2025/03/07 04:11:04 INFO  : mega root 'rclone-test-nimaler6qofe': Removing directory
2025/03/07 04:11:04 ERROR : : error listing: directory not found
2025/03/07 04:11:04 ERROR : : error listing: directory not found
--- PASS: TestRmdirsNoLeaveRoot (4.06s)
=== RUN   TestRmdirsLeaveRoot
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:11:04 INFO  : A1: Making directory
2025/03/07 04:11:04 INFO  : A1/B1: Making directory
2025/03/07 04:11:04 INFO  : A1/B1/C1: Making directory
2025/03/07 04:11:04 DEBUG : removing 1 level 3 directories
2025/03/07 04:11:04 INFO  : A1/B1/C1: Removing directory
2025/03/07 04:11:04 DEBUG : removing 1 level 2 directories
2025/03/07 04:11:04 INFO  : A1/B1: Removing directory
--- PASS: TestRmdirsLeaveRoot (0.97s)
=== RUN   TestRmdirsWithFilter
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:11:05 INFO  : A1: Making directory
2025/03/07 04:11:05 INFO  : A1/B1: Making directory
2025/03/07 04:11:05 INFO  : A1/B1/C1: Making directory
2025/03/07 04:11:05 DEBUG : removing 1 level 3 directories
2025/03/07 04:11:05 INFO  : A1/B1/C1: Removing directory
2025/03/07 04:11:05 DEBUG : removing 1 level 2 directories
2025/03/07 04:11:05 INFO  : A1/B1: Removing directory
--- PASS: TestRmdirsWithFilter (0.97s)
=== RUN   TestCopyURL
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:11:06 DEBUG : filename.txt: File name found in url
2025/03/07 04:11:06 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 (8.60s)
=== RUN   TestMoveFile
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:11:14 DEBUG : file1: Need to transfer - File not found at Destination
2025/03/07 04:11:15 INFO  : file1: Copied (new) to: sub/file2
2025/03/07 04:11:15 INFO  : file1: Deleted
2025/03/07 04:11:15 DEBUG : file1: Sizes identical
2025/03/07 04:11:15 DEBUG : file1: Unchanged skipping
2025/03/07 04:11:15 INFO  : file1: Deleted
2025/03/07 04:11:15 DEBUG : mega root 'rclone-test-nimaler6qofe': don't need to copy/move sub/file2, it is already at target location
--- PASS: TestMoveFile (0.59s)
=== RUN   TestMoveFileWithIgnoreExisting
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:11:15 DEBUG : file1: Need to transfer - File not found at Destination
2025/03/07 04:11:15 INFO  : file1: Copied (new)
2025/03/07 04:11:15 INFO  : file1: Deleted
2025/03/07 04:11:15 DEBUG : file1: Destination exists, skipping
2025/03/07 04:11:15 DEBUG : file1: Not removing source file as destination file exists and --ignore-existing is set
--- PASS: TestMoveFileWithIgnoreExisting (0.55s)
=== RUN   TestCaseInsensitiveMoveFile
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
--- PASS: TestCaseInsensitiveMoveFile (0.00s)
=== RUN   TestCaseInsensitiveMoveFileDryRun
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
--- PASS: TestCaseInsensitiveMoveFileDryRun (0.00s)
=== RUN   TestMoveFileBackupDir
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:11:16 DEBUG : Creating backend with remote "TestMega:rclone-test-nimaler6qofe/backup"
2025/03/07 04:11:16 DEBUG : dst/file1: Sizes differ (src 14 vs dst 18)
2025/03/07 04:11:16 INFO  : dst/file1: Moved (server-side)
2025/03/07 04:11:16 INFO  : dst/file1: Copied (new)
2025/03/07 04:11:16 INFO  : dst/file1: Deleted
    run.go:125: removing dir "dst" failed - try 1/3: directory not empty
--- PASS: TestMoveFileBackupDir (3.18s)
=== RUN   TestDirMove
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:11:21 INFO  : A1/B2: Making directory
2025/03/07 04:11:21 INFO  : A1/B1/C3: Making directory
2025/03/07 04:11:23 INFO  : A2/one: Moved (server-side) to: A3/one
2025/03/07 04:11:23 INFO  : A2/two: Moved (server-side) to: A3/two
2025/03/07 04:11:23 INFO  : A2/B1/C1/four: Moved (server-side) to: A3/B1/C1/four
2025/03/07 04:11:23 INFO  : A2/B1/three: Moved (server-side) to: A3/B1/three
2025/03/07 04:11:23 INFO  : A2/B1/C2/five: Moved (server-side) to: A3/B1/C2/five
2025/03/07 04:11:24 INFO  : mega root 'rclone-test-nimaler6qofe': Can't DirMove - falling back to file moves: can't move directory - incompatible remotes
2025/03/07 04:11:25 INFO  : A3/B1/three: Moved (server-side) to: A4/B1/three
2025/03/07 04:11:25 INFO  : A3/B1/C1/four: Moved (server-side) to: A4/B1/C1/four
2025/03/07 04:11:26 INFO  : A3/B1/C2/five: Moved (server-side) to: A4/B1/C2/five
2025/03/07 04:11:26 INFO  : A3/one: Moved (server-side) to: A4/one
2025/03/07 04:11:26 INFO  : A3/two: Moved (server-side) to: A4/two
--- PASS: TestDirMove (10.05s)
=== RUN   TestGetFsInfo
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
--- PASS: TestGetFsInfo (0.00s)
=== RUN   TestRcat
=== RUN   TestRcat/withChecksum=false,ignoreChecksum=false
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:11:29 DEBUG : mega root 'rclone-test-nimaler6qofe': File to upload is small (34 bytes), uploading instead of streaming
2025/03/07 04:11:29 NOTICE: mega root 'rclone-test-nimaler6qofe': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only
2025/03/07 04:11:29 DEBUG : no_checksum_small_file_from_pipe: Size of src and dst objects identical
2025/03/07 04:11:29 DEBUG : mega root 'rclone-test-nimaler6qofe': Target remote doesn't support streaming uploads, creating temporary local FS to spool file
2025/03/07 04:11:29 DEBUG : no_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
=== RUN   TestRcat/withChecksum=true,ignoreChecksum=false
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:11:37 DEBUG : mega root 'rclone-test-nimaler6qofe': File to upload is small (34 bytes), uploading instead of streaming
2025/03/07 04:11:37 DEBUG : with_checksum_small_file_from_pipe: Size of src and dst objects identical
2025/03/07 04:11:37 DEBUG : mega root 'rclone-test-nimaler6qofe': Target remote doesn't support streaming uploads, creating temporary local FS to spool file
2025/03/07 04:11:38 DEBUG : with_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
=== RUN   TestRcat/withChecksum=false,ignoreChecksum=true
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:11:45 DEBUG : mega root 'rclone-test-nimaler6qofe': File to upload is small (34 bytes), uploading instead of streaming
2025/03/07 04:11:45 DEBUG : ignore_checksum_small_file_from_pipe: Sizes identical
2025/03/07 04:11:45 DEBUG : mega root 'rclone-test-nimaler6qofe': Target remote doesn't support streaming uploads, creating temporary local FS to spool file
2025/03/07 04:11:45 DEBUG : ignore_checksum_big_file_from_pipe: Sizes 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
=== RUN   TestRcat/withChecksum=true,ignoreChecksum=true
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:11:53 DEBUG : mega root 'rclone-test-nimaler6qofe': File to upload is small (34 bytes), uploading instead of streaming
2025/03/07 04:11:53 DEBUG : ignore_checksum_small_file_from_pipe: Size of src and dst objects identical
2025/03/07 04:11:53 DEBUG : mega root 'rclone-test-nimaler6qofe': Target remote doesn't support streaming uploads, creating temporary local FS to spool file
2025/03/07 04:11:53 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 (31.61s)
    --- PASS: TestRcat/withChecksum=false,ignoreChecksum=false (7.81s)
    --- PASS: TestRcat/withChecksum=true,ignoreChecksum=false (8.25s)
    --- PASS: TestRcat/withChecksum=false,ignoreChecksum=true (7.90s)
    --- PASS: TestRcat/withChecksum=true,ignoreChecksum=true (7.64s)
=== RUN   TestRcatMetadata
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", 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-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:12:01 DEBUG : mega root 'rclone-test-nimaler6qofe': File to upload is small (60 bytes), uploading instead of streaming
2025/03/07 04:12:01 DEBUG : potato2: 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: TestRcatSize (7.78s)
=== RUN   TestRcatSizeMetadata
    run.go:180: Remote "mega root 'rclone-test-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", 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-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", 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-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", 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-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", 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-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", 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-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", 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-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", 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-nimaler6qofe'", Local "Local file system at /tmp/rclone3540199739", Modify Window "876000h0m0s"
2025/03/07 04:12:09 DEBUG : sub dir/test remove existing: TEST: renaming existing object to "sub dir/test remove existing.pefovam3" before starting
2025/03/07 04:12:09 DEBUG : sub dir/test remove existing.pefovam3: TEST: removing renamed existing file after operation
2025/03/07 04:12: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.lurikay1" before starting
2025/03/07 04:12:09 DEBUG : sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890.lurikay1: TEST: renaming existing back after failed operation
2025/03/07 04:12:10 DEBUG : sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890123456789: TEST: renaming existing object to "sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890.surekej6" before starting
2025/03/07 04:12:10 DEBUG : sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890.surekej6: TEST: removing renamed existing file after operation
--- PASS: TestRemoveExisting (1.86s)
FAIL
2025/03/07 04:12:10 DEBUG : mega root 'rclone-test-nimaler6qofe': 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 2m57.145876285s (try 2/5): exit status 1: Failed [TestMaxDelete]