"./vfs.test -test.v -test.timeout 1h0m0s -remote TestChunkerChunk50bYandex: -verbose -size-limit 1024 -test.run '^(TestDirForgetPath|TestVFSOpenFile)$|^TestFileRename$/^full,forceCache=false$'" - Starting (try 2/5) 2025/03/03 10:26:16 DEBUG : Creating backend with remote "TestChunkerChunk50bYandex:rclone-test-fiyojik9huha" 2025/03/03 10:26:16 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/03/03 10:26:16 DEBUG : Creating backend with remote "TestYandex:rclone-test-fiyojik9huha" 2025/03/03 10:26:16 DEBUG : Reset feature "ListR" 2025/03/03 10:26:16 DEBUG : Creating backend with remote "/tmp/rclone3096935213" === RUN TestDirForgetPath run.go:180: Remote "Chunked 'TestChunkerChunk50bYandex:rclone-test-fiyojik9huha'", Local "Local file system at /tmp/rclone3096935213", Modify Window "1ns" 2025/03/03 10:26:16 INFO : Chunked 'TestChunkerChunk50bYandex:rclone-test-fiyojik9huha': poll-interval is not supported by this remote 2025/03/03 10:26:29 INFO : dir/file1.rclone_chunk.001_jrx91s: Moved (server-side) to: dir/file1 2025/03/03 10:26:31 DEBUG : : ForgetPath: relativePath="dir/notfound", type=1 2025/03/03 10:26:31 DEBUG : dir: invalidating directory cache 2025/03/03 10:26:31 DEBUG : : >ForgetPath: 2025/03/03 10:26:31 DEBUG : : ForgetPath: relativePath="dir", type=0 2025/03/03 10:26:31 DEBUG : : invalidating directory cache 2025/03/03 10:26:31 DEBUG : dir: forgetting directory cache 2025/03/03 10:26:31 DEBUG : : >ForgetPath: 2025/03/03 10:26:31 DEBUG : : ForgetPath: relativePath="not/in/cache", type=0 2025/03/03 10:26:31 DEBUG : : >ForgetPath: 2025/03/03 10:26:31 DEBUG : WaitForWriters: timeout=30s 2025/03/03 10:26:31 DEBUG : dir: Looking for writers 2025/03/03 10:26:31 DEBUG : : Looking for writers 2025/03/03 10:26:31 DEBUG : dir: reading active writers 2025/03/03 10:26:31 DEBUG : >WaitForWriters: --- PASS: TestDirForgetPath (26.34s) === RUN TestFileRename === RUN TestFileRename/full,forceCache=false run.go:180: Remote "Chunked 'TestChunkerChunk50bYandex:rclone-test-fiyojik9huha'", Local "Local file system at /tmp/rclone3096935213", Modify Window "1ns" 2025/03/03 10:26:42 INFO : Chunked 'TestChunkerChunk50bYandex:rclone-test-fiyojik9huha': poll-interval is not supported by this remote 2025/03/03 10:26:42 DEBUG : Chunked 'TestChunkerChunk50bYandex:rclone-test-fiyojik9huha': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/03 10:26:42 DEBUG : Chunked 'TestChunkerChunk50bYandex:rclone-test-fiyojik9huha': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestChunkerChunk50bYandex/rclone-test-fiyojik9huha" 2025/03/03 10:26:42 DEBUG : Chunked 'TestChunkerChunk50bYandex:rclone-test-fiyojik9huha': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestChunkerChunk50bYandex/rclone-test-fiyojik9huha" 2025/03/03 10:26:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestChunkerChunk50bYandex/rclone-test-fiyojik9huha" 2025/03/03 10:26:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/03 10:26:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestChunkerChunk50bYandex/rclone-test-fiyojik9huha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestChunkerChunk50bYandex/rclone-test-fiyojik9huha" 2025/03/03 10:26:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestChunkerChunk50bYandex/rclone-test-fiyojik9huha" 2025/03/03 10:26:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/03 10:26:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestChunkerChunk50bYandex/rclone-test-fiyojik9huha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestChunkerChunk50bYandex/rclone-test-fiyojik9huha" 2025/03/03 10:26:42 INFO : Chunked 'TestChunkerChunk50bYandex:rclone-test-fiyojik9huha': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/03 10:26:49 INFO : dir/file1.rclone_chunk.001_jrxzkv: Moved (server-side) to: dir/file1 2025/03/03 10:26:51 DEBUG : WaitForWriters: timeout=30s 2025/03/03 10:26:51 DEBUG : dir: Looking for writers 2025/03/03 10:26:51 DEBUG : file1: reading active writers 2025/03/03 10:26:51 DEBUG : : Looking for writers 2025/03/03 10:26:51 DEBUG : dir: reading active writers 2025/03/03 10:26:51 DEBUG : >WaitForWriters: 2025/03/03 10:26:51 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/03/03 10:26:51 DEBUG : dir/file1: newRWFileHandle: 2025/03/03 10:26:51 DEBUG : dir/file1: >newRWFileHandle: err= 2025/03/03 10:26:51 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/03/03 10:26:51 DEBUG : dir/file1(0xc000684e40): _readAt: size=512, off=0 2025/03/03 10:26:51 DEBUG : dir/file1(0xc000684e40): openPending: 2025/03/03 10:26:51 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2025/03/03 10:26:51 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/03/03 10:26:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/03/03 10:26:51 DEBUG : dir/file1(0xc000684e40): >openPending: err= 2025/03/03 10:26:51 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2025/03/03 10:26:51 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/03/03 10:26:51 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/03/03 10:26:51 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/03/03 10:26:52 DEBUG : dir/file1(0xc000684e40): >_readAt: n=14, err=EOF 2025/03/03 10:26:52 DEBUG : dir/file1(0xc000684e40): close: 2025/03/03 10:26:52 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/03/03 10:26:52 DEBUG : dir/file1(0xc000684e40): >close: err= 2025/03/03 10:26:53 DEBUG : dir/file1: move non-chunked object... 2025/03/03 10:26:54 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/03/03 10:26:54 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/03/03 10:26:54 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/03/03 10:26:54 DEBUG : newLeaf: Updating file with newLeaf 0xc000960840 2025/03/03 10:26:54 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/03/03 10:26:54 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/03/03 10:26:56 DEBUG : newLeaf: move non-chunked object... 2025/03/03 10:26:58 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/03/03 10:26:58 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/03/03 10:26:58 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/03/03 10:26:58 DEBUG : dir/file1: Updating file with dir/file1 0xc000960840 2025/03/03 10:26:58 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/03/03 10:26:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/03/03 10:26:58 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/03/03 10:26:58 DEBUG : dir/file1: newRWFileHandle: 2025/03/03 10:26:58 DEBUG : dir/file1(0xc000a1c600): openPending: 2025/03/03 10:26:58 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2025/03/03 10:26:58 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/03/03 10:26:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/03/03 10:26:58 DEBUG : dir/file1(0xc000a1c600): >openPending: err= 2025/03/03 10:26:58 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/03/03 10:26:58 DEBUG : dir/file1: >newRWFileHandle: err= 2025/03/03 10:26:58 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/03/03 10:26:58 DEBUG : dir/file1(0xc000a1c600): _writeAt: size=25, off=0 2025/03/03 10:26:58 DEBUG : dir/file1(0xc000a1c600): >_writeAt: n=25, err= 2025/03/03 10:26:59 DEBUG : dir/file1: move non-chunked object... 2025/03/03 10:27:00 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/03/03 10:27:00 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/03/03 10:27:00 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/03/03 10:27:00 DEBUG : newLeaf: Updating file with newLeaf 0xc000960840 2025/03/03 10:27:00 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/03/03 10:27:00 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/03/03 10:27:00 DEBUG : newLeaf(0xc000a1c600): close: 2025/03/03 10:27:00 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/03/03 10:27:00 DEBUG : newLeaf: vfs cache: setting modification time to 2025-03-03 10:26:58.891571946 +0000 UTC m=+42.810281769 2025/03/03 10:27:00 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/03/03 10:27:00 DEBUG : newLeaf(0xc000a1c600): >close: err= 2025/03/03 10:27:00 DEBUG : WaitForWriters: timeout=30s 2025/03/03 10:27:00 DEBUG : dir: Looking for writers 2025/03/03 10:27:00 DEBUG : : Looking for writers 2025/03/03 10:27:00 DEBUG : dir: reading active writers 2025/03/03 10:27:00 DEBUG : newLeaf: reading active writers 2025/03/03 10:27:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/03/03 10:27:00 DEBUG : dir: Looking for writers 2025/03/03 10:27:00 DEBUG : : Looking for writers 2025/03/03 10:27:00 DEBUG : dir: reading active writers 2025/03/03 10:27:00 DEBUG : newLeaf: reading active writers 2025/03/03 10:27:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/03/03 10:27:00 DEBUG : dir: Looking for writers 2025/03/03 10:27:00 DEBUG : : Looking for writers 2025/03/03 10:27:00 DEBUG : dir: reading active writers 2025/03/03 10:27:00 DEBUG : newLeaf: reading active writers 2025/03/03 10:27:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/03/03 10:27:00 DEBUG : dir: Looking for writers 2025/03/03 10:27:00 DEBUG : : Looking for writers 2025/03/03 10:27:00 DEBUG : dir: reading active writers 2025/03/03 10:27:00 DEBUG : newLeaf: reading active writers 2025/03/03 10:27:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/03/03 10:27:01 DEBUG : newLeaf: vfs cache: starting upload 2025/03/03 10:27:01 DEBUG : newLeaf: skip slow MD5 on source file, hashing in-transit 2025/03/03 10:27:01 DEBUG : dir: Looking for writers 2025/03/03 10:27:01 DEBUG : : Looking for writers 2025/03/03 10:27:01 DEBUG : dir: reading active writers 2025/03/03 10:27:01 DEBUG : newLeaf: reading active writers 2025/03/03 10:27:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/03/03 10:27:01 DEBUG : dir: Looking for writers 2025/03/03 10:27:01 DEBUG : : Looking for writers 2025/03/03 10:27:01 DEBUG : dir: reading active writers 2025/03/03 10:27:01 DEBUG : newLeaf: reading active writers 2025/03/03 10:27:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/03/03 10:27:01 DEBUG : dir: Looking for writers 2025/03/03 10:27:01 DEBUG : : Looking for writers 2025/03/03 10:27:01 DEBUG : dir: reading active writers 2025/03/03 10:27:01 DEBUG : newLeaf: reading active writers 2025/03/03 10:27:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/03/03 10:27:02 DEBUG : dir: Looking for writers 2025/03/03 10:27:02 DEBUG : : Looking for writers 2025/03/03 10:27:02 DEBUG : dir: reading active writers 2025/03/03 10:27:02 DEBUG : newLeaf: reading active writers 2025/03/03 10:27:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/03 10:27:03 DEBUG : dir: Looking for writers 2025/03/03 10:27:03 DEBUG : : Looking for writers 2025/03/03 10:27:03 DEBUG : dir: reading active writers 2025/03/03 10:27:03 DEBUG : newLeaf: reading active writers 2025/03/03 10:27:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/03 10:27:04 DEBUG : dir: Looking for writers 2025/03/03 10:27:04 DEBUG : : Looking for writers 2025/03/03 10:27:04 DEBUG : dir: reading active writers 2025/03/03 10:27:04 DEBUG : newLeaf: reading active writers 2025/03/03 10:27:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/03 10:27:05 DEBUG : dir: Looking for writers 2025/03/03 10:27:05 DEBUG : : Looking for writers 2025/03/03 10:27:05 DEBUG : dir: reading active writers 2025/03/03 10:27:05 DEBUG : newLeaf: reading active writers 2025/03/03 10:27:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/03 10:27:06 DEBUG : dir: Looking for writers 2025/03/03 10:27:06 DEBUG : : Looking for writers 2025/03/03 10:27:06 DEBUG : dir: reading active writers 2025/03/03 10:27:06 DEBUG : newLeaf: reading active writers 2025/03/03 10:27:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/03 10:27:07 DEBUG : dir: Looking for writers 2025/03/03 10:27:07 DEBUG : : Looking for writers 2025/03/03 10:27:07 DEBUG : dir: reading active writers 2025/03/03 10:27:07 DEBUG : newLeaf: reading active writers 2025/03/03 10:27:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/03 10:27:08 DEBUG : dir: Looking for writers 2025/03/03 10:27:08 DEBUG : : Looking for writers 2025/03/03 10:27:08 DEBUG : dir: reading active writers 2025/03/03 10:27:08 DEBUG : newLeaf: reading active writers 2025/03/03 10:27:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/03 10:27:08 INFO : newLeaf: Deleted 2025/03/03 10:27:09 DEBUG : dir: Looking for writers 2025/03/03 10:27:09 DEBUG : : Looking for writers 2025/03/03 10:27:09 DEBUG : dir: reading active writers 2025/03/03 10:27:09 DEBUG : newLeaf: reading active writers 2025/03/03 10:27:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/03 10:27:10 INFO : newLeaf.rclone_chunk.001_jryhlo: Moved (server-side) to: newLeaf 2025/03/03 10:27:10 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/03/03 10:27:10 INFO : newLeaf: Copied (replaced existing) 2025/03/03 10:27:10 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-03-03 10:26:58.891571946 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2025/03/03 10:27:10 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/03/03 10:27:10 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/03/03 10:27:10 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/03/03 10:27:10 DEBUG : dir: Looking for writers 2025/03/03 10:27:10 DEBUG : : Looking for writers 2025/03/03 10:27:10 DEBUG : dir: reading active writers 2025/03/03 10:27:10 DEBUG : newLeaf: reading active writers 2025/03/03 10:27:10 DEBUG : >WaitForWriters: 2025/03/03 10:27:11 DEBUG : WaitForWriters: timeout=30s 2025/03/03 10:27:11 DEBUG : dir: Looking for writers 2025/03/03 10:27:11 DEBUG : : Looking for writers 2025/03/03 10:27:11 DEBUG : newLeaf: reading active writers 2025/03/03 10:27:11 DEBUG : dir: reading active writers 2025/03/03 10:27:11 DEBUG : >WaitForWriters: 2025/03/03 10:27:11 DEBUG : Chunked 'TestChunkerChunk50bYandex:rclone-test-fiyojik9huha': vfs cache: cleaner exiting --- PASS: TestFileRename (38.98s) --- PASS: TestFileRename/full,forceCache=false (38.98s) === RUN TestVFSOpenFile run.go:180: Remote "Chunked 'TestChunkerChunk50bYandex:rclone-test-fiyojik9huha'", Local "Local file system at /tmp/rclone3096935213", Modify Window "1ns" 2025/03/03 10:27:21 INFO : Chunked 'TestChunkerChunk50bYandex:rclone-test-fiyojik9huha': poll-interval is not supported by this remote 2025/03/03 10:27:26 INFO : file1.rclone_chunk.001_jrz166: Moved (server-side) to: file1 2025/03/03 10:27:36 INFO : dir/file2.rclone_chunk.001_jrz7pu: Moved (server-side) to: dir/file2 2025/03/03 10:27:37 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/03/03 10:27:38 DEBUG : file1: Open: flags=O_RDONLY 2025/03/03 10:27:38 DEBUG : file1: >Open: fd=file1 (r), err= 2025/03/03 10:27:38 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/03/03 10:27:38 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/03/03 10:27:38 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2025/03/03 10:27:38 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/03/03 10:27:38 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/03/03 10:27:38 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/03 10:27:38 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2025/03/03 10:27:38 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/03/03 10:27:38 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2025/03/03 10:27:38 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2025/03/03 10:27:38 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/03/03 10:27:38 DEBUG : Chunked 'TestChunkerChunk50bYandex:rclone-test-fiyojik9huha': File to upload is small (0 bytes), uploading instead of streaming 2025/03/03 10:27:49 INFO : dir/new_file.txt.rclone_chunk.001_jrzlfx: Moved (server-side) to: dir/new_file.txt 2025/03/03 10:27:49 DEBUG : dir/new_file.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/03/03 10:27:49 DEBUG : dir/new_file.txt: Size and md5 of src and dst objects identical 2025/03/03 10:27:49 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/03/03 10:27:49 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/03 10:27:49 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/03/03 10:27:49 DEBUG : WaitForWriters: timeout=30s 2025/03/03 10:27:49 DEBUG : dir: Looking for writers 2025/03/03 10:27:49 DEBUG : file2: reading active writers 2025/03/03 10:27:49 DEBUG : new_file.txt: reading active writers 2025/03/03 10:27:49 DEBUG : : Looking for writers 2025/03/03 10:27:49 DEBUG : file1: reading active writers 2025/03/03 10:27:49 DEBUG : dir: reading active writers 2025/03/03 10:27:49 DEBUG : >WaitForWriters: --- PASS: TestVFSOpenFile (44.40s) PASS 2025/03/03 10:28:06 DEBUG : Chunked 'TestChunkerChunk50bYandex:rclone-test-fiyojik9huha': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestChunkerChunk50bYandex: -verbose -size-limit 1024 -test.run '^(TestDirForgetPath|TestVFSOpenFile)$|^TestFileRename$/^full,forceCache=false$'" - Finished OK in 1m54.382979641s (try 2/5)