"./operations.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCat|TestCopyFileBackupDir|TestCopyFileCompareDest|TestCount|TestDeduplicateRename|TestDeduplicateSkip|TestDelete|TestListDirSorted|TestLsLong|TestLsWithFilesFrom|TestMaxDeleteSize|TestMergeDirs|TestStatJSON)$'" - Starting (try 2/5) 2026/06/02 03:48:16 DEBUG : Creating backend with remote "TestMega:rclone-test-faxilux1qalu" 2026/06/02 03:48:16 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/06/02 03:48:16 DEBUG : mega root 'rclone-test-faxilux1qalu': Using previously stored session ID and master key to initialize the Mega API 2026/06/02 03:48:36 DEBUG : Creating backend with remote "/tmp/rclone1504442251" === RUN TestCopyFileBackupDir run.go:198: Remote "mega root 'rclone-test-faxilux1qalu'", Local "Local file system at /tmp/rclone1504442251", Modify Window "876000h0m0s" run.go:303: Failed to put "dst/file1" to "mega root 'rclone-test-faxilux1qalu'": mkdir create node failed: unexpected end of JSON input --- FAIL: TestCopyFileBackupDir (10.62s) === RUN TestCopyFileCompareDest run.go:198: Remote "mega root 'rclone-test-faxilux1qalu'", Local "Local file system at /tmp/rclone1504442251", Modify Window "876000h0m0s" 2026/06/02 03:48:47 DEBUG : Creating backend with remote "TestMega:rclone-test-faxilux1qalu/dst" 2026/06/02 03:48:47 DEBUG : mega root 'rclone-test-faxilux1qalu/dst': Using previously stored session ID and master key to initialize the Mega API copy_test.go:200: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/copy_test.go:200 Error: Received unexpected error: login with previous auth keys failed: unexpected end of JSON input Test: TestCopyFileCompareDest --- FAIL: TestCopyFileCompareDest (10.62s) === RUN TestDeduplicateSkip run.go:198: Remote "mega root 'rclone-test-faxilux1qalu'", Local "Local file system at /tmp/rclone1504442251", Modify Window "876000h0m0s" 2026/06/02 03:49:05 INFO : mega root 'rclone-test-faxilux1qalu': Looking for duplicate names using skip mode. 2026/06/02 03:49:05 NOTICE: one: Found 2 files with duplicate names 2026/06/02 03:49:05 NOTICE: one: Skipping 2 files with duplicate names 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: TestDeduplicateSkip (15.44s) === RUN TestDeduplicateRename run.go:198: Remote "mega root 'rclone-test-faxilux1qalu'", Local "Local file system at /tmp/rclone1504442251", Modify Window "876000h0m0s" 2026/06/02 03:49:20 INFO : mega root 'rclone-test-faxilux1qalu': Looking for duplicate names using rename mode. 2026/06/02 03:49:20 NOTICE: one.txt: Found 3 files with duplicate names 2026/06/02 03:49:20 INFO : one-2.txt: renamed from: one.txt 2026/06/02 03:49:20 INFO : one-3.txt: renamed from: one.txt 2026/06/02 03:49:20 INFO : one-4.txt: renamed from: one.txt --- PASS: TestDeduplicateRename (13.67s) === RUN TestMergeDirs run.go:198: Remote "mega root 'rclone-test-faxilux1qalu'", Local "Local file system at /tmp/rclone1504442251", Modify Window "876000h0m0s" 2026/06/02 03:49:30 INFO : dupe2: merging "two.txt" 2026/06/02 03:49:30 INFO : dupe2: removing empty directory 2026/06/02 03:49:30 INFO : dupe3: merging "three.txt" 2026/06/02 03:49:41 INFO : dupe3: removing empty directory --- PASS: TestMergeDirs (48.43s) === RUN TestListDirSorted run.go:198: Remote "mega root 'rclone-test-faxilux1qalu'", Local "Local file system at /tmp/rclone1504442251", Modify Window "876000h0m0s" run.go:303: Failed to put "zend.txt" to "mega root 'rclone-test-faxilux1qalu'": failed to finish upload: unexpected end of JSON input --- FAIL: TestListDirSorted (11.73s) === RUN TestStatJSON run.go:198: Remote "mega root 'rclone-test-faxilux1qalu'", Local "Local file system at /tmp/rclone1504442251", 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/06/02 03:50:29 DEBUG : Creating backend with remote "TestMega:rclone-test-faxilux1qalu/notfound" 2026/06/02 03:50:29 DEBUG : Config file has changed externally - reloading 2026/06/02 03:50:29 DEBUG : mega root 'rclone-test-faxilux1qalu/notfound': Using previously stored session ID and master key to initialize the Mega API --- PASS: TestStatJSON (30.89s) --- 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 (16.70s) === RUN TestLsWithFilesFrom run.go:198: Remote "mega root 'rclone-test-faxilux1qalu'", Local "Local file system at /tmp/rclone1504442251", Modify Window "876000h0m0s" 2026/06/02 03:51:02 DEBUG : empty space: Excluded (FilesFrom Filter) 2026/06/02 03:51:02 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.47s) === RUN TestLsLong run.go:198: Remote "mega root 'rclone-test-faxilux1qalu'", Local "Local file system at /tmp/rclone1504442251", Modify Window "876000h0m0s" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- PASS: TestLsLong (15.52s) === RUN TestCount run.go:198: Remote "mega root 'rclone-test-faxilux1qalu'", Local "Local file system at /tmp/rclone1504442251", Modify Window "876000h0m0s" run.go:303: Failed to put "potato2" to "mega root 'rclone-test-faxilux1qalu'": upload file failed to create session: unexpected end of JSON input --- FAIL: TestCount (10.47s) === RUN TestDelete run.go:198: Remote "mega root 'rclone-test-faxilux1qalu'", Local "Local file system at /tmp/rclone1504442251", Modify Window "876000h0m0s" run.go:303: Failed to put "small" to "mega root 'rclone-test-faxilux1qalu'": upload file failed to create session: unexpected end of JSON input --- FAIL: TestDelete (10.72s) === RUN TestMaxDeleteSize run.go:198: Remote "mega root 'rclone-test-faxilux1qalu'", Local "Local file system at /tmp/rclone1504442251", Modify Window "876000h0m0s" run.go:303: Failed to put "medium" to "mega root 'rclone-test-faxilux1qalu'": upload file failed to create session: unexpected end of JSON input --- FAIL: TestMaxDeleteSize (22.77s) === RUN TestCat run.go:198: Remote "mega root 'rclone-test-faxilux1qalu'", Local "Local file system at /tmp/rclone1504442251", Modify Window "876000h0m0s" --- PASS: TestCat (20.66s) FAIL 2026/06/02 03:52:33 DEBUG : mega root 'rclone-test-faxilux1qalu': Purge remote "./operations.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCat|TestCopyFileBackupDir|TestCopyFileCompareDest|TestCount|TestDeduplicateRename|TestDeduplicateSkip|TestDelete|TestListDirSorted|TestLsLong|TestLsWithFilesFrom|TestMaxDeleteSize|TestMergeDirs|TestStatJSON)$'" - Finished ERROR in 4m17.710859115s (try 2/5): exit status 1: Failed [TestCopyFileBackupDir TestCopyFileCompareDest TestListDirSorted TestCount TestDelete TestMaxDeleteSize]