"go test -v -timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsEncoding$/^(URL_encoding|dot_dot|invalid_UTF-8|leading_CR|leading_HT|leading_LF|leading_VT|leading_dot|leading_space|leading_tilde|punctuation|trailing_CR|trailing_HT|trailing_LF|trailing_VT|trailing_dot|trailing_space)$|^TestIntegration$/^FsMkdir$/^FsPutFiles$/^(FsDirMove|FsListDirFile2|FsListLevel2|FsListR|FsMove|FsPurge|FsPurgeRoot|ObjectRemove)$|^TestIntegration$/^FsMkdir$/^FsPutFiles$/^FromRoot$/^(List|ListEntries|Put)$|^TestIntegration$/^FsMkdir$/^FsPutFiles$/^FsIsFile$/^FsRoot$|^TestIntegration$/^FsMkdir$/^FsPutZeroLength$'" - Starting (try 2/5) === RUN TestIntegration fstests.go:438: Using remote "TestMega:" 2025/12/09 03:31:52 DEBUG : Creating backend with remote "TestMega:rclone-test-kakolac0gabe" 2025/12/09 03:31:52 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/12/09 03:31:52 DEBUG : mega root 'rclone-test-kakolac0gabe': Using previously stored session ID and master key to initialize the Mega API === RUN TestIntegration/FsMkdir === RUN TestIntegration/FsMkdir/FsEncoding === RUN TestIntegration/FsMkdir/FsEncoding/dot_dot fstests.go:707: testing ".." === RUN TestIntegration/FsMkdir/FsEncoding/punctuation fstests.go:707: testing "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" === RUN TestIntegration/FsMkdir/FsEncoding/leading_space fstests.go:707: testing " leading space" === RUN TestIntegration/FsMkdir/FsEncoding/leading_tilde fstests.go:707: testing "~leading tilde" === RUN TestIntegration/FsMkdir/FsEncoding/leading_CR fstests.go:707: testing "␍leading CR" === RUN TestIntegration/FsMkdir/FsEncoding/leading_LF fstests.go:707: testing "␊leading LF" === RUN TestIntegration/FsMkdir/FsEncoding/leading_HT fstests.go:707: testing "␉leading HT" === RUN TestIntegration/FsMkdir/FsEncoding/leading_VT fstests.go:707: testing "␋leading VT" === RUN TestIntegration/FsMkdir/FsEncoding/leading_dot fstests.go:707: testing ".leading dot" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_space fstests.go:707: testing "trailing space " === RUN TestIntegration/FsMkdir/FsEncoding/trailing_CR fstests.go:707: testing "trailing CR␍" fstests.go:708: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:708 Error: Received unexpected error: Mkdir failed: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/trailing_CR 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:713 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Received unexpected error: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/trailing_CR Messages: Put === RUN TestIntegration/FsMkdir/FsEncoding/trailing_LF fstests.go:707: testing "trailing LF␊" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_HT fstests.go:707: testing "trailing HT␉" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_VT fstests.go:707: testing "trailing VT␋" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_dot fstests.go:707: testing "trailing dot." === RUN TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 fstests.go:707: testing "invalid utf-8\xfe" === RUN TestIntegration/FsMkdir/FsEncoding/URL_encoding fstests.go:707: testing "test%46.txt" === RUN TestIntegration/FsMkdir/FsPutZeroLength === 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 2025/12/09 03:34:28 DEBUG : Creating backend with remote "TestMega:rclone-test-kakolac0gabe/dirToPurgeFromRoot" 2025/12/09 03:34:28 DEBUG : Config file has changed externally - reloading 2025/12/09 03:34:28 DEBUG : mega root 'rclone-test-kakolac0gabe/dirToPurgeFromRoot': 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:292: Sleeping for 6s just to make sure === RUN TestIntegration/FsMkdir/FsPutFiles/FsMove === RUN TestIntegration/FsMkdir/FsPutFiles/FsMove/Metadata fstests.go:1398: Skipping test as can't write metadata === RUN TestIntegration/FsMkdir/FsPutFiles/FsDirMove 2025/12/09 03:34:55 DEBUG : Creating backend with remote "TestMega:rclone-test-caqasam4rizi" 2025/12/09 03:34:55 DEBUG : mega root 'rclone-test-caqasam4rizi': 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: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:1485 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/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/~leading tilde"} Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -([]string) (len=6) { +([]string) (len=7) { (string) (len=8) "new_name", @@ -6,3 +6,4 @@ (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, 世界/ \" ' @ < > & ? + ≠", + (string) (len=36) "new_name/sub_new_name/~leading tilde" } Test: TestIntegration/FsMkdir/FsPutFiles/FsDirMove Messages: directories 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: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:1499 Error: Not equal: expected: []string{"hello? sausage", "hello? sausage/êé", "hello? sausage/êé/Hello, 世界", "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠"} actual : []string{"hello? sausage", "hello? sausage/êé", "hello? sausage/êé/Hello, 世界", "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", "~leading tilde"} Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -([]string) (len=4) { +([]string) (len=5) { (string) (len=14) "hello? sausage", @@ -4,3 +4,4 @@ (string) (len=33) "hello? sausage/êé/Hello, 世界", - (string) (len=54) "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠" + (string) (len=54) "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", + (string) (len=14) "~leading tilde" } Test: TestIntegration/FsMkdir/FsPutFiles/FsDirMove Messages: directories 2025/12/09 03:35:25 DEBUG : mega root 'rclone-test-caqasam4rizi': Purge remote === RUN TestIntegration/FsMkdir/FsPutFiles/FsIsFile 2025/12/09 03:35:26 DEBUG : Creating backend with remote "TestMega:rclone-test-kakolac0gabe/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠/z.txt" 2025/12/09 03:35:26 DEBUG : mega root 'rclone-test-kakolac0gabe/hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt': Using previously stored session ID and master key to initialize the Mega API === RUN TestIntegration/FsMkdir/FsPutFiles/FsIsFile/FsRoot === RUN TestIntegration/FsMkdir/FsPutFiles/FromRoot fstests.go:1911: Opening root remote "TestMega:" path "rclone-test-kakolac0gabe" from "TestMega:rclone-test-kakolac0gabe" 2025/12/09 03:35:44 DEBUG : Creating backend with remote "TestMega:" 2025/12/09 03:35:44 DEBUG : mega root '': Using previously stored session ID and master key to initialize the Mega API === RUN TestIntegration/FsMkdir/FsPutFiles/FromRoot/List 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:327: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:327 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:1931 Error: Not equal: expected: []string{"rclone-test-kakolac0gabe/hello? sausage", "rclone-test-kakolac0gabe/hello? sausage/êé", "rclone-test-kakolac0gabe/hello? sausage/êé/Hello, 世界", "rclone-test-kakolac0gabe/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠"} actual : []string{"rclone-test-kakolac0gabe/hello? sausage", "rclone-test-kakolac0gabe/hello? sausage/êé", "rclone-test-kakolac0gabe/hello? sausage/êé/Hello, 世界", "rclone-test-kakolac0gabe/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", "rclone-test-kakolac0gabe/~leading tilde"} Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -([]string) (len=4) { +([]string) (len=5) { (string) (len=39) "rclone-test-kakolac0gabe/hello? sausage", @@ -4,3 +4,4 @@ (string) (len=58) "rclone-test-kakolac0gabe/hello? sausage/êé/Hello, 世界", - (string) (len=79) "rclone-test-kakolac0gabe/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠" + (string) (len=79) "rclone-test-kakolac0gabe/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", + (string) (len=39) "rclone-test-kakolac0gabe/~leading tilde" } Test: TestIntegration/FsMkdir/FsPutFiles/FromRoot/List Messages: directories === RUN TestIntegration/FsMkdir/FsPutFiles/FromRoot/ListEntries fstest.go:398: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:398 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:1938 Error: Not equal: expected: []string{"rclone-test-kakolac0gabe/hello? sausage"} actual : []string{"rclone-test-kakolac0gabe/hello? sausage", "rclone-test-kakolac0gabe/~leading tilde"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=39) "rclone-test-kakolac0gabe/hello? sausage" +([]string) (len=2) { + (string) (len=39) "rclone-test-kakolac0gabe/hello? sausage", + (string) (len=39) "rclone-test-kakolac0gabe/~leading tilde" } Test: TestIntegration/FsMkdir/FsPutFiles/FromRoot/ListEntries Messages: directories not equal === 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 2025/12/09 03:36:19 ERROR : error listing: directory not found --- FAIL: TestIntegration (267.08s) --- FAIL: TestIntegration/FsMkdir (251.70s) --- FAIL: TestIntegration/FsMkdir/FsEncoding (122.43s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot_dot (2.86s) --- PASS: TestIntegration/FsMkdir/FsEncoding/punctuation (25.62s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_space (1.38s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_tilde (13.99s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_CR (1.31s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_LF (4.65s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_HT (4.64s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_VT (8.05s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_dot (1.04s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_space (5.33s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/trailing_CR (21.39s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_LF (5.59s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_HT (5.22s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_VT (1.40s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_dot (13.14s) --- PASS: TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 (4.36s) --- PASS: TestIntegration/FsMkdir/FsEncoding/URL_encoding (2.47s) --- PASS: TestIntegration/FsMkdir/FsPutZeroLength (2.16s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (126.92s) --- 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 (2.67s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot (23.87s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsMove (3.66s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/FsMove/Metadata (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsDirMove (30.56s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsIsFile (18.67s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsIsFile/FsRoot (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FromRoot (25.41s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FromRoot/List (7.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FromRoot/ListEntries (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FromRoot/Put (2.53s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FromRoot/Put/Remove (2.29s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/ObjectRemove (9.22s) FAIL exit status 1 FAIL github.com/rclone/rclone/backend/mega 267.168s "go test -v -timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestIntegration$/^FsMkdir$/^FsEncoding$/^(URL_encoding|dot_dot|invalid_UTF-8|leading_CR|leading_HT|leading_LF|leading_VT|leading_dot|leading_space|leading_tilde|punctuation|trailing_CR|trailing_HT|trailing_LF|trailing_VT|trailing_dot|trailing_space)$|^TestIntegration$/^FsMkdir$/^FsPutFiles$/^(FsDirMove|FsListDirFile2|FsListLevel2|FsListR|FsMove|FsPurge|FsPurgeRoot|ObjectRemove)$|^TestIntegration$/^FsMkdir$/^FsPutFiles$/^FromRoot$/^(List|ListEntries|Put)$|^TestIntegration$/^FsMkdir$/^FsPutFiles$/^FsIsFile$/^FsRoot$|^TestIntegration$/^FsMkdir$/^FsPutZeroLength$'" - Finished ERROR in 4m27.89572519s (try 2/5): exit status 1: Failed [TestIntegration/FsMkdir/FsEncoding/trailing_CR TestIntegration/FsMkdir/FsPutFiles/FsDirMove TestIntegration/FsMkdir/FsPutFiles/FromRoot/List TestIntegration/FsMkdir/FsPutFiles/FromRoot/ListEntries]