"go test -v -timeout 1h0m0s -remote TestMega: -verbose" - Starting (try 1/5) === RUN TestIntegration fstests.go:438: Using remote "TestMega:" 2026/05/07 01:23:38 DEBUG : Creating backend with remote "TestMega:rclone-test-dezifid0rapo" 2026/05/07 01:23:38 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/07 01:23:38 DEBUG : mega root 'rclone-test-dezifid0rapo': Using previously stored session ID and master key to initialize the Mega API === RUN TestIntegration/FsCheckWrap fstests.go:479: Not a wrapping Fs === RUN TestIntegration/FsCommand fstests.go:507: 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/05/07 01:24:02 INFO : dir/subdir: Making directory 2026/05/07 01:24:02 INFO : dir/subdir: Removing directory 2026/05/07 01:24:02 INFO : dir: Removing directory === RUN TestIntegration/FsMkdir/FsListEmpty === RUN TestIntegration/FsMkdir/FsListDirEmpty === RUN TestIntegration/FsMkdir/FsListRDirEmpty fstests.go:399: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsListDirNotFound 2026/05/07 01:24:02 ERROR : does not exist: error listing: directory not found === RUN TestIntegration/FsMkdir/FsListRDirNotFound fstests.go:399: FS has no ListR interface === 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/FsNewObjectNotFound === RUN TestIntegration/FsMkdir/FsPutError === RUN TestIntegration/FsMkdir/FsPutZeroLength === RUN TestIntegration/FsMkdir/FsOpenWriterAt fstests.go:787: FS has no OpenWriterAt interface === RUN TestIntegration/FsMkdir/FsOpenChunkWriter fstests.go:820: FS has no OpenChunkWriter interface === RUN TestIntegration/FsMkdir/FsChangeNotify fstests.go:873: FS has no ChangeNotify interface === RUN TestIntegration/FsMkdir/FsPutFiles === RUN TestIntegration/FsMkdir/FsPutFiles/FsListDirFile2 === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRDirFile2 fstests.go:399: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsPutFiles/FsListR === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRSubdir === RUN TestIntegration/FsMkdir/FsPutFiles/FsListDirRoot 2026/05/07 01:25:16 DEBUG : Creating backend with remote "TestMega:" 2026/05/07 01:25:16 DEBUG : mega root '': Using previously stored session ID and master key to initialize the Mega API === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRDirRoot fstests.go:399: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsPutFiles/FsListSubdir === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRSubdir#01 fstests.go:399: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsPutFiles/FsListLevel2 === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRLevel2 fstests.go:399: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsPutFiles/FsListFile1 === RUN TestIntegration/FsMkdir/FsPutFiles/FsNewObject === RUN TestIntegration/FsMkdir/FsPutFiles/FsNewObjectCaseInsensitive fstests.go:1126: Not Case Insensitive === RUN TestIntegration/FsMkdir/FsPutFiles/FsListFile1and2 === RUN TestIntegration/FsMkdir/FsPutFiles/FsNewObjectDir === RUN TestIntegration/FsMkdir/FsPutFiles/FsPurge === RUN TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot 2026/05/07 01:25:47 DEBUG : Creating backend with remote "TestMega:rclone-test-dezifid0rapo/dirToPurgeFromRoot" 2026/05/07 01:25:47 DEBUG : mega root 'rclone-test-dezifid0rapo/dirToPurgeFromRoot': Using previously stored session ID and master key to initialize the Mega API fstests.go:1216: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:1216 Error: Received unexpected error: login with previous auth keys failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRootedSubdir 2026/05/07 01:30:58 DEBUG : Creating backend with remote "TestMega:rclone-test-dezifid0rapo/hello? sausage/êé" 2026/05/07 01:30:58 DEBUG : mega root 'rclone-test-dezifid0rapo/hello? sausage/êé': Using previously stored session ID and master key to initialize the Mega API fstests.go:1234: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:1234 Error: Received unexpected error: login with previous auth keys failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsPutFiles/FsListRootedSubdir --- FAIL: TestIntegration (450.39s) --- 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.26s) --- FAIL: TestIntegration/FsMkdir (426.89s) --- PASS: TestIntegration/FsMkdir/FsMkdirRmdirSubdir (0.68s) --- 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 (65.03s) --- PASS: TestIntegration/FsMkdir/FsEncoding/control_chars (4.49s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot (3.00s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot_dot (4.40s) --- PASS: TestIntegration/FsMkdir/FsEncoding/punctuation (0.89s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_space (0.80s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_tilde (4.63s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_CR (4.30s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_LF (0.81s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_HT (4.48s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_VT (4.27s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_dot (4.59s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_space (2.69s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_CR (0.59s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_LF (2.63s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_HT (4.22s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_VT (4.66s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_dot (6.39s) --- PASS: TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 (0.70s) --- PASS: TestIntegration/FsMkdir/FsEncoding/URL_encoding (6.48s) --- PASS: TestIntegration/FsMkdir/FsNewObjectNotFound (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutError (0.80s) --- PASS: TestIntegration/FsMkdir/FsPutZeroLength (2.09s) --- SKIP: TestIntegration/FsMkdir/FsOpenWriterAt (0.00s) --- SKIP: TestIntegration/FsMkdir/FsOpenChunkWriter (0.00s) --- SKIP: TestIntegration/FsMkdir/FsChangeNotify (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (358.14s) --- 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 (17.19s) --- 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 (11.13s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot (312.76s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsListRootedSubdir (10.83s) panic: runtime error: invalid memory address or nil pointer dereference [recovered, repanicked] [signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0xa68a79] goroutine 844 [running]: testing.tRunner.func1.2({0xb916a0, 0x12f0a60}) /usr/local/go/src/testing/testing.go:1974 +0x232 testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1977 +0x349 panic({0xb916a0?, 0x12f0a60?}) /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:187 +0x359 github.com/rclone/rclone/fstest/fstests.retry(0x1c1f327b0008, {0xc72c8e, 0x3}, 0x1c1f31d0bce8) /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:138 +0x117 github.com/rclone/rclone/fstest/fstests.PutTestContentsMetadata({0xcebce8, 0x1350020}, 0x1c1f327b0008, {0x0, 0x0}, 0x1c1f31d0bed0, 0x0?, {0x1c1f329b0700?, 0x0?}, 0x1, ...) /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:162 +0x188 github.com/rclone/rclone/fstest/fstests.testPutMimeType({0xcebce8, 0x1350020}, 0x1c1f327b0008, {0x0, 0x0}, 0x1c1f31d0bed0, {0x0, 0x0}, 0x0) /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:224 +0x15e github.com/rclone/rclone/fstest/fstests.testPut(...) /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:214 github.com/rclone/rclone/fstest/fstests.Run.func13.14.18(0x1c1f327b0008) /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:1239 +0x177 testing.tRunner(0x1c1f327b0008, 0x1c1f318cdb00) /usr/local/go/src/testing/testing.go:2036 +0xea created by testing.(*T).Run in goroutine 658 /usr/local/go/src/testing/testing.go:2101 +0x4c5 exit status 2 FAIL github.com/rclone/rclone/backend/mega 450.428s "go test -v -timeout 1h0m0s -remote TestMega: -verbose" - Finished ERROR in 7m31.308919757s (try 1/5): exit status 1: Failed [TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot TestIntegration/FsMkdir/FsPutFiles/FsListRootedSubdir]