"go test -v -timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsEncoding$/^(URL_encoding|invalid_UTF-8|leading_HT|leading_VT|leading_dot|trailing_CR|trailing_HT|trailing_LF|trailing_VT|trailing_dot|trailing_space)$|^TestIntegration$/^FsMkdir$/^FsPutFiles$/^(FromRoot|FsDirMove|FsIsFileNotFound|FsListDirFile2|FsListLevel2|FsListR|FsMove|FsPurge|FsPurgeRoot|ObjectRemove)$'" - Starting (try 2/5) === RUN TestIntegration fstests.go:438: Using remote "TestMega:" 2026/05/17 01:26:30 DEBUG : Creating backend with remote "TestMega:rclone-test-mubizok0vage" 2026/05/17 01:26:30 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/17 01:26:30 DEBUG : mega root 'rclone-test-mubizok0vage': Using previously stored session ID and master key to initialize the Mega API === RUN TestIntegration/FsMkdir === RUN TestIntegration/FsMkdir/FsEncoding === RUN TestIntegration/FsMkdir/FsEncoding/leading_HT fstests.go:708: testing "␉leading HT" === RUN TestIntegration/FsMkdir/FsEncoding/leading_VT fstests.go:708: testing "␋leading VT" === RUN TestIntegration/FsMkdir/FsEncoding/leading_dot fstests.go:708: testing ".leading dot" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_space fstests.go:708: testing "trailing space " === RUN TestIntegration/FsMkdir/FsEncoding/trailing_CR fstests.go:708: testing "trailing CR␍" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_LF fstests.go:708: testing "trailing LF␊" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_HT fstests.go:708: testing "trailing HT␉" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_VT fstests.go:708: testing "trailing VT␋" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_dot fstests.go:708: testing "trailing dot." === RUN TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 fstests.go:708: testing "invalid utf-8\xfe" === RUN TestIntegration/FsMkdir/FsEncoding/URL_encoding fstests.go:708: testing "test%46.txt" fstests.go:709: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:709 Error: Received unexpected error: Mkdir failed: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/URL_encoding fstests.go:146: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:146 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:162 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:224 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:214 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:714 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Received unexpected error: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/URL_encoding Messages: Put === RUN TestIntegration/FsMkdir/FsPutFiles === RUN TestIntegration/FsMkdir/FsPutFiles/FsListDirFile2 === RUN TestIntegration/FsMkdir/FsPutFiles/FsListR === RUN TestIntegration/FsMkdir/FsPutFiles/FsListLevel2 === RUN TestIntegration/FsMkdir/FsPutFiles/FsPurge === RUN TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot 2026/05/17 01:28:16 DEBUG : Creating backend with remote "TestMega:rclone-test-mubizok0vage/dirToPurgeFromRoot" 2026/05/17 01:28:16 DEBUG : mega root 'rclone-test-mubizok0vage/dirToPurgeFromRoot': Using previously stored session ID and master key to initialize the Mega API === RUN TestIntegration/FsMkdir/FsPutFiles/FsMove === RUN TestIntegration/FsMkdir/FsPutFiles/FsMove/Metadata fstests.go:1407: Skipping test as can't write metadata === RUN TestIntegration/FsMkdir/FsPutFiles/FsDirMove 2026/05/17 01:28:37 DEBUG : Creating backend with remote "TestMega:rclone-test-sabubot2dowo" 2026/05/17 01:28:37 DEBUG : mega root 'rclone-test-sabubot2dowo': Using previously stored session ID and master key to initialize the Mega API fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:1494 Error: Should be true Test: TestIntegration/FsMkdir/FsPutFiles/FsDirMove Messages: listing wrong, want new_name/sub_new_name/file name.txt (100), new_name/sub_new_name/hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt (100) got new_name/sub_new_name/file name.txt (100), new_name/sub_new_name/file name.txt (100), new_name/sub_new_name/hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt (100), new_name/sub_new_name/hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt (100) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:1494 Error: Should be true Test: TestIntegration/FsMkdir/FsPutFiles/FsDirMove Messages: Unexpected file "new_name/sub_new_name/file name.txt" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:1494 Error: Should be true Test: TestIntegration/FsMkdir/FsPutFiles/FsDirMove Messages: Unexpected file "new_name/sub_new_name/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠/z.txt" fstest.go:327: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:327 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:1494 Error: Not equal: expected: []string{"new_name", "new_name/sub_new_name", "new_name/sub_new_name/hello? sausage", "new_name/sub_new_name/hello? sausage/êé", "new_name/sub_new_name/hello? sausage/êé/Hello, 世界", "new_name/sub_new_name/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠"} actual : []string{"new_name", "new_name/sub_new_name", "new_name/sub_new_name", "new_name/sub_new_name/hello? sausage", "new_name/sub_new_name/hello? sausage", "new_name/sub_new_name/hello? sausage/êé", "new_name/sub_new_name/hello? sausage/êé", "new_name/sub_new_name/hello? sausage/êé/Hello, 世界", "new_name/sub_new_name/hello? sausage/êé/Hello, 世界", "new_name/sub_new_name/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", "new_name/sub_new_name/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠"} Diff: --- Expected +++ Actual @@ -1,7 +1,12 @@ -([]string) (len=6) { +([]string) (len=11) { (string) (len=8) "new_name", (string) (len=21) "new_name/sub_new_name", + (string) (len=21) "new_name/sub_new_name", + (string) (len=36) "new_name/sub_new_name/hello? sausage", (string) (len=36) "new_name/sub_new_name/hello? sausage", (string) (len=41) "new_name/sub_new_name/hello? sausage/êé", + (string) (len=41) "new_name/sub_new_name/hello? sausage/êé", (string) (len=55) "new_name/sub_new_name/hello? sausage/êé/Hello, 世界", + (string) (len=55) "new_name/sub_new_name/hello? sausage/êé/Hello, 世界", + (string) (len=76) "new_name/sub_new_name/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", (string) (len=76) "new_name/sub_new_name/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠" Test: TestIntegration/FsMkdir/FsPutFiles/FsDirMove Messages: directories 2026/05/17 01:29:17 DEBUG : mega root 'rclone-test-sabubot2dowo': Purge remote === RUN TestIntegration/FsMkdir/FsPutFiles/FsIsFileNotFound 2026/05/17 01:29:17 DEBUG : Creating backend with remote "TestMega:rclone-test-mubizok0vage/not found.txt" 2026/05/17 01:29:17 DEBUG : mega root 'rclone-test-mubizok0vage/not found.txt': Using previously stored session ID and master key to initialize the Mega API 2026/05/17 01:29:38 ERROR : error listing: directory not found === RUN TestIntegration/FsMkdir/FsPutFiles/FromRoot fstests.go:1920: Opening root remote "TestMega:" path "rclone-test-mubizok0vage" from "TestMega:rclone-test-mubizok0vage" 2026/05/17 01:29:38 DEBUG : Creating backend with remote "TestMega:" 2026/05/17 01:29:38 DEBUG : mega root '': Using previously stored session ID and master key to initialize the Mega API === RUN TestIntegration/FsMkdir/FsPutFiles/FromRoot/List === RUN TestIntegration/FsMkdir/FsPutFiles/FromRoot/ListEntries === RUN TestIntegration/FsMkdir/FsPutFiles/FromRoot/ListR fstests.go:1957: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsPutFiles/FromRoot/Put === RUN TestIntegration/FsMkdir/FsPutFiles/FromRoot/Put/Remove === RUN TestIntegration/FsMkdir/FsPutFiles/ObjectRemove 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 === NAME TestIntegration/FsMkdir fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:2822 Error: Should be true Test: TestIntegration/FsMkdir Messages: listing wrong, want got hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt (100) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:2822 Error: Should be true Test: TestIntegration/FsMkdir Messages: Unexpected file "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠/z.txt" fstests.go:2827: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:2827 Error: An error is expected but got nil. Test: TestIntegration/FsMkdir Messages: Expecting error after on second purge fstests.go:2829: Warning: this should produce fs.ErrorDirNotFound --- FAIL: TestIntegration (237.72s) --- FAIL: TestIntegration/FsMkdir (214.46s) --- FAIL: TestIntegration/FsMkdir/FsEncoding (68.26s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_HT (3.25s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_VT (4.54s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_dot (2.82s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_space (12.43s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_CR (10.93s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_LF (2.96s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_HT (6.22s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_VT (2.37s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_dot (0.98s) --- PASS: TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 (0.78s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/URL_encoding (20.97s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (124.55s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsListDirFile2 (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsListR (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsListLevel2 (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsPurge (0.59s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot (20.19s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsMove (1.52s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/FsMove/Metadata (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsDirMove (40.25s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsIsFileNotFound (20.91s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FromRoot (20.24s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FromRoot/List (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FromRoot/ListEntries (0.00s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/FromRoot/ListR (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FromRoot/Put (0.35s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FromRoot/Put/Remove (0.20s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/ObjectRemove (7.15s) FAIL exit status 1 FAIL github.com/rclone/rclone/backend/mega 237.789s "go test -v -timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsEncoding$/^(URL_encoding|invalid_UTF-8|leading_HT|leading_VT|leading_dot|trailing_CR|trailing_HT|trailing_LF|trailing_VT|trailing_dot|trailing_space)$|^TestIntegration$/^FsMkdir$/^FsPutFiles$/^(FromRoot|FsDirMove|FsIsFileNotFound|FsListDirFile2|FsListLevel2|FsListR|FsMove|FsPurge|FsPurgeRoot|ObjectRemove)$'" - Finished ERROR in 4m1.368390338s (try 2/5): exit status 1: Failed [TestIntegration/FsMkdir/FsEncoding/URL_encoding TestIntegration/FsMkdir/FsPutFiles/FsDirMove]