"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 3/5) 2021/07/25 06:23:59 DEBUG : Creating backend with remote "TestMega:rclone-test-yibiwok0neluwop1dufubig6" 2021/07/25 06:23:59 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2021/07/25 06:24:05 DEBUG : Creating backend with remote "/tmp/rclone589665919" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:176: Remote "mega root 'rclone-test-yibiwok0neluwop1dufubig6'", Local "Local file system at /tmp/rclone589665919", Modify Window "876000h0m0s" 2021/07/25 06:24:05 INFO : mega root 'rclone-test-yibiwok0neluwop1dufubig6': poll-interval is not supported by this remote 2021/07/25 06:24:05 NOTICE: mega root 'rclone-test-yibiwok0neluwop1dufubig6': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2021/07/25 06:24:06 DEBUG : WaitForWriters: timeout=10s 2021/07/25 06:24:06 DEBUG : dir: Looking for writers 2021/07/25 06:24:06 DEBUG : file1: reading active writers 2021/07/25 06:24:06 DEBUG : : Looking for writers 2021/07/25 06:24:06 DEBUG : dir: reading active writers 2021/07/25 06:24:06 DEBUG : >WaitForWriters: 2021/07/25 06:24:06 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/07/25 06:24:06 DEBUG : newLeaf: Updating file with newLeaf 0xc0001a1380 2021/07/25 06:24:06 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/07/25 06:24:06 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" 2021/07/25 06:24:13 INFO : newLeaf: Moved (server-side) to: dir/file1 2021/07/25 06:24:13 DEBUG : dir/file1: Updating file with dir/file1 0xc0001a1380 2021/07/25 06:24:13 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2021/07/25 06:24:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "dir/file1" 2021/07/25 06:24:20 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/07/25 06:24:20 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2021/07/25 06:24:20 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/07/25 06:24:20 DEBUG : dir/file1: File is currently open, delaying rename 0xc0001a1380 2021/07/25 06:24:20 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/07/25 06:24:20 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/07/25 06:24:20 DEBUG : mega root 'rclone-test-yibiwok0neluwop1dufubig6': File to upload is small (25 bytes), uploading instead of streaming 2021/07/25 06:24:21 INFO : dir/file1: Copied (new) 2021/07/25 06:24:21 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/07/25 06:24:21 DEBUG : newLeaf: Running delayed rename now 2021/07/25 06:24:21 INFO : newLeaf: Deleted 2021/07/25 06:24:23 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/07/25 06:24:23 DEBUG : newLeaf: Updating file with newLeaf 0xc0001a1380 2021/07/25 06:24:23 DEBUG : WaitForWriters: timeout=10s 2021/07/25 06:24:23 DEBUG : dir: Looking for writers 2021/07/25 06:24:23 DEBUG : : Looking for writers 2021/07/25 06:24:23 DEBUG : dir: reading active writers 2021/07/25 06:24:23 DEBUG : newLeaf: reading active writers 2021/07/25 06:24:23 DEBUG : >WaitForWriters: 2021/07/25 06:24:23 DEBUG : WaitForWriters: timeout=10s 2021/07/25 06:24:23 DEBUG : dir: Looking for writers 2021/07/25 06:24:23 DEBUG : : Looking for writers 2021/07/25 06:24:23 DEBUG : dir: reading active writers 2021/07/25 06:24:23 DEBUG : newLeaf: reading active writers 2021/07/25 06:24:23 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:176: Remote "mega root 'rclone-test-yibiwok0neluwop1dufubig6'", Local "Local file system at /tmp/rclone589665919", Modify Window "876000h0m0s" 2021/07/25 06:24:23 INFO : mega root 'rclone-test-yibiwok0neluwop1dufubig6': poll-interval is not supported by this remote 2021/07/25 06:24:23 NOTICE: mega root 'rclone-test-yibiwok0neluwop1dufubig6': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2021/07/25 06:24:23 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-yibiwok0neluwop1dufubig6" 2021/07/25 06:24:23 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-yibiwok0neluwop1dufubig6" 2021/07/25 06:24:23 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-yibiwok0neluwop1dufubig6" 2021/07/25 06:24:23 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2021/07/25 06:24:26 DEBUG : WaitForWriters: timeout=10s 2021/07/25 06:24:26 DEBUG : dir: Looking for writers 2021/07/25 06:24:26 DEBUG : file1: reading active writers 2021/07/25 06:24:26 DEBUG : : Looking for writers 2021/07/25 06:24:26 DEBUG : dir: reading active writers 2021/07/25 06:24:26 DEBUG : >WaitForWriters: 2021/07/25 06:24:26 INFO : *go-mega*: pollEvents: Error processing event "t" '{"a":"t","i":"jkX9ebqC5I","t":{"f":[{"h":"MGJlgCrD","p":"JTBzhAQZ","u":"k-VfNaG8yJg","t":0,"a":"Udqop6Swzx_DXCuSRa0_5qIFuzX_vIYFEB6z1C3hfV8","k":"BWQkHLKI:DNjishQMHPQpa0HAqkq5Wwvch1UrP9i3ymyY30C5vA8","s":14,"ts":1627194266}],"u":[{"u":"k-VfNaG8yJg","m":"nick@craig-wood.com","m2":["nick@craig-wood.com"]}]},"ou":"k-VfNaG8yJg"}': couldn't find decryption key for shared file panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x70 pc=0x1130702] goroutine 28 [running]: github.com/t3rm1n4l/go-mega.(*Mega).processUpdateNode(0xc0004061e0, 0xc001422a00, 0xf1, 0x100, 0x0, 0x0) /home/rclone/go/pkg/mod/github.com/t3rm1n4l/go-mega@v0.0.0-20200416171014-ffad7fcb44b8/mega.go:1848 +0x142 github.com/t3rm1n4l/go-mega.(*Mega).pollEvents(0xc0004061e0) /home/rclone/go/pkg/mod/github.com/t3rm1n4l/go-mega@v0.0.0-20200416171014-ffad7fcb44b8/mega.go:2006 +0x9ff created by github.com/t3rm1n4l/go-mega.(*Mega).getFileSystem /home/rclone/go/pkg/mod/github.com/t3rm1n4l/go-mega@v0.0.0-20200416171014-ffad7fcb44b8/mega.go:943 +0x433 "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 27.462983048s (try 3/5): exit status 2: Failed [TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false]