"./vfs.test -test.v -test.timeout 1h0m0s -remote TestFilesCom: -verbose -test.run '^(TestDirFileOpen|TestFileOpen|TestRWFileHandleFlushRead)$|^TestFileRename$/^writes,forceCache=false$'" - Starting (try 2/5) 2025/04/30 04:48:11 DEBUG : Creating backend with remote "TestFilesCom:rclone-test-fafuzuh3joqi" 2025/04/30 04:48:11 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/04/30 04:48:11 DEBUG : Creating backend with remote "/tmp/rclone4015098429" === RUN TestDirFileOpen run.go:180: Remote "files root 'rclone-test-fafuzuh3joqi'", Local "Local file system at /tmp/rclone4015098429", Modify Window "1s" 2025/04/30 04:48:11 INFO : files root 'rclone-test-fafuzuh3joqi': poll-interval is not supported by this remote 2025/04/30 04:48:13 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/04/30 04:48:13 DEBUG : dir/sub/file0: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw- 2025/04/30 04:48:13 DEBUG : dir/sub/file0: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/04/30 04:48:13 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file0" 2025/04/30 04:48:13 DEBUG : dir/sub/file0: >Open: fd=dir/sub/file0 (w), err= 2025/04/30 04:48:13 DEBUG : dir/sub/file0: >OpenFile: fd=dir/sub/file0 (w), err= 2025/04/30 04:48:13 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file0" 2025/04/30 04:48:13 DEBUG : dir/sub/file2: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw- 2025/04/30 04:48:13 DEBUG : dir/sub/file2: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/04/30 04:48:13 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file2" 2025/04/30 04:48:13 DEBUG : dir/sub/file2: >Open: fd=dir/sub/file2 (w), err= 2025/04/30 04:48:13 DEBUG : dir/sub/file2: >OpenFile: fd=dir/sub/file2 (w), err= 2025/04/30 04:48:13 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file2" 2025/04/30 04:48:13 DEBUG : files root 'rclone-test-fafuzuh3joqi': File to upload is small (12 bytes), uploading instead of streaming 2025/04/30 04:48:14 DEBUG : dir/sub/file2: Dst hash empty - aborting Src hash check 2025/04/30 04:48:14 DEBUG : dir/sub/file2: Size of src and dst objects identical 2025/04/30 04:48:14 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file2" 2025/04/30 04:48:14 DEBUG : : forgetting directory cache 2025/04/30 04:48:14 DEBUG : dir: forgetting directory cache 2025/04/30 04:48:14 DEBUG : dir/sub: forgetting directory cache 2025/04/30 04:48:14 DEBUG : dir/sub: Removed virtual directory entry vAddFile: "file2" 2025/04/30 04:48:14 DEBUG : dir: Removed virtual directory entry vAddDir: "sub" 2025/04/30 04:48:14 DEBUG : files root 'rclone-test-fafuzuh3joqi': File to upload is small (5 bytes), uploading instead of streaming 2025/04/30 04:48:15 DEBUG : dir/sub/file0: Dst hash empty - aborting Src hash check 2025/04/30 04:48:15 DEBUG : dir/sub/file0: Size of src and dst objects identical 2025/04/30 04:48:15 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file0" 2025/04/30 04:48:15 DEBUG : WaitForWriters: timeout=30s 2025/04/30 04:48:15 DEBUG : dir/sub: Looking for writers 2025/04/30 04:48:15 DEBUG : file0: reading active writers 2025/04/30 04:48:15 DEBUG : file2: reading active writers 2025/04/30 04:48:15 DEBUG : dir: Looking for writers 2025/04/30 04:48:15 DEBUG : sub: reading active writers 2025/04/30 04:48:15 DEBUG : file1: reading active writers 2025/04/30 04:48:15 DEBUG : : Looking for writers 2025/04/30 04:48:15 DEBUG : dir: reading active writers 2025/04/30 04:48:15 DEBUG : >WaitForWriters: --- PASS: TestDirFileOpen (4.99s) === RUN TestFileOpen run.go:180: Remote "files root 'rclone-test-fafuzuh3joqi'", Local "Local file system at /tmp/rclone4015098429", Modify Window "1s" 2025/04/30 04:48:16 INFO : files root 'rclone-test-fafuzuh3joqi': poll-interval is not supported by this remote 2025/04/30 04:48:17 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/30 04:48:17 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/04/30 04:48:17 DEBUG : dir/file1: Open: flags=O_WRONLY 2025/04/30 04:48:17 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/04/30 04:48:17 DEBUG : dir/file1: Open: flags=O_RDWR 2025/04/30 04:48:17 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/04/30 04:48:17 DEBUG : dir/file1: Open: flags=0x3 2025/04/30 04:48:17 DEBUG : dir/file1: Can't figure out how to open with flags: 0x3 2025/04/30 04:48:17 DEBUG : dir/file1: >Open: fd=, err=permission denied 2025/04/30 04:48:17 DEBUG : WaitForWriters: timeout=30s 2025/04/30 04:48:17 DEBUG : dir: Looking for writers 2025/04/30 04:48:17 DEBUG : file1: reading active writers 2025/04/30 04:48:17 DEBUG : : Looking for writers 2025/04/30 04:48:17 DEBUG : dir: reading active writers 2025/04/30 04:48:17 DEBUG : >WaitForWriters: --- PASS: TestFileOpen (2.09s) === RUN TestFileRename === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "files root 'rclone-test-fafuzuh3joqi'", Local "Local file system at /tmp/rclone4015098429", Modify Window "1s" 2025/04/30 04:48:18 INFO : files root 'rclone-test-fafuzuh3joqi': poll-interval is not supported by this remote 2025/04/30 04:48:18 DEBUG : files root 'rclone-test-fafuzuh3joqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/30 04:48:18 DEBUG : files root 'rclone-test-fafuzuh3joqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-fafuzuh3joqi" 2025/04/30 04:48:18 DEBUG : files root 'rclone-test-fafuzuh3joqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-fafuzuh3joqi" 2025/04/30 04:48:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-fafuzuh3joqi" 2025/04/30 04:48:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 04:48:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-fafuzuh3joqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-fafuzuh3joqi" 2025/04/30 04:48:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-fafuzuh3joqi" 2025/04/30 04:48:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 04:48:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-fafuzuh3joqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-fafuzuh3joqi" 2025/04/30 04:48:18 INFO : files root 'rclone-test-fafuzuh3joqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/30 04:48:19 DEBUG : WaitForWriters: timeout=30s 2025/04/30 04:48:19 DEBUG : dir: Looking for writers 2025/04/30 04:48:19 DEBUG : file1: reading active writers 2025/04/30 04:48:19 DEBUG : : Looking for writers 2025/04/30 04:48:19 DEBUG : dir: reading active writers 2025/04/30 04:48:19 DEBUG : >WaitForWriters: 2025/04/30 04:48:20 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/30 04:48:20 DEBUG : newLeaf: Updating file with newLeaf 0xc00084a480 2025/04/30 04:48:20 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 04:48:20 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 04:48:21 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/04/30 04:48:21 DEBUG : dir/file1: Updating file with dir/file1 0xc00084a480 2025/04/30 04:48:21 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/04/30 04:48:21 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 04:48:22 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/04/30 04:48:22 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 04:48:22 DEBUG : dir/file1(0xc0006ab580): openPending: 2025/04/30 04:48:22 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC," against cached fingerprint "" 2025/04/30 04:48:22 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/04/30 04:48:22 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 04:48:22 DEBUG : dir/file1(0xc0006ab580): >openPending: err= 2025/04/30 04:48:22 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/04/30 04:48:22 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 04:48:22 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 04:48:22 DEBUG : dir/file1(0xc0006ab580): _writeAt: size=25, off=0 2025/04/30 04:48:22 DEBUG : dir/file1(0xc0006ab580): >_writeAt: n=25, err= 2025/04/30 04:48:22 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/30 04:48:22 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/04/30 04:48:22 DEBUG : newLeaf: Updating file with newLeaf 0xc00084a480 2025/04/30 04:48:22 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 04:48:22 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 04:48:22 DEBUG : newLeaf(0xc0006ab580): close: 2025/04/30 04:48:22 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/04/30 04:48:22 DEBUG : newLeaf: vfs cache: setting modification time to 2025-04-30 04:48:22.269160199 +0000 UTC m=+11.233156322 2025/04/30 04:48:22 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/04/30 04:48:22 DEBUG : newLeaf(0xc0006ab580): >close: err= 2025/04/30 04:48:22 DEBUG : WaitForWriters: timeout=30s 2025/04/30 04:48:22 DEBUG : dir: Looking for writers 2025/04/30 04:48:22 DEBUG : : Looking for writers 2025/04/30 04:48:22 DEBUG : dir: reading active writers 2025/04/30 04:48:22 DEBUG : newLeaf: reading active writers 2025/04/30 04:48:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/04/30 04:48:22 DEBUG : dir: Looking for writers 2025/04/30 04:48:22 DEBUG : : Looking for writers 2025/04/30 04:48:22 DEBUG : dir: reading active writers 2025/04/30 04:48:22 DEBUG : newLeaf: reading active writers 2025/04/30 04:48:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/04/30 04:48:22 DEBUG : dir: Looking for writers 2025/04/30 04:48:22 DEBUG : : Looking for writers 2025/04/30 04:48:22 DEBUG : dir: reading active writers 2025/04/30 04:48:22 DEBUG : newLeaf: reading active writers 2025/04/30 04:48:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/04/30 04:48:22 DEBUG : dir: Looking for writers 2025/04/30 04:48:22 DEBUG : : Looking for writers 2025/04/30 04:48:22 DEBUG : dir: reading active writers 2025/04/30 04:48:22 DEBUG : newLeaf: reading active writers 2025/04/30 04:48:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/04/30 04:48:23 DEBUG : newLeaf: vfs cache: starting upload 2025/04/30 04:48:23 DEBUG : dir: Looking for writers 2025/04/30 04:48:23 DEBUG : : Looking for writers 2025/04/30 04:48:23 DEBUG : dir: reading active writers 2025/04/30 04:48:23 DEBUG : newLeaf: reading active writers 2025/04/30 04:48:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/04/30 04:48:23 DEBUG : dir: Looking for writers 2025/04/30 04:48:23 DEBUG : : Looking for writers 2025/04/30 04:48:23 DEBUG : dir: reading active writers 2025/04/30 04:48:23 DEBUG : newLeaf: reading active writers 2025/04/30 04:48:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/04/30 04:48:23 DEBUG : dir: Looking for writers 2025/04/30 04:48:23 DEBUG : : Looking for writers 2025/04/30 04:48:23 DEBUG : dir: reading active writers 2025/04/30 04:48:23 DEBUG : newLeaf: reading active writers 2025/04/30 04:48:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/04/30 04:48:23 DEBUG : newLeaf: Dst hash empty - aborting Src hash check 2025/04/30 04:48:23 INFO : newLeaf: Copied (replaced existing) 2025/04/30 04:48:23 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-04-30 04:48:22 +0000 UTC," 2025/04/30 04:48:23 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/04/30 04:48:23 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 04:48:23 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/04/30 04:48:24 DEBUG : dir: Looking for writers 2025/04/30 04:48:24 DEBUG : : Looking for writers 2025/04/30 04:48:24 DEBUG : dir: reading active writers 2025/04/30 04:48:24 DEBUG : newLeaf: reading active writers 2025/04/30 04:48:24 DEBUG : >WaitForWriters: 2025/04/30 04:48:24 DEBUG : WaitForWriters: timeout=30s 2025/04/30 04:48:24 DEBUG : dir: Looking for writers 2025/04/30 04:48:24 DEBUG : : Looking for writers 2025/04/30 04:48:24 DEBUG : dir: reading active writers 2025/04/30 04:48:24 DEBUG : newLeaf: reading active writers 2025/04/30 04:48:24 DEBUG : >WaitForWriters: 2025/04/30 04:48:24 DEBUG : files root 'rclone-test-fafuzuh3joqi': vfs cache: cleaner exiting --- PASS: TestFileRename (6.58s) --- PASS: TestFileRename/writes,forceCache=false (6.58s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "files root 'rclone-test-fafuzuh3joqi'", Local "Local file system at /tmp/rclone4015098429", Modify Window "1s" 2025/04/30 04:48:25 INFO : files root 'rclone-test-fafuzuh3joqi': poll-interval is not supported by this remote 2025/04/30 04:48:25 DEBUG : files root 'rclone-test-fafuzuh3joqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/30 04:48:25 DEBUG : files root 'rclone-test-fafuzuh3joqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-fafuzuh3joqi" 2025/04/30 04:48:25 DEBUG : files root 'rclone-test-fafuzuh3joqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-fafuzuh3joqi" 2025/04/30 04:48:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-fafuzuh3joqi" 2025/04/30 04:48:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 04:48:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-fafuzuh3joqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-fafuzuh3joqi" 2025/04/30 04:48:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-fafuzuh3joqi" 2025/04/30 04:48:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 04:48:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-fafuzuh3joqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-fafuzuh3joqi" 2025/04/30 04:48:25 INFO : files root 'rclone-test-fafuzuh3joqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/30 04:48:26 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/30 04:48:26 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/30 04:48:26 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 04:48:26 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 04:48:26 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 04:48:26 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/04/30 04:48:26 DEBUG : dir/file1(0xc00037eac0): RWFileHandle.Flush 2025/04/30 04:48:26 DEBUG : dir/file1(0xc00037eac0): _readAt: size=256, off=0 2025/04/30 04:48:26 DEBUG : dir/file1(0xc00037eac0): openPending: 2025/04/30 04:48:26 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC," against cached fingerprint "" 2025/04/30 04:48:26 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/04/30 04:48:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 04:48:26 DEBUG : dir/file1(0xc00037eac0): >openPending: err= 2025/04/30 04:48:26 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/04/30 04:48:26 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/30 04:48:26 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/30 04:48:26 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/30 04:48:26 DEBUG : dir/file1(0xc00037eac0): >_readAt: n=16, err=EOF 2025/04/30 04:48:26 DEBUG : dir/file1(0xc00037eac0): RWFileHandle.Flush 2025/04/30 04:48:26 DEBUG : dir/file1(0xc00037eac0): RWFileHandle.Flush 2025/04/30 04:48:26 DEBUG : dir/file1(0xc00037eac0): close: 2025/04/30 04:48:26 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/04/30 04:48:26 DEBUG : dir/file1(0xc00037eac0): >close: err= 2025/04/30 04:48:26 DEBUG : WaitForWriters: timeout=30s 2025/04/30 04:48:26 DEBUG : dir: Looking for writers 2025/04/30 04:48:26 DEBUG : file1: reading active writers 2025/04/30 04:48:26 DEBUG : : Looking for writers 2025/04/30 04:48:26 DEBUG : dir: reading active writers 2025/04/30 04:48:26 DEBUG : >WaitForWriters: 2025/04/30 04:48:26 DEBUG : files root 'rclone-test-fafuzuh3joqi': vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (2.32s) PASS 2025/04/30 04:48:27 DEBUG : files root 'rclone-test-fafuzuh3joqi': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestFilesCom: -verbose -test.run '^(TestDirFileOpen|TestFileOpen|TestRWFileHandleFlushRead)$|^TestFileRename$/^writes,forceCache=false$'" - Finished OK in 16.658310705s (try 2/5)