"go test -v -timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestIntegration$'" - Starting (try 4/5) === RUN TestIntegration fstests.go:438: Using remote "TestMega:" 2025/11/05 13:37:32 DEBUG : Creating backend with remote "TestMega:rclone-test-bisupap9pema" 2025/11/05 13:37:32 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/11/05 13:37:32 DEBUG : mega root 'rclone-test-bisupap9pema': 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/05 13:38:06 INFO : dir/subdir: Making directory 2025/11/05 13:38:10 INFO : dir/subdir: Removing directory 2025/11/05 13:38:10 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/05 13:38:11 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 "␀␁␂␃␄␅␆␇␈␉␊␋␌␍␎␏␐␑␒␓␔␕␖␗␘␙␚␛␜␝␞␟␡" fstests.go:708: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:708 Error: Received unexpected error: Mkdir failed: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/control_chars === 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 "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" 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/punctuation Messages: Put === RUN TestIntegration/FsMkdir/FsEncoding/leading_space fstests.go:707: testing " leading space" 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/leading_space Messages: Put === RUN TestIntegration/FsMkdir/FsEncoding/leading_tilde fstests.go:707: testing "~leading tilde" 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{"~leading tilde"} actual : []string{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", "~leading tilde"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) (len=1) { +([]string) (len=3) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", (string) (len=14) "~leading tilde" Test: TestIntegration/FsMkdir/FsEncoding/leading_tilde 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{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) { +([]string) (len=2) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" } Test: TestIntegration/FsMkdir/FsEncoding/leading_tilde Messages: directories === RUN TestIntegration/FsMkdir/FsEncoding/leading_CR fstests.go:707: testing "␍leading CR" 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{"␍leading CR"} actual : []string{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", "␍leading CR"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) (len=1) { +([]string) (len=3) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", (string) (len=13) "␍leading CR" Test: TestIntegration/FsMkdir/FsEncoding/leading_CR 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{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) { +([]string) (len=2) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" } Test: TestIntegration/FsMkdir/FsEncoding/leading_CR Messages: directories === RUN TestIntegration/FsMkdir/FsEncoding/leading_LF fstests.go:707: testing "␊leading LF" 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{"␊leading LF"} actual : []string{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", "␊leading LF"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) (len=1) { +([]string) (len=3) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", (string) (len=13) "␊leading LF" Test: TestIntegration/FsMkdir/FsEncoding/leading_LF 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{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) { +([]string) (len=2) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" } Test: TestIntegration/FsMkdir/FsEncoding/leading_LF Messages: directories === RUN TestIntegration/FsMkdir/FsEncoding/leading_HT fstests.go:707: testing "␉leading HT" fstests.go:708: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:708 Error: Received unexpected error: Mkdir failed: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/leading_HT 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{"␉leading HT"} actual : []string{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", "␉leading HT"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) (len=1) { +([]string) (len=3) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", (string) (len=13) "␉leading HT" Test: TestIntegration/FsMkdir/FsEncoding/leading_HT 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{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) { +([]string) (len=2) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" } Test: TestIntegration/FsMkdir/FsEncoding/leading_HT Messages: directories === RUN TestIntegration/FsMkdir/FsEncoding/leading_VT fstests.go:707: testing "␋leading VT" fstests.go:708: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:708 Error: Received unexpected error: Mkdir failed: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/leading_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:714 Error: Not equal: expected: []string{"␋leading VT"} actual : []string{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", "␋leading VT"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) (len=1) { +([]string) (len=3) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", (string) (len=13) "␋leading VT" Test: TestIntegration/FsMkdir/FsEncoding/leading_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:717 Error: Not equal: expected: []string{} actual : []string{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) { +([]string) (len=2) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" } Test: TestIntegration/FsMkdir/FsEncoding/leading_VT Messages: directories === RUN TestIntegration/FsMkdir/FsEncoding/leading_dot fstests.go:707: testing ".leading 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{".leading dot"} actual : []string{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", ".leading dot"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) (len=1) { +([]string) (len=3) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", (string) (len=12) ".leading dot" Test: TestIntegration/FsMkdir/FsEncoding/leading_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{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) { +([]string) (len=2) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" } Test: TestIntegration/FsMkdir/FsEncoding/leading_dot Messages: directories === RUN TestIntegration/FsMkdir/FsEncoding/trailing_space fstests.go:707: testing "trailing space " 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 space "} actual : []string{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", "trailing space "} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) (len=1) { +([]string) (len=3) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", (string) (len=15) "trailing space " Test: TestIntegration/FsMkdir/FsEncoding/trailing_space 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{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) { +([]string) (len=2) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" } Test: TestIntegration/FsMkdir/FsEncoding/trailing_space Messages: directories === RUN TestIntegration/FsMkdir/FsEncoding/trailing_CR fstests.go:707: testing "trailing CR␍" 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 CR␍"} actual : []string{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", "trailing CR␍"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) (len=1) { +([]string) (len=3) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", (string) (len=14) "trailing CR␍" Test: TestIntegration/FsMkdir/FsEncoding/trailing_CR 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{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) { +([]string) (len=2) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" } Test: TestIntegration/FsMkdir/FsEncoding/trailing_CR Messages: directories === RUN TestIntegration/FsMkdir/FsEncoding/trailing_LF fstests.go:707: testing "trailing LF␊" 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 LF␊"} actual : []string{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", "trailing LF␊"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) (len=1) { +([]string) (len=3) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", (string) (len=14) "trailing LF␊" Test: TestIntegration/FsMkdir/FsEncoding/trailing_LF 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{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) { +([]string) (len=2) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" } Test: TestIntegration/FsMkdir/FsEncoding/trailing_LF Messages: directories === RUN TestIntegration/FsMkdir/FsEncoding/trailing_HT fstests.go:707: testing "trailing HT␉" 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 HT␉"} actual : []string{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", "trailing HT␉"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) (len=1) { +([]string) (len=3) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", (string) (len=14) "trailing HT␉" Test: TestIntegration/FsMkdir/FsEncoding/trailing_HT 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{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) { +([]string) (len=2) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" } Test: TestIntegration/FsMkdir/FsEncoding/trailing_HT Messages: directories === RUN TestIntegration/FsMkdir/FsEncoding/trailing_VT fstests.go:707: testing "trailing VT␋" fstests.go:708: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:708 Error: Received unexpected error: Mkdir failed: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/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: failed to finish upload: 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{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", "trailing VT␋", "trailing dot."} Diff: --- Expected +++ Actual @@ -1,2 +1,5 @@ -([]string) (len=1) { +([]string) (len=4) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", + (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{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", "trailing VT␋"} Diff: --- Expected +++ Actual @@ -1,2 +1,5 @@ -([]string) { +([]string) (len=3) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", + (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{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", "invalid utf-8\xfe", "trailing VT␋"} Diff: --- Expected +++ Actual @@ -1,3 +1,6 @@ -([]string) (len=1) { - (string) (len=14) "invalid utf-8\xfe" +([]string) (len=4) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", + (string) (len=14) "invalid utf-8\xfe", + (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{" leading space", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", "trailing VT␋"} Diff: --- Expected +++ Actual @@ -1,2 +1,5 @@ -([]string) { +([]string) (len=3) { + (string) (len=14) " leading space", + (string) (len=34) "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", + (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" fstests.go:708: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:708 Error: Received unexpected error: Mkdir failed: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/URL_encoding 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: mkdir create node failed: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsEncoding/URL_encoding Messages: Put === 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/11/05 13:46:36 DEBUG : Creating backend with remote "TestMega:rclone-test-bisupap9pema/deeper/nonexisting/directory" 2025/11/05 13:46:36 DEBUG : Config file has changed externally - reloading 2025/11/05 13:46:36 DEBUG : mega root 'rclone-test-bisupap9pema/deeper/nonexisting/directory': Using previously stored session ID and master key to initialize the Mega API 2025/11/05 13:46:47 DEBUG : mega root 'rclone-test-bisupap9pema/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/11/05 13:46:58 ERROR : error listing: directory not found === RUN TestIntegration/FsShutdown fstests.go:2831: Shutdown method not supported --- FAIL: TestIntegration (566.53s) --- 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.42s) --- FAIL: TestIntegration/FsMkdir (534.08s) --- PASS: TestIntegration/FsMkdir/FsMkdirRmdirSubdir (5.08s) --- 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 (461.44s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/control_chars (14.01s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot (4.96s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot_dot (5.98s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/punctuation (12.71s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/leading_space (15.94s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/leading_tilde (27.10s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/leading_CR (22.10s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/leading_LF (31.21s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/leading_HT (39.80s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/leading_VT (28.60s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/leading_dot (37.90s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/trailing_space (28.73s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/trailing_CR (22.31s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/trailing_LF (17.98s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/trailing_HT (18.68s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/trailing_VT (22.79s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/trailing_dot (43.15s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 (44.95s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/URL_encoding (22.53s) --- PASS: TestIntegration/FsMkdir/FsNewObjectNotFound (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutError (11.50s) --- FAIL: TestIntegration/FsMkdir/FsPutZeroLength (10.76s) --- SKIP: TestIntegration/FsMkdir/FsOpenWriterAt (0.00s) --- SKIP: TestIntegration/FsMkdir/FsOpenChunkWriter (0.00s) --- SKIP: TestIntegration/FsMkdir/FsChangeNotify (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (10.76s) --- SKIP: TestIntegration/FsMkdir/FsPutChunked (0.00s) --- SKIP: TestIntegration/FsMkdir/FsCopyChunked (0.00s) --- FAIL: TestIntegration/FsMkdir/FsUploadUnknownSize (10.68s) --- PASS: TestIntegration/FsMkdir/FsUploadUnknownSize/FsPutUnknownSize (0.00s) --- FAIL: TestIntegration/FsMkdir/FsUploadUnknownSize/FsUpdateUnknownSize (10.68s) --- FAIL: TestIntegration/FsMkdir/FsRootCollapse (11.04s) --- 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 566.569s "go test -v -timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestIntegration$'" - Finished ERROR in 9m27.341083426s (try 4/5): exit status 1: Failed [TestIntegration/FsMkdir/FsEncoding/control_chars TestIntegration/FsMkdir/FsEncoding/punctuation TestIntegration/FsMkdir/FsEncoding/leading_space TestIntegration/FsMkdir/FsEncoding/leading_tilde TestIntegration/FsMkdir/FsEncoding/leading_CR TestIntegration/FsMkdir/FsEncoding/leading_LF TestIntegration/FsMkdir/FsEncoding/leading_HT TestIntegration/FsMkdir/FsEncoding/leading_VT TestIntegration/FsMkdir/FsEncoding/leading_dot TestIntegration/FsMkdir/FsEncoding/trailing_space 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 TestIntegration/FsMkdir/FsRootCollapse]