"go test -v -timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestIntegration$'" - Starting (try 2/5) === RUN TestIntegration fstests.go:438: Using remote "TestMega:" 2025/12/24 03:15:20 DEBUG : Creating backend with remote "TestMega:rclone-test-mireloy9hulu" 2025/12/24 03:15:20 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/12/24 03:15:20 DEBUG : mega root 'rclone-test-mireloy9hulu': 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/12/24 03:15:46 INFO : dir/subdir: Making directory 2025/12/24 03:15:46 INFO : dir/subdir: Removing directory 2025/12/24 03:15:47 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/12/24 03:15:47 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 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:236 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:275 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsPutZeroLength Messages: PutLarge === 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 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:953 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsPutFiles Messages: Put === RUN TestIntegration/FsMkdir/FsPutChunked fstests.go:2364: *mega.Fs does not implement SetUploadChunkSizer === RUN TestIntegration/FsMkdir/FsCopyChunked fstests.go:2476: FS has no Copier interface === RUN TestIntegration/FsMkdir/FsUploadUnknownSize === RUN TestIntegration/FsMkdir/FsUploadUnknownSize/FsPutUnknownSize === RUN TestIntegration/FsMkdir/FsUploadUnknownSize/FsUpdateUnknownSize 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:2579 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsUploadUnknownSize/FsUpdateUnknownSize Messages: Put === RUN TestIntegration/FsMkdir/FsRootCollapse 2025/12/24 03:17:42 DEBUG : Creating backend with remote "TestMega:rclone-test-mireloy9hulu/deeper/nonexisting/directory" 2025/12/24 03:17:42 DEBUG : Config file has changed externally - reloading 2025/12/24 03:17:42 DEBUG : mega root 'rclone-test-mireloy9hulu/deeper/nonexisting/directory': Using previously stored session ID and master key to initialize the Mega API 2025/12/24 03:17:53 DEBUG : mega root 'rclone-test-mireloy9hulu/deeper/nonexisting/directory': login with previous auth keys failed: unexpected end of JSON input fstests.go:2615: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:2615 Error: Not equal: expected: &errors.errorString{s:"object not found"} actual : &errors.errorString{s:"Invalid arguments"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ (*errors.errorString)({ - s: (string) (len=16) "object not found" + s: (string) (len=17) "Invalid arguments" }) Test: TestIntegration/FsMkdir/FsRootCollapse === RUN TestIntegration/FsMkdir/FsDirSetModTime fstests.go:2625: FS has no DirSetModTime interface === RUN TestIntegration/FsMkdir/FsMkdirMetadata fstests.go:2668: FS has no MkdirMetadata interface === RUN TestIntegration/FsMkdir/FsDirectory fstests.go:2725: FS has no Directory methods and doesn't Wrap 2025/12/24 03:18:05 ERROR : error listing: directory not found === RUN TestIntegration/FsShutdown fstests.go:2831: Shutdown method not supported --- FAIL: TestIntegration (164.75s) --- 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.25s) --- FAIL: TestIntegration/FsMkdir (138.50s) --- PASS: TestIntegration/FsMkdir/FsMkdirRmdirSubdir (0.45s) --- 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 (72.10s) --- PASS: TestIntegration/FsMkdir/FsEncoding/control_chars (4.21s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot (2.47s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot_dot (2.80s) --- PASS: TestIntegration/FsMkdir/FsEncoding/punctuation (14.69s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_space (0.83s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_tilde (4.31s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_CR (0.81s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_LF (0.83s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_HT (0.67s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_VT (2.64s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_dot (3.80s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_space (1.21s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_CR (13.23s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_LF (2.73s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_HT (2.79s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_VT (1.24s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_dot (7.39s) --- PASS: TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 (4.13s) --- PASS: TestIntegration/FsMkdir/FsEncoding/URL_encoding (1.33s) --- PASS: TestIntegration/FsMkdir/FsNewObjectNotFound (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutError (10.85s) --- FAIL: TestIntegration/FsMkdir/FsPutZeroLength (10.62s) --- SKIP: TestIntegration/FsMkdir/FsOpenWriterAt (0.00s) --- SKIP: TestIntegration/FsMkdir/FsOpenChunkWriter (0.00s) --- SKIP: TestIntegration/FsMkdir/FsChangeNotify (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (10.86s) --- SKIP: TestIntegration/FsMkdir/FsPutChunked (0.00s) --- SKIP: TestIntegration/FsMkdir/FsCopyChunked (0.00s) --- FAIL: TestIntegration/FsMkdir/FsUploadUnknownSize (10.81s) --- PASS: TestIntegration/FsMkdir/FsUploadUnknownSize/FsPutUnknownSize (0.00s) --- FAIL: TestIntegration/FsMkdir/FsUploadUnknownSize/FsUpdateUnknownSize (10.81s) --- FAIL: TestIntegration/FsMkdir/FsRootCollapse (11.07s) --- SKIP: TestIntegration/FsMkdir/FsDirSetModTime (0.00s) --- SKIP: TestIntegration/FsMkdir/FsMkdirMetadata (0.00s) --- SKIP: TestIntegration/FsMkdir/FsDirectory (0.00s) --- SKIP: TestIntegration/FsShutdown (0.00s) FAIL exit status 1 FAIL github.com/rclone/rclone/backend/mega 164.775s "go test -v -timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestIntegration$'" - Finished ERROR in 2m45.787873437s (try 2/5): exit status 1: Failed [TestIntegration/FsMkdir/FsPutZeroLength TestIntegration/FsMkdir/FsPutFiles TestIntegration/FsMkdir/FsUploadUnknownSize/FsUpdateUnknownSize TestIntegration/FsMkdir/FsRootCollapse]