"go test -v -timeout 1h0m0s -remote TestMega: -verbose" - Starting (try 1/5) === RUN TestIntegration fstests.go:457: Using remote "TestMega:" 2026/07/18 05:14:35 DEBUG : Creating backend with remote "TestMega:rclone-test-dijuluq5kija" 2026/07/18 05:14:35 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/18 05:14:35 DEBUG : mega root 'rclone-test-dijuluq5kija': Using previously stored session ID and master key to initialize the Mega API === RUN TestIntegration/FsCheckWrap fstests.go:498: Not a wrapping Fs === RUN TestIntegration/FsCommand fstests.go:526: No commands in this remote === RUN TestIntegration/FsRmdirNotFound === RUN TestIntegration/FsString === RUN TestIntegration/FsName === RUN TestIntegration/FsRoot === RUN TestIntegration/FsRmdirEmpty === RUN TestIntegration/FsMkdir === RUN TestIntegration/FsMkdir/FsMkdirRmdirSubdir 2026/07/18 05:15:02 INFO : dir/subdir: Making directory 2026/07/18 05:15:02 INFO : dir/subdir: Removing directory 2026/07/18 05:15:02 INFO : dir: Removing directory === RUN TestIntegration/FsMkdir/FsListEmpty === RUN TestIntegration/FsMkdir/FsListDirEmpty === RUN TestIntegration/FsMkdir/FsListRDirEmpty fstests.go:418: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsListDirNotFound 2026/07/18 05:15:03 ERROR : does not exist: error listing: directory not found === RUN TestIntegration/FsMkdir/FsListRDirNotFound fstests.go:418: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsEncoding === RUN TestIntegration/FsMkdir/FsEncoding/control_chars fstests.go:727: testing "␀␁␂␃␄␅␆␇␈␉␊␋␌␍␎␏␐␑␒␓␔␕␖␗␘␙␚␛␜␝␞␟␡" === RUN TestIntegration/FsMkdir/FsEncoding/dot fstests.go:727: testing "." === RUN TestIntegration/FsMkdir/FsEncoding/dot_dot fstests.go:727: testing ".." === RUN TestIntegration/FsMkdir/FsEncoding/punctuation fstests.go:727: testing "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" === RUN TestIntegration/FsMkdir/FsEncoding/leading_space fstests.go:727: testing " leading space" === RUN TestIntegration/FsMkdir/FsEncoding/leading_tilde fstests.go:727: testing "~leading tilde" === RUN TestIntegration/FsMkdir/FsEncoding/leading_CR fstests.go:727: testing "␍leading CR" === RUN TestIntegration/FsMkdir/FsEncoding/leading_LF fstests.go:727: testing "␊leading LF" === RUN TestIntegration/FsMkdir/FsEncoding/leading_HT fstests.go:727: testing "␉leading HT" === RUN TestIntegration/FsMkdir/FsEncoding/leading_VT fstests.go:727: testing "␋leading VT" === RUN TestIntegration/FsMkdir/FsEncoding/leading_dot fstests.go:727: testing ".leading dot" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_space fstests.go:727: testing "trailing space " === RUN TestIntegration/FsMkdir/FsEncoding/trailing_CR fstests.go:727: testing "trailing CR␍" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_LF fstests.go:727: testing "trailing LF␊" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_HT fstests.go:727: testing "trailing HT␉" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_VT fstests.go:727: testing "trailing VT␋" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_dot fstests.go:727: testing "trailing dot." === RUN TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 fstests.go:727: testing "invalid utf-8\xfe" === RUN TestIntegration/FsMkdir/FsEncoding/URL_encoding fstests.go:727: testing "test%46.txt" === RUN TestIntegration/FsMkdir/FsNewObjectNotFound === RUN TestIntegration/FsMkdir/FsPutError === RUN TestIntegration/FsMkdir/FsPutZeroLength === RUN TestIntegration/FsMkdir/FsOpenWriterAt fstests.go:806: FS has no OpenWriterAt interface === RUN TestIntegration/FsMkdir/FsOpenChunkWriter fstests.go:839: FS has no OpenChunkWriter interface === RUN TestIntegration/FsMkdir/FsChangeNotify fstests.go:892: FS has no ChangeNotify interface === RUN TestIntegration/FsMkdir/FsPutFiles === RUN TestIntegration/FsMkdir/FsPutFiles/FsListDirFile2 === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRDirFile2 fstests.go:418: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsPutFiles/FsListR === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRSubdir === RUN TestIntegration/FsMkdir/FsPutFiles/FsListDirRoot 2026/07/18 05:15:30 DEBUG : Creating backend with remote "TestMega:" 2026/07/18 05:15:30 DEBUG : mega root '': Using previously stored session ID and master key to initialize the Mega API === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRDirRoot fstests.go:418: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsPutFiles/FsListSubdir === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRSubdir#01 fstests.go:418: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsPutFiles/FsListLevel2 === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRLevel2 fstests.go:418: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsPutFiles/FsListFile1 === RUN TestIntegration/FsMkdir/FsPutFiles/FsNewObject === RUN TestIntegration/FsMkdir/FsPutFiles/FsNewObjectCaseInsensitive fstests.go:1145: Not Case Insensitive === RUN TestIntegration/FsMkdir/FsPutFiles/FsListFile1and2 === RUN TestIntegration/FsMkdir/FsPutFiles/FsNewObjectDir === RUN TestIntegration/FsMkdir/FsPutFiles/FsPurge === RUN TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot 2026/07/18 05:15:56 DEBUG : Creating backend with remote "TestMega:rclone-test-dijuluq5kija/dirToPurgeFromRoot" 2026/07/18 05:15:56 DEBUG : mega root 'rclone-test-dijuluq5kija/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: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:1241 Error: Should be true Test: TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot Messages: listing wrong, want file name.txt (100), hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt (100) got dirToPurgeFromRoot/fileToPurgeFromRoot.txt (100), file name.txt (100), 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:1241 Error: Should be true Test: TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot Messages: Unexpected file "dirToPurgeFromRoot/fileToPurgeFromRoot.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:1241 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/FsPurgeRoot Messages: directories === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRootedSubdir 2026/07/18 05:16:34 DEBUG : Creating backend with remote "TestMega:rclone-test-dijuluq5kija/hello? sausage/êé" 2026/07/18 05:16:34 DEBUG : mega root 'rclone-test-dijuluq5kija/hello? sausage/êé': Using previously stored session ID and master key to initialize the Mega API fstests.go:1253: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:1253 Error: Received unexpected error: login with previous auth keys failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsPutFiles/FsListRootedSubdir --- FAIL: TestIntegration (130.20s) --- SKIP: TestIntegration/FsCheckWrap (0.00s) --- SKIP: TestIntegration/FsCommand (0.00s) --- PASS: TestIntegration/FsRmdirNotFound (0.00s) --- PASS: TestIntegration/FsString (0.00s) --- PASS: TestIntegration/FsName (0.00s) --- PASS: TestIntegration/FsRoot (0.00s) --- PASS: TestIntegration/FsRmdirEmpty (0.22s) --- FAIL: TestIntegration/FsMkdir (102.83s) --- PASS: TestIntegration/FsMkdir/FsMkdirRmdirSubdir (0.60s) --- PASS: TestIntegration/FsMkdir/FsListEmpty (0.00s) --- PASS: TestIntegration/FsMkdir/FsListDirEmpty (0.00s) --- SKIP: TestIntegration/FsMkdir/FsListRDirEmpty (0.00s) --- PASS: TestIntegration/FsMkdir/FsListDirNotFound (0.00s) --- SKIP: TestIntegration/FsMkdir/FsListRDirNotFound (0.00s) --- PASS: TestIntegration/FsMkdir/FsEncoding (25.77s) --- PASS: TestIntegration/FsMkdir/FsEncoding/control_chars (0.76s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot (0.94s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot_dot (0.82s) --- PASS: TestIntegration/FsMkdir/FsEncoding/punctuation (0.59s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_space (0.73s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_tilde (0.86s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_CR (0.66s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_LF (0.89s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_HT (0.88s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_VT (0.84s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_dot (0.65s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_space (0.73s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_CR (0.95s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_LF (0.91s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_HT (0.89s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_VT (0.94s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_dot (0.74s) --- PASS: TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 (11.16s) --- PASS: TestIntegration/FsMkdir/FsEncoding/URL_encoding (0.83s) --- PASS: TestIntegration/FsMkdir/FsNewObjectNotFound (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutError (0.36s) --- PASS: TestIntegration/FsMkdir/FsPutZeroLength (0.49s) --- SKIP: TestIntegration/FsMkdir/FsOpenWriterAt (0.00s) --- SKIP: TestIntegration/FsMkdir/FsOpenChunkWriter (0.00s) --- SKIP: TestIntegration/FsMkdir/FsChangeNotify (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (75.56s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsListDirFile2 (0.00s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/FsListRDirFile2 (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsListR (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsListRSubdir (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsListDirRoot (20.02s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/FsListRDirRoot (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsListSubdir (0.00s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/FsListRSubdir#01 (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsListLevel2 (0.00s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/FsListRLevel2 (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsListFile1 (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsNewObject (0.00s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/FsNewObjectCaseInsensitive (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsListFile1and2 (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsNewObjectDir (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsPurge (6.05s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot (38.07s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsListRootedSubdir (10.56s) panic: runtime error: invalid memory address or nil pointer dereference [recovered, repanicked] [signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0xa66e99] goroutine 909 [running]: testing.tRunner.func1.2({0xb9ac40, 0x13017b0}) /usr/local/go/src/testing/testing.go:1974 +0x232 testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1977 +0x349 panic({0xb9ac40?, 0x13017b0?}) /usr/local/go/src/runtime/panic.go:860 +0x13a github.com/rclone/rclone/fstest/fstests.PutTestContentsMetadata.func1() /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:202 +0x359 github.com/rclone/rclone/fstest/fstests.retry(0x1d4e5518e248, {0xc7d10e, 0x3}, 0x1d4e54e2bce8) /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:138 +0x117 github.com/rclone/rclone/fstest/fstests.PutTestContentsMetadata({0xcfe108, 0x13609e0}, 0x1d4e5518e248, {0x0, 0x0}, 0x1d4e54e2bed0, 0x0?, {0x1d4e59385420?, 0x0?}, 0x1, ...) /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:177 +0x18e github.com/rclone/rclone/fstest/fstests.testPutMimeType({0xcfe108, 0x13609e0}, 0x1d4e5518e248, {0x0, 0x0}, 0x1d4e54e2bed0, {0x0, 0x0}, 0x0) /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:241 +0x15e github.com/rclone/rclone/fstest/fstests.testPut(...) /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:231 github.com/rclone/rclone/fstest/fstests.Run.func13.14.18(0x1d4e5518e248) /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:1258 +0x177 testing.tRunner(0x1d4e5518e248, 0x1d4e58a2cde0) /usr/local/go/src/testing/testing.go:2036 +0xea created by testing.(*T).Run in goroutine 659 /usr/local/go/src/testing/testing.go:2101 +0x4c5 exit status 2 FAIL github.com/rclone/rclone/backend/mega 130.248s "go test -v -timeout 1h0m0s -remote TestMega: -verbose" - Finished ERROR in 2m13.407558297s (try 1/5): exit status 1: Failed [TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot TestIntegration/FsMkdir/FsPutFiles/FsListRootedSubdir]