"go test -v -timeout 1h0m0s -remote TestMega: -verbose" - Starting (try 1/5) === RUN TestIntegration fstests.go:438: Using remote "TestMega:" 2025/11/04 04:53:23 NOTICE: TestMega: Stopped server 2025/11/04 04:53:23 NOTICE: TestMega: Starting server 2025/11/04 04:53:23 DEBUG : Creating backend with remote "TestMega:rclone-test-larudof6bohu" 2025/11/04 04:53:23 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/11/04 04:53:23 DEBUG : mega root 'rclone-test-larudof6bohu': 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 2025/11/04 04:53:46 INFO : dir/subdir: Making directory 2025/11/04 04:53:50 INFO : dir/subdir: Removing directory 2025/11/04 04:53:51 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 2025/11/04 04:53:51 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:707: testing "␀␁␂␃␄␅␆␇␈␉␊␋␌␍␎␏␐␑␒␓␔␕␖␗␘␙␚␛␜␝␞␟␡" === RUN TestIntegration/FsMkdir/FsEncoding/dot fstests.go:707: testing "." === 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␍" === 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/FsNewObjectNotFound === RUN TestIntegration/FsMkdir/FsPutError === RUN TestIntegration/FsMkdir/FsPutZeroLength === RUN TestIntegration/FsMkdir/FsOpenWriterAt fstests.go:786: FS has no OpenWriterAt interface === RUN TestIntegration/FsMkdir/FsOpenChunkWriter fstests.go:819: FS has no OpenChunkWriter interface === RUN TestIntegration/FsMkdir/FsChangeNotify fstests.go:868: 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 2025/11/04 04:55:30 DEBUG : Creating backend with remote "TestMega:" 2025/11/04 04:55:30 DEBUG : mega root '': Using previously stored session ID and master key to initialize the Mega API 2025/11/04 04:55:41 DEBUG : mega root '': login with previous auth keys failed: unexpected end of JSON input --- FAIL: TestIntegration (138.24s) --- 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.39s) --- FAIL: TestIntegration/FsMkdir (116.29s) --- PASS: TestIntegration/FsMkdir/FsMkdirRmdirSubdir (4.89s) --- 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 (86.24s) --- PASS: TestIntegration/FsMkdir/FsEncoding/control_chars (3.80s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot (4.99s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot_dot (6.70s) --- PASS: TestIntegration/FsMkdir/FsEncoding/punctuation (3.33s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_space (4.51s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_tilde (2.85s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_CR (3.29s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_LF (3.34s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_HT (14.98s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_VT (6.43s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_dot (3.02s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_space (4.05s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_CR (2.63s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_LF (2.53s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_HT (4.64s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_VT (4.89s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_dot (3.30s) --- PASS: TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 (2.61s) --- PASS: TestIntegration/FsMkdir/FsEncoding/URL_encoding (4.33s) --- PASS: TestIntegration/FsMkdir/FsNewObjectNotFound (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutError (4.45s) --- PASS: TestIntegration/FsMkdir/FsPutZeroLength (2.23s) --- SKIP: TestIntegration/FsMkdir/FsOpenWriterAt (0.00s) --- SKIP: TestIntegration/FsMkdir/FsOpenChunkWriter (0.00s) --- SKIP: TestIntegration/FsMkdir/FsChangeNotify (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (16.75s) --- 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) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsListDirRoot (10.78s) panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x87c647] goroutine 856 [running]: testing.tRunner.func1.2({0xa11ce0, 0xfd89d0}) /usr/local/go/src/testing/testing.go:1734 +0x21c testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1737 +0x35e panic({0xa11ce0?, 0xfd89d0?}) /usr/local/go/src/runtime/panic.go:792 +0x132 github.com/t3rm1n4l/go-mega.(*Node).GetType(0xc0053e86e0?) /home/rclone/go/pkg/mod/github.com/t3rm1n4l/go-mega@v0.0.0-20251031123324-a804aaa87491/mega.go:188 +0x27 github.com/rclone/rclone/backend/mega.(*Fs).findDir(0xc0045445f0?, 0x0?, {0x7ffff0d72594?, 0x0?}) /home/rclone/go/src/github.com/rclone/rclone/backend/mega/mega.go:364 +0x6a github.com/rclone/rclone/backend/mega.(*Fs).findRoot(0xc0053e86e0, {0xbe1988, 0x10348a0}, 0x0) /home/rclone/go/src/github.com/rclone/rclone/backend/mega/mega.go:469 +0x108 github.com/rclone/rclone/backend/mega.NewFs({0xbe1988, 0x10348a0}, {0x7ffff0d72594, 0x8}, {0x7ffff0d72594, 0x0}, {0xbdf9a8, 0xc0053ed530}) /home/rclone/go/src/github.com/rclone/rclone/backend/mega/mega.go:314 +0x933 github.com/rclone/rclone/fs.NewFs({0xbe1988, 0x10348a0}, {0x7ffff0d72594, 0x9}) /home/rclone/go/src/github.com/rclone/rclone/fs/newfs.go:75 +0x378 github.com/rclone/rclone/fstest/fstests.Run.func13.14.5(0xc00550c380) /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:1046 +0x85 testing.tRunner(0xc00550c380, 0xc0053b9000) /usr/local/go/src/testing/testing.go:1792 +0xf4 created by testing.(*T).Run in goroutine 757 /usr/local/go/src/testing/testing.go:1851 +0x413 exit status 2 FAIL github.com/rclone/rclone/backend/mega 138.288s "go test -v -timeout 1h0m0s -remote TestMega: -verbose" - Finished ERROR in 2m19.33453341s (try 1/5): exit status 1: Failed [TestIntegration/FsMkdir/FsPutFiles/FsListDirRoot]