"go test -v -timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestIntegration$'" - Starting (try 5/5) === RUN TestIntegration fstests.go:438: Using remote "TestMega:" 2026/03/25 02:12:09 DEBUG : Creating backend with remote "TestMega:rclone-test-ziniwur1hiwu" 2026/03/25 02:12:09 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/03/25 02:12:09 DEBUG : mega root 'rclone-test-ziniwur1hiwu': 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/03/25 02:12:50 INFO : dir/subdir: Making directory 2026/03/25 02:12:53 INFO : dir/subdir: Removing directory 2026/03/25 02:12:53 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/03/25 02:12:53 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␍" 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:714 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/trailing_CR Messages: Put === RUN TestIntegration/FsMkdir/FsEncoding/trailing_LF fstests.go:708: testing "trailing LF␊" fstests.go:709: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:709 Error: Received unexpected error: Mkdir failed: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/trailing_LF 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:714 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Received unexpected error: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/trailing_LF Messages: Put === RUN TestIntegration/FsMkdir/FsEncoding/trailing_HT fstests.go:708: testing "trailing HT␉" fstests.go:709: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:709 Error: Received unexpected error: Mkdir failed: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/trailing_HT 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:714 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Received unexpected error: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/trailing_HT Messages: Put === RUN TestIntegration/FsMkdir/FsEncoding/trailing_VT fstests.go:708: testing "trailing VT␋" 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:715 Error: Not equal: expected: []string{"trailing VT␋"} actual : []string{"trailing CR␍", "trailing VT␋"} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) (len=1) { +([]string) (len=2) { + (string) (len=14) "trailing CR␍", (string) (len=14) "trailing VT␋" Test: TestIntegration/FsMkdir/FsEncoding/trailing_VT 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:718 Error: Not equal: expected: []string{} actual : []string{"trailing CR␍"} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) { +([]string) (len=1) { + (string) (len=14) "trailing CR␍" } Test: TestIntegration/FsMkdir/FsEncoding/trailing_VT Messages: directories === RUN TestIntegration/FsMkdir/FsEncoding/trailing_dot fstests.go:708: testing "trailing dot." fstests.go:709: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:709 Error: Received unexpected error: Mkdir failed: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/trailing_dot 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:714 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Received unexpected error: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/trailing_dot Messages: Put === RUN TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 fstests.go:708: testing "invalid utf-8\xfe" fstests.go:709: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:709 Error: Received unexpected error: Mkdir failed: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 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:714 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Received unexpected error: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 Messages: Put === RUN TestIntegration/FsMkdir/FsEncoding/URL_encoding fstests.go:708: testing "test%46.txt" 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:715 Error: Not equal: expected: []string{"test%46.txt"} actual : []string{"test%46.txt", "trailing CR␍"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=11) "test%46.txt" +([]string) (len=2) { + (string) (len=11) "test%46.txt", + (string) (len=14) "trailing CR␍" } Test: TestIntegration/FsMkdir/FsEncoding/URL_encoding 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:718 Error: Not equal: expected: []string{} actual : []string{"trailing CR␍"} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) { +([]string) (len=1) { + (string) (len=14) "trailing CR␍" } Test: TestIntegration/FsMkdir/FsEncoding/URL_encoding Messages: directories === 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:787: FS has no OpenWriterAt interface === RUN TestIntegration/FsMkdir/FsOpenChunkWriter fstests.go:820: FS has no OpenChunkWriter interface === RUN TestIntegration/FsMkdir/FsChangeNotify fstests.go:869: 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:954 /usr/local/go/src/runtime/asm_amd64.s:1771 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:2372: *mega.Fs does not implement SetUploadChunkSizer === RUN TestIntegration/FsMkdir/FsCopyChunked fstests.go:2484: 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:2587 /usr/local/go/src/runtime/asm_amd64.s:1771 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 2026/03/25 02:17:11 DEBUG : Creating backend with remote "TestMega:rclone-test-ziniwur1hiwu/deeper/nonexisting/directory" 2026/03/25 02:17:11 DEBUG : mega root 'rclone-test-ziniwur1hiwu/deeper/nonexisting/directory': Using previously stored session ID and master key to initialize the Mega API === RUN TestIntegration/FsMkdir/FsDirSetModTime fstests.go:2633: FS has no DirSetModTime interface === RUN TestIntegration/FsMkdir/FsMkdirMetadata fstests.go:2676: FS has no MkdirMetadata interface === RUN TestIntegration/FsMkdir/FsDirectory fstests.go:2733: FS has no Directory methods and doesn't Wrap 2026/03/25 02:18:13 ERROR : error listing: directory not found === RUN TestIntegration/FsShutdown fstests.go:2839: Shutdown method not supported --- FAIL: TestIntegration (363.59s) --- 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.29s) --- FAIL: TestIntegration/FsMkdir (324.36s) --- PASS: TestIntegration/FsMkdir/FsMkdirRmdirSubdir (2.81s) --- 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) --- FAIL: TestIntegration/FsMkdir/FsEncoding (218.53s) --- PASS: TestIntegration/FsMkdir/FsEncoding/control_chars (4.13s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot (0.70s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot_dot (13.81s) --- PASS: TestIntegration/FsMkdir/FsEncoding/punctuation (4.51s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_space (2.87s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_tilde (6.22s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_CR (0.54s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_LF (2.78s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_HT (0.81s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_VT (16.62s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_dot (3.05s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_space (0.56s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/trailing_CR (10.62s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/trailing_LF (21.46s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/trailing_HT (21.50s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/trailing_VT (24.73s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/trailing_dot (21.11s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 (21.27s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/URL_encoding (41.24s) --- PASS: TestIntegration/FsMkdir/FsNewObjectNotFound (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutError (7.46s) --- FAIL: TestIntegration/FsMkdir/FsPutZeroLength (10.48s) --- SKIP: TestIntegration/FsMkdir/FsOpenWriterAt (0.00s) --- SKIP: TestIntegration/FsMkdir/FsOpenChunkWriter (0.00s) --- SKIP: TestIntegration/FsMkdir/FsChangeNotify (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (10.72s) --- SKIP: TestIntegration/FsMkdir/FsPutChunked (0.00s) --- SKIP: TestIntegration/FsMkdir/FsCopyChunked (0.00s) --- FAIL: TestIntegration/FsMkdir/FsUploadUnknownSize (10.91s) --- PASS: TestIntegration/FsMkdir/FsUploadUnknownSize/FsPutUnknownSize (0.00s) --- FAIL: TestIntegration/FsMkdir/FsUploadUnknownSize/FsUpdateUnknownSize (10.91s) --- PASS: TestIntegration/FsMkdir/FsRootCollapse (50.13s) --- 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 363.625s "go test -v -timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestIntegration$'" - Finished ERROR in 6m4.460890993s (try 5/5): exit status 1: Failed [TestIntegration/FsMkdir/FsEncoding/trailing_CR TestIntegration/FsMkdir/FsEncoding/trailing_LF TestIntegration/FsMkdir/FsEncoding/trailing_HT TestIntegration/FsMkdir/FsEncoding/trailing_VT TestIntegration/FsMkdir/FsEncoding/trailing_dot TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 TestIntegration/FsMkdir/FsEncoding/URL_encoding TestIntegration/FsMkdir/FsPutZeroLength TestIntegration/FsMkdir/FsPutFiles TestIntegration/FsMkdir/FsUploadUnknownSize/FsUpdateUnknownSize]