"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirRemoveName|TestRWFileHandleSeek|TestWriteFileHandleFlush|TestWriteFileHandleWriteAt)$|^TestDirReadDirAll$/^Virtual$'" - Starting (try 2/5) 2025/08/02 01:08:48 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-xabuciq3texa" 2025/08/02 01:08:48 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/08/02 01:08:49 DEBUG : Starting OpenDrive session with ID: 4a668e75d59a31b2a05fb264a9479b18e80a402c7d4d431d3f3435697153918a 2025/08/02 01:08:49 DEBUG : Creating backend with remote "/tmp/rclone2121773755" === RUN TestDirReadDirAll run.go:180: Remote "OpenDrive root 'rclone-test-xabuciq3texa'", Local "Local file system at /tmp/rclone2121773755", Modify Window "1s" 2025/08/02 01:08:49 INFO : OpenDrive root 'rclone-test-xabuciq3texa': poll-interval is not supported by this remote 2025/08/02 01:08:49 NOTICE: OpenDrive root 'rclone-test-xabuciq3texa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/08/02 01:08:51 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/08/02 01:08:52 DEBUG : dir/file2: Uploading chunk 0, size=15, remain=0 2025/08/02 01:08:54 DEBUG : dir/subdir/file3: Uploading chunk 0, size=16, remain=0 === RUN TestDirReadDirAll/Virtual 2025/08/02 01:08:56 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2025/08/02 01:08:56 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2025/08/02 01:08:56 DEBUG : dir: Added virtual directory entry vDel: "file2" 2025/08/02 01:08:56 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2025/08/02 01:08:57 DEBUG : dir/virtualFile: Uploading chunk 0, size=20, remain=0 2025/08/02 01:08:59 DEBUG : dir/virtualDir/testFile: Uploading chunk 0, size=17, remain=0 2025/08/02 01:09:01 DEBUG : dir: invalidating directory cache 2025/08/02 01:09:01 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2025/08/02 01:09:01 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2025/08/02 01:09:01 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2025/08/02 01:09:01 DEBUG : dir/file1: Reset virtual modtime 2025/08/02 01:09:01 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2025/08/02 01:09:01 DEBUG : dir/virtualFile: Reset virtual modtime 2025/08/02 01:09:01 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2025/08/02 01:09:01 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2025/08/02 01:09:01 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/08/02 01:09:01 DEBUG : dir: invalidating directory cache 2025/08/02 01:09:01 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2025/08/02 01:09:01 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/08/02 01:09:01 DEBUG : dir/virtualFile: Reset virtual modtime 2025/08/02 01:09:01 DEBUG : forgetting directory cache 2025/08/02 01:09:01 DEBUG : dir: forgetting directory cache 2025/08/02 01:09:01 DEBUG : dir/virtualDir: forgetting directory cache 2025/08/02 01:09:01 DEBUG : WaitForWriters: timeout=30s 2025/08/02 01:09:01 DEBUG : dir/virtualDir: Looking for writers 2025/08/02 01:09:01 DEBUG : dir: Looking for writers 2025/08/02 01:09:01 DEBUG : file1: reading active writers 2025/08/02 01:09:01 DEBUG : virtualFile2: reading active writers 2025/08/02 01:09:01 DEBUG : virtualFile: reading active writers 2025/08/02 01:09:01 DEBUG : virtualDir: reading active writers 2025/08/02 01:09:01 DEBUG : Looking for writers 2025/08/02 01:09:01 DEBUG : dir: reading active writers 2025/08/02 01:09:01 DEBUG : >WaitForWriters: --- PASS: TestDirReadDirAll (13.83s) --- PASS: TestDirReadDirAll/Virtual (4.69s) === RUN TestDirCreate run.go:180: Remote "OpenDrive root 'rclone-test-xabuciq3texa'", Local "Local file system at /tmp/rclone2121773755", Modify Window "1s" 2025/08/02 01:09:03 INFO : OpenDrive root 'rclone-test-xabuciq3texa': poll-interval is not supported by this remote 2025/08/02 01:09:03 NOTICE: OpenDrive root 'rclone-test-xabuciq3texa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/08/02 01:09:04 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/02 01:09:06 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2025/08/02 01:09:06 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/08/02 01:09:06 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2025/08/02 01:09:06 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/08/02 01:09:06 DEBUG : OpenDrive root 'rclone-test-xabuciq3texa': File to upload is small (5 bytes), uploading instead of streaming 2025/08/02 01:09:06 DEBUG : dir/potato: Uploading chunk 0, size=5, remain=0 2025/08/02 01:09:07 DEBUG : dir/potato: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/08/02 01:09:07 DEBUG : dir/potato: Size and md5 of src and dst objects identical 2025/08/02 01:09:07 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/08/02 01:09:07 DEBUG : WaitForWriters: timeout=30s 2025/08/02 01:09:07 DEBUG : dir: Looking for writers 2025/08/02 01:09:07 DEBUG : file1: reading active writers 2025/08/02 01:09:07 DEBUG : potato: reading active writers 2025/08/02 01:09:07 DEBUG : Looking for writers 2025/08/02 01:09:07 DEBUG : dir: reading active writers 2025/08/02 01:09:07 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (5.59s) === RUN TestDirRemoveName run.go:180: Remote "OpenDrive root 'rclone-test-xabuciq3texa'", Local "Local file system at /tmp/rclone2121773755", Modify Window "1s" 2025/08/02 01:09:09 INFO : OpenDrive root 'rclone-test-xabuciq3texa': poll-interval is not supported by this remote 2025/08/02 01:09:09 NOTICE: OpenDrive root 'rclone-test-xabuciq3texa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/08/02 01:09:10 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/08/02 01:09:11 DEBUG : dir/file1: Remove: 2025/08/02 01:09:12 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/08/02 01:09:12 DEBUG : dir/file1: >Remove: err= dir_test.go:504: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:504 Error: Should be true Test: TestDirRemoveName 2025/08/02 01:09:12 DEBUG : WaitForWriters: timeout=30s 2025/08/02 01:09:12 DEBUG : dir: Looking for writers 2025/08/02 01:09:12 DEBUG : Looking for writers 2025/08/02 01:09:12 DEBUG : dir: reading active writers 2025/08/02 01:09:12 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (4.15s) === RUN TestRWFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-xabuciq3texa'", Local "Local file system at /tmp/rclone2121773755", Modify Window "1s" 2025/08/02 01:09:13 INFO : OpenDrive root 'rclone-test-xabuciq3texa': poll-interval is not supported by this remote 2025/08/02 01:09:13 DEBUG : OpenDrive root 'rclone-test-xabuciq3texa': vfs cache: root is "/home/rclone/.cache/rclone" 2025/08/02 01:09:13 DEBUG : OpenDrive root 'rclone-test-xabuciq3texa': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-xabuciq3texa" 2025/08/02 01:09:13 DEBUG : OpenDrive root 'rclone-test-xabuciq3texa': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-xabuciq3texa" 2025/08/02 01:09:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-xabuciq3texa" 2025/08/02 01:09:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/02 01:09:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-xabuciq3texa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-xabuciq3texa" 2025/08/02 01:09:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-xabuciq3texa" 2025/08/02 01:09:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/02 01:09:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-xabuciq3texa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-xabuciq3texa" 2025/08/02 01:09:13 INFO : OpenDrive root 'rclone-test-xabuciq3texa': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/08/02 01:09:14 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/08/02 01:09:15 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/08/02 01:09:15 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/08/02 01:09:15 DEBUG : dir/file1: newRWFileHandle: 2025/08/02 01:09:15 DEBUG : dir/file1: >newRWFileHandle: err= 2025/08/02 01:09:15 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/08/02 01:09:15 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/08/02 01:09:15 DEBUG : dir/file1(0xc0002e0ac0): _readAt: size=1, off=0 2025/08/02 01:09:15 DEBUG : dir/file1(0xc0002e0ac0): openPending: 2025/08/02 01:09:15 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/08/02 01:09:15 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/08/02 01:09:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/08/02 01:09:15 DEBUG : dir/file1(0xc0002e0ac0): >openPending: err= 2025/08/02 01:09:15 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/08/02 01:09:15 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/08/02 01:09:15 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/08/02 01:09:15 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/08/02 01:09:16 DEBUG : dir/file1(0xc0002e0ac0): >_readAt: n=1, err= 2025/08/02 01:09:16 DEBUG : dir/file1(0xc0002e0ac0): _readAt: size=1, off=5 2025/08/02 01:09:16 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/08/02 01:09:16 DEBUG : dir/file1(0xc0002e0ac0): >_readAt: n=1, err= 2025/08/02 01:09:16 DEBUG : dir/file1(0xc0002e0ac0): _readAt: size=1, off=3 2025/08/02 01:09:16 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2025/08/02 01:09:16 DEBUG : dir/file1(0xc0002e0ac0): >_readAt: n=1, err= 2025/08/02 01:09:16 DEBUG : dir/file1(0xc0002e0ac0): _readAt: size=1, off=13 2025/08/02 01:09:16 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2025/08/02 01:09:16 DEBUG : dir/file1(0xc0002e0ac0): >_readAt: n=1, err= 2025/08/02 01:09:16 DEBUG : dir/file1(0xc0002e0ac0): _readAt: size=16, off=100 2025/08/02 01:09:16 DEBUG : dir/file1(0xc0002e0ac0): >_readAt: n=0, err=EOF 2025/08/02 01:09:16 DEBUG : dir/file1(0xc0002e0ac0): close: 2025/08/02 01:09:16 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/08/02 01:09:16 DEBUG : dir/file1(0xc0002e0ac0): >close: err= 2025/08/02 01:09:16 DEBUG : WaitForWriters: timeout=30s 2025/08/02 01:09:16 DEBUG : dir: Looking for writers 2025/08/02 01:09:16 DEBUG : file1: reading active writers 2025/08/02 01:09:16 DEBUG : Looking for writers 2025/08/02 01:09:16 DEBUG : dir: reading active writers 2025/08/02 01:09:16 DEBUG : >WaitForWriters: 2025/08/02 01:09:16 DEBUG : OpenDrive root 'rclone-test-xabuciq3texa': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSeek (4.05s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "OpenDrive root 'rclone-test-xabuciq3texa'", Local "Local file system at /tmp/rclone2121773755", Modify Window "1s" 2025/08/02 01:09:17 INFO : OpenDrive root 'rclone-test-xabuciq3texa': poll-interval is not supported by this remote 2025/08/02 01:09:17 NOTICE: OpenDrive root 'rclone-test-xabuciq3texa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/08/02 01:09:17 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/08/02 01:09:17 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/08/02 01:09:17 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/08/02 01:09:17 DEBUG : file1: >Open: fd=file1 (w), err= 2025/08/02 01:09:17 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/08/02 01:09:17 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/08/02 01:09:17 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/08/02 01:09:18 DEBUG : file1: aborting in-sequence write wait, off=100 2025/08/02 01:09:18 DEBUG : file1: failed to wait for in-sequence write to 100 2025/08/02 01:09:18 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/08/02 01:09:18 DEBUG : OpenDrive root 'rclone-test-xabuciq3texa': File to upload is small (11 bytes), uploading instead of streaming 2025/08/02 01:09:19 DEBUG : file1: Uploading chunk 0, size=11, remain=0 2025/08/02 01:09:20 DEBUG : file1: md5 = 5eb63bbbe01eeed093cb22bb8f5acdc3 OK 2025/08/02 01:09:20 DEBUG : file1: Size and md5 of src and dst objects identical 2025/08/02 01:09:20 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/08/02 01:09:20 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor 2025/08/02 01:09:20 DEBUG : WaitForWriters: timeout=30s 2025/08/02 01:09:20 DEBUG : Looking for writers 2025/08/02 01:09:20 DEBUG : file1: reading active writers 2025/08/02 01:09:20 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleWriteAt (3.48s) === RUN TestWriteFileHandleFlush run.go:180: Remote "OpenDrive root 'rclone-test-xabuciq3texa'", Local "Local file system at /tmp/rclone2121773755", Modify Window "1s" 2025/08/02 01:09:20 INFO : OpenDrive root 'rclone-test-xabuciq3texa': poll-interval is not supported by this remote 2025/08/02 01:09:20 NOTICE: OpenDrive root 'rclone-test-xabuciq3texa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/08/02 01:09:20 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/08/02 01:09:20 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/08/02 01:09:20 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/08/02 01:09:20 DEBUG : file1: >Open: fd=file1 (w), err= 2025/08/02 01:09:20 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/08/02 01:09:20 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/08/02 01:09:20 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/08/02 01:09:20 DEBUG : OpenDrive root 'rclone-test-xabuciq3texa': File to upload is small (5 bytes), uploading instead of streaming 2025/08/02 01:09:21 DEBUG : file1: Uploading chunk 0, size=5, remain=0 2025/08/02 01:09:22 DEBUG : file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/08/02 01:09:22 DEBUG : file1: Size and md5 of src and dst objects identical 2025/08/02 01:09:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/08/02 01:09:22 DEBUG : file1: WriteFileHandle.Flush nothing to do 2025/08/02 01:09:22 DEBUG : WaitForWriters: timeout=30s 2025/08/02 01:09:22 DEBUG : Looking for writers 2025/08/02 01:09:22 DEBUG : file1: reading active writers 2025/08/02 01:09:22 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleFlush (2.34s) FAIL 2025/08/02 01:09:23 DEBUG : OpenDrive root 'rclone-test-xabuciq3texa': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirRemoveName|TestRWFileHandleSeek|TestWriteFileHandleFlush|TestWriteFileHandleWriteAt)$|^TestDirReadDirAll$/^Virtual$'" - Finished ERROR in 34.78858582s (try 2/5): exit status 1: Failed [TestDirCreate TestDirRemoveName]