"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirRemoveName|TestFileReadAtZeroLength|TestRWCacheUpdate)$|^TestDirReadDirAll$/^Virtual$'" - Starting (try 2/5) 2025/08/05 03:51:20 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-lobayad1weva" 2025/08/05 03:51:20 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/08/05 03:51:21 DEBUG : Starting OpenDrive session with ID: 38b4d59fdab1e4563d4ec93cbe1b4746d803ac9b9aaeba7230dff0c1ae691efd 2025/08/05 03:51:21 DEBUG : Creating backend with remote "/tmp/rclone1024775688" === RUN TestDirReadDirAll run.go:180: Remote "OpenDrive root 'rclone-test-lobayad1weva'", Local "Local file system at /tmp/rclone1024775688", Modify Window "1s" 2025/08/05 03:51:21 INFO : OpenDrive root 'rclone-test-lobayad1weva': poll-interval is not supported by this remote 2025/08/05 03:51:21 NOTICE: OpenDrive root 'rclone-test-lobayad1weva': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/08/05 03:51:22 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/08/05 03:51:24 DEBUG : dir/file2: Uploading chunk 0, size=15, remain=0 2025/08/05 03:51:26 DEBUG : dir/subdir/file3: Uploading chunk 0, size=16, remain=0 === RUN TestDirReadDirAll/Virtual 2025/08/05 03:51:28 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2025/08/05 03:51:28 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2025/08/05 03:51:28 DEBUG : dir: Added virtual directory entry vDel: "file2" 2025/08/05 03:51:28 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2025/08/05 03:51:29 DEBUG : dir/virtualFile: Uploading chunk 0, size=20, remain=0 2025/08/05 03:51:31 DEBUG : dir/virtualDir/testFile: Uploading chunk 0, size=17, remain=0 2025/08/05 03:51:33 DEBUG : dir: invalidating directory cache 2025/08/05 03:51:33 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2025/08/05 03:51:33 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2025/08/05 03:51:33 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2025/08/05 03:51:33 DEBUG : dir/file1: Reset virtual modtime 2025/08/05 03:51:33 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2025/08/05 03:51:33 DEBUG : dir/virtualFile: Reset virtual modtime 2025/08/05 03:51:33 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2025/08/05 03:51:33 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2025/08/05 03:51:33 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/08/05 03:51:33 DEBUG : dir: invalidating directory cache 2025/08/05 03:51:33 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2025/08/05 03:51:33 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/08/05 03:51:33 DEBUG : dir/virtualFile: Reset virtual modtime 2025/08/05 03:51:33 DEBUG : forgetting directory cache 2025/08/05 03:51:33 DEBUG : dir: forgetting directory cache 2025/08/05 03:51:33 DEBUG : dir/virtualDir: forgetting directory cache 2025/08/05 03:51:33 DEBUG : WaitForWriters: timeout=30s 2025/08/05 03:51:33 DEBUG : dir/virtualDir: Looking for writers 2025/08/05 03:51:33 DEBUG : dir: Looking for writers 2025/08/05 03:51:33 DEBUG : file1: reading active writers 2025/08/05 03:51:33 DEBUG : virtualFile2: reading active writers 2025/08/05 03:51:33 DEBUG : virtualFile: reading active writers 2025/08/05 03:51:33 DEBUG : virtualDir: reading active writers 2025/08/05 03:51:33 DEBUG : Looking for writers 2025/08/05 03:51:33 DEBUG : dir: reading active writers 2025/08/05 03:51:33 DEBUG : >WaitForWriters: --- PASS: TestDirReadDirAll (14.22s) --- PASS: TestDirReadDirAll/Virtual (4.88s) === RUN TestDirCreate run.go:180: Remote "OpenDrive root 'rclone-test-lobayad1weva'", Local "Local file system at /tmp/rclone1024775688", Modify Window "1s" 2025/08/05 03:51:35 INFO : OpenDrive root 'rclone-test-lobayad1weva': poll-interval is not supported by this remote 2025/08/05 03:51:35 NOTICE: OpenDrive root 'rclone-test-lobayad1weva': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/08/05 03:51:36 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 dir_test.go:354: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:354 Error: Should be true Test: TestDirCreate 2025/08/05 03:51:38 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2025/08/05 03:51:38 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/08/05 03:51:38 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2025/08/05 03:51:38 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/08/05 03:51:38 DEBUG : OpenDrive root 'rclone-test-lobayad1weva': File to upload is small (5 bytes), uploading instead of streaming 2025/08/05 03:51:39 DEBUG : dir/potato: Uploading chunk 0, size=5, remain=0 2025/08/05 03:51:40 DEBUG : dir/potato: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/08/05 03:51:40 DEBUG : dir/potato: Size and md5 of src and dst objects identical 2025/08/05 03:51:40 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/08/05 03:51:40 DEBUG : WaitForWriters: timeout=30s 2025/08/05 03:51:40 DEBUG : dir: Looking for writers 2025/08/05 03:51:40 DEBUG : file1: reading active writers 2025/08/05 03:51:40 DEBUG : potato: reading active writers 2025/08/05 03:51:40 DEBUG : Looking for writers 2025/08/05 03:51:40 DEBUG : dir: reading active writers 2025/08/05 03:51:40 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (5.64s) === RUN TestDirRemoveName run.go:180: Remote "OpenDrive root 'rclone-test-lobayad1weva'", Local "Local file system at /tmp/rclone1024775688", Modify Window "1s" 2025/08/05 03:51:41 INFO : OpenDrive root 'rclone-test-lobayad1weva': poll-interval is not supported by this remote 2025/08/05 03:51:41 NOTICE: OpenDrive root 'rclone-test-lobayad1weva': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/08/05 03:51:42 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/08/05 03:51:44 DEBUG : dir/file1: Remove: 2025/08/05 03:51:44 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/08/05 03:51:44 DEBUG : dir/file1: >Remove: err= 2025/08/05 03:51:44 DEBUG : WaitForWriters: timeout=30s 2025/08/05 03:51:44 DEBUG : dir: Looking for writers 2025/08/05 03:51:44 DEBUG : Looking for writers 2025/08/05 03:51:44 DEBUG : dir: reading active writers 2025/08/05 03:51:44 DEBUG : >WaitForWriters: --- PASS: TestDirRemoveName (4.14s) === RUN TestRWCacheUpdate run.go:180: Remote "OpenDrive root 'rclone-test-lobayad1weva'", Local "Local file system at /tmp/rclone1024775688", Modify Window "1s" 2025/08/05 03:51:45 INFO : OpenDrive root 'rclone-test-lobayad1weva': poll-interval is not supported by this remote 2025/08/05 03:51:45 DEBUG : OpenDrive root 'rclone-test-lobayad1weva': vfs cache: root is "/home/rclone/.cache/rclone" 2025/08/05 03:51:45 DEBUG : OpenDrive root 'rclone-test-lobayad1weva': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-lobayad1weva" 2025/08/05 03:51:45 DEBUG : OpenDrive root 'rclone-test-lobayad1weva': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-lobayad1weva" 2025/08/05 03:51:45 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-lobayad1weva" 2025/08/05 03:51:45 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/05 03:51:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-lobayad1weva" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-lobayad1weva" 2025/08/05 03:51:45 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-lobayad1weva" 2025/08/05 03:51:45 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/05 03:51:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-lobayad1weva" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-lobayad1weva" 2025/08/05 03:51:45 INFO : OpenDrive root 'rclone-test-lobayad1weva': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/08/05 03:51:45 DEBUG : forgetting directory cache 2025/08/05 03:51:46 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/08/05 03:51:47 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/08/05 03:51:47 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/08/05 03:51:47 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/08/05 03:51:47 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/08/05 03:51:47 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/08/05 03:51:47 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/08/05 03:51:47 DEBUG : TestRWCacheUpdate(0xc0000bd0c0): _readAt: size=512, off=0 2025/08/05 03:51:47 DEBUG : TestRWCacheUpdate(0xc0000bd0c0): openPending: 2025/08/05 03:51:47 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-08-05 02:52:45 +0000 UTC,8558f20bbf1a5777c862752b37ad49be" against cached fingerprint "" 2025/08/05 03:51:47 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/08/05 03:51:47 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/08/05 03:51:47 DEBUG : TestRWCacheUpdate(0xc0000bd0c0): >openPending: err= 2025/08/05 03:51:47 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/08/05 03:51:47 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/08/05 03:51:47 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/08/05 03:51:47 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/08/05 03:51:48 DEBUG : TestRWCacheUpdate(0xc0000bd0c0): >_readAt: n=20, err=EOF 2025/08/05 03:51:48 DEBUG : TestRWCacheUpdate(0xc0000bd0c0): close: 2025/08/05 03:51:48 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-08-05 02:52:45 +0000 UTC 2025/08/05 03:51:48 DEBUG : TestRWCacheUpdate(0xc0000bd0c0): >close: err= 2025/08/05 03:51:48 DEBUG : Re-reading directory (163.647636ms old) 2025/08/05 03:51:48 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/08/05 03:51:48 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/08/05 03:51:48 DEBUG : forgetting directory cache 2025/08/05 03:51:48 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate(0xc00055f640): _readAt: size=512, off=0 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate(0xc00055f640): openPending: 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-08-05 02:53:45 +0000 UTC,944a242d910e2bbacae0d0db8c64490a" against cached fingerprint "20,2025-08-05 02:52:45 +0000 UTC,8558f20bbf1a5777c862752b37ad49be" 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2025-08-05 02:53:45 +0000 UTC,944a242d910e2bbacae0d0db8c64490a" != cached fingerprint "20,2025-08-05 02:52:45 +0000 UTC,8558f20bbf1a5777c862752b37ad49be") 2025/08/05 03:51:50 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/08/05 03:51:50 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate(0xc00055f640): >openPending: err= 2025/08/05 03:51:50 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate(0xc00055f640): >_readAt: n=20, err=EOF 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate(0xc00055f640): close: 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-08-05 02:53:45 +0000 UTC 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate(0xc00055f640): >close: err= 2025/08/05 03:51:50 DEBUG : Re-reading directory (179.907737ms old) 2025/08/05 03:51:50 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/08/05 03:51:50 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/08/05 03:51:50 DEBUG : forgetting directory cache 2025/08/05 03:51:51 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate(0xc00055f780): _readAt: size=512, off=0 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate(0xc00055f780): openPending: 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-08-05 02:54:45 +0000 UTC,4e063366550d230fc1fb85c19dbb494d" against cached fingerprint "20,2025-08-05 02:53:45 +0000 UTC,944a242d910e2bbacae0d0db8c64490a" 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2025-08-05 02:54:45 +0000 UTC,4e063366550d230fc1fb85c19dbb494d" != cached fingerprint "20,2025-08-05 02:53:45 +0000 UTC,944a242d910e2bbacae0d0db8c64490a") 2025/08/05 03:51:52 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/08/05 03:51:52 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate(0xc00055f780): >openPending: err= 2025/08/05 03:51:52 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate(0xc00055f780): >_readAt: n=20, err=EOF 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate(0xc00055f780): close: 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-08-05 02:54:45 +0000 UTC 2025/08/05 03:51:52 DEBUG : TestRWCacheUpdate(0xc00055f780): >close: err= 2025/08/05 03:51:52 DEBUG : Re-reading directory (179.335082ms old) 2025/08/05 03:51:53 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/08/05 03:51:53 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/08/05 03:51:53 DEBUG : forgetting directory cache 2025/08/05 03:51:53 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/08/05 03:51:54 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate(0xc000a02680): _readAt: size=512, off=0 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate(0xc000a02680): openPending: 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-08-05 02:55:45 +0000 UTC,a8c7956852282e88c22a986150cb5a68" against cached fingerprint "20,2025-08-05 02:54:45 +0000 UTC,4e063366550d230fc1fb85c19dbb494d" 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2025-08-05 02:55:45 +0000 UTC,a8c7956852282e88c22a986150cb5a68" != cached fingerprint "20,2025-08-05 02:54:45 +0000 UTC,4e063366550d230fc1fb85c19dbb494d") 2025/08/05 03:51:55 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/08/05 03:51:55 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate(0xc000a02680): >openPending: err= 2025/08/05 03:51:55 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate(0xc000a02680): >_readAt: n=20, err=EOF 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate(0xc000a02680): close: 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-08-05 02:55:45 +0000 UTC 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate(0xc000a02680): >close: err= 2025/08/05 03:51:55 DEBUG : Re-reading directory (172.857522ms old) 2025/08/05 03:51:55 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/08/05 03:51:55 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/08/05 03:51:55 DEBUG : forgetting directory cache 2025/08/05 03:51:56 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 fstest.go:140: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:140 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:146 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:192 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:335 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:347 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:744 Error: Should be true Test: TestRWCacheUpdate Messages: OpenDrive root 'rclone-test-lobayad1weva'/TestRWCacheUpdate: md5 hash incorrect - expecting "25074c7237d5f7774d304950950b2d66" got "a8c7956852282e88c22a986150cb5a68" fstest.go:124: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:124 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:129 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:148 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:192 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:335 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:347 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:744 Error: Should be true Test: TestRWCacheUpdate Messages: TestRWCacheUpdate: Modification time difference too big |1m0.45476856s| > 1s (want 2025-08-05 02:56:45.45476856 +0000 UTC m=-3275.133762983 vs got 2025-08-05 02:55:45 +0000 UTC) (precision 1s) 2025/08/05 03:51:57 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/08/05 03:51:57 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/08/05 03:51:57 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/08/05 03:51:57 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/08/05 03:51:57 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/08/05 03:51:57 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/08/05 03:51:57 DEBUG : TestRWCacheUpdate(0xc000a02340): _readAt: size=512, off=0 2025/08/05 03:51:57 DEBUG : TestRWCacheUpdate(0xc000a02340): openPending: 2025/08/05 03:51:57 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-08-05 02:55:45 +0000 UTC,a8c7956852282e88c22a986150cb5a68" against cached fingerprint "20,2025-08-05 02:55:45 +0000 UTC,a8c7956852282e88c22a986150cb5a68" 2025/08/05 03:51:57 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 (not needed as size correct) 2025/08/05 03:51:57 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/08/05 03:51:57 DEBUG : TestRWCacheUpdate(0xc000a02340): >openPending: err= 2025/08/05 03:51:57 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2025/08/05 03:51:57 DEBUG : TestRWCacheUpdate(0xc000a02340): >_readAt: n=20, err=EOF 2025/08/05 03:51:57 DEBUG : TestRWCacheUpdate(0xc000a02340): close: 2025/08/05 03:51:57 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-08-05 02:55:45 +0000 UTC 2025/08/05 03:51:57 DEBUG : TestRWCacheUpdate(0xc000a02340): >close: err= read_write_test.go:752: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:752 Error: Not equal: expected: "TestRWCacheUpdate004" actual : "TestRWCacheUpdate003" Diff: --- Expected +++ Actual @@ -1 +1 @@ -TestRWCacheUpdate004 +TestRWCacheUpdate003 Test: TestRWCacheUpdate 2025/08/05 03:51:57 DEBUG : WaitForWriters: timeout=30s 2025/08/05 03:51:57 DEBUG : Looking for writers 2025/08/05 03:51:57 DEBUG : TestRWCacheUpdate: reading active writers 2025/08/05 03:51:57 DEBUG : >WaitForWriters: 2025/08/05 03:51:57 DEBUG : OpenDrive root 'rclone-test-lobayad1weva': vfs cache: cleaner exiting 2025/08/05 03:51:57 DEBUG : forgetting directory cache 2025/08/05 03:51:57 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" --- FAIL: TestRWCacheUpdate (12.63s) === RUN TestFileReadAtZeroLength run.go:180: Remote "OpenDrive root 'rclone-test-lobayad1weva'", Local "Local file system at /tmp/rclone1024775688", Modify Window "1s" 2025/08/05 03:51:58 INFO : OpenDrive root 'rclone-test-lobayad1weva': poll-interval is not supported by this remote 2025/08/05 03:51:58 NOTICE: OpenDrive root 'rclone-test-lobayad1weva': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/08/05 03:51:58 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/08/05 03:51:58 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/08/05 03:51:58 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/08/05 03:51:58 DEBUG : file1: >Open: fd=file1 (w), err= 2025/08/05 03:51:58 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/08/05 03:51:58 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/08/05 03:51:58 DEBUG : OpenDrive root 'rclone-test-lobayad1weva': File to upload is small (0 bytes), uploading instead of streaming 2025/08/05 03:51:59 DEBUG : file1: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/08/05 03:51:59 DEBUG : file1: Size and md5 of src and dst objects identical 2025/08/05 03:51:59 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/08/05 03:51:59 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/08/05 03:51:59 DEBUG : file1: Open: flags=O_RDONLY 2025/08/05 03:51:59 DEBUG : file1: >Open: fd=file1 (r), err= 2025/08/05 03:51:59 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/08/05 03:51:59 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2025/08/05 03:51:59 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2025/08/05 03:51:59 DEBUG : WaitForWriters: timeout=30s 2025/08/05 03:51:59 DEBUG : Looking for writers 2025/08/05 03:51:59 DEBUG : file1: reading active writers 2025/08/05 03:51:59 DEBUG : >WaitForWriters: --- PASS: TestFileReadAtZeroLength (2.38s) FAIL 2025/08/05 03:52:00 DEBUG : OpenDrive root 'rclone-test-lobayad1weva': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirRemoveName|TestFileReadAtZeroLength|TestRWCacheUpdate)$|^TestDirReadDirAll$/^Virtual$'" - Finished ERROR in 40.300062656s (try 2/5): exit status 1: Failed [TestDirCreate TestRWCacheUpdate]