"go test -v -timeout 1h0m0s -remote TestMega: -verbose" - Starting (try 1/5) === RUN TestIntegration fstests.go:438: Using remote "TestMega:" 2026/03/06 05:33:33 DEBUG : Creating backend with remote "TestMega:rclone-test-hotehuy5yogu" 2026/03/06 05:33:33 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/03/06 05:33:33 DEBUG : mega root 'rclone-test-hotehuy5yogu': 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/06 05:33:54 INFO : dir/subdir: Making directory 2026/03/06 05:33:54 INFO : dir/subdir: Removing directory 2026/03/06 05:33:54 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/06 05:33:54 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␍" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_LF fstests.go:708: testing "trailing LF␊" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_HT fstests.go:708: testing "trailing HT␉" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_VT fstests.go:708: testing "trailing VT␋" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_dot fstests.go:708: testing "trailing dot." fstests.go:717: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:717 Error: Received unexpected error: directory not empty Test: TestIntegration/FsMkdir/FsEncoding/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:718 Error: Not equal: expected: []string{} actual : []string{"trailing dot."} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) { +([]string) (len=1) { + (string) (len=13) "trailing dot." } Test: TestIntegration/FsMkdir/FsEncoding/trailing_dot Messages: directories === RUN TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 fstests.go:708: 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:715 Error: Not equal: expected: []string{"invalid utf-8\xfe"} actual : []string{"invalid utf-8\xfe", "trailing dot."} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=14) "invalid utf-8\xfe" +([]string) (len=2) { + (string) (len=14) "invalid utf-8\xfe", + (string) (len=13) "trailing dot." } 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:718 Error: Not equal: expected: []string{} actual : []string{"trailing dot."} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) { +([]string) (len=1) { + (string) (len=13) "trailing dot." } Test: TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 Messages: directories === 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 dot."} 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=13) "trailing dot." } 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 dot."} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) { +([]string) (len=1) { + (string) (len=13) "trailing dot." } Test: TestIntegration/FsMkdir/FsEncoding/URL_encoding Messages: directories === RUN TestIntegration/FsMkdir/FsNewObjectNotFound === RUN TestIntegration/FsMkdir/FsPutError === RUN TestIntegration/FsMkdir/FsPutZeroLength === 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 === RUN TestIntegration/FsMkdir/FsPutFiles/FsListDirFile2 fstests.go:979: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:979 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:999 Error: Not equal: expected: []string{"hello? sausage"} actual : []string{"hello? sausage", "trailing dot."} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=14) "hello? sausage" +([]string) (len=2) { + (string) (len=14) "hello? sausage", + (string) (len=13) "trailing dot." } Test: TestIntegration/FsMkdir/FsPutFiles/FsListDirFile2 === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRDirFile2 fstests.go:399: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsPutFiles/FsListR fstests.go:1016: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:1016 Error: Not equal: expected: []string{"hello? sausage", "hello? sausage/êé", "hello? sausage/êé/Hello, 世界", "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠"} actual : []string{"hello? sausage", "hello? sausage/êé", "hello? sausage/êé/Hello, 世界", "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", "trailing dot."} Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -([]string) (len=4) { +([]string) (len=5) { (string) (len=14) "hello? sausage", @@ -4,3 +4,4 @@ (string) (len=33) "hello? sausage/êé/Hello, 世界", - (string) (len=54) "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠" + (string) (len=54) "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", + (string) (len=13) "trailing dot." } Test: TestIntegration/FsMkdir/FsPutFiles/FsListR === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRSubdir === RUN TestIntegration/FsMkdir/FsPutFiles/FsListDirRoot 2026/03/06 05:35:56 DEBUG : Creating backend with remote "TestMega:" 2026/03/06 05:35:56 DEBUG : mega root '': Using previously stored session ID and master key to initialize the Mega API === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRDirRoot fstests.go:399: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsPutFiles/FsListSubdir === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRSubdir#01 fstests.go:399: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsPutFiles/FsListLevel2 fstests.go:1095: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:1095 Error: Not equal: expected: []string{"hello? sausage", "hello? sausage/êé"} actual : []string{"hello? sausage", "hello? sausage/êé", "trailing dot."} Diff: --- Expected +++ Actual @@ -1,4 +1,5 @@ -([]string) (len=2) { +([]string) (len=3) { (string) (len=14) "hello? sausage", - (string) (len=19) "hello? sausage/êé" + (string) (len=19) "hello? sausage/êé", + (string) (len=13) "trailing dot." } Test: TestIntegration/FsMkdir/FsPutFiles/FsListLevel2 === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRLevel2 fstests.go:399: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsPutFiles/FsListFile1 === RUN TestIntegration/FsMkdir/FsPutFiles/FsNewObject === RUN TestIntegration/FsMkdir/FsPutFiles/FsNewObjectCaseInsensitive fstests.go:1122: Not Case Insensitive === RUN TestIntegration/FsMkdir/FsPutFiles/FsListFile1and2 === RUN TestIntegration/FsMkdir/FsPutFiles/FsNewObjectDir === RUN TestIntegration/FsMkdir/FsPutFiles/FsPurge 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:1164 Error: Not equal: expected: []string{"dirToPurge", "hello? sausage", "hello? sausage/êé", "hello? sausage/êé/Hello, 世界", "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠"} actual : []string{"dirToPurge", "hello? sausage", "hello? sausage/êé", "hello? sausage/êé/Hello, 世界", "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", "trailing dot."} Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -([]string) (len=5) { +([]string) (len=6) { (string) (len=10) "dirToPurge", @@ -5,3 +5,4 @@ (string) (len=33) "hello? sausage/êé/Hello, 世界", - (string) (len=54) "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠" + (string) (len=54) "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", + (string) (len=13) "trailing dot." } Test: TestIntegration/FsMkdir/FsPutFiles/FsPurge 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:1176 Error: Not equal: expected: []string{"hello? sausage", "hello? sausage/êé", "hello? sausage/êé/Hello, 世界", "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠"} actual : []string{"hello? sausage", "hello? sausage/êé", "hello? sausage/êé/Hello, 世界", "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", "trailing dot."} Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -([]string) (len=4) { +([]string) (len=5) { (string) (len=14) "hello? sausage", @@ -4,3 +4,4 @@ (string) (len=33) "hello? sausage/êé/Hello, 世界", - (string) (len=54) "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠" + (string) (len=54) "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", + (string) (len=13) "trailing dot." } Test: TestIntegration/FsMkdir/FsPutFiles/FsPurge Messages: directories === RUN TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot 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:1201 Error: Not equal: expected: []string{"dirToPurgeFromRoot", "hello? sausage", "hello? sausage/êé", "hello? sausage/êé/Hello, 世界", "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠"} actual : []string{"dirToPurgeFromRoot", "hello? sausage", "hello? sausage/êé", "hello? sausage/êé/Hello, 世界", "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", "trailing dot."} Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -([]string) (len=5) { +([]string) (len=6) { (string) (len=18) "dirToPurgeFromRoot", @@ -5,3 +5,4 @@ (string) (len=33) "hello? sausage/êé/Hello, 世界", - (string) (len=54) "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠" + (string) (len=54) "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", + (string) (len=13) "trailing dot." } Test: TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot Messages: directories 2026/03/06 05:36:57 DEBUG : Creating backend with remote "TestMega:rclone-test-hotehuy5yogu/dirToPurgeFromRoot" 2026/03/06 05:36:57 DEBUG : mega root 'rclone-test-hotehuy5yogu/dirToPurgeFromRoot': Using previously stored session ID and master key to initialize the Mega API 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:1218 Error: Not equal: expected: []string{"hello? sausage", "hello? sausage/êé", "hello? sausage/êé/Hello, 世界", "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠"} actual : []string{"hello? sausage", "hello? sausage/êé", "hello? sausage/êé/Hello, 世界", "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", "trailing dot."} Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -([]string) (len=4) { +([]string) (len=5) { (string) (len=14) "hello? sausage", @@ -4,3 +4,4 @@ (string) (len=33) "hello? sausage/êé/Hello, 世界", - (string) (len=54) "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠" + (string) (len=54) "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", + (string) (len=13) "trailing dot." } Test: TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot Messages: directories === RUN TestIntegration/FsMkdir/FsPutFiles/FsListRootedSubdir 2026/03/06 05:37:30 DEBUG : Creating backend with remote "TestMega:rclone-test-hotehuy5yogu/hello? sausage/êé" 2026/03/06 05:37:30 DEBUG : Config file has changed externally - reloading 2026/03/06 05:37:30 DEBUG : mega root 'rclone-test-hotehuy5yogu/hello? sausage/êé': Using previously stored session ID and master key to initialize the Mega API === RUN TestIntegration/FsMkdir/FsPutFiles/FsCopy fstests.go:1255: FS has no Copier interface === RUN TestIntegration/FsMkdir/FsPutFiles/FsMove === RUN TestIntegration/FsMkdir/FsPutFiles/FsMove/Metadata fstests.go:1403: Skipping test as can't write metadata === RUN TestIntegration/FsMkdir/FsPutFiles/FsDirMove 2026/03/06 05:37:59 DEBUG : Creating backend with remote "TestMega:rclone-test-feyecob3jiji" 2026/03/06 05:37:59 DEBUG : mega root 'rclone-test-feyecob3jiji': Using previously stored session ID and master key to initialize the Mega API 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:1490 Error: Not equal: expected: []string{"new_name", "new_name/sub_new_name", "new_name/sub_new_name/hello? sausage", "new_name/sub_new_name/hello? sausage/êé", "new_name/sub_new_name/hello? sausage/êé/Hello, 世界", "new_name/sub_new_name/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠"} actual : []string{"new_name", "new_name/sub_new_name", "new_name/sub_new_name/hello? sausage", "new_name/sub_new_name/hello? sausage/êé", "new_name/sub_new_name/hello? sausage/êé/Hello, 世界", "new_name/sub_new_name/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", "new_name/sub_new_name/trailing dot."} Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -([]string) (len=6) { +([]string) (len=7) { (string) (len=8) "new_name", @@ -6,3 +6,4 @@ (string) (len=55) "new_name/sub_new_name/hello? sausage/êé/Hello, 世界", - (string) (len=76) "new_name/sub_new_name/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠" + (string) (len=76) "new_name/sub_new_name/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", + (string) (len=35) "new_name/sub_new_name/trailing dot." } Test: TestIntegration/FsMkdir/FsPutFiles/FsDirMove 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:1504 Error: Not equal: expected: []string{"hello? sausage", "hello? sausage/êé", "hello? sausage/êé/Hello, 世界", "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠"} actual : []string{"hello? sausage", "hello? sausage/êé", "hello? sausage/êé/Hello, 世界", "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", "trailing dot."} Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -([]string) (len=4) { +([]string) (len=5) { (string) (len=14) "hello? sausage", @@ -4,3 +4,4 @@ (string) (len=33) "hello? sausage/êé/Hello, 世界", - (string) (len=54) "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠" + (string) (len=54) "hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠", + (string) (len=13) "trailing dot." } Test: TestIntegration/FsMkdir/FsPutFiles/FsDirMove Messages: directories 2026/03/06 05:38:30 DEBUG : mega root 'rclone-test-feyecob3jiji': Purge remote === RUN TestIntegration/FsMkdir/FsPutFiles/FsRmdirFull === RUN TestIntegration/FsMkdir/FsPutFiles/FsPrecision === RUN TestIntegration/FsMkdir/FsPutFiles/ObjectString === RUN TestIntegration/FsMkdir/FsPutFiles/ObjectFs === RUN TestIntegration/FsMkdir/FsPutFiles/ObjectRemote === RUN TestIntegration/FsMkdir/FsPutFiles/ObjectHashes === RUN TestIntegration/FsMkdir/FsPutFiles/ObjectModTime === RUN TestIntegration/FsMkdir/FsPutFiles/ObjectMimeType fstests.go:1597: MimeType method not supported === RUN TestIntegration/FsMkdir/FsPutFiles/ObjectMetadata fstests.go:1628: Metadata method not supported === RUN TestIntegration/FsMkdir/FsPutFiles/ObjectSetMetadata fstests.go:1699: SetMetadata method not supported === RUN TestIntegration/FsMkdir/FsPutFiles/ObjectSetModTime fstests.go:1756: can't set modified time === RUN TestIntegration/FsMkdir/FsPutFiles/ObjectSize === RUN TestIntegration/FsMkdir/FsPutFiles/ObjectOpen === RUN TestIntegration/FsMkdir/FsPutFiles/ObjectOpenSeek === RUN TestIntegration/FsMkdir/FsPutFiles/ObjectOpenRange === RUN TestIntegration/FsMkdir/FsPutFiles/ObjectPartialRead === RUN TestIntegration/FsMkdir/FsPutFiles/ObjectUpdate 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:1827 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestIntegration/FsMkdir/FsPutFiles/ObjectUpdate Messages: Update object === RUN TestIntegration/FsMkdir/FsPutFiles/ObjectStorable === RUN TestIntegration/FsMkdir/FsPutFiles/FsIsFile 2026/03/06 05:38:53 DEBUG : Creating backend with remote "TestMega:rclone-test-hotehuy5yogu/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠/z.txt" 2026/03/06 05:38:53 DEBUG : mega root 'rclone-test-hotehuy5yogu/hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt': Using previously stored session ID and master key to initialize the Mega API 2026/03/06 05:39:04 DEBUG : mega root 'rclone-test-hotehuy5yogu/hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt': login with previous auth keys failed: unexpected end of JSON input fstests.go:1865: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:1865 Error: Not equal: expected: *errors.errorString(&errors.errorString{s:"is a file not a directory"}) actual : () Test: TestIntegration/FsMkdir/FsPutFiles/FsIsFile === RUN TestIntegration/FsMkdir/FsPutFiles/FsIsFile/FsRoot fstests.go:1881: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:1881 Error: Not equal: expected: "rclone-test-hotehuy5yogu/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠" actual : "rclone-test-hotehuy5yogu/hello? sausage/êé/Hello, 世界/ \" ' @ < > & ? + ≠/z.txt" Diff: --- Expected +++ Actual @@ -1 +1 @@ -rclone-test-hotehuy5yogu/hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠ +rclone-test-hotehuy5yogu/hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt Test: TestIntegration/FsMkdir/FsPutFiles/FsIsFile/FsRoot 2026/03/06 05:39:04 ERROR : error listing: Invalid arguments === NAME TestIntegration/FsMkdir/FsPutFiles/FsIsFile fstest.go:282: Error listing: Invalid arguments === RUN TestIntegration/FsMkdir/FsPutFiles/FsIsFileNotFound 2026/03/06 05:39:04 DEBUG : Creating backend with remote "TestMega:rclone-test-hotehuy5yogu/not found.txt" 2026/03/06 05:39:04 DEBUG : mega root 'rclone-test-hotehuy5yogu/not found.txt': Using previously stored session ID and master key to initialize the Mega API 2026/03/06 05:39:15 DEBUG : mega root 'rclone-test-hotehuy5yogu/not found.txt': login with previous auth keys failed: unexpected end of JSON input 2026/03/06 05:39:15 ERROR : error listing: Invalid arguments fstest.go:282: Error listing: Invalid arguments === RUN TestIntegration/FsMkdir/FsPutFiles/FromRoot fstests.go:1916: Opening root remote "TestMega:" path "rclone-test-hotehuy5yogu" from "TestMega:rclone-test-hotehuy5yogu" 2026/03/06 05:39:15 DEBUG : Creating backend with remote "TestMega:" 2026/03/06 05:39:15 DEBUG : mega root '': Using previously stored session ID and master key to initialize the Mega API 2026/03/06 05:39:25 DEBUG : mega root '': login with previous auth keys failed: unexpected end of JSON input --- FAIL: TestIntegration (352.41s) --- 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.24s) --- FAIL: TestIntegration/FsMkdir (331.80s) --- PASS: TestIntegration/FsMkdir/FsMkdirRmdirSubdir (0.44s) --- 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 (113.42s) --- PASS: TestIntegration/FsMkdir/FsEncoding/control_chars (4.37s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot (11.44s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot_dot (0.83s) --- PASS: TestIntegration/FsMkdir/FsEncoding/punctuation (4.21s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_space (4.54s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_tilde (2.38s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_CR (2.76s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_LF (2.38s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_HT (2.52s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_VT (0.70s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_dot (0.59s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_space (0.60s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_CR (2.55s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_LF (6.55s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_HT (2.38s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_VT (4.32s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/trailing_dot (9.56s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 (25.38s) --- FAIL: TestIntegration/FsMkdir/FsEncoding/URL_encoding (25.35s) --- PASS: TestIntegration/FsMkdir/FsNewObjectNotFound (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutError (2.82s) --- PASS: TestIntegration/FsMkdir/FsPutZeroLength (0.70s) --- SKIP: TestIntegration/FsMkdir/FsOpenWriterAt (0.00s) --- SKIP: TestIntegration/FsMkdir/FsOpenChunkWriter (0.00s) --- SKIP: TestIntegration/FsMkdir/FsChangeNotify (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (214.36s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsListDirFile2 (0.00s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/FsListRDirFile2 (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsListR (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsListRSubdir (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsListDirRoot (17.16s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/FsListRDirRoot (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsListSubdir (0.00s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/FsListRSubdir#01 (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsListLevel2 (0.00s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/FsListRLevel2 (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsListFile1 (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsNewObject (0.00s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/FsNewObjectCaseInsensitive (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsListFile1and2 (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsNewObjectDir (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsPurge (25.63s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot (51.30s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsListRootedSubdir (19.78s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/FsCopy (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsMove (8.99s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/FsMove/Metadata (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsDirMove (41.98s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsRmdirFull (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/FsPrecision (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/ObjectString (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/ObjectFs (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/ObjectRemote (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/ObjectHashes (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/ObjectModTime (0.00s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/ObjectMimeType (0.00s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/ObjectMetadata (0.00s) --- SKIP: TestIntegration/FsMkdir/FsPutFiles/ObjectSetMetadata (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/ObjectSetModTime (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/ObjectSize (0.00s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/ObjectOpen (0.32s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/ObjectOpenSeek (0.18s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/ObjectOpenRange (0.68s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/ObjectPartialRead (0.97s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/ObjectUpdate (10.75s) --- PASS: TestIntegration/FsMkdir/FsPutFiles/ObjectStorable (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsIsFile (10.80s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsIsFile/FsRoot (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FsIsFileNotFound (10.56s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles/FromRoot (10.59s) panic: runtime error: invalid memory address or nil pointer dereference [recovered, repanicked] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x88d6a7] goroutine 1571 [running]: testing.tRunner.func1.2({0xa1eac0, 0x1009d40}) /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1872 +0x237 testing.tRunner.func1() /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1875 +0x35b panic({0xa1eac0?, 0x1009d40?}) /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/panic.go:783 +0x132 github.com/t3rm1n4l/go-mega.(*Node).GetType(0xc00c196210?) /home/rclone/go/pkg/mod/github.com/t3rm1n4l/go-mega@v0.0.0-20251120131202-6845944c051c/mega.go:188 +0x27 github.com/rclone/rclone/backend/mega.(*Fs).findDir(0x0?, 0x0?, {0xc00da35e40?, 0x0?}) /home/rclone/go/src/github.com/rclone/rclone/backend/mega/mega.go:344 +0x6a github.com/rclone/rclone/backend/mega.(*Fs).findRoot(0xc00c196210, {0xbf73c8, 0x10665a0}, 0x0) /home/rclone/go/src/github.com/rclone/rclone/backend/mega/mega.go:449 +0x108 github.com/rclone/rclone/backend/mega.NewFs({0xbf73c8, 0x10665a0}, {0xc00da35e40, 0x8}, {0xc00da35e40, 0x0}, {0xbf5190, 0xc00c1807b0}) /home/rclone/go/src/github.com/rclone/rclone/backend/mega/mega.go:294 +0x8ea github.com/rclone/rclone/fs.NewFs({0xbf73c8, 0x10665a0}, {0xc00da35e40, 0x9}) /home/rclone/go/src/github.com/rclone/rclone/fs/newfs.go:75 +0x378 github.com/rclone/rclone/fstest/fstests.Run.func13.14.42(0xc004ae8c40) /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:1917 +0x2d4 testing.tRunner(0xc004ae8c40, 0xc000734780) /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1934 +0xea created by testing.(*T).Run in goroutine 811 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1997 +0x465 exit status 2 FAIL github.com/rclone/rclone/backend/mega 352.488s "go test -v -timeout 1h0m0s -remote TestMega: -verbose" - Finished ERROR in 5m54.27930715s (try 1/5): exit status 1: Failed [TestIntegration/FsMkdir/FsEncoding/trailing_dot TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 TestIntegration/FsMkdir/FsEncoding/URL_encoding TestIntegration/FsMkdir/FsPutFiles/FsListDirFile2 TestIntegration/FsMkdir/FsPutFiles/FsListR TestIntegration/FsMkdir/FsPutFiles/FsListLevel2 TestIntegration/FsMkdir/FsPutFiles/FsPurge TestIntegration/FsMkdir/FsPutFiles/FsPurgeRoot TestIntegration/FsMkdir/FsPutFiles/FsDirMove TestIntegration/FsMkdir/FsPutFiles/ObjectUpdate TestIntegration/FsMkdir/FsPutFiles/FsIsFile/FsRoot TestIntegration/FsMkdir/FsPutFiles/FsIsFileNotFound TestIntegration/FsMkdir/FsPutFiles/FromRoot]