"./operations.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestApplyTransforms|TestCat|TestCopyFile|TestCopyFileBackupDir|TestCopyFileCompareDest|TestCopyURLDownloadHeaders|TestLsLong|TestLsWithFilesFrom|TestMaxDelete|TestMaxDeleteSize|TestMoveFile|TestMoveFileBackupDir|TestMoveFileWithIgnoreExisting|TestRcatSizeUploadHeaders|TestRemoveExisting|TestStatJSON)$|^TestRcat$/^(withChecksum=true,ignoreChecksum=false|withChecksum=true,ignoreChecksum=true)$'" - Starting (try 3/5) 2026/03/26 05:30:45 DEBUG : Creating backend with remote "TestMega:rclone-test-zoxadoj5yapa" 2026/03/26 05:30:45 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/03/26 05:30:45 DEBUG : mega root 'rclone-test-zoxadoj5yapa': Using previously stored session ID and master key to initialize the Mega API 2026/03/26 05:31:10 DEBUG : Creating backend with remote "/tmp/rclone1834304632" === RUN TestApplyTransforms 2026/03/26 05:31:10 DEBUG : Creating backend with remote "TestMega:rclone-test-ruzojan2fogo" 2026/03/26 05:31:10 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/03/26 05:31:10 DEBUG : mega root 'rclone-test-ruzojan2fogo': Using previously stored session ID and master key to initialize the Mega API 2026/03/26 05:31:27 DEBUG : Creating backend with remote "/tmp/rclone3335662811" run.go:185: Remote "mega root 'rclone-test-ruzojan2fogo'", Local "Local file system at /tmp/rclone3335662811", Modify Window "876000h0m0s" upper checkfile vs. lower remote (without normalization) 2026/03/26 05:31:31 ERROR : hello, world!: sum not found 2026/03/26 05:31:31 ERROR : HELLO, WORLD!: file not in mega root 'rclone-test-ruzojan2fogo' 2026/03/26 05:31:31 NOTICE: mega root 'rclone-test-ruzojan2fogo': 1 files missing 2026/03/26 05:31:31 NOTICE: 1 hashes missing 2026/03/26 05:31:31 NOTICE: mega root 'rclone-test-ruzojan2fogo': 1 differences found 2026/03/26 05:31:31 NOTICE: mega root 'rclone-test-ruzojan2fogo': 2 errors while checking upper checkfile vs. lower remote (with normalization) 2026/03/26 05:31:31 DEBUG : hello, world!: md5 = 65a8e27d8879283831b664bd8b7f0ad4 OK 2026/03/26 05:31:31 NOTICE: mega root 'rclone-test-ruzojan2fogo': 0 differences found 2026/03/26 05:31:31 NOTICE: mega root 'rclone-test-ruzojan2fogo': 1 matching files 2026/03/26 05:31:31 DEBUG : Creating backend with remote "TestMega:rclone-test-nuliqom8jevu" 2026/03/26 05:31:31 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/03/26 05:31:31 DEBUG : mega root 'rclone-test-nuliqom8jevu': Using previously stored session ID and master key to initialize the Mega API 2026/03/26 05:31:46 DEBUG : Creating backend with remote "/tmp/rclone1645167659" run.go:185: Remote "mega root 'rclone-test-nuliqom8jevu'", Local "Local file system at /tmp/rclone1645167659", Modify Window "876000h0m0s" lower checkfile vs. upper remote (without normalization) 2026/03/26 05:31:46 ERROR : HELLO, WORLD!: sum not found 2026/03/26 05:31:46 ERROR : hello, world!: file not in mega root 'rclone-test-nuliqom8jevu' 2026/03/26 05:31:46 NOTICE: mega root 'rclone-test-nuliqom8jevu': 1 files missing 2026/03/26 05:31:46 NOTICE: 1 hashes missing 2026/03/26 05:31:46 NOTICE: mega root 'rclone-test-nuliqom8jevu': 1 differences found 2026/03/26 05:31:46 NOTICE: mega root 'rclone-test-nuliqom8jevu': 2 errors while checking lower checkfile vs. upper remote (with normalization) 2026/03/26 05:31:46 DEBUG : HELLO, WORLD!: md5 = 65a8e27d8879283831b664bd8b7f0ad4 OK 2026/03/26 05:31:46 NOTICE: mega root 'rclone-test-nuliqom8jevu': 0 differences found 2026/03/26 05:31:46 NOTICE: mega root 'rclone-test-nuliqom8jevu': 1 matching files 2026/03/26 05:31:46 DEBUG : Creating backend with remote "TestMega:rclone-test-pigejez0suka" 2026/03/26 05:31:46 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/03/26 05:31:46 DEBUG : mega root 'rclone-test-pigejez0suka': Using previously stored session ID and master key to initialize the Mega API 2026/03/26 05:32:01 DEBUG : Creating backend with remote "/tmp/rclone3550376247" run.go:185: Remote "mega root 'rclone-test-pigejez0suka'", Local "Local file system at /tmp/rclone3550376247", Modify Window "876000h0m0s" lower checkfile vs. upperlowermixed remote (without normalization) 2026/03/26 05:32:01 ERROR : HeLlO, wOrLd!: sum not found 2026/03/26 05:32:01 ERROR : hello, world!: file not in mega root 'rclone-test-pigejez0suka' 2026/03/26 05:32:01 NOTICE: mega root 'rclone-test-pigejez0suka': 1 files missing 2026/03/26 05:32:01 NOTICE: 1 hashes missing 2026/03/26 05:32:01 NOTICE: mega root 'rclone-test-pigejez0suka': 1 differences found 2026/03/26 05:32:01 NOTICE: mega root 'rclone-test-pigejez0suka': 2 errors while checking lower checkfile vs. upperlowermixed remote (with normalization) 2026/03/26 05:32:01 DEBUG : HeLlO, wOrLd!: md5 = 65a8e27d8879283831b664bd8b7f0ad4 OK 2026/03/26 05:32:01 NOTICE: mega root 'rclone-test-pigejez0suka': 0 differences found 2026/03/26 05:32:01 NOTICE: mega root 'rclone-test-pigejez0suka': 1 matching files 2026/03/26 05:32:01 DEBUG : Creating backend with remote "TestMega:rclone-test-xudukaj5ximi" 2026/03/26 05:32:01 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/03/26 05:32:01 DEBUG : mega root 'rclone-test-xudukaj5ximi': Using previously stored session ID and master key to initialize the Mega API 2026/03/26 05:32:19 DEBUG : Creating backend with remote "/tmp/rclone4220173843" run.go:185: Remote "mega root 'rclone-test-xudukaj5ximi'", Local "Local file system at /tmp/rclone4220173843", Modify Window "876000h0m0s" run.go:242: Failed to mkdir "mega root 'rclone-test-xudukaj5ximi'": mkdir create node failed: unexpected end of JSON input 2026/03/26 05:32:29 DEBUG : mega root 'rclone-test-xudukaj5ximi': Purge remote 2026/03/26 05:32:29 NOTICE: purge failed: directory not found 2026/03/26 05:32:29 DEBUG : mega root 'rclone-test-pigejez0suka': Purge remote 2026/03/26 05:32:31 DEBUG : mega root 'rclone-test-nuliqom8jevu': Purge remote 2026/03/26 05:32:31 DEBUG : mega root 'rclone-test-ruzojan2fogo': Purge remote --- FAIL: TestApplyTransforms (92.02s) === RUN TestCopyFile run.go:185: Remote "mega root 'rclone-test-zoxadoj5yapa'", Local "Local file system at /tmp/rclone1834304632", Modify Window "876000h0m0s" 2026/03/26 05:32:42 DEBUG : file1: Need to transfer - File not found at Destination 2026/03/26 05:32:48 DEBUG : sub/file2: size = 14 OK 2026/03/26 05:32:48 INFO : file1: Copied (new) to: sub/file2 2026/03/26 05:32:48 DEBUG : sub/file2: size = 14 OK 2026/03/26 05:32:48 DEBUG : file1: Sizes identical 2026/03/26 05:32:48 DEBUG : file1: Unchanged skipping 2026/03/26 05:32:48 DEBUG : mega root 'rclone-test-zoxadoj5yapa': 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: TestCopyFile (7.82s) === RUN TestCopyFileBackupDir run.go:185: Remote "mega root 'rclone-test-zoxadoj5yapa'", Local "Local file system at /tmp/rclone1834304632", Modify Window "876000h0m0s" run.go:290: Failed to put "dst/file1" to "mega root 'rclone-test-zoxadoj5yapa'": upload file failed to create session: unexpected end of JSON input --- FAIL: TestCopyFileBackupDir (22.67s) === RUN TestCopyFileCompareDest run.go:185: Remote "mega root 'rclone-test-zoxadoj5yapa'", Local "Local file system at /tmp/rclone1834304632", Modify Window "876000h0m0s" 2026/03/26 05:33:12 DEBUG : Creating backend with remote "TestMega:rclone-test-zoxadoj5yapa/dst" 2026/03/26 05:33:12 DEBUG : mega root 'rclone-test-zoxadoj5yapa/dst': Using previously stored session ID and master key to initialize the Mega API 2026/03/26 05:33:39 DEBUG : Creating backend with remote "TestMega:rclone-test-zoxadoj5yapa/CompareDest" 2026/03/26 05:33:39 DEBUG : mega root 'rclone-test-zoxadoj5yapa/CompareDest': Using previously stored session ID and master key to initialize the Mega API 2026/03/26 05:33:56 DEBUG : one: Need to transfer - File not found at Destination 2026/03/26 05:34:00 DEBUG : one: size = 3 OK 2026/03/26 05:34:00 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 2026/03/26 05:34:07 DEBUG : one: size = 5 (Local file system at /tmp/rclone1834304632) 2026/03/26 05:34:07 DEBUG : one: size = 3 (mega root 'rclone-test-zoxadoj5yapa/dst') 2026/03/26 05:34:07 DEBUG : one: Sizes differ 2026/03/26 05:34:18 ERROR : one: Failed to copy: upload file failed to create session: unexpected end of JSON input copy_test.go:220: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/copy_test.go:220 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestCopyFileCompareDest --- FAIL: TestCopyFileCompareDest (76.19s) === RUN TestStatJSON run.go:185: Remote "mega root 'rclone-test-zoxadoj5yapa'", Local "Local file system at /tmp/rclone1834304632", 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 2026/03/26 05:34:33 DEBUG : Creating backend with remote "TestMega:rclone-test-zoxadoj5yapa/notfound" 2026/03/26 05:34:33 DEBUG : mega root 'rclone-test-zoxadoj5yapa/notfound': Using previously stored session ID and master key to initialize the Mega API --- PASS: TestStatJSON (43.67s) --- 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 (15.81s) === RUN TestLsWithFilesFrom run.go:185: Remote "mega root 'rclone-test-zoxadoj5yapa'", Local "Local file system at /tmp/rclone1834304632", Modify Window "876000h0m0s" 2026/03/26 05:35:16 DEBUG : empty space: Excluded (FilesFrom Filter) 2026/03/26 05:35:16 DEBUG : empty space: Excluded 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: TestLsWithFilesFrom (15.38s) === RUN TestLsLong run.go:185: Remote "mega root 'rclone-test-zoxadoj5yapa'", Local "Local file system at /tmp/rclone1834304632", Modify Window "876000h0m0s" run.go:290: Failed to put "potato2" to "mega root 'rclone-test-zoxadoj5yapa'": upload file failed to create session: unexpected end of JSON input --- FAIL: TestLsLong (10.94s) === RUN TestMaxDelete run.go:185: Remote "mega root 'rclone-test-zoxadoj5yapa'", Local "Local file system at /tmp/rclone1834304632", Modify Window "876000h0m0s" 2026/03/26 05:35:39 DEBUG : Waiting for deletions to finish 2026/03/26 05:35:39 ERROR : small: Got fatal error on delete: --max-delete threshold reached 2026/03/26 05:35:42 INFO : large: Deleted 2026/03/26 05:35:44 INFO : medium: Deleted --- PASS: TestMaxDelete (7.10s) === RUN TestMaxDeleteSize run.go:185: Remote "mega root 'rclone-test-zoxadoj5yapa'", Local "Local file system at /tmp/rclone1834304632", Modify Window "876000h0m0s" 2026/03/26 05:35:52 DEBUG : Waiting for deletions to finish 2026/03/26 05:35:54 INFO : large: Deleted 2026/03/26 05:35:56 INFO : medium: Deleted 2026/03/26 05:35:56 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 (12.70s) === RUN TestCat run.go:185: Remote "mega root 'rclone-test-zoxadoj5yapa'", Local "Local file system at /tmp/rclone1834304632", Modify Window "876000h0m0s" --- PASS: TestCat (8.48s) === RUN TestCopyURLDownloadHeaders run.go:185: Remote "mega root 'rclone-test-zoxadoj5yapa'", Local "Local file system at /tmp/rclone1834304632", 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: TestCopyURLDownloadHeaders (11.14s) === RUN TestMoveFile run.go:185: Remote "mega root 'rclone-test-zoxadoj5yapa'", Local "Local file system at /tmp/rclone1834304632", Modify Window "876000h0m0s" 2026/03/26 05:36:18 DEBUG : file1: Need to transfer - File not found at Destination 2026/03/26 05:36:29 ERROR : file1: Failed to copy: mkdir create node failed: unexpected end of JSON input 2026/03/26 05:36:29 ERROR : file1: Not deleting source as copy failed: mkdir create node failed: unexpected end of JSON input operations_test.go:963: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:963 Error: Received unexpected error: mkdir create node failed: unexpected end of JSON input Test: TestMoveFile --- FAIL: TestMoveFile (10.60s) === RUN TestMoveFileWithIgnoreExisting run.go:185: Remote "mega root 'rclone-test-zoxadoj5yapa'", Local "Local file system at /tmp/rclone1834304632", Modify Window "876000h0m0s" 2026/03/26 05:36:29 DEBUG : file1: Need to transfer - File not found at Destination 2026/03/26 05:36:33 DEBUG : file1: size = 14 OK 2026/03/26 05:36:33 INFO : file1: Copied (new) 2026/03/26 05:36:33 INFO : file1: Deleted 2026/03/26 05:36:33 DEBUG : file1: Destination exists, skipping 2026/03/26 05:36:33 DEBUG : file1: Not removing source file as destination file exists and --ignore-existing is set 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: TestMoveFileWithIgnoreExisting (13.12s) === RUN TestMoveFileBackupDir run.go:185: Remote "mega root 'rclone-test-zoxadoj5yapa'", Local "Local file system at /tmp/rclone1834304632", Modify Window "876000h0m0s" 2026/03/26 05:36:44 DEBUG : Creating backend with remote "TestMega:rclone-test-zoxadoj5yapa/backup" 2026/03/26 05:36:44 DEBUG : mega root 'rclone-test-zoxadoj5yapa/backup': Using previously stored session ID and master key to initialize the Mega API 2026/03/26 05:37:00 DEBUG : dst/file1: size = 14 (Local file system at /tmp/rclone1834304632) 2026/03/26 05:37:00 DEBUG : dst/file1: size = 18 (mega root 'rclone-test-zoxadoj5yapa') 2026/03/26 05:37:00 DEBUG : dst/file1: Sizes differ 2026/03/26 05:37:00 INFO : dst/file1: Moved (server-side) 2026/03/26 05:37:02 DEBUG : dst/file1: size = 14 OK 2026/03/26 05:37:02 INFO : dst/file1: Copied (new) 2026/03/26 05:37:02 INFO : dst/file1: Deleted run.go:130: removing dir "dst" failed - try 1/3: directory not empty --- PASS: TestMoveFileBackupDir (30.28s) === RUN TestRcat === RUN TestRcat/withChecksum=true,ignoreChecksum=false run.go:185: Remote "mega root 'rclone-test-zoxadoj5yapa'", Local "Local file system at /tmp/rclone1834304632", Modify Window "876000h0m0s" 2026/03/26 05:37:12 DEBUG : mega root 'rclone-test-zoxadoj5yapa': File to upload is small (34 bytes), uploading instead of streaming 2026/03/26 05:37:12 DEBUG : with_checksum_small_file_from_pipe: size = 34 OK 2026/03/26 05:37:12 NOTICE: mega root 'rclone-test-zoxadoj5yapa': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/03/26 05:37:12 DEBUG : with_checksum_small_file_from_pipe: Size of src and dst objects identical 2026/03/26 05:37:12 DEBUG : mega root 'rclone-test-zoxadoj5yapa': Target remote doesn't support streaming uploads, creating temporary local FS to spool file 2026/03/26 05:37:13 DEBUG : with_checksum_big_file_from_pipe: size = 102401 OK 2026/03/26 05:37:13 DEBUG : with_checksum_big_file_from_pipe: Size of src and dst objects identical 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 === RUN TestRcat/withChecksum=true,ignoreChecksum=true run.go:185: Remote "mega root 'rclone-test-zoxadoj5yapa'", Local "Local file system at /tmp/rclone1834304632", Modify Window "876000h0m0s" 2026/03/26 05:37:23 DEBUG : mega root 'rclone-test-zoxadoj5yapa': File to upload is small (34 bytes), uploading instead of streaming 2026/03/26 05:37:23 DEBUG : ignore_checksum_small_file_from_pipe: size = 34 OK 2026/03/26 05:37:23 DEBUG : ignore_checksum_small_file_from_pipe: Size of src and dst objects identical 2026/03/26 05:37:23 DEBUG : mega root 'rclone-test-zoxadoj5yapa': Target remote doesn't support streaming uploads, creating temporary local FS to spool file 2026/03/26 05:37:23 DEBUG : ignore_checksum_big_file_from_pipe: size = 102401 OK 2026/03/26 05:37:23 DEBUG : ignore_checksum_big_file_from_pipe: Size of src and dst objects identical 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: TestRcat (18.87s) --- PASS: TestRcat/withChecksum=true,ignoreChecksum=false (10.64s) --- PASS: TestRcat/withChecksum=true,ignoreChecksum=true (8.23s) === RUN TestRcatSizeUploadHeaders run.go:185: Remote "mega root 'rclone-test-zoxadoj5yapa'", Local "Local file system at /tmp/rclone1834304632", 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: TestRcatSizeUploadHeaders (10.41s) === RUN TestRemoveExisting run.go:185: Remote "mega root 'rclone-test-zoxadoj5yapa'", Local "Local file system at /tmp/rclone1834304632", Modify Window "876000h0m0s" 2026/03/26 05:37:51 DEBUG : sub dir/test remove existing: TEST: renaming existing object to "sub dir/test remove existing.fotudut0" before starting 2026/03/26 05:37:51 DEBUG : sub dir/test remove existing.fotudut0: TEST: removing renamed existing file after operation 2026/03/26 05:37:52 DEBUG : sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890123456789: TEST: renaming existing object to "sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890.depilun2" before starting 2026/03/26 05:37:52 DEBUG : sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890.depilun2: TEST: renaming existing back after failed operation 2026/03/26 05:37:52 DEBUG : sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890123456789: TEST: renaming existing object to "sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890.haroreb7" before starting 2026/03/26 05:37:52 DEBUG : sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890.haroreb7: TEST: removing renamed existing file after operation --- PASS: TestRemoveExisting (13.33s) FAIL 2026/03/26 05:37:55 DEBUG : mega root 'rclone-test-zoxadoj5yapa': Purge remote "./operations.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestApplyTransforms|TestCat|TestCopyFile|TestCopyFileBackupDir|TestCopyFileCompareDest|TestCopyURLDownloadHeaders|TestLsLong|TestLsWithFilesFrom|TestMaxDelete|TestMaxDeleteSize|TestMoveFile|TestMoveFileBackupDir|TestMoveFileWithIgnoreExisting|TestRcatSizeUploadHeaders|TestRemoveExisting|TestStatJSON)$|^TestRcat$/^(withChecksum=true,ignoreChecksum=false|withChecksum=true,ignoreChecksum=true)$'" - Finished ERROR in 7m11.518941253s (try 3/5): exit status 1: Failed [TestApplyTransforms TestCopyFileBackupDir TestCopyFileCompareDest TestLsLong TestMaxDeleteSize TestMoveFile]