"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCaseSensitivity|TestRWFileHandleSizeCreateExisting|TestUnicodeNormalization|TestWriteFileHandleMethods|TestZipLargeFiles)$'" - Starting (try 2/5) 2026/10/07 04:43:40 DEBUG : Creating backend with remote "TestMega:rclone-test-yinacit4revo" 2026/10/07 04:43:40 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/10/07 04:43:40 DEBUG : mega root 'rclone-test-yinacit4revo': Using previously stored session ID and master key to initialize the Mega API 2026/10/07 04:44:00 DEBUG : Creating backend with remote "/tmp/rclone1262160320" === RUN TestRWFileHandleSizeCreateExisting run.go:198: Remote "mega root 'rclone-test-yinacit4revo'", Local "Local file system at /tmp/rclone1262160320", Modify Window "876000h0m0s" 2026/10/07 04:44:00 INFO : mega root 'rclone-test-yinacit4revo': poll-interval is not supported by this remote 2026/10/07 04:44:00 DEBUG : mega root 'rclone-test-yinacit4revo': vfs cache: root is "/home/rclone/.cache/rclone" 2026/10/07 04:44:00 DEBUG : mega root 'rclone-test-yinacit4revo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-yinacit4revo" 2026/10/07 04:44:00 DEBUG : mega root 'rclone-test-yinacit4revo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-yinacit4revo" 2026/10/07 04:44:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-yinacit4revo" 2026/10/07 04:44:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/10/07 04:44:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-yinacit4revo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-yinacit4revo" 2026/10/07 04:44:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-yinacit4revo" 2026/10/07 04:44:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/10/07 04:44:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-yinacit4revo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-yinacit4revo" 2026/10/07 04:44:00 INFO : mega root 'rclone-test-yinacit4revo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/10/07 04:44:01 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/10/07 04:44:01 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2026/10/07 04:44:01 DEBUG : dir/file1: newRWFileHandle: 2026/10/07 04:44:01 DEBUG : dir/file1: >newRWFileHandle: err= 2026/10/07 04:44:01 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/10/07 04:44:01 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/10/07 04:44:01 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/10/07 04:44:01 DEBUG : dir/file1(0x1e56ae14ac40): _writeAt: size=5, off=0 2026/10/07 04:44:01 DEBUG : dir/file1(0x1e56ae14ac40): openPending: 2026/10/07 04:44:01 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/10/07 04:44:01 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/10/07 04:44:01 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/10/07 04:44:01 DEBUG : dir/file1(0x1e56ae14ac40): >openPending: err= 2026/10/07 04:44:01 DEBUG : dir/file1(0x1e56ae14ac40): >_writeAt: n=5, err= 2026/10/07 04:44:01 DEBUG : dir/file1(0x1e56ae14ac40): _writeAt: size=15, off=5 2026/10/07 04:44:01 DEBUG : dir/file1(0x1e56ae14ac40): >_writeAt: n=15, err= 2026/10/07 04:44:01 DEBUG : dir/file1(0x1e56ae14ac40): close: 2026/10/07 04:44:01 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [{Pos:0 Size:20}] - present true 2026/10/07 04:44:01 DEBUG : dir/file1: vfs cache: setting modification time to 2026-10-07 04:44:01.154302552 +0000 UTC m=+20.223463832 2026/10/07 04:44:01 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/10/07 04:44:01 DEBUG : dir/file1(0x1e56ae14ac40): >close: err= 2026/10/07 04:44:01 DEBUG : WaitForWriters: timeout=30s 2026/10/07 04:44:01 DEBUG : dir: Looking for writers 2026/10/07 04:44:01 DEBUG : file1: reading active writers 2026/10/07 04:44:01 DEBUG : Looking for writers 2026/10/07 04:44:01 DEBUG : dir: reading active writers 2026/10/07 04:44:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/10/07 04:44:01 DEBUG : dir: Looking for writers 2026/10/07 04:44:01 DEBUG : file1: reading active writers 2026/10/07 04:44:01 DEBUG : Looking for writers 2026/10/07 04:44:01 DEBUG : dir: reading active writers 2026/10/07 04:44:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/10/07 04:44:01 DEBUG : dir: Looking for writers 2026/10/07 04:44:01 DEBUG : file1: reading active writers 2026/10/07 04:44:01 DEBUG : Looking for writers 2026/10/07 04:44:01 DEBUG : dir: reading active writers 2026/10/07 04:44:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/10/07 04:44:01 DEBUG : dir: Looking for writers 2026/10/07 04:44:01 DEBUG : file1: reading active writers 2026/10/07 04:44:01 DEBUG : Looking for writers 2026/10/07 04:44:01 DEBUG : dir: reading active writers 2026/10/07 04:44:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/10/07 04:44:01 DEBUG : dir/file1: vfs cache: starting upload 2026/10/07 04:44:01 DEBUG : dir: Looking for writers 2026/10/07 04:44:01 DEBUG : file1: reading active writers 2026/10/07 04:44:01 DEBUG : Looking for writers 2026/10/07 04:44:01 DEBUG : dir: reading active writers 2026/10/07 04:44:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/10/07 04:44:01 DEBUG : dir: Looking for writers 2026/10/07 04:44:01 DEBUG : file1: reading active writers 2026/10/07 04:44:01 DEBUG : Looking for writers 2026/10/07 04:44:01 DEBUG : dir: reading active writers 2026/10/07 04:44:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/10/07 04:44:01 DEBUG : dir: Looking for writers 2026/10/07 04:44:01 DEBUG : file1: reading active writers 2026/10/07 04:44:01 DEBUG : Looking for writers 2026/10/07 04:44:01 DEBUG : dir: reading active writers 2026/10/07 04:44:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/10/07 04:44:01 DEBUG : dir/file1: size = 20 OK 2026/10/07 04:44:01 INFO : dir/file1: Copied (replaced existing) 2026/10/07 04:44:01 DEBUG : dir/file1: vfs cache: fingerprint now "20" 2026/10/07 04:44:01 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/10/07 04:44:01 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/10/07 04:44:01 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/10/07 04:44:02 DEBUG : dir: Looking for writers 2026/10/07 04:44:02 DEBUG : file1: reading active writers 2026/10/07 04:44:02 DEBUG : Looking for writers 2026/10/07 04:44:02 DEBUG : dir: reading active writers 2026/10/07 04:44:02 DEBUG : >WaitForWriters: 2026/10/07 04:44:02 DEBUG : mega root 'rclone-test-yinacit4revo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateExisting (2.20s) === RUN TestCaseSensitivity run.go:198: Remote "mega root 'rclone-test-yinacit4revo'", Local "Local file system at /tmp/rclone1262160320", Modify Window "876000h0m0s" run.go:303: Failed to put "FiLeB" to "mega root 'rclone-test-yinacit4revo'": upload file failed to create session: unexpected end of JSON input --- FAIL: TestCaseSensitivity (16.50s) === RUN TestUnicodeNormalization run.go:198: Remote "mega root 'rclone-test-yinacit4revo'", Local "Local file system at /tmp/rclone1262160320", Modify Window "876000h0m0s" 2026/10/07 04:44:25 INFO : mega root 'rclone-test-yinacit4revo': poll-interval is not supported by this remote 2026/10/07 04:44:25 NOTICE: mega root 'rclone-test-yinacit4revo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/10/07 04:44:25 DEBUG : normal name with no special characters.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/10/07 04:44:25 DEBUG : normal name with no special characters.txt: Open: flags=O_RDONLY 2026/10/07 04:44:25 DEBUG : normal name with no special characters.txt: >Open: fd=normal name with no special characters.txt (r), err= 2026/10/07 04:44:25 DEBUG : normal name with no special characters.txt: >OpenFile: fd=normal name with no special characters.txt (r), err= 2026/10/07 04:44:25 DEBUG : normal name with no special characters.txt: ChunkedReader.openRange at 0 length 134217728 2026/10/07 04:44:25 DEBUG : normal name with no special characters.txt: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/10/07 04:44:25 DEBUG : 測試_Русский___ě_áñ: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/10/07 04:44:25 DEBUG : 測試_Русский___ě_áñ: Open: flags=O_RDONLY 2026/10/07 04:44:25 DEBUG : 測試_Русский___ě_áñ: >Open: fd=測試_Русский___ě_áñ (r), err= 2026/10/07 04:44:25 DEBUG : 測試_Русский___ě_áñ: >OpenFile: fd=測試_Русский___ě_áñ (r), err= 2026/10/07 04:44:25 DEBUG : 測試_Русский___ě_áñ: ChunkedReader.openRange at 0 length 134217728 2026/10/07 04:44:25 DEBUG : 測試_Русский___ě_áñ: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/10/07 04:44:25 DEBUG : normal name with no special characters.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/10/07 04:44:25 DEBUG : normal name with no special characters.txt: Open: flags=O_RDONLY 2026/10/07 04:44:25 DEBUG : normal name with no special characters.txt: >Open: fd=normal name with no special characters.txt (r), err= 2026/10/07 04:44:25 DEBUG : normal name with no special characters.txt: >OpenFile: fd=normal name with no special characters.txt (r), err= 2026/10/07 04:44:25 DEBUG : normal name with no special characters.txt: ChunkedReader.openRange at 0 length 134217728 2026/10/07 04:44:25 DEBUG : normal name with no special characters.txt: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/10/07 04:44:25 DEBUG : 測試_Русский___ě_áñ: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/10/07 04:44:25 DEBUG : 測試_Русский___ě_áñ: >OpenFile: fd=, err=file does not exist 2026/10/07 04:44:25 DEBUG : WaitForWriters: timeout=30s 2026/10/07 04:44:25 DEBUG : Looking for writers 2026/10/07 04:44:25 DEBUG : normal name with no special characters.txt: reading active writers 2026/10/07 04:44:25 DEBUG : 測試_Русский___ě_áñ: reading active writers 2026/10/07 04:44:25 DEBUG : >WaitForWriters: --- PASS: TestUnicodeNormalization (9.93s) === RUN TestWriteFileHandleMethods run.go:198: Remote "mega root 'rclone-test-yinacit4revo'", Local "Local file system at /tmp/rclone1262160320", Modify Window "876000h0m0s" 2026/10/07 04:44:29 INFO : mega root 'rclone-test-yinacit4revo': poll-interval is not supported by this remote 2026/10/07 04:44:29 NOTICE: mega root 'rclone-test-yinacit4revo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/10/07 04:44:29 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/10/07 04:44:29 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/10/07 04:44:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/10/07 04:44:29 DEBUG : file1: >Open: fd=file1 (w), err= 2026/10/07 04:44:29 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/10/07 04:44:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/10/07 04:44:29 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2026/10/07 04:44:29 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2026/10/07 04:44:29 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2026/10/07 04:44:29 DEBUG : mega root 'rclone-test-yinacit4revo': File to upload is small (5 bytes), uploading instead of streaming 2026/10/07 04:44:29 DEBUG : file1: size = 5 OK 2026/10/07 04:44:29 NOTICE: mega root 'rclone-test-yinacit4revo': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/10/07 04:44:29 DEBUG : file1: Size of src and dst objects identical 2026/10/07 04:44:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/10/07 04:44:29 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/10/07 04:44:29 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/10/07 04:44:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/10/07 04:44:29 DEBUG : file1: >Open: fd=file1 (w), err= 2026/10/07 04:44:29 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/10/07 04:44:29 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/10/07 04:44:29 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/10/07 04:44:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/10/07 04:44:29 DEBUG : file1: >Open: fd=file1 (w), err= 2026/10/07 04:44:29 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/10/07 04:44:29 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2026/10/07 04:44:29 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/10/07 04:44:29 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/10/07 04:44:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/10/07 04:44:29 DEBUG : file1: >Open: fd=file1 (w), err= 2026/10/07 04:44:29 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/10/07 04:44:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/10/07 04:44:29 DEBUG : mega root 'rclone-test-yinacit4revo': File to upload is small (0 bytes), uploading instead of streaming 2026/10/07 04:44:29 DEBUG : file1: size = 0 OK 2026/10/07 04:44:29 DEBUG : file1: Size of src and dst objects identical 2026/10/07 04:44:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/10/07 04:44:29 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/10/07 04:44:29 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/10/07 04:44:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/10/07 04:44:29 DEBUG : file1: >Open: fd=file1 (w), err= 2026/10/07 04:44:29 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/10/07 04:44:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/10/07 04:44:29 DEBUG : mega root 'rclone-test-yinacit4revo': File to upload is small (7 bytes), uploading instead of streaming 2026/10/07 04:44:30 DEBUG : file1: size = 7 OK 2026/10/07 04:44:30 DEBUG : file1: Size of src and dst objects identical 2026/10/07 04:44:30 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/10/07 04:44:30 DEBUG : WaitForWriters: timeout=30s 2026/10/07 04:44:30 DEBUG : Looking for writers 2026/10/07 04:44:30 DEBUG : file1: reading active writers 2026/10/07 04:44:30 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleMethods (1.33s) === RUN TestZipLargeFiles run.go:198: Remote "mega root 'rclone-test-yinacit4revo'", Local "Local file system at /tmp/rclone1262160320", Modify Window "876000h0m0s" 2026/10/07 04:44:30 INFO : mega root 'rclone-test-yinacit4revo': poll-interval is not supported by this remote 2026/10/07 04:44:30 NOTICE: mega root 'rclone-test-yinacit4revo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/10/07 04:44:40 DEBUG : bigdir/big.bin: Open: flags=O_RDONLY 2026/10/07 04:44:40 DEBUG : bigdir/big.bin: >Open: fd=bigdir/big.bin (r), err= 2026/10/07 04:44:40 DEBUG : bigdir/big.bin: Set virtual modtime to 2026-10-07 04:44:40 +0000 UTC 2026/10/07 04:44:40 DEBUG : bigdir/big.bin: ChunkedReader.openRange at 0 length 134217728 2026/10/07 04:44:40 DEBUG : bigdir/big.bin: ChunkedReader.Read at 0 length 4096 chunkOffset 0 chunkSize 134217728 2026/10/07 04:44:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4096 length 8192 chunkOffset 0 chunkSize 134217728 2026/10/07 04:44:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 12288 length 16384 chunkOffset 0 chunkSize 134217728 2026/10/07 04:44:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 28672 length 32768 chunkOffset 0 chunkSize 134217728 2026/10/07 04:44:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 61440 length 65536 chunkOffset 0 chunkSize 134217728 2026/10/07 04:44:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 126976 length 131072 chunkOffset 0 chunkSize 134217728 2026/10/07 04:44:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 258048 length 262144 chunkOffset 0 chunkSize 134217728 2026/10/07 04:44:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 520192 length 524288 chunkOffset 0 chunkSize 134217728 2026/10/07 04:44:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 1044480 length 1048576 chunkOffset 0 chunkSize 134217728 2026/10/07 04:44:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 2093056 length 1048576 chunkOffset 0 chunkSize 134217728 2026/10/07 04:44:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 3141632 length 1048576 chunkOffset 0 chunkSize 134217728 2026/10/07 04:44:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4190208 length 1048576 chunkOffset 0 chunkSize 134217728 2026/10/07 04:44:42 DEBUG : bigdir/big.bin: ChunkedReader.Read at 5238784 length 1048576 chunkOffset 0 chunkSize 134217728 2026/10/07 04:44:42 DEBUG : WaitForWriters: timeout=30s 2026/10/07 04:44:42 DEBUG : bigdir: Looking for writers 2026/10/07 04:44:42 DEBUG : big.bin: reading active writers 2026/10/07 04:44:42 DEBUG : Looking for writers 2026/10/07 04:44:42 DEBUG : bigdir: reading active writers 2026/10/07 04:44:42 DEBUG : >WaitForWriters: --- PASS: TestZipLargeFiles (24.18s) FAIL 2026/10/07 04:44:54 DEBUG : mega root 'rclone-test-yinacit4revo': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCaseSensitivity|TestRWFileHandleSizeCreateExisting|TestUnicodeNormalization|TestWriteFileHandleMethods|TestZipLargeFiles)$'" - Finished ERROR in 1m14.515112626s (try 2/5): exit status 1: Failed [TestCaseSensitivity]