"go test -v -timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestIntegration$/^FsMkdir$/^(FsListDirEmpty|FsMkdirRmdirSubdir)$|^TestIntegration$/^FsMkdir$/^FsEncoding$/^(URL_encoding|control_chars|dot|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)$|^TestIntegration$/^FsMkdir$/^FsPutFiles$/^FromRoot$/^Put$/^Remove$|^TestIntegration$/^FsMkdir$/^FsPutFiles$/^FsIsFile$/^FsRoot$'" - Starting (try 2/5) === RUN TestIntegration fstests.go:438: Using remote "TestMega:" 2026/02/28 01:27:01 DEBUG : Creating backend with remote "TestMega:rclone-test-puzoriw4nogi" 2026/02/28 01:27:01 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/02/28 01:27:01 DEBUG : mega root 'rclone-test-puzoriw4nogi': Using previously stored session ID and master key to initialize the Mega API === RUN TestIntegration/FsMkdir === RUN TestIntegration/FsMkdir/FsMkdirRmdirSubdir 2026/02/28 01:27:17 INFO : dir/subdir: Making directory 2026/02/28 01:27:21 INFO : dir/subdir: Removing directory 2026/02/28 01:27:21 INFO : dir: Removing directory === RUN TestIntegration/FsMkdir/FsListDirEmpty === RUN TestIntegration/FsMkdir/FsEncoding === RUN TestIntegration/FsMkdir/FsEncoding/control_chars fstests.go:708: testing "␀␁␂␃␄␅␆␇␈␉␊␋␌␍␎␏␐␑␒␓␔␕␖␗␘␙␚␛␜␝␞␟␡" === RUN TestIntegration/FsMkdir/FsEncoding/dot fstests.go:708: testing "." === RUN TestIntegration/FsMkdir/FsEncoding/dot_dot fstests.go:708: testing ".." === RUN TestIntegration/FsMkdir/FsEncoding/punctuation fstests.go:708: testing "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" === RUN TestIntegration/FsMkdir/FsEncoding/leading_space fstests.go:708: testing " leading space" === RUN TestIntegration/FsMkdir/FsEncoding/leading_tilde fstests.go:708: testing "~leading tilde" === RUN TestIntegration/FsMkdir/FsEncoding/leading_CR fstests.go:708: testing "␍leading CR" === RUN TestIntegration/FsMkdir/FsEncoding/leading_LF fstests.go:708: testing "␊leading LF" === 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" === 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 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:1199 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot Messages: Put === RUN TestIntegration/FsMkdir/FsPutFiles/FsMove === RUN TestIntegration/FsMkdir/FsPutFiles/FsMove/Metadata fstests.go:1403: Skipping test as can't write metadata === RUN TestIntegration/FsMkdir/FsPutFiles/FsDirMove 2026/02/28 01:29:12 DEBUG : Creating backend with remote "TestMega:rclone-test-saroheg1yako" 2026/02/28 01:29:12 DEBUG : mega root 'rclone-test-saroheg1yako': 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:1490 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/dirToPurgeFromRoot", "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, 世界/ \" ' @ < > & ? + ≠"} Diff: --- Expected +++ Actual @@ -1,4 +1,5 @@ -([]string) (len=6) { +([]string) (len=7) { (string) (len=8) "new_name", (string) (len=21) "new_name/sub_new_name", + (string) (len=40) "new_name/sub_new_name/dirToPurgeFromRoot", (string) (len=36) "new_name/sub_new_name/hello? sausage", 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:1504 Error: Not equal: expected: []string{"hello? sausage", "hello? sausage/êé", "hello? sausage/êé/Hello, 世界", "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠"} actual : []string{"dirToPurgeFromRoot", "hello? sausage", "hello? sausage/êé", "hello? sausage/êé/Hello, 世界", "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠"} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) (len=4) { +([]string) (len=5) { + (string) (len=18) "dirToPurgeFromRoot", (string) (len=14) "hello? sausage", Test: TestIntegration/FsMkdir/FsPutFiles/FsDirMove Messages: directories 2026/02/28 01:29:47 DEBUG : mega root 'rclone-test-saroheg1yako': Purge remote === RUN TestIntegration/FsMkdir/FsPutFiles/FsIsFile 2026/02/28 01:29:48 DEBUG : Creating backend with remote "TestMega:rclone-test-puzoriw4nogi/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠/z.txt" 2026/02/28 01:29:48 DEBUG : mega root 'rclone-test-puzoriw4nogi/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:1916: Opening root remote "TestMega:" path "rclone-test-puzoriw4nogi" from "TestMega:rclone-test-puzoriw4nogi" 2026/02/28 01:30:00 DEBUG : Creating backend with remote "TestMega:" 2026/02/28 01:30:00 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:1939 Error: Not equal: expected: []string{"rclone-test-puzoriw4nogi/hello? sausage", "rclone-test-puzoriw4nogi/hello? sausage/êé", "rclone-test-puzoriw4nogi/hello? sausage/êé/Hello, 世界", "rclone-test-puzoriw4nogi/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠"} actual : []string{"rclone-test-puzoriw4nogi/dirToPurgeFromRoot", "rclone-test-puzoriw4nogi/hello? sausage", "rclone-test-puzoriw4nogi/hello? sausage/êé", "rclone-test-puzoriw4nogi/hello? sausage/êé/Hello, 世界", "rclone-test-puzoriw4nogi/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠"} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) (len=4) { +([]string) (len=5) { + (string) (len=43) "rclone-test-puzoriw4nogi/dirToPurgeFromRoot", (string) (len=39) "rclone-test-puzoriw4nogi/hello? sausage", 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:1946 Error: Not equal: expected: []string{"rclone-test-puzoriw4nogi/hello? sausage"} actual : []string{"rclone-test-puzoriw4nogi/dirToPurgeFromRoot", "rclone-test-puzoriw4nogi/hello? sausage"} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) (len=1) { +([]string) (len=2) { + (string) (len=43) "rclone-test-puzoriw4nogi/dirToPurgeFromRoot", (string) (len=39) "rclone-test-puzoriw4nogi/hello? sausage" 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 2026/02/28 01:30:27 ERROR : error listing: directory not found --- FAIL: TestIntegration (205.70s) --- FAIL: TestIntegration/FsMkdir (190.25s) --- PASS: TestIntegration/FsMkdir/FsMkdirRmdirSubdir (5.57s) --- PASS: TestIntegration/FsMkdir/FsListDirEmpty (0.00s) --- PASS: TestIntegration/FsMkdir/FsEncoding (85.12s) --- PASS: TestIntegration/FsMkdir/FsEncoding/control_chars (1.82s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot (4.49s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot_dot (6.20s) --- PASS: TestIntegration/FsMkdir/FsEncoding/punctuation (3.00s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_space (1.20s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_tilde (4.39s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_CR (6.37s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_LF (9.04s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_HT (4.77s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_VT (4.92s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_dot (6.52s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_space (3.24s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_CR (14.43s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_LF (4.47s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_HT (2.48s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_VT (4.25s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_dot (0.54s) --- PASS: TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 (0.53s) --- PASS: TestIntegration/FsMkdir/FsEncoding/URL_encoding (2.44s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (99.39s) --- 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.44s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot (11.03s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsMove (8.68s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/FsMove/Metadata (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsDirMove (36.14s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsIsFile (11.93s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsIsFile/FsRoot (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FromRoot (19.85s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FromRoot/List (7.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FromRoot/ListEntries (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FromRoot/Put (0.31s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FromRoot/Put/Remove (0.13s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/ObjectRemove (7.20s) FAIL exit status 1 FAIL github.com/rclone/rclone/backend/mega 205.764s "go test -v -timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestIntegration$/^FsMkdir$/^(FsListDirEmpty|FsMkdirRmdirSubdir)$|^TestIntegration$/^FsMkdir$/^FsEncoding$/^(URL_encoding|control_chars|dot|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)$|^TestIntegration$/^FsMkdir$/^FsPutFiles$/^FromRoot$/^Put$/^Remove$|^TestIntegration$/^FsMkdir$/^FsPutFiles$/^FsIsFile$/^FsRoot$'" - Finished ERROR in 3m26.563589816s (try 2/5): exit status 1: Failed [TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot TestIntegration/FsMkdir/FsPutFiles/FsDirMove TestIntegration/FsMkdir/FsPutFiles/FromRoot/List TestIntegration/FsMkdir/FsPutFiles/FromRoot/ListEntries]