"go test -v -timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestIntegration$/^FsMkdir$/^(FsPutFiles|FsRootCollapse)$|^TestIntegration$/^FsMkdir$/^FsEncoding$/^(URL_encoding|invalid_UTF-8|leading_dot|trailing_CR|trailing_HT|trailing_LF|trailing_VT|trailing_dot|trailing_space)$|^TestIntegration$/^FsMkdir$/^FsUploadUnknownSize$/^FsUpdateUnknownSize$'" - Starting (try 4/5) === RUN TestIntegration fstests.go:438: Using remote "TestMega:" 2025/12/21 03:53:55 DEBUG : Creating backend with remote "TestMega:rclone-test-gayacoy3yoro" 2025/12/21 03:53:55 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/12/21 03:53:55 DEBUG : mega root 'rclone-test-gayacoy3yoro': Using previously stored session ID and master key to initialize the Mega API === RUN TestIntegration/FsMkdir === RUN TestIntegration/FsMkdir/FsEncoding === 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␉" 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:713 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Received unexpected error: failed to finish upload: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/trailing_HT Messages: Put === RUN TestIntegration/FsMkdir/FsEncoding/trailing_VT fstests.go:707: testing "trailing VT␋" 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:713 /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/FsEncoding/trailing_VT Messages: Put === RUN TestIntegration/FsMkdir/FsEncoding/trailing_dot fstests.go:707: testing "trailing dot." 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:714 Error: Not equal: expected: []string{"trailing dot."} actual : []string{"trailing HT␉", "trailing VT␋", "trailing dot."} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) (len=1) { +([]string) (len=3) { + (string) (len=14) "trailing HT␉", + (string) (len=14) "trailing VT␋", (string) (len=13) "trailing dot." Test: TestIntegration/FsMkdir/FsEncoding/trailing_dot 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:717 Error: Not equal: expected: []string{} actual : []string{"trailing HT␉", "trailing VT␋"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) { +([]string) (len=2) { + (string) (len=14) "trailing HT␉", + (string) (len=14) "trailing VT␋" } Test: TestIntegration/FsMkdir/FsEncoding/trailing_dot Messages: directories === RUN TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 fstests.go:707: testing "invalid utf-8\xfe" 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:714 Error: Not equal: expected: []string{"invalid utf-8\xfe"} actual : []string{"invalid utf-8\xfe", "trailing HT␉", "trailing VT␋"} Diff: --- Expected +++ Actual @@ -1,3 +1,5 @@ -([]string) (len=1) { - (string) (len=14) "invalid utf-8\xfe" +([]string) (len=3) { + (string) (len=14) "invalid utf-8\xfe", + (string) (len=14) "trailing HT␉", + (string) (len=14) "trailing VT␋" } Test: TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 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:717 Error: Not equal: expected: []string{} actual : []string{"trailing HT␉", "trailing VT␋"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) { +([]string) (len=2) { + (string) (len=14) "trailing HT␉", + (string) (len=14) "trailing VT␋" } Test: TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 Messages: directories === RUN TestIntegration/FsMkdir/FsEncoding/URL_encoding fstests.go:707: 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:714 Error: Not equal: expected: []string{"test%46.txt"} actual : []string{"test%46.txt", "trailing HT␉", "trailing VT␋"} Diff: --- Expected +++ Actual @@ -1,3 +1,5 @@ -([]string) (len=1) { - (string) (len=11) "test%46.txt" +([]string) (len=3) { + (string) (len=11) "test%46.txt", + (string) (len=14) "trailing HT␉", + (string) (len=14) "trailing VT␋" } 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:717 Error: Not equal: expected: []string{} actual : []string{"trailing HT␉", "trailing VT␋"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) { +([]string) (len=2) { + (string) (len=14) "trailing HT␉", + (string) (len=14) "trailing VT␋" } Test: TestIntegration/FsMkdir/FsEncoding/URL_encoding Messages: directories === 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:955 Error: Received unexpected error: failed to finish upload: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsPutFiles Messages: Put === RUN TestIntegration/FsMkdir/FsUploadUnknownSize === RUN TestIntegration/FsMkdir/FsUploadUnknownSize/FsUpdateUnknownSize === RUN TestIntegration/FsMkdir/FsRootCollapse 2025/12/21 03:56:30 DEBUG : Creating backend with remote "TestMega:rclone-test-gayacoy3yoro/deeper/nonexisting/directory" 2025/12/21 03:56:30 DEBUG : mega root 'rclone-test-gayacoy3yoro/deeper/nonexisting/directory': Using previously stored session ID and master key to initialize the Mega API 2025/12/21 03:56:47 ERROR : error listing: directory not found --- FAIL: TestIntegration (172.00s) --- FAIL: TestIntegration/FsMkdir (156.28s) --- FAIL: TestIntegration/FsMkdir/FsEncoding (120.67s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_dot (5.26s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_space (4.58s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_CR (3.94s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_LF (11.52s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/trailing_HT (11.09s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/trailing_VT (13.88s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/trailing_dot (20.42s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 (22.12s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/URL_encoding (27.87s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (15.91s) --- PASS: TestIntegration/FsMkdir/FsUploadUnknownSize (3.05s) --- PASS: TestIntegration/FsMkdir/FsUploadUnknownSize/FsUpdateUnknownSize (3.05s) --- PASS: TestIntegration/FsMkdir/FsRootCollapse (16.35s) FAIL exit status 1 FAIL github.com/rclone/rclone/backend/mega 172.044s "go test -v -timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestIntegration$/^FsMkdir$/^(FsPutFiles|FsRootCollapse)$|^TestIntegration$/^FsMkdir$/^FsEncoding$/^(URL_encoding|invalid_UTF-8|leading_dot|trailing_CR|trailing_HT|trailing_LF|trailing_VT|trailing_dot|trailing_space)$|^TestIntegration$/^FsMkdir$/^FsUploadUnknownSize$/^FsUpdateUnknownSize$'" - Finished ERROR in 2m52.977283911s (try 4/5): exit status 1: Failed [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/FsPutFiles]