"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirMkdir|TestDirRename|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek)$|^TestFileRename$/^(full,forceCache=false|writes,forceCache=true)$'" - Starting (try 4/5) 2025/07/12 04:03:35 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-pomowet2foto" 2025/07/12 04:03:35 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/07/12 04:03:35 DEBUG : Starting OpenDrive session with ID: 8263970f8fa768bf7aabe7aa901f12f1671bee908e23359ca3cd851fa2ad9371 2025/07/12 04:03:35 DEBUG : Creating backend with remote "/tmp/rclone3060727584" === RUN TestDirCreate run.go:180: Remote "OpenDrive root 'rclone-test-pomowet2foto'", Local "Local file system at /tmp/rclone3060727584", Modify Window "1s" 2025/07/12 04:03:35 INFO : OpenDrive root 'rclone-test-pomowet2foto': poll-interval is not supported by this remote 2025/07/12 04:03:35 NOTICE: OpenDrive root 'rclone-test-pomowet2foto': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/12 04:03:37 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/12 04:03:39 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2025/07/12 04:03:39 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/07/12 04:03:39 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2025/07/12 04:03:39 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/07/12 04:03:39 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': File to upload is small (5 bytes), uploading instead of streaming 2025/07/12 04:03:39 DEBUG : dir/potato: Uploading chunk 0, size=5, remain=0 2025/07/12 04:03:40 DEBUG : dir/potato: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/07/12 04:03:40 DEBUG : dir/potato: Size and md5 of src and dst objects identical 2025/07/12 04:03:40 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/07/12 04:03:40 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:03:40 DEBUG : dir: Looking for writers 2025/07/12 04:03:40 DEBUG : potato: reading active writers 2025/07/12 04:03:40 DEBUG : file1: reading active writers 2025/07/12 04:03:40 DEBUG : Looking for writers 2025/07/12 04:03:40 DEBUG : dir: reading active writers 2025/07/12 04:03:40 DEBUG : >WaitForWriters: --- PASS: TestDirCreate (6.09s) === RUN TestDirMkdir run.go:180: Remote "OpenDrive root 'rclone-test-pomowet2foto'", Local "Local file system at /tmp/rclone3060727584", Modify Window "1s" 2025/07/12 04:03:42 INFO : OpenDrive root 'rclone-test-pomowet2foto': poll-interval is not supported by this remote 2025/07/12 04:03:42 NOTICE: OpenDrive root 'rclone-test-pomowet2foto': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/12 04:03:43 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/12 04:03:45 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/07/12 04:03:45 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:03:45 DEBUG : dir/sub: Looking for writers 2025/07/12 04:03:45 DEBUG : dir: Looking for writers 2025/07/12 04:03:45 DEBUG : file1: reading active writers 2025/07/12 04:03:45 DEBUG : sub: reading active writers 2025/07/12 04:03:45 DEBUG : Looking for writers 2025/07/12 04:03:45 DEBUG : dir: reading active writers 2025/07/12 04:03:45 DEBUG : >WaitForWriters: fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:289: Sleeping for 6s just to make sure --- PASS: TestDirMkdir (12.92s) === RUN TestDirRename run.go:180: Remote "OpenDrive root 'rclone-test-pomowet2foto'", Local "Local file system at /tmp/rclone3060727584", Modify Window "1s" 2025/07/12 04:03:54 INFO : OpenDrive root 'rclone-test-pomowet2foto': poll-interval is not supported by this remote 2025/07/12 04:03:54 NOTICE: OpenDrive root 'rclone-test-pomowet2foto': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/12 04:03:56 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/12 04:03:58 DEBUG : dir/file3: Uploading chunk 0, size=15, remain=0 2025/07/12 04:03:59 ERROR : dir/not found: Dir.Rename error: file does not exist 2025/07/12 04:03:59 DEBUG : dir2: same parent dir (ODFfOTE2ODc5NF9GZHgwRQ) - using folder/rename instead of move_copy 2025/07/12 04:04:00 DEBUG : dir: Updating dir with dir2 0xc000817ba0 2025/07/12 04:04:00 DEBUG : dir: forgetting directory cache 2025/07/12 04:04:00 DEBUG : Added virtual directory entry vDel: "dir" 2025/07/12 04:04:00 DEBUG : Added virtual directory entry vAddDir: "dir2" 2025/07/12 04:04:01 INFO : dir2/file1: Moved (server-side) to: file2 2025/07/12 04:04:01 DEBUG : file2: Updating file with file2 0xc0001af200 2025/07/12 04:04:01 DEBUG : dir2: Added virtual directory entry vDel: "file1" 2025/07/12 04:04:01 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/07/12 04:04:02 INFO : dir2/file3: Deleted 2025/07/12 04:04:02 INFO : file2: Moved (server-side) to: dir2/file3 2025/07/12 04:04:02 DEBUG : dir2/file3: Updating file with dir2/file3 0xc0001af200 2025/07/12 04:04:02 DEBUG : Added virtual directory entry vDel: "file2" 2025/07/12 04:04:02 DEBUG : dir2: Added virtual directory entry vAddFile: "file3" 2025/07/12 04:04:03 DEBUG : Added virtual directory entry vAddDir: "empty directory" 2025/07/12 04:04:03 DEBUG : renamed empty directory: same parent dir (ODFfOTE2ODc5NF9GZHgwRQ) - using folder/rename instead of move_copy 2025/07/12 04:04:03 DEBUG : empty directory: Updating dir with renamed empty directory 0xc000531520 2025/07/12 04:04:03 DEBUG : empty directory: forgetting directory cache 2025/07/12 04:04:03 DEBUG : Added virtual directory entry vDel: "empty directory" 2025/07/12 04:04:03 DEBUG : Added virtual directory entry vAddDir: "renamed empty directory" 2025/07/12 04:04:03 DEBUG : dir2: Renaming to "dir3" 2025/07/12 04:04:03 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:04:03 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:03 DEBUG : dir3: Looking for writers 2025/07/12 04:04:03 DEBUG : file3: reading active writers 2025/07/12 04:04:03 DEBUG : Looking for writers 2025/07/12 04:04:03 DEBUG : dir3: reading active writers 2025/07/12 04:04:03 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:03 DEBUG : >WaitForWriters: fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:298: Flushing the directory cache fstest.go:324: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:324 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:335 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Not equal: expected: []string{} actual : []string{"renamed empty directory"} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) { +([]string) (len=1) { + (string) (len=23) "renamed empty directory" } Test: TestDirRename Messages: directories --- FAIL: TestDirRename (17.74s) === RUN TestFileRename === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "OpenDrive root 'rclone-test-pomowet2foto'", Local "Local file system at /tmp/rclone3060727584", Modify Window "1s" 2025/07/12 04:04:12 INFO : OpenDrive root 'rclone-test-pomowet2foto': poll-interval is not supported by this remote 2025/07/12 04:04:12 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/12 04:04:12 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:04:12 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:04:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:04:12 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/12 04:04:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:04:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:04:12 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/12 04:04:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:04:12 INFO : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/12 04:04:13 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/12 04:04:15 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/07/12 04:04:15 DEBUG : dir/file1: newRWFileHandle: 2025/07/12 04:04:15 DEBUG : dir/file1(0xc0002d6900): openPending: 2025/07/12 04:04:15 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2025/07/12 04:04:15 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/07/12 04:04:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/12 04:04:15 DEBUG : dir/file1(0xc0002d6900): >openPending: err= 2025/07/12 04:04:15 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/07/12 04:04:15 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/12 04:04:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/12 04:04:15 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/12 04:04:15 DEBUG : dir/file1(0xc0002d6900): _writeAt: size=14, off=0 2025/07/12 04:04:15 DEBUG : dir/file1(0xc0002d6900): >_writeAt: n=14, err= 2025/07/12 04:04:15 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/07/12 04:04:15 DEBUG : dir/file1(0xc0002d6900): close: 2025/07/12 04:04:15 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/07/12 04:04:15 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/07/12 04:04:15 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/07/12 04:04:15 DEBUG : dir/file1(0xc0002d6900): >close: err= 2025/07/12 04:04:15 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:04:15 DEBUG : dir: Looking for writers 2025/07/12 04:04:15 DEBUG : file1: reading active writers 2025/07/12 04:04:15 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:15 DEBUG : Looking for writers 2025/07/12 04:04:15 DEBUG : dir: reading active writers 2025/07/12 04:04:15 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/07/12 04:04:15 DEBUG : dir: Looking for writers 2025/07/12 04:04:15 DEBUG : file1: reading active writers 2025/07/12 04:04:15 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:15 DEBUG : Looking for writers 2025/07/12 04:04:15 DEBUG : dir: reading active writers 2025/07/12 04:04:15 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/07/12 04:04:15 DEBUG : dir: Looking for writers 2025/07/12 04:04:15 DEBUG : file1: reading active writers 2025/07/12 04:04:15 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:15 DEBUG : Looking for writers 2025/07/12 04:04:15 DEBUG : dir: reading active writers 2025/07/12 04:04:15 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/07/12 04:04:15 DEBUG : dir: Looking for writers 2025/07/12 04:04:15 DEBUG : file1: reading active writers 2025/07/12 04:04:15 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:15 DEBUG : Looking for writers 2025/07/12 04:04:15 DEBUG : dir: reading active writers 2025/07/12 04:04:15 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/07/12 04:04:15 DEBUG : dir/file1: vfs cache: starting upload 2025/07/12 04:04:15 DEBUG : dir: Looking for writers 2025/07/12 04:04:15 DEBUG : file1: reading active writers 2025/07/12 04:04:15 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:15 DEBUG : Looking for writers 2025/07/12 04:04:15 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:15 DEBUG : dir: reading active writers 2025/07/12 04:04:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/07/12 04:04:16 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/12 04:04:16 DEBUG : dir: Looking for writers 2025/07/12 04:04:16 DEBUG : file1: reading active writers 2025/07/12 04:04:16 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:16 DEBUG : Looking for writers 2025/07/12 04:04:16 DEBUG : dir: reading active writers 2025/07/12 04:04:16 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/07/12 04:04:16 DEBUG : dir: Looking for writers 2025/07/12 04:04:16 DEBUG : file1: reading active writers 2025/07/12 04:04:16 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:16 DEBUG : Looking for writers 2025/07/12 04:04:16 DEBUG : dir: reading active writers 2025/07/12 04:04:16 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/07/12 04:04:16 DEBUG : dir/file1: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2025/07/12 04:04:16 INFO : dir/file1: Copied (replaced existing) 2025/07/12 04:04:16 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/07/12 04:04:16 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/07/12 04:04:16 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/12 04:04:16 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/07/12 04:04:16 DEBUG : dir: Looking for writers 2025/07/12 04:04:16 DEBUG : file1: reading active writers 2025/07/12 04:04:16 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:16 DEBUG : Looking for writers 2025/07/12 04:04:16 DEBUG : dir: reading active writers 2025/07/12 04:04:16 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:16 DEBUG : >WaitForWriters: 2025/07/12 04:04:16 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/12 04:04:16 DEBUG : dir/file1: newRWFileHandle: 2025/07/12 04:04:16 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/12 04:04:16 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/12 04:04:16 DEBUG : dir/file1(0xc000a14d00): _readAt: size=512, off=0 2025/07/12 04:04:16 DEBUG : dir/file1(0xc000a14d00): openPending: 2025/07/12 04:04:16 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2025/07/12 04:04:16 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/07/12 04:04:16 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/12 04:04:16 DEBUG : dir/file1(0xc000a14d00): >openPending: err= 2025/07/12 04:04:16 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/07/12 04:04:16 DEBUG : dir/file1(0xc000a14d00): >_readAt: n=14, err=EOF 2025/07/12 04:04:16 DEBUG : dir/file1(0xc000a14d00): close: 2025/07/12 04:04:16 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/12 04:04:16 DEBUG : dir/file1(0xc000a14d00): >close: err= 2025/07/12 04:04:17 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/07/12 04:04:17 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/07/12 04:04:17 DEBUG : newLeaf: Updating file with newLeaf 0xc0009503c0 2025/07/12 04:04:17 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/12 04:04:17 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/12 04:04:18 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/07/12 04:04:18 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/07/12 04:04:18 DEBUG : dir/file1: Updating file with dir/file1 0xc0009503c0 2025/07/12 04:04:18 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/07/12 04:04:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:289: Sleeping for 6s just to make sure 2025/07/12 04:04:26 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/07/12 04:04:26 DEBUG : dir/file1: newRWFileHandle: 2025/07/12 04:04:26 DEBUG : dir/file1(0xc0009cb680): openPending: 2025/07/12 04:04:26 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2025/07/12 04:04:26 DEBUG : dir/file1: vfs cache: removing cached entry as stale (remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," != cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595") 2025/07/12 04:04:26 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2025/07/12 04:04:26 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2025/07/12 04:04:26 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/07/12 04:04:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/12 04:04:26 DEBUG : dir/file1(0xc0009cb680): >openPending: err= 2025/07/12 04:04:26 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/07/12 04:04:26 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/12 04:04:26 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/12 04:04:26 DEBUG : dir/file1(0xc0009cb680): _writeAt: size=25, off=0 2025/07/12 04:04:26 DEBUG : dir/file1(0xc0009cb680): >_writeAt: n=25, err= 2025/07/12 04:04:27 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/07/12 04:04:27 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/07/12 04:04:27 DEBUG : newLeaf: Updating file with newLeaf 0xc0009503c0 2025/07/12 04:04:27 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/12 04:04:27 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/12 04:04:27 DEBUG : newLeaf(0xc0009cb680): close: 2025/07/12 04:04:27 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/07/12 04:04:27 DEBUG : newLeaf: vfs cache: setting modification time to 2025-07-12 04:04:26.787689763 +0000 UTC m=+51.734368383 2025/07/12 04:04:27 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/07/12 04:04:27 DEBUG : newLeaf(0xc0009cb680): >close: err= 2025/07/12 04:04:27 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:04:27 DEBUG : dir: Looking for writers 2025/07/12 04:04:27 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:27 DEBUG : Looking for writers 2025/07/12 04:04:27 DEBUG : dir: reading active writers 2025/07/12 04:04:27 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:27 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/07/12 04:04:27 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:27 DEBUG : dir: Looking for writers 2025/07/12 04:04:27 DEBUG : Looking for writers 2025/07/12 04:04:27 DEBUG : dir: reading active writers 2025/07/12 04:04:27 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:27 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/07/12 04:04:27 DEBUG : dir: Looking for writers 2025/07/12 04:04:27 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:27 DEBUG : Looking for writers 2025/07/12 04:04:27 DEBUG : dir: reading active writers 2025/07/12 04:04:27 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:27 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/07/12 04:04:27 DEBUG : dir: Looking for writers 2025/07/12 04:04:27 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:27 DEBUG : Looking for writers 2025/07/12 04:04:27 DEBUG : dir: reading active writers 2025/07/12 04:04:27 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:27 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/07/12 04:04:27 DEBUG : newLeaf: vfs cache: starting upload 2025/07/12 04:04:27 DEBUG : dir: Looking for writers 2025/07/12 04:04:27 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:27 DEBUG : Looking for writers 2025/07/12 04:04:27 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:27 DEBUG : dir: reading active writers 2025/07/12 04:04:27 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/07/12 04:04:27 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2025/07/12 04:04:27 DEBUG : dir: Looking for writers 2025/07/12 04:04:27 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:27 DEBUG : Looking for writers 2025/07/12 04:04:27 DEBUG : dir: reading active writers 2025/07/12 04:04:27 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:27 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/07/12 04:04:27 DEBUG : dir: Looking for writers 2025/07/12 04:04:27 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:27 DEBUG : Looking for writers 2025/07/12 04:04:27 DEBUG : dir: reading active writers 2025/07/12 04:04:27 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:27 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/07/12 04:04:28 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/07/12 04:04:28 INFO : newLeaf: Copied (replaced existing) 2025/07/12 04:04:28 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-07-12 04:04:26 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2025/07/12 04:04:28 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/07/12 04:04:28 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/12 04:04:28 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/07/12 04:04:28 DEBUG : dir: Looking for writers 2025/07/12 04:04:28 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:28 DEBUG : Looking for writers 2025/07/12 04:04:28 DEBUG : dir: reading active writers 2025/07/12 04:04:28 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:28 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:28 DEBUG : >WaitForWriters: 2025/07/12 04:04:28 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:04:28 DEBUG : dir: Looking for writers 2025/07/12 04:04:28 DEBUG : renamed empty directory: Looking for writers 2025/07/12 04:04:28 DEBUG : Looking for writers 2025/07/12 04:04:28 DEBUG : dir: reading active writers 2025/07/12 04:04:28 DEBUG : renamed empty directory: reading active writers 2025/07/12 04:04:28 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:28 DEBUG : >WaitForWriters: 2025/07/12 04:04:28 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: cleaner exiting fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:289: Sleeping for 6s just to make sure === RUN TestFileRename/full,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-pomowet2foto'", Local "Local file system at /tmp/rclone3060727584", Modify Window "1s" 2025/07/12 04:04:37 INFO : OpenDrive root 'rclone-test-pomowet2foto': poll-interval is not supported by this remote 2025/07/12 04:04:37 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/12 04:04:37 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:04:37 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:04:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:04:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/12 04:04:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:04:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:04:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/12 04:04:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:04:37 INFO : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/12 04:04:38 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/12 04:04:40 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:04:40 DEBUG : dir: Looking for writers 2025/07/12 04:04:40 DEBUG : file1: reading active writers 2025/07/12 04:04:40 DEBUG : Looking for writers 2025/07/12 04:04:40 DEBUG : dir: reading active writers 2025/07/12 04:04:40 DEBUG : >WaitForWriters: 2025/07/12 04:04:40 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/12 04:04:40 DEBUG : dir/file1: newRWFileHandle: 2025/07/12 04:04:40 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/12 04:04:40 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/12 04:04:40 DEBUG : dir/file1(0xc000393c80): _readAt: size=512, off=0 2025/07/12 04:04:40 DEBUG : dir/file1(0xc000393c80): openPending: 2025/07/12 04:04:40 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2025/07/12 04:04:40 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/07/12 04:04:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/12 04:04:40 DEBUG : dir/file1(0xc000393c80): >openPending: err= 2025/07/12 04:04:40 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2025/07/12 04:04:40 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/12 04:04:40 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/12 04:04:40 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/12 04:04:40 DEBUG : dir/file1(0xc000393c80): >_readAt: n=14, err=EOF 2025/07/12 04:04:40 DEBUG : dir/file1(0xc000393c80): close: 2025/07/12 04:04:40 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/12 04:04:40 DEBUG : dir/file1(0xc000393c80): >close: err= 2025/07/12 04:04:41 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/07/12 04:04:41 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/07/12 04:04:41 DEBUG : newLeaf: Updating file with newLeaf 0xc000950cc0 2025/07/12 04:04:41 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/12 04:04:41 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/12 04:04:42 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/07/12 04:04:42 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/07/12 04:04:42 DEBUG : dir/file1: Updating file with dir/file1 0xc000950cc0 2025/07/12 04:04:42 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/07/12 04:04:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:289: Sleeping for 6s just to make sure 2025/07/12 04:04:50 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/07/12 04:04:50 DEBUG : dir/file1: newRWFileHandle: 2025/07/12 04:04:50 DEBUG : dir/file1(0xc000a15400): openPending: 2025/07/12 04:04:50 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2025/07/12 04:04:50 DEBUG : dir/file1: vfs cache: removing cached entry as stale (remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," != cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595") 2025/07/12 04:04:50 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2025/07/12 04:04:50 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2025/07/12 04:04:50 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/07/12 04:04:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/12 04:04:50 DEBUG : dir/file1(0xc000a15400): >openPending: err= 2025/07/12 04:04:50 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/07/12 04:04:50 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/12 04:04:50 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/12 04:04:50 DEBUG : dir/file1(0xc000a15400): _writeAt: size=25, off=0 2025/07/12 04:04:50 DEBUG : dir/file1(0xc000a15400): >_writeAt: n=25, err= 2025/07/12 04:04:51 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/07/12 04:04:51 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/07/12 04:04:51 DEBUG : newLeaf: Updating file with newLeaf 0xc000950cc0 2025/07/12 04:04:51 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/12 04:04:51 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/12 04:04:51 DEBUG : newLeaf(0xc000a15400): close: 2025/07/12 04:04:51 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/07/12 04:04:51 DEBUG : newLeaf: vfs cache: setting modification time to 2025-07-12 04:04:50.573338345 +0000 UTC m=+75.520016934 2025/07/12 04:04:51 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/07/12 04:04:51 DEBUG : newLeaf(0xc000a15400): >close: err= 2025/07/12 04:04:51 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:04:51 DEBUG : dir: Looking for writers 2025/07/12 04:04:51 DEBUG : Looking for writers 2025/07/12 04:04:51 DEBUG : dir: reading active writers 2025/07/12 04:04:51 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/07/12 04:04:51 DEBUG : dir: Looking for writers 2025/07/12 04:04:51 DEBUG : Looking for writers 2025/07/12 04:04:51 DEBUG : dir: reading active writers 2025/07/12 04:04:51 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/07/12 04:04:51 DEBUG : dir: Looking for writers 2025/07/12 04:04:51 DEBUG : Looking for writers 2025/07/12 04:04:51 DEBUG : dir: reading active writers 2025/07/12 04:04:51 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/07/12 04:04:51 DEBUG : dir: Looking for writers 2025/07/12 04:04:51 DEBUG : Looking for writers 2025/07/12 04:04:51 DEBUG : dir: reading active writers 2025/07/12 04:04:51 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/07/12 04:04:51 DEBUG : newLeaf: vfs cache: starting upload 2025/07/12 04:04:51 DEBUG : dir: Looking for writers 2025/07/12 04:04:51 DEBUG : Looking for writers 2025/07/12 04:04:51 DEBUG : dir: reading active writers 2025/07/12 04:04:51 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/07/12 04:04:51 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2025/07/12 04:04:51 DEBUG : dir: Looking for writers 2025/07/12 04:04:51 DEBUG : Looking for writers 2025/07/12 04:04:51 DEBUG : dir: reading active writers 2025/07/12 04:04:51 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/07/12 04:04:51 DEBUG : dir: Looking for writers 2025/07/12 04:04:51 DEBUG : Looking for writers 2025/07/12 04:04:51 DEBUG : dir: reading active writers 2025/07/12 04:04:51 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/07/12 04:04:52 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/07/12 04:04:52 INFO : newLeaf: Copied (replaced existing) 2025/07/12 04:04:52 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-07-12 04:04:50 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2025/07/12 04:04:52 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/07/12 04:04:52 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/12 04:04:52 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/07/12 04:04:52 DEBUG : dir: Looking for writers 2025/07/12 04:04:52 DEBUG : Looking for writers 2025/07/12 04:04:52 DEBUG : dir: reading active writers 2025/07/12 04:04:52 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:52 DEBUG : >WaitForWriters: 2025/07/12 04:04:52 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:04:52 DEBUG : dir: Looking for writers 2025/07/12 04:04:52 DEBUG : Looking for writers 2025/07/12 04:04:52 DEBUG : newLeaf: reading active writers 2025/07/12 04:04:52 DEBUG : dir: reading active writers 2025/07/12 04:04:52 DEBUG : >WaitForWriters: 2025/07/12 04:04:52 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: cleaner exiting --- PASS: TestFileRename (41.06s) --- PASS: TestFileRename/writes,forceCache=true (25.17s) --- PASS: TestFileRename/full,forceCache=false (15.89s) === RUN TestReadFileHandleMethods run.go:180: Remote "OpenDrive root 'rclone-test-pomowet2foto'", Local "Local file system at /tmp/rclone3060727584", Modify Window "1s" 2025/07/12 04:04:53 INFO : OpenDrive root 'rclone-test-pomowet2foto': poll-interval is not supported by this remote 2025/07/12 04:04:53 NOTICE: OpenDrive root 'rclone-test-pomowet2foto': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/12 04:04:54 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/12 04:04:56 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/12 04:04:56 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/12 04:04:56 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/12 04:04:56 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/12 04:04:56 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/12 04:04:56 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/07/12 04:04:56 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2025/07/12 04:04:56 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:04:56 DEBUG : dir: Looking for writers 2025/07/12 04:04:56 DEBUG : file1: reading active writers 2025/07/12 04:04:56 DEBUG : Looking for writers 2025/07/12 04:04:56 DEBUG : dir: reading active writers 2025/07/12 04:04:56 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (4.12s) === RUN TestReadFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-pomowet2foto'", Local "Local file system at /tmp/rclone3060727584", Modify Window "1s" 2025/07/12 04:04:57 INFO : OpenDrive root 'rclone-test-pomowet2foto': poll-interval is not supported by this remote 2025/07/12 04:04:57 NOTICE: OpenDrive root 'rclone-test-pomowet2foto': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/12 04:04:58 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/12 04:05:00 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/12 04:05:00 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/12 04:05:00 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/12 04:05:00 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/12 04:05:00 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/12 04:05:00 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/07/12 04:05:00 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/07/12 04:05:00 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/07/12 04:05:00 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/07/12 04:05:00 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/07/12 04:05:00 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/07/12 04:05:00 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/07/12 04:05:00 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/07/12 04:05:00 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2025/07/12 04:05:00 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2025/07/12 04:05:00 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2025/07/12 04:05:00 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2025/07/12 04:05:01 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2025/07/12 04:05:01 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2025/07/12 04:05:01 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2025/07/12 04:05:01 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2025/07/12 04:05:01 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:05:01 DEBUG : dir: Looking for writers 2025/07/12 04:05:01 DEBUG : file1: reading active writers 2025/07/12 04:05:01 DEBUG : Looking for writers 2025/07/12 04:05:01 DEBUG : dir: reading active writers 2025/07/12 04:05:01 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (5.37s) === RUN TestReadFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-pomowet2foto'", Local "Local file system at /tmp/rclone3060727584", Modify Window "1s" 2025/07/12 04:05:03 INFO : OpenDrive root 'rclone-test-pomowet2foto': poll-interval is not supported by this remote 2025/07/12 04:05:03 NOTICE: OpenDrive root 'rclone-test-pomowet2foto': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/12 04:05:04 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/12 04:05:05 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/12 04:05:06 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/12 04:05:06 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/12 04:05:06 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/12 04:05:06 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/12 04:05:06 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/07/12 04:05:06 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/07/12 04:05:06 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/07/12 04:05:06 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/07/12 04:05:06 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/07/12 04:05:06 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/07/12 04:05:06 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/07/12 04:05:06 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/07/12 04:05:06 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2025/07/12 04:05:06 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2025/07/12 04:05:06 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2025/07/12 04:05:06 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2025/07/12 04:05:07 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2025/07/12 04:05:07 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2025/07/12 04:05:07 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2025/07/12 04:05:07 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2025/07/12 04:05:07 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2025/07/12 04:05:07 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2025/07/12 04:05:07 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/07/12 04:05:07 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2025/07/12 04:05:07 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2025/07/12 04:05:07 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2025/07/12 04:05:07 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/07/12 04:05:08 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/07/12 04:05:08 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/07/12 04:05:08 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/07/12 04:05:08 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2025/07/12 04:05:08 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/07/12 04:05:08 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/07/12 04:05:08 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/07/12 04:05:08 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2025/07/12 04:05:08 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:05:08 DEBUG : dir: Looking for writers 2025/07/12 04:05:08 DEBUG : file1: reading active writers 2025/07/12 04:05:08 DEBUG : Looking for writers 2025/07/12 04:05:08 DEBUG : dir: reading active writers 2025/07/12 04:05:08 DEBUG : >WaitForWriters: run.go:125: removing dir "dir" failed - try 1/3: folder not empty --- PASS: TestReadFileHandleReadAt (7.44s) === RUN TestReadFileHandleFlush run.go:180: Remote "OpenDrive root 'rclone-test-pomowet2foto'", Local "Local file system at /tmp/rclone3060727584", Modify Window "1s" 2025/07/12 04:05:10 INFO : OpenDrive root 'rclone-test-pomowet2foto': poll-interval is not supported by this remote 2025/07/12 04:05:10 NOTICE: OpenDrive root 'rclone-test-pomowet2foto': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/12 04:05:11 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/12 04:05:13 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/12 04:05:13 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/12 04:05:13 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/12 04:05:13 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/12 04:05:13 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/12 04:05:13 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/07/12 04:05:13 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:05:13 DEBUG : dir: Looking for writers 2025/07/12 04:05:13 DEBUG : file1: reading active writers 2025/07/12 04:05:13 DEBUG : Looking for writers 2025/07/12 04:05:13 DEBUG : dir: reading active writers 2025/07/12 04:05:13 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleFlush (4.19s) === RUN TestReadFileHandleRelease run.go:180: Remote "OpenDrive root 'rclone-test-pomowet2foto'", Local "Local file system at /tmp/rclone3060727584", Modify Window "1s" 2025/07/12 04:05:14 INFO : OpenDrive root 'rclone-test-pomowet2foto': poll-interval is not supported by this remote 2025/07/12 04:05:14 NOTICE: OpenDrive root 'rclone-test-pomowet2foto': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/12 04:05:15 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/12 04:05:17 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/12 04:05:17 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/12 04:05:17 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/12 04:05:17 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/12 04:05:17 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/12 04:05:18 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/07/12 04:05:18 DEBUG : dir/file1: ReadFileHandle.Release closing 2025/07/12 04:05:18 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2025/07/12 04:05:18 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:05:18 DEBUG : dir: Looking for writers 2025/07/12 04:05:18 DEBUG : file1: reading active writers 2025/07/12 04:05:18 DEBUG : Looking for writers 2025/07/12 04:05:18 DEBUG : dir: reading active writers 2025/07/12 04:05:18 DEBUG : >WaitForWriters: fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:289: Sleeping for 6s just to make sure --- PASS: TestReadFileHandleRelease (11.93s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "OpenDrive root 'rclone-test-pomowet2foto'", Local "Local file system at /tmp/rclone3060727584", Modify Window "1s" 2025/07/12 04:05:26 INFO : OpenDrive root 'rclone-test-pomowet2foto': poll-interval is not supported by this remote 2025/07/12 04:05:26 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/12 04:05:26 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:26 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:26 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/12 04:05:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:26 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/12 04:05:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:26 INFO : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/12 04:05:27 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/12 04:05:29 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/12 04:05:29 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/12 04:05:29 DEBUG : dir/file1: newRWFileHandle: 2025/07/12 04:05:29 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/12 04:05:29 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/12 04:05:29 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/12 04:05:29 DEBUG : dir/file1(0xc000a148c0): _readAt: size=1, off=0 2025/07/12 04:05:29 DEBUG : dir/file1(0xc000a148c0): openPending: 2025/07/12 04:05:29 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/12 04:05:29 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/12 04:05:29 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/12 04:05:29 DEBUG : dir/file1(0xc000a148c0): >openPending: err= 2025/07/12 04:05:29 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/07/12 04:05:29 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/12 04:05:29 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/12 04:05:29 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/12 04:05:29 DEBUG : dir/file1(0xc000a148c0): >_readAt: n=1, err= 2025/07/12 04:05:29 DEBUG : dir/file1(0xc000a148c0): _readAt: size=256, off=1 2025/07/12 04:05:29 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2025/07/12 04:05:29 DEBUG : dir/file1(0xc000a148c0): >_readAt: n=15, err=EOF 2025/07/12 04:05:29 DEBUG : dir/file1(0xc000a148c0): _readAt: size=16, off=16 2025/07/12 04:05:29 DEBUG : dir/file1(0xc000a148c0): >_readAt: n=0, err=EOF 2025/07/12 04:05:29 DEBUG : dir/file1(0xc000a148c0): close: 2025/07/12 04:05:29 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/12 04:05:29 DEBUG : dir/file1(0xc000a148c0): >close: err= 2025/07/12 04:05:29 DEBUG : dir/file1(0xc000a148c0): close: 2025/07/12 04:05:29 DEBUG : dir/file1(0xc000a148c0): >close: err=file already closed 2025/07/12 04:05:29 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:05:29 DEBUG : dir: Looking for writers 2025/07/12 04:05:29 DEBUG : file1: reading active writers 2025/07/12 04:05:29 DEBUG : Looking for writers 2025/07/12 04:05:29 DEBUG : dir: reading active writers 2025/07/12 04:05:29 DEBUG : >WaitForWriters: 2025/07/12 04:05:29 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (4.31s) === RUN TestRWFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-pomowet2foto'", Local "Local file system at /tmp/rclone3060727584", Modify Window "1s" 2025/07/12 04:05:31 INFO : OpenDrive root 'rclone-test-pomowet2foto': poll-interval is not supported by this remote 2025/07/12 04:05:31 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/12 04:05:31 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:31 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:31 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/12 04:05:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:31 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/12 04:05:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:31 INFO : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/12 04:05:32 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/12 04:05:33 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/12 04:05:34 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/12 04:05:34 DEBUG : dir/file1: newRWFileHandle: 2025/07/12 04:05:34 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/12 04:05:34 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/12 04:05:34 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/12 04:05:34 DEBUG : dir/file1(0xc0004e9540): _readAt: size=1, off=0 2025/07/12 04:05:34 DEBUG : dir/file1(0xc0004e9540): openPending: 2025/07/12 04:05:34 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/12 04:05:34 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/12 04:05:34 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/12 04:05:34 DEBUG : dir/file1(0xc0004e9540): >openPending: err= 2025/07/12 04:05:34 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/07/12 04:05:34 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/12 04:05:34 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/12 04:05:34 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/12 04:05:34 DEBUG : dir/file1(0xc0004e9540): >_readAt: n=1, err= 2025/07/12 04:05:34 DEBUG : dir/file1(0xc0004e9540): _readAt: size=1, off=5 2025/07/12 04:05:34 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/12 04:05:34 DEBUG : dir/file1(0xc0004e9540): >_readAt: n=1, err= 2025/07/12 04:05:34 DEBUG : dir/file1(0xc0004e9540): _readAt: size=1, off=3 2025/07/12 04:05:34 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/12 04:05:34 DEBUG : dir/file1(0xc0004e9540): >_readAt: n=1, err= 2025/07/12 04:05:34 DEBUG : dir/file1(0xc0004e9540): _readAt: size=1, off=13 2025/07/12 04:05:34 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/12 04:05:34 DEBUG : dir/file1(0xc0004e9540): >_readAt: n=1, err= 2025/07/12 04:05:34 DEBUG : dir/file1(0xc0004e9540): _readAt: size=16, off=100 2025/07/12 04:05:34 DEBUG : dir/file1(0xc0004e9540): >_readAt: n=0, err=EOF 2025/07/12 04:05:34 DEBUG : dir/file1(0xc0004e9540): close: 2025/07/12 04:05:34 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/12 04:05:34 DEBUG : dir/file1(0xc0004e9540): >close: err= 2025/07/12 04:05:34 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:05:34 DEBUG : dir: Looking for writers 2025/07/12 04:05:34 DEBUG : file1: reading active writers 2025/07/12 04:05:34 DEBUG : Looking for writers 2025/07/12 04:05:34 DEBUG : dir: reading active writers 2025/07/12 04:05:34 DEBUG : >WaitForWriters: 2025/07/12 04:05:34 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSeek (4.39s) === RUN TestRWFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-pomowet2foto'", Local "Local file system at /tmp/rclone3060727584", Modify Window "1s" 2025/07/12 04:05:35 INFO : OpenDrive root 'rclone-test-pomowet2foto': poll-interval is not supported by this remote 2025/07/12 04:05:35 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/12 04:05:35 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:35 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:35 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:35 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/12 04:05:35 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:35 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:35 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/12 04:05:35 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:35 INFO : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/12 04:05:36 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/12 04:05:37 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/12 04:05:38 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/12 04:05:38 DEBUG : dir/file1: newRWFileHandle: 2025/07/12 04:05:38 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/12 04:05:38 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/12 04:05:38 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): _readAt: size=1, off=0 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): openPending: 2025/07/12 04:05:38 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/12 04:05:38 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/12 04:05:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): >openPending: err= 2025/07/12 04:05:38 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/07/12 04:05:38 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/12 04:05:38 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/12 04:05:38 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): >_readAt: n=1, err= 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): _readAt: size=1, off=5 2025/07/12 04:05:38 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): >_readAt: n=1, err= 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): _readAt: size=1, off=1 2025/07/12 04:05:38 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): >_readAt: n=1, err= 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): _readAt: size=6, off=10 2025/07/12 04:05:38 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): >_readAt: n=6, err= 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): _readAt: size=256, off=10 2025/07/12 04:05:38 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): >_readAt: n=6, err=EOF 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): _readAt: size=256, off=100 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): >_readAt: n=0, err=EOF 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): close: 2025/07/12 04:05:38 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): >close: err= 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): _readAt: size=256, off=100 2025/07/12 04:05:38 DEBUG : dir/file1(0xc000392bc0): >_readAt: n=0, err=file already closed 2025/07/12 04:05:38 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:05:38 DEBUG : dir: Looking for writers 2025/07/12 04:05:38 DEBUG : file1: reading active writers 2025/07/12 04:05:38 DEBUG : Looking for writers 2025/07/12 04:05:38 DEBUG : dir: reading active writers 2025/07/12 04:05:38 DEBUG : >WaitForWriters: 2025/07/12 04:05:38 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: cleaner exiting run.go:125: removing dir "dir" failed - try 1/3: folder not empty run.go:125: removing dir "dir" failed - try 2/3: folder not empty fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:289: Sleeping for 6s just to make sure --- PASS: TestRWFileHandleReadAt (14.13s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "OpenDrive root 'rclone-test-pomowet2foto'", Local "Local file system at /tmp/rclone3060727584", Modify Window "1s" 2025/07/12 04:05:49 INFO : OpenDrive root 'rclone-test-pomowet2foto': poll-interval is not supported by this remote 2025/07/12 04:05:49 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/12 04:05:49 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:49 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:49 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/12 04:05:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:49 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/12 04:05:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:49 INFO : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/12 04:05:50 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/12 04:05:52 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/12 04:05:52 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/12 04:05:52 DEBUG : dir/file1: newRWFileHandle: 2025/07/12 04:05:52 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/12 04:05:52 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/12 04:05:52 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/12 04:05:52 DEBUG : dir/file1(0xc0002d6900): RWFileHandle.Flush 2025/07/12 04:05:52 DEBUG : dir/file1(0xc0002d6900): _readAt: size=256, off=0 2025/07/12 04:05:52 DEBUG : dir/file1(0xc0002d6900): openPending: 2025/07/12 04:05:52 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/12 04:05:52 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/12 04:05:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/12 04:05:52 DEBUG : dir/file1(0xc0002d6900): >openPending: err= 2025/07/12 04:05:52 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/07/12 04:05:52 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/12 04:05:52 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/12 04:05:52 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/12 04:05:52 DEBUG : dir/file1(0xc0002d6900): >_readAt: n=16, err=EOF 2025/07/12 04:05:52 DEBUG : dir/file1(0xc0002d6900): RWFileHandle.Flush 2025/07/12 04:05:52 DEBUG : dir/file1(0xc0002d6900): RWFileHandle.Flush 2025/07/12 04:05:52 DEBUG : dir/file1(0xc0002d6900): close: 2025/07/12 04:05:52 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/12 04:05:52 DEBUG : dir/file1(0xc0002d6900): >close: err= 2025/07/12 04:05:52 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:05:52 DEBUG : dir: Looking for writers 2025/07/12 04:05:52 DEBUG : file1: reading active writers 2025/07/12 04:05:52 DEBUG : Looking for writers 2025/07/12 04:05:52 DEBUG : dir: reading active writers 2025/07/12 04:05:52 DEBUG : >WaitForWriters: 2025/07/12 04:05:52 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (4.24s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "OpenDrive root 'rclone-test-pomowet2foto'", Local "Local file system at /tmp/rclone3060727584", Modify Window "1s" 2025/07/12 04:05:53 INFO : OpenDrive root 'rclone-test-pomowet2foto': poll-interval is not supported by this remote 2025/07/12 04:05:53 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/12 04:05:53 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:53 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/12 04:05:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/12 04:05:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-pomowet2foto" 2025/07/12 04:05:53 INFO : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/12 04:05:55 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/12 04:05:56 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/12 04:05:56 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/12 04:05:56 DEBUG : dir/file1: newRWFileHandle: 2025/07/12 04:05:56 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/12 04:05:56 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/12 04:05:56 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/12 04:05:56 DEBUG : dir/file1(0xc0004e8a40): _readAt: size=256, off=0 2025/07/12 04:05:56 DEBUG : dir/file1(0xc0004e8a40): openPending: 2025/07/12 04:05:56 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/12 04:05:56 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/12 04:05:56 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/12 04:05:56 DEBUG : dir/file1(0xc0004e8a40): >openPending: err= 2025/07/12 04:05:56 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/07/12 04:05:56 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/12 04:05:56 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/12 04:05:56 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/12 04:05:57 DEBUG : dir/file1(0xc0004e8a40): >_readAt: n=16, err=EOF 2025/07/12 04:05:57 DEBUG : dir/file1(0xc0004e8a40): RWFileHandle.Release 2025/07/12 04:05:57 DEBUG : dir/file1(0xc0004e8a40): close: 2025/07/12 04:05:57 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/12 04:05:57 DEBUG : dir/file1(0xc0004e8a40): >close: err= 2025/07/12 04:05:57 DEBUG : dir/file1(0xc0004e8a40): RWFileHandle.Release 2025/07/12 04:05:57 DEBUG : WaitForWriters: timeout=30s 2025/07/12 04:05:57 DEBUG : dir: Looking for writers 2025/07/12 04:05:57 DEBUG : file1: reading active writers 2025/07/12 04:05:57 DEBUG : Looking for writers 2025/07/12 04:05:57 DEBUG : dir: reading active writers 2025/07/12 04:05:57 DEBUG : >WaitForWriters: 2025/07/12 04:05:57 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (4.44s) FAIL 2025/07/12 04:05:58 DEBUG : OpenDrive root 'rclone-test-pomowet2foto': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirMkdir|TestDirRename|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek)$|^TestFileRename$/^(full,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 2m23.810811674s (try 4/5): exit status 1: Failed [TestDirRename]