"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestReadFileHandleFlush|TestReadFileHandleReadAt|TestReadFileHandleSeek|TestVFSOpenFile|TestWriteFileHandleRelease|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 3/5) 2025/11/25 04:40:12 DEBUG : Creating backend with remote "TestMega:rclone-test-nenuwed7qoca" 2025/11/25 04:40:12 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/11/25 04:40:12 DEBUG : mega root 'rclone-test-nenuwed7qoca': Using previously stored session ID and master key to initialize the Mega API 2025/11/25 04:40:27 DEBUG : Creating backend with remote "/tmp/rclone3285927702" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:185: Remote "mega root 'rclone-test-nenuwed7qoca'", Local "Local file system at /tmp/rclone3285927702", Modify Window "876000h0m0s" 2025/11/25 04:40:27 INFO : mega root 'rclone-test-nenuwed7qoca': poll-interval is not supported by this remote 2025/11/25 04:40:27 NOTICE: mega root 'rclone-test-nenuwed7qoca': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/25 04:40:29 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:40:29 DEBUG : dir: Looking for writers 2025/11/25 04:40:29 DEBUG : file1: reading active writers 2025/11/25 04:40:29 DEBUG : Looking for writers 2025/11/25 04:40:29 DEBUG : dir: reading active writers 2025/11/25 04:40:29 DEBUG : >WaitForWriters: 2025/11/25 04:40:31 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/25 04:40:31 DEBUG : newLeaf: Updating file with newLeaf 0xc0002192c0 2025/11/25 04:40:31 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/25 04:40:31 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 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:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" 2025/11/25 04:40:38 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/11/25 04:40:38 DEBUG : dir/file1: Updating file with dir/file1 0xc0002192c0 2025/11/25 04:40:38 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/11/25 04:40:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 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:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1700 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:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "dir/file1" 2025/11/25 04:40:45 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/11/25 04:40:45 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/11/25 04:40:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/25 04:40:45 DEBUG : dir/file1: File is currently open, delaying rename 0xc0002192c0 2025/11/25 04:40:45 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/25 04:40:45 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/25 04:40:45 DEBUG : mega root 'rclone-test-nenuwed7qoca': File to upload is small (25 bytes), uploading instead of streaming 2025/11/25 04:40:50 DEBUG : dir/file1: size = 25 OK 2025/11/25 04:40:50 NOTICE: mega root 'rclone-test-nenuwed7qoca': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2025/11/25 04:40:50 DEBUG : dir/file1: Size of src and dst objects identical 2025/11/25 04:40:50 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/25 04:40:50 DEBUG : newLeaf: Running delayed rename now 2025/11/25 04:40:50 INFO : newLeaf: Deleted 2025/11/25 04:40:52 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/25 04:40:52 DEBUG : newLeaf: Updating file with newLeaf 0xc0002192c0 2025/11/25 04:40:52 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:40:52 DEBUG : dir: Looking for writers 2025/11/25 04:40:52 DEBUG : Looking for writers 2025/11/25 04:40:52 DEBUG : newLeaf: reading active writers 2025/11/25 04:40:52 DEBUG : dir: reading active writers 2025/11/25 04:40:52 DEBUG : >WaitForWriters: 2025/11/25 04:40:52 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:40:52 DEBUG : dir: Looking for writers 2025/11/25 04:40:52 DEBUG : Looking for writers 2025/11/25 04:40:52 DEBUG : dir: reading active writers 2025/11/25 04:40:52 DEBUG : newLeaf: reading active writers 2025/11/25 04:40:52 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:185: Remote "mega root 'rclone-test-nenuwed7qoca'", Local "Local file system at /tmp/rclone3285927702", Modify Window "876000h0m0s" 2025/11/25 04:40:54 INFO : mega root 'rclone-test-nenuwed7qoca': poll-interval is not supported by this remote 2025/11/25 04:40:54 NOTICE: mega root 'rclone-test-nenuwed7qoca': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/25 04:40:54 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/25 04:40:54 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:40:54 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:40:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:40:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/25 04:40:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:40:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:40:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/25 04:40:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:40:54 INFO : mega root 'rclone-test-nenuwed7qoca': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/11/25 04:40:56 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:40:56 DEBUG : dir: Looking for writers 2025/11/25 04:40:56 DEBUG : file1: reading active writers 2025/11/25 04:40:56 DEBUG : Looking for writers 2025/11/25 04:40:56 DEBUG : dir: reading active writers 2025/11/25 04:40:56 DEBUG : >WaitForWriters: 2025/11/25 04:40:59 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/25 04:40:59 DEBUG : newLeaf: Updating file with newLeaf 0xc006d323c0 2025/11/25 04:40:59 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/25 04:40:59 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 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:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "file1" 2025/11/25 04:41:17 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/11/25 04:41:17 DEBUG : dir/file1: Updating file with dir/file1 0xc006d323c0 2025/11/25 04:41:17 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/11/25 04:41:17 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 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:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "dir/file1" 2025/11/25 04:41:24 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/11/25 04:41:24 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/11/25 04:41:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/25 04:41:24 DEBUG : dir/file1: File is currently open, delaying rename 0xc006d323c0 2025/11/25 04:41:24 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/25 04:41:24 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/25 04:41:24 DEBUG : mega root 'rclone-test-nenuwed7qoca': File to upload is small (25 bytes), uploading instead of streaming 2025/11/25 04:41:35 ERROR : dir/file1: WriteFileHandle.New Rcat failed: upload file failed to create session: unexpected end of JSON input 2025/11/25 04:41:35 DEBUG : newLeaf: Running delayed rename now 2025/11/25 04:41:37 INFO : newLeaf: Deleted 2025/11/25 04:41:38 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/25 04:41:38 DEBUG : newLeaf: Updating file with newLeaf 0xc006d323c0 file_test.go:391: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:391 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestFileRename/minimal,forceCache=false 2025/11/25 04:41:38 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:41:38 DEBUG : dir: Looking for writers 2025/11/25 04:41:38 DEBUG : Looking for writers 2025/11/25 04:41:38 DEBUG : dir: reading active writers 2025/11/25 04:41:38 DEBUG : newLeaf: reading active writers 2025/11/25 04:41:38 DEBUG : >WaitForWriters: 2025/11/25 04:41:38 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:185: Remote "mega root 'rclone-test-nenuwed7qoca'", Local "Local file system at /tmp/rclone3285927702", Modify Window "876000h0m0s" 2025/11/25 04:41:42 INFO : mega root 'rclone-test-nenuwed7qoca': poll-interval is not supported by this remote 2025/11/25 04:41:42 NOTICE: mega root 'rclone-test-nenuwed7qoca': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/25 04:41:42 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/25 04:41:42 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:41:42 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:41:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:41:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/25 04:41:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:41:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:41:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/25 04:41:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:41:42 INFO : mega root 'rclone-test-nenuwed7qoca': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/11/25 04:41:46 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/11/25 04:41:46 DEBUG : dir/file1: newRWFileHandle: 2025/11/25 04:41:46 DEBUG : dir/file1(0xc00241dac0): openPending: 2025/11/25 04:41:46 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/11/25 04:41:46 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/11/25 04:41:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/25 04:41:46 DEBUG : dir/file1(0xc00241dac0): >openPending: err= 2025/11/25 04:41:46 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/11/25 04:41:46 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/25 04:41:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/25 04:41:46 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/25 04:41:46 DEBUG : dir/file1(0xc00241dac0): _writeAt: size=14, off=0 2025/11/25 04:41:46 DEBUG : dir/file1(0xc00241dac0): >_writeAt: n=14, err= 2025/11/25 04:41:46 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/11/25 04:41:46 DEBUG : dir/file1(0xc00241dac0): close: 2025/11/25 04:41:46 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/11/25 04:41:46 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/11/25 04:41:46 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/11/25 04:41:46 DEBUG : dir/file1(0xc00241dac0): >close: err= 2025/11/25 04:41:46 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:41:46 DEBUG : dir: Looking for writers 2025/11/25 04:41:46 DEBUG : file1: reading active writers 2025/11/25 04:41:46 DEBUG : Looking for writers 2025/11/25 04:41:46 DEBUG : dir: reading active writers 2025/11/25 04:41:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/25 04:41:46 DEBUG : dir: Looking for writers 2025/11/25 04:41:46 DEBUG : file1: reading active writers 2025/11/25 04:41:46 DEBUG : Looking for writers 2025/11/25 04:41:46 DEBUG : dir: reading active writers 2025/11/25 04:41:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/25 04:41:46 DEBUG : dir: Looking for writers 2025/11/25 04:41:46 DEBUG : file1: reading active writers 2025/11/25 04:41:46 DEBUG : Looking for writers 2025/11/25 04:41:46 DEBUG : dir: reading active writers 2025/11/25 04:41:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/25 04:41:46 DEBUG : dir: Looking for writers 2025/11/25 04:41:46 DEBUG : file1: reading active writers 2025/11/25 04:41:46 DEBUG : Looking for writers 2025/11/25 04:41:46 DEBUG : dir: reading active writers 2025/11/25 04:41:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/25 04:41:46 DEBUG : dir/file1: vfs cache: starting upload 2025/11/25 04:41:46 DEBUG : dir: Looking for writers 2025/11/25 04:41:46 DEBUG : file1: reading active writers 2025/11/25 04:41:46 DEBUG : Looking for writers 2025/11/25 04:41:46 DEBUG : dir: reading active writers 2025/11/25 04:41:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/25 04:41:46 DEBUG : dir: Looking for writers 2025/11/25 04:41:46 DEBUG : file1: reading active writers 2025/11/25 04:41:46 DEBUG : Looking for writers 2025/11/25 04:41:46 DEBUG : dir: reading active writers 2025/11/25 04:41:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/25 04:41:47 DEBUG : dir: Looking for writers 2025/11/25 04:41:47 DEBUG : file1: reading active writers 2025/11/25 04:41:47 DEBUG : Looking for writers 2025/11/25 04:41:47 DEBUG : dir: reading active writers 2025/11/25 04:41:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/11/25 04:41:47 DEBUG : dir: Looking for writers 2025/11/25 04:41:47 DEBUG : file1: reading active writers 2025/11/25 04:41:47 DEBUG : Looking for writers 2025/11/25 04:41:47 DEBUG : dir: reading active writers 2025/11/25 04:41:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/25 04:41:48 DEBUG : dir: Looking for writers 2025/11/25 04:41:48 DEBUG : file1: reading active writers 2025/11/25 04:41:48 DEBUG : Looking for writers 2025/11/25 04:41:48 DEBUG : dir: reading active writers 2025/11/25 04:41:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/25 04:41:48 DEBUG : dir/file1: size = 14 OK 2025/11/25 04:41:48 INFO : dir/file1: Copied (replaced existing) 2025/11/25 04:41:48 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/11/25 04:41:48 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/11/25 04:41:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/25 04:41:48 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/11/25 04:41:49 DEBUG : dir: Looking for writers 2025/11/25 04:41:49 DEBUG : file1: reading active writers 2025/11/25 04:41:49 DEBUG : Looking for writers 2025/11/25 04:41:49 DEBUG : dir: reading active writers 2025/11/25 04:41:49 DEBUG : >WaitForWriters: 2025/11/25 04:41:49 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/11/25 04:41:49 DEBUG : dir/file1: newRWFileHandle: 2025/11/25 04:41:49 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/25 04:41:49 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/25 04:41:49 DEBUG : dir/file1(0xc002489b80): _readAt: size=512, off=0 2025/11/25 04:41:49 DEBUG : dir/file1(0xc002489b80): openPending: 2025/11/25 04:41:49 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/11/25 04:41:49 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/11/25 04:41:49 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/25 04:41:49 DEBUG : dir/file1(0xc002489b80): >openPending: err= 2025/11/25 04:41:49 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/11/25 04:41:49 DEBUG : dir/file1(0xc002489b80): >_readAt: n=14, err=EOF 2025/11/25 04:41:49 DEBUG : dir/file1(0xc002489b80): close: 2025/11/25 04:41:49 DEBUG : dir/file1: vfs cache: setting modification time to 2025-11-25 04:41:46 +0000 UTC 2025/11/25 04:41:49 DEBUG : dir/file1(0xc002489b80): >close: err= 2025/11/25 04:41:49 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/25 04:41:49 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/11/25 04:41:49 DEBUG : newLeaf: Updating file with newLeaf 0xc001522f00 2025/11/25 04:41:49 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/25 04:41:49 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/25 04:42:03 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/11/25 04:42:03 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/11/25 04:42:03 DEBUG : dir/file1: Updating file with dir/file1 0xc001522f00 2025/11/25 04:42:03 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/11/25 04:42:03 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 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:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "dir/file1" 2025/11/25 04:42:10 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/11/25 04:42:10 DEBUG : dir/file1: newRWFileHandle: 2025/11/25 04:42:10 DEBUG : dir/file1(0xc0029cd340): openPending: 2025/11/25 04:42:10 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/11/25 04:42:10 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/11/25 04:42:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/25 04:42:10 DEBUG : dir/file1(0xc0029cd340): >openPending: err= 2025/11/25 04:42:10 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/11/25 04:42:10 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/25 04:42:10 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/25 04:42:10 DEBUG : dir/file1(0xc0029cd340): _writeAt: size=25, off=0 2025/11/25 04:42:10 DEBUG : dir/file1(0xc0029cd340): >_writeAt: n=25, err= 2025/11/25 04:42:16 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/25 04:42:16 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/11/25 04:42:16 DEBUG : newLeaf: Updating file with newLeaf 0xc001522f00 2025/11/25 04:42:16 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/25 04:42:16 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/25 04:42:16 DEBUG : newLeaf(0xc0029cd340): close: 2025/11/25 04:42:16 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/11/25 04:42:16 DEBUG : newLeaf: vfs cache: setting modification time to 2025-11-25 04:42:10.676097436 +0000 UTC m=+118.222870794 2025/11/25 04:42:16 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/11/25 04:42:16 DEBUG : newLeaf(0xc0029cd340): >close: err= 2025/11/25 04:42:16 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:42:16 DEBUG : dir: Looking for writers 2025/11/25 04:42:16 DEBUG : Looking for writers 2025/11/25 04:42:16 DEBUG : dir: reading active writers 2025/11/25 04:42:16 DEBUG : newLeaf: reading active writers 2025/11/25 04:42:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/25 04:42:16 DEBUG : dir: Looking for writers 2025/11/25 04:42:16 DEBUG : Looking for writers 2025/11/25 04:42:16 DEBUG : dir: reading active writers 2025/11/25 04:42:16 DEBUG : newLeaf: reading active writers 2025/11/25 04:42:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/25 04:42:16 DEBUG : dir: Looking for writers 2025/11/25 04:42:16 DEBUG : Looking for writers 2025/11/25 04:42:16 DEBUG : newLeaf: reading active writers 2025/11/25 04:42:16 DEBUG : dir: reading active writers 2025/11/25 04:42:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/25 04:42:16 DEBUG : dir: Looking for writers 2025/11/25 04:42:16 DEBUG : Looking for writers 2025/11/25 04:42:16 DEBUG : dir: reading active writers 2025/11/25 04:42:16 DEBUG : newLeaf: reading active writers 2025/11/25 04:42:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/25 04:42:16 DEBUG : newLeaf: vfs cache: starting upload 2025/11/25 04:42:16 DEBUG : dir: Looking for writers 2025/11/25 04:42:16 DEBUG : Looking for writers 2025/11/25 04:42:16 DEBUG : dir: reading active writers 2025/11/25 04:42:16 DEBUG : newLeaf: reading active writers 2025/11/25 04:42:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/25 04:42:17 DEBUG : dir: Looking for writers 2025/11/25 04:42:17 DEBUG : Looking for writers 2025/11/25 04:42:17 DEBUG : dir: reading active writers 2025/11/25 04:42:17 DEBUG : newLeaf: reading active writers 2025/11/25 04:42:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/25 04:42:17 DEBUG : dir: Looking for writers 2025/11/25 04:42:17 DEBUG : Looking for writers 2025/11/25 04:42:17 DEBUG : dir: reading active writers 2025/11/25 04:42:17 DEBUG : newLeaf: reading active writers 2025/11/25 04:42:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/11/25 04:42:18 DEBUG : dir: Looking for writers 2025/11/25 04:42:18 DEBUG : Looking for writers 2025/11/25 04:42:18 DEBUG : dir: reading active writers 2025/11/25 04:42:18 DEBUG : newLeaf: reading active writers 2025/11/25 04:42:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/25 04:42:19 DEBUG : dir: Looking for writers 2025/11/25 04:42:19 DEBUG : Looking for writers 2025/11/25 04:42:19 DEBUG : dir: reading active writers 2025/11/25 04:42:19 DEBUG : newLeaf: reading active writers 2025/11/25 04:42:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/25 04:42:20 DEBUG : dir: Looking for writers 2025/11/25 04:42:20 DEBUG : Looking for writers 2025/11/25 04:42:20 DEBUG : dir: reading active writers 2025/11/25 04:42:20 DEBUG : newLeaf: reading active writers 2025/11/25 04:42:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/25 04:42:20 DEBUG : newLeaf: size = 25 OK 2025/11/25 04:42:20 INFO : newLeaf: Copied (replaced existing) 2025/11/25 04:42:20 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/11/25 04:42:20 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/11/25 04:42:20 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/25 04:42:20 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/11/25 04:42:21 DEBUG : dir: Looking for writers 2025/11/25 04:42:21 DEBUG : Looking for writers 2025/11/25 04:42:21 DEBUG : dir: reading active writers 2025/11/25 04:42:21 DEBUG : newLeaf: reading active writers 2025/11/25 04:42:21 DEBUG : >WaitForWriters: 2025/11/25 04:42:21 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:42:21 DEBUG : dir: Looking for writers 2025/11/25 04:42:21 DEBUG : Looking for writers 2025/11/25 04:42:21 DEBUG : dir: reading active writers 2025/11/25 04:42:21 DEBUG : newLeaf: reading active writers 2025/11/25 04:42:21 DEBUG : >WaitForWriters: 2025/11/25 04:42:21 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:185: Remote "mega root 'rclone-test-nenuwed7qoca'", Local "Local file system at /tmp/rclone3285927702", Modify Window "876000h0m0s" 2025/11/25 04:42:22 INFO : mega root 'rclone-test-nenuwed7qoca': poll-interval is not supported by this remote 2025/11/25 04:42:22 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/25 04:42:22 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:22 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:22 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/25 04:42:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:22 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/25 04:42:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:22 INFO : mega root 'rclone-test-nenuwed7qoca': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:290: Failed to put "dir/file1" to "mega root 'rclone-test-nenuwed7qoca'": mkdir create node failed: unexpected end of JSON input 2025/11/25 04:42:33 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:42:33 DEBUG : Looking for writers 2025/11/25 04:42:33 DEBUG : >WaitForWriters: 2025/11/25 04:42:33 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:185: Remote "mega root 'rclone-test-nenuwed7qoca'", Local "Local file system at /tmp/rclone3285927702", Modify Window "876000h0m0s" 2025/11/25 04:42:33 INFO : mega root 'rclone-test-nenuwed7qoca': poll-interval is not supported by this remote 2025/11/25 04:42:33 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/25 04:42:33 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:33 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/25 04:42:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/25 04:42:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:33 INFO : mega root 'rclone-test-nenuwed7qoca': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:290: Failed to put "dir/file1" to "mega root 'rclone-test-nenuwed7qoca'": mkdir create node failed: unexpected end of JSON input 2025/11/25 04:42:44 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:42:44 DEBUG : Looking for writers 2025/11/25 04:42:44 DEBUG : >WaitForWriters: 2025/11/25 04:42:44 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:185: Remote "mega root 'rclone-test-nenuwed7qoca'", Local "Local file system at /tmp/rclone3285927702", Modify Window "876000h0m0s" 2025/11/25 04:42:44 INFO : mega root 'rclone-test-nenuwed7qoca': poll-interval is not supported by this remote 2025/11/25 04:42:44 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/25 04:42:44 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:44 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/25 04:42:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/25 04:42:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-nenuwed7qoca" 2025/11/25 04:42:44 INFO : mega root 'rclone-test-nenuwed7qoca': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:290: Failed to put "dir/file1" to "mega root 'rclone-test-nenuwed7qoca'": upload file failed to create session: unexpected end of JSON input 2025/11/25 04:42:55 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:42:55 DEBUG : Looking for writers 2025/11/25 04:42:55 DEBUG : >WaitForWriters: 2025/11/25 04:42:55 DEBUG : mega root 'rclone-test-nenuwed7qoca': vfs cache: cleaner exiting --- FAIL: TestFileRename (148.60s) --- FAIL: TestFileRename/off,forceCache=false (27.25s) --- FAIL: TestFileRename/minimal,forceCache=false (47.95s) --- FAIL: TestFileRename/minimal,forceCache=true (40.22s) --- FAIL: TestFileRename/writes,forceCache=false (10.77s) --- FAIL: TestFileRename/writes,forceCache=true (10.66s) --- FAIL: TestFileRename/full,forceCache=false (11.75s) === RUN TestReadFileHandleSeek run.go:185: Remote "mega root 'rclone-test-nenuwed7qoca'", Local "Local file system at /tmp/rclone3285927702", Modify Window "876000h0m0s" 2025/11/25 04:42:56 INFO : mega root 'rclone-test-nenuwed7qoca': poll-interval is not supported by this remote 2025/11/25 04:42:56 NOTICE: mega root 'rclone-test-nenuwed7qoca': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/25 04:43:02 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/25 04:43:02 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/11/25 04:43:02 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/11/25 04:43:02 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/11/25 04:43:02 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/11/25 04:43:02 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/11/25 04:43:02 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/11/25 04:43:02 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/11/25 04:43:02 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/11/25 04:43:02 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/11/25 04:43:02 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/11/25 04:43:02 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/11/25 04:43:02 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/11/25 04:43:02 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2025/11/25 04:43:02 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2025/11/25 04:43:02 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2025/11/25 04:43:02 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2025/11/25 04:43:02 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2025/11/25 04:43:02 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2025/11/25 04:43:02 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2025/11/25 04:43:02 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2025/11/25 04:43:02 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:43:02 DEBUG : dir: Looking for writers 2025/11/25 04:43:02 DEBUG : file1: reading active writers 2025/11/25 04:43:02 DEBUG : Looking for writers 2025/11/25 04:43:02 DEBUG : dir: reading active writers 2025/11/25 04:43:02 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (7.32s) === RUN TestReadFileHandleReadAt run.go:185: Remote "mega root 'rclone-test-nenuwed7qoca'", Local "Local file system at /tmp/rclone3285927702", Modify Window "876000h0m0s" 2025/11/25 04:43:03 INFO : mega root 'rclone-test-nenuwed7qoca': poll-interval is not supported by this remote 2025/11/25 04:43:03 NOTICE: mega root 'rclone-test-nenuwed7qoca': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/25 04:43:03 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/25 04:43:03 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/11/25 04:43:03 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/11/25 04:43:03 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/11/25 04:43:03 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/11/25 04:43:04 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/11/25 04:43:04 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/11/25 04:43:04 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/11/25 04:43:04 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/11/25 04:43:04 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/11/25 04:43:04 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/11/25 04:43:04 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/11/25 04:43:04 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/11/25 04:43:04 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2025/11/25 04:43:04 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2025/11/25 04:43:04 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2025/11/25 04:43:04 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2025/11/25 04:43:04 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2025/11/25 04:43:04 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2025/11/25 04:43:04 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2025/11/25 04:43:04 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2025/11/25 04:43:04 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2025/11/25 04:43:04 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2025/11/25 04:43:04 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/11/25 04:43:04 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2025/11/25 04:43:04 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2025/11/25 04:43:04 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2025/11/25 04:43:04 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/11/25 04:43:04 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/11/25 04:43:04 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/11/25 04:43:04 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/11/25 04:43:04 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2025/11/25 04:43:04 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/11/25 04:43:04 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/11/25 04:43:04 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/11/25 04:43:04 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2025/11/25 04:43:04 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:43:04 DEBUG : dir: Looking for writers 2025/11/25 04:43:04 DEBUG : file1: reading active writers 2025/11/25 04:43:04 DEBUG : Looking for writers 2025/11/25 04:43:04 DEBUG : dir: reading active writers 2025/11/25 04:43:04 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (1.87s) === RUN TestReadFileHandleFlush run.go:185: Remote "mega root 'rclone-test-nenuwed7qoca'", Local "Local file system at /tmp/rclone3285927702", Modify Window "876000h0m0s" 2025/11/25 04:43:05 INFO : mega root 'rclone-test-nenuwed7qoca': poll-interval is not supported by this remote 2025/11/25 04:43:05 NOTICE: mega root 'rclone-test-nenuwed7qoca': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/25 04:43:07 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/25 04:43:07 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/11/25 04:43:07 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/11/25 04:43:07 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/11/25 04:43:07 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/11/25 04:43:07 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/11/25 04:43:07 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:43:07 DEBUG : dir: Looking for writers 2025/11/25 04:43:07 DEBUG : file1: reading active writers 2025/11/25 04:43:07 DEBUG : Looking for writers 2025/11/25 04:43:07 DEBUG : dir: reading active writers 2025/11/25 04:43:07 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleFlush (3.01s) === RUN TestVFSOpenFile run.go:185: Remote "mega root 'rclone-test-nenuwed7qoca'", Local "Local file system at /tmp/rclone3285927702", Modify Window "876000h0m0s" 2025/11/25 04:43:08 INFO : mega root 'rclone-test-nenuwed7qoca': poll-interval is not supported by this remote 2025/11/25 04:43:08 NOTICE: mega root 'rclone-test-nenuwed7qoca': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/25 04:43:10 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/25 04:43:10 DEBUG : file1: Open: flags=O_RDONLY 2025/11/25 04:43:10 DEBUG : file1: >Open: fd=file1 (r), err= 2025/11/25 04:43:10 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/11/25 04:43:10 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/25 04:43:10 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2025/11/25 04:43:10 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/25 04:43:10 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/11/25 04:43:10 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/25 04:43:10 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2025/11/25 04:43:10 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/11/25 04:43:10 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2025/11/25 04:43:10 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2025/11/25 04:43:10 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/11/25 04:43:10 DEBUG : mega root 'rclone-test-nenuwed7qoca': File to upload is small (0 bytes), uploading instead of streaming 2025/11/25 04:43:11 DEBUG : dir/new_file.txt: size = 0 OK 2025/11/25 04:43:11 DEBUG : dir/new_file.txt: Size of src and dst objects identical 2025/11/25 04:43:11 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/11/25 04:43:11 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/25 04:43:11 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/11/25 04:43:11 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:43:11 DEBUG : dir: Looking for writers 2025/11/25 04:43:11 DEBUG : file2: reading active writers 2025/11/25 04:43:11 DEBUG : new_file.txt: reading active writers 2025/11/25 04:43:11 DEBUG : Looking for writers 2025/11/25 04:43:11 DEBUG : dir: reading active writers 2025/11/25 04:43:11 DEBUG : file1: reading active writers 2025/11/25 04:43:11 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- PASS: TestVFSOpenFile (4.15s) === RUN TestWriteFileHandleRelease run.go:185: Remote "mega root 'rclone-test-nenuwed7qoca'", Local "Local file system at /tmp/rclone3285927702", Modify Window "876000h0m0s" 2025/11/25 04:43:12 INFO : mega root 'rclone-test-nenuwed7qoca': poll-interval is not supported by this remote 2025/11/25 04:43:12 NOTICE: mega root 'rclone-test-nenuwed7qoca': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/25 04:43:12 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/25 04:43:12 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/25 04:43:12 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/25 04:43:12 DEBUG : file1: >Open: fd=file1 (w), err= 2025/11/25 04:43:12 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/11/25 04:43:12 DEBUG : file1: WriteFileHandle.Release closing 2025/11/25 04:43:12 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/25 04:43:12 DEBUG : mega root 'rclone-test-nenuwed7qoca': File to upload is small (0 bytes), uploading instead of streaming 2025/11/25 04:43:13 DEBUG : file1: size = 0 OK 2025/11/25 04:43:13 DEBUG : file1: Size of src and dst objects identical 2025/11/25 04:43:13 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/25 04:43:13 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/11/25 04:43:13 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:43:13 DEBUG : Looking for writers 2025/11/25 04:43:13 DEBUG : file1: reading active writers 2025/11/25 04:43:13 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- PASS: TestWriteFileHandleRelease (8.36s) === RUN TestFileReadAtZeroLength run.go:185: Remote "mega root 'rclone-test-nenuwed7qoca'", Local "Local file system at /tmp/rclone3285927702", Modify Window "876000h0m0s" 2025/11/25 04:43:20 INFO : mega root 'rclone-test-nenuwed7qoca': poll-interval is not supported by this remote 2025/11/25 04:43:20 NOTICE: mega root 'rclone-test-nenuwed7qoca': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/25 04:43:20 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/25 04:43:20 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/25 04:43:20 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/25 04:43:20 DEBUG : file1: >Open: fd=file1 (w), err= 2025/11/25 04:43:20 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/11/25 04:43:20 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/25 04:43:20 DEBUG : mega root 'rclone-test-nenuwed7qoca': File to upload is small (0 bytes), uploading instead of streaming 2025/11/25 04:43:31 ERROR : file1: WriteFileHandle.New Rcat failed: upload file failed to create session: unexpected end of JSON input 2025/11/25 04:43:31 DEBUG : file1: Remove: 2025/11/25 04:43:31 DEBUG : Added virtual directory entry vDel: "file1" 2025/11/25 04:43:31 DEBUG : file1: >Remove: err= write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestFileReadAtZeroLength 2025/11/25 04:43:31 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/11/25 04:43:31 DEBUG : file1: >OpenFile: fd=, err=file does not exist write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: file does not exist Test: TestFileReadAtZeroLength 2025/11/25 04:43:31 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:43:31 DEBUG : Looking for writers 2025/11/25 04:43:31 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (10.73s) === RUN TestFileReadAtNonZeroLength run.go:185: Remote "mega root 'rclone-test-nenuwed7qoca'", Local "Local file system at /tmp/rclone3285927702", Modify Window "876000h0m0s" 2025/11/25 04:43:31 INFO : mega root 'rclone-test-nenuwed7qoca': poll-interval is not supported by this remote 2025/11/25 04:43:31 NOTICE: mega root 'rclone-test-nenuwed7qoca': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/25 04:43:31 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/25 04:43:31 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/25 04:43:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/25 04:43:31 DEBUG : file1: >Open: fd=file1 (w), err= 2025/11/25 04:43:31 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/11/25 04:43:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/25 04:43:31 DEBUG : mega root 'rclone-test-nenuwed7qoca': File to upload is small (100 bytes), uploading instead of streaming 2025/11/25 04:43:42 ERROR : file1: WriteFileHandle.New Rcat failed: failed to finish upload: unexpected end of JSON input 2025/11/25 04:43:42 DEBUG : file1: Remove: 2025/11/25 04:43:42 DEBUG : Added virtual directory entry vDel: "file1" 2025/11/25 04:43:42 DEBUG : file1: >Remove: err= write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: failed to finish upload: unexpected end of JSON input Test: TestFileReadAtNonZeroLength 2025/11/25 04:43:42 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/11/25 04:43:42 DEBUG : file1: >OpenFile: fd=, err=file does not exist write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: file does not exist Test: TestFileReadAtNonZeroLength 2025/11/25 04:43:42 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:43:42 DEBUG : Looking for writers 2025/11/25 04:43:42 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (11.40s) === RUN TestZipManyFiles run.go:185: Remote "mega root 'rclone-test-nenuwed7qoca'", Local "Local file system at /tmp/rclone3285927702", Modify Window "876000h0m0s" 2025/11/25 04:43:42 INFO : mega root 'rclone-test-nenuwed7qoca': poll-interval is not supported by this remote 2025/11/25 04:43:42 NOTICE: mega root 'rclone-test-nenuwed7qoca': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/25 04:43:50 DEBUG : flat/f000.txt: Open: flags=O_RDONLY 2025/11/25 04:43:50 DEBUG : flat/f000.txt: >Open: fd=flat/f000.txt (r), err= 2025/11/25 04:43:50 DEBUG : flat/f000.txt: Set virtual modtime to 2025-11-25 04:43:48 +0000 UTC 2025/11/25 04:43:50 DEBUG : flat/f000.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/25 04:43:50 DEBUG : flat/f000.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/25 04:43:50 DEBUG : flat/f001.txt: Open: flags=O_RDONLY 2025/11/25 04:43:50 DEBUG : flat/f001.txt: >Open: fd=flat/f001.txt (r), err= 2025/11/25 04:43:50 DEBUG : flat/f001.txt: Set virtual modtime to 2025-11-25 04:43:49 +0000 UTC 2025/11/25 04:43:50 DEBUG : flat/f001.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/25 04:43:50 DEBUG : flat/f001.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/25 04:43:50 DEBUG : flat/f002.txt: Open: flags=O_RDONLY 2025/11/25 04:43:50 DEBUG : flat/f002.txt: >Open: fd=flat/f002.txt (r), err= 2025/11/25 04:43:50 DEBUG : flat/f002.txt: Set virtual modtime to 2025-11-25 04:43:49 +0000 UTC 2025/11/25 04:43:50 DEBUG : flat/f002.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/25 04:43:50 DEBUG : flat/f002.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/25 04:43:50 DEBUG : flat/f003.txt: Open: flags=O_RDONLY 2025/11/25 04:43:50 DEBUG : flat/f003.txt: >Open: fd=flat/f003.txt (r), err= 2025/11/25 04:43:50 DEBUG : flat/f003.txt: Set virtual modtime to 2025-11-25 04:43:49 +0000 UTC 2025/11/25 04:43:50 DEBUG : flat/f003.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/25 04:43:50 DEBUG : flat/f003.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/25 04:43:50 DEBUG : flat/f004.txt: Open: flags=O_RDONLY 2025/11/25 04:43:50 DEBUG : flat/f004.txt: >Open: fd=flat/f004.txt (r), err= 2025/11/25 04:43:50 DEBUG : flat/f004.txt: Set virtual modtime to 2025-11-25 04:43:50 +0000 UTC 2025/11/25 04:43:50 DEBUG : flat/f004.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/25 04:43:50 DEBUG : flat/f004.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/25 04:43:50 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:43:50 DEBUG : flat: Looking for writers 2025/11/25 04:43:50 DEBUG : f000.txt: reading active writers 2025/11/25 04:43:50 DEBUG : f001.txt: reading active writers 2025/11/25 04:43:50 DEBUG : f002.txt: reading active writers 2025/11/25 04:43:50 DEBUG : f003.txt: reading active writers 2025/11/25 04:43:50 DEBUG : f004.txt: reading active writers 2025/11/25 04:43:50 DEBUG : Looking for writers 2025/11/25 04:43:50 DEBUG : flat: reading active writers 2025/11/25 04:43:50 DEBUG : >WaitForWriters: --- PASS: TestZipManyFiles (8.88s) === RUN TestZipManySubDirs run.go:185: Remote "mega root 'rclone-test-nenuwed7qoca'", Local "Local file system at /tmp/rclone3285927702", Modify Window "876000h0m0s" 2025/11/25 04:43:51 INFO : mega root 'rclone-test-nenuwed7qoca': poll-interval is not supported by this remote 2025/11/25 04:43:51 NOTICE: mega root 'rclone-test-nenuwed7qoca': --vfs-cache-mode writes or full is recommended for this remote as it can't stream run.go:290: Failed to put "a/top.txt" to "mega root 'rclone-test-nenuwed7qoca'": upload file failed to create session: unexpected end of JSON input 2025/11/25 04:44:05 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:44:05 DEBUG : Looking for writers 2025/11/25 04:44:05 DEBUG : >WaitForWriters: --- FAIL: TestZipManySubDirs (13.34s) === RUN TestZipLargeFiles run.go:185: Remote "mega root 'rclone-test-nenuwed7qoca'", Local "Local file system at /tmp/rclone3285927702", Modify Window "876000h0m0s" 2025/11/25 04:44:05 INFO : mega root 'rclone-test-nenuwed7qoca': poll-interval is not supported by this remote 2025/11/25 04:44:05 NOTICE: mega root 'rclone-test-nenuwed7qoca': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/25 04:44:09 DEBUG : bigdir/big.bin: Open: flags=O_RDONLY 2025/11/25 04:44:09 DEBUG : bigdir/big.bin: >Open: fd=bigdir/big.bin (r), err= 2025/11/25 04:44:09 DEBUG : bigdir/big.bin: Set virtual modtime to 2025-11-25 04:44:07 +0000 UTC 2025/11/25 04:44:09 DEBUG : bigdir/big.bin: ChunkedReader.openRange at 0 length 134217728 2025/11/25 04:44:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 0 length 4096 chunkOffset 0 chunkSize 134217728 2025/11/25 04:44:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4096 length 8192 chunkOffset 0 chunkSize 134217728 2025/11/25 04:44:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 12288 length 16384 chunkOffset 0 chunkSize 134217728 2025/11/25 04:44:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 28672 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/25 04:44:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 61440 length 65536 chunkOffset 0 chunkSize 134217728 2025/11/25 04:44:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 126976 length 131072 chunkOffset 0 chunkSize 134217728 2025/11/25 04:44:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 258048 length 262144 chunkOffset 0 chunkSize 134217728 2025/11/25 04:44:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 520192 length 524288 chunkOffset 0 chunkSize 134217728 2025/11/25 04:44:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 1044480 length 1048576 chunkOffset 0 chunkSize 134217728 2025/11/25 04:44:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 2093056 length 1048576 chunkOffset 0 chunkSize 134217728 2025/11/25 04:44:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 3141632 length 1048576 chunkOffset 0 chunkSize 134217728 2025/11/25 04:44:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4190208 length 1048576 chunkOffset 0 chunkSize 134217728 2025/11/25 04:44:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 5238784 length 1048576 chunkOffset 0 chunkSize 134217728 2025/11/25 04:44:10 DEBUG : WaitForWriters: timeout=30s 2025/11/25 04:44:10 DEBUG : bigdir: Looking for writers 2025/11/25 04:44:10 DEBUG : big.bin: reading active writers 2025/11/25 04:44:10 DEBUG : Looking for writers 2025/11/25 04:44:10 DEBUG : bigdir: reading active writers 2025/11/25 04:44:10 DEBUG : >WaitForWriters: --- PASS: TestZipLargeFiles (5.82s) FAIL 2025/11/25 04:44:10 DEBUG : mega root 'rclone-test-nenuwed7qoca': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestReadFileHandleFlush|TestReadFileHandleReadAt|TestReadFileHandleSeek|TestVFSOpenFile|TestWriteFileHandleRelease|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 3m58.766674892s (try 3/5): exit status 1: 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 TestFileReadAtZeroLength TestFileReadAtNonZeroLength TestZipManySubDirs]