"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirMkdir|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestFileOpen)$|^TestFileSetModTime$/^cache=off,open=true,write=true$'" - Starting (try 2/5) 2025/06/24 06:20:11 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-wugajux3xire" 2025/06/24 06:20:11 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/06/24 06:20:11 DEBUG : Starting OpenDrive session with ID: ff82e54840d768a24d0aca86787993eb707f28125b9ec7b05e0da80d97acc2e5 2025/06/24 06:20:11 DEBUG : Creating backend with remote "/tmp/rclone54794673" === RUN TestDirCreate run.go:180: Remote "OpenDrive root 'rclone-test-wugajux3xire'", Local "Local file system at /tmp/rclone54794673", Modify Window "1s" 2025/06/24 06:20:11 INFO : OpenDrive root 'rclone-test-wugajux3xire': poll-interval is not supported by this remote 2025/06/24 06:20:11 NOTICE: OpenDrive root 'rclone-test-wugajux3xire': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/24 06:20:13 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/06/24 06:20:15 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2025/06/24 06:20:15 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/06/24 06:20:15 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2025/06/24 06:20:15 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/06/24 06:20:15 DEBUG : OpenDrive root 'rclone-test-wugajux3xire': File to upload is small (5 bytes), uploading instead of streaming 2025/06/24 06:20:15 DEBUG : dir/potato: Uploading chunk 0, size=5, remain=0 2025/06/24 06:20:17 DEBUG : dir/potato: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/06/24 06:20:17 DEBUG : dir/potato: Size and md5 of src and dst objects identical 2025/06/24 06:20:17 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/06/24 06:20:17 DEBUG : WaitForWriters: timeout=30s 2025/06/24 06:20:17 DEBUG : dir: Looking for writers 2025/06/24 06:20:17 DEBUG : file1: reading active writers 2025/06/24 06:20:17 DEBUG : potato: reading active writers 2025/06/24 06:20:17 DEBUG : Looking for writers 2025/06/24 06:20:17 DEBUG : dir: reading active writers 2025/06/24 06:20:17 DEBUG : >WaitForWriters: --- PASS: TestDirCreate (6.27s) === RUN TestDirMkdir run.go:180: Remote "OpenDrive root 'rclone-test-wugajux3xire'", Local "Local file system at /tmp/rclone54794673", Modify Window "1s" 2025/06/24 06:20:18 INFO : OpenDrive root 'rclone-test-wugajux3xire': poll-interval is not supported by this remote 2025/06/24 06:20:18 NOTICE: OpenDrive root 'rclone-test-wugajux3xire': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/24 06:20:19 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/06/24 06:20:21 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/06/24 06:20:22 DEBUG : WaitForWriters: timeout=30s 2025/06/24 06:20:22 DEBUG : dir/sub: Looking for writers 2025/06/24 06:20:22 DEBUG : dir: Looking for writers 2025/06/24 06:20:22 DEBUG : file1: reading active writers 2025/06/24 06:20:22 DEBUG : sub: reading active writers 2025/06/24 06:20:22 DEBUG : Looking for writers 2025/06/24 06:20:22 DEBUG : dir: reading active writers 2025/06/24 06:20:22 DEBUG : >WaitForWriters: --- PASS: TestDirMkdir (5.74s) === RUN TestDirRemove run.go:180: Remote "OpenDrive root 'rclone-test-wugajux3xire'", Local "Local file system at /tmp/rclone54794673", Modify Window "1s" 2025/06/24 06:20:23 INFO : OpenDrive root 'rclone-test-wugajux3xire': poll-interval is not supported by this remote 2025/06/24 06:20:23 NOTICE: OpenDrive root 'rclone-test-wugajux3xire': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/24 06:20:25 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/06/24 06:20:26 ERROR : dir/: Dir.Remove not empty 2025/06/24 06:20:26 DEBUG : dir/file1: Remove: 2025/06/24 06:20:26 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/06/24 06:20:26 DEBUG : dir/file1: >Remove: err= 2025/06/24 06:20:27 DEBUG : Added virtual directory entry vDel: "dir" 2025/06/24 06:20:27 DEBUG : WaitForWriters: timeout=30s 2025/06/24 06:20:27 DEBUG : Looking for writers 2025/06/24 06:20:27 DEBUG : >WaitForWriters: --- PASS: TestDirRemove (3.72s) === RUN TestDirRemoveAll run.go:180: Remote "OpenDrive root 'rclone-test-wugajux3xire'", Local "Local file system at /tmp/rclone54794673", Modify Window "1s" 2025/06/24 06:20:27 INFO : OpenDrive root 'rclone-test-wugajux3xire': poll-interval is not supported by this remote 2025/06/24 06:20:27 NOTICE: OpenDrive root 'rclone-test-wugajux3xire': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/24 06:20:28 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/06/24 06:20:30 DEBUG : dir/file1: Remove: 2025/06/24 06:20:30 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/06/24 06:20:30 DEBUG : dir/file1: >Remove: err= 2025/06/24 06:20:30 ERROR : dir/: Dir.Remove failed to remove directory: folder not empty dir_test.go:481: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:481 Error: Received unexpected error: folder not empty Test: TestDirRemoveAll 2025/06/24 06:20:30 DEBUG : WaitForWriters: timeout=30s 2025/06/24 06:20:30 DEBUG : dir: Looking for writers 2025/06/24 06:20:30 DEBUG : Looking for writers 2025/06/24 06:20:30 DEBUG : dir: reading active writers 2025/06/24 06:20:30 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveAll (3.98s) === RUN TestDirRemoveName run.go:180: Remote "OpenDrive root 'rclone-test-wugajux3xire'", Local "Local file system at /tmp/rclone54794673", Modify Window "1s" 2025/06/24 06:20:31 INFO : OpenDrive root 'rclone-test-wugajux3xire': poll-interval is not supported by this remote 2025/06/24 06:20:31 NOTICE: OpenDrive root 'rclone-test-wugajux3xire': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/24 06:20:32 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/06/24 06:20:34 DEBUG : dir/file1: Remove: 2025/06/24 06:20:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/06/24 06:20:34 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/06/24 06:20:34 DEBUG : WaitForWriters: timeout=30s 2025/06/24 06:20:34 DEBUG : dir: Looking for writers 2025/06/24 06:20:34 DEBUG : Looking for writers 2025/06/24 06:20:34 DEBUG : dir: reading active writers 2025/06/24 06:20:34 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (4.02s) === RUN TestDirRename run.go:180: Remote "OpenDrive root 'rclone-test-wugajux3xire'", Local "Local file system at /tmp/rclone54794673", Modify Window "1s" 2025/06/24 06:20:35 INFO : OpenDrive root 'rclone-test-wugajux3xire': poll-interval is not supported by this remote 2025/06/24 06:20:35 NOTICE: OpenDrive root 'rclone-test-wugajux3xire': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/24 06:20:36 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/06/24 06:20:39 DEBUG : dir/file3: Uploading chunk 0, size=15, remain=0 2025/06/24 06:20:40 ERROR : dir/not found: Dir.Rename error: file does not exist 2025/06/24 06:20:40 DEBUG : dir2: same parent dir (ODFfOTEzNDk4NV9YbnZXbg) - using folder/rename instead of move_copy 2025/06/24 06:20:41 DEBUG : dir: Updating dir with dir2 0xc0004c8270 2025/06/24 06:20:41 DEBUG : dir: forgetting directory cache 2025/06/24 06:20:41 DEBUG : Added virtual directory entry vDel: "dir" 2025/06/24 06:20:41 DEBUG : Added virtual directory entry vAddDir: "dir2" 2025/06/24 06:20:42 INFO : dir2/file1: Moved (server-side) to: file2 2025/06/24 06:20:42 DEBUG : file2: Updating file with file2 0xc00021d740 2025/06/24 06:20:42 DEBUG : dir2: Added virtual directory entry vDel: "file1" 2025/06/24 06:20:42 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/06/24 06:20:43 INFO : dir2/file3: Deleted 2025/06/24 06:20:43 INFO : file2: Moved (server-side) to: dir2/file3 2025/06/24 06:20:43 DEBUG : dir2/file3: Updating file with dir2/file3 0xc00021d740 2025/06/24 06:20:43 DEBUG : Added virtual directory entry vDel: "file2" 2025/06/24 06:20:43 DEBUG : dir2: Added virtual directory entry vAddFile: "file3" 2025/06/24 06:20:44 DEBUG : Added virtual directory entry vAddDir: "empty directory" 2025/06/24 06:20:44 DEBUG : renamed empty directory: same parent dir (ODFfOTEzNDk4NV9YbnZXbg) - using folder/rename instead of move_copy 2025/06/24 06:20:44 DEBUG : empty directory: Updating dir with renamed empty directory 0xc000635790 2025/06/24 06:20:44 DEBUG : empty directory: forgetting directory cache 2025/06/24 06:20:44 DEBUG : Added virtual directory entry vDel: "empty directory" 2025/06/24 06:20:44 DEBUG : Added virtual directory entry vAddDir: "renamed empty directory" 2025/06/24 06:20:44 DEBUG : dir2: Renaming to "dir3" 2025/06/24 06:20:44 DEBUG : WaitForWriters: timeout=30s 2025/06/24 06:20:44 DEBUG : dir3: Looking for writers 2025/06/24 06:20:44 DEBUG : file3: reading active writers 2025/06/24 06:20:44 DEBUG : renamed empty directory: Looking for writers 2025/06/24 06:20:44 DEBUG : Looking for writers 2025/06/24 06:20:44 DEBUG : dir3: reading active writers 2025/06/24 06:20:44 DEBUG : renamed empty directory: reading active writers 2025/06/24 06:20:44 DEBUG : >WaitForWriters: --- PASS: TestDirRename (10.16s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "OpenDrive root 'rclone-test-wugajux3xire'", Local "Local file system at /tmp/rclone54794673", Modify Window "1s" 2025/06/24 06:20:45 INFO : OpenDrive root 'rclone-test-wugajux3xire': poll-interval is not supported by this remote 2025/06/24 06:20:45 NOTICE: OpenDrive root 'rclone-test-wugajux3xire': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/24 06:20:46 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/06/24 06:20:49 DEBUG : time_test: Uploading chunk 0, size=5, remain=0 2025/06/24 06:20:51 DEBUG : Can set mod time: true 2025/06/24 06:20:51 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/06/24 06:20:51 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/06/24 06:20:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/06/24 06:20:51 DEBUG : OpenDrive root 'rclone-test-wugajux3xire': File to upload is small (5 bytes), uploading instead of streaming 2025/06/24 06:20:51 DEBUG : dir/file1: Uploading chunk 0, size=5, remain=0 2025/06/24 06:20:52 DEBUG : dir/file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/06/24 06:20:52 DEBUG : dir/file1: Size and md5 of src and dst objects identical 2025/06/24 06:20:52 DEBUG : dir/file1: Applied pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC OK 2025/06/24 06:20:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/06/24 06:20:52 DEBUG : WaitForWriters: timeout=30s 2025/06/24 06:20:52 DEBUG : dir: Looking for writers 2025/06/24 06:20:52 DEBUG : file1: reading active writers 2025/06/24 06:20:52 DEBUG : Looking for writers 2025/06/24 06:20:52 DEBUG : dir: reading active writers 2025/06/24 06:20:52 DEBUG : >WaitForWriters: 2025/06/24 06:20:53 DEBUG : WaitForWriters: timeout=30s 2025/06/24 06:20:53 DEBUG : dir: Looking for writers 2025/06/24 06:20:53 DEBUG : file1: reading active writers 2025/06/24 06:20:53 DEBUG : Looking for writers 2025/06/24 06:20:53 DEBUG : dir: reading active writers 2025/06/24 06:20:53 DEBUG : >WaitForWriters: --- PASS: TestFileSetModTime (8.40s) --- PASS: TestFileSetModTime/cache=off,open=true,write=true (8.40s) === RUN TestFileOpen run.go:180: Remote "OpenDrive root 'rclone-test-wugajux3xire'", Local "Local file system at /tmp/rclone54794673", Modify Window "1s" 2025/06/24 06:20:54 INFO : OpenDrive root 'rclone-test-wugajux3xire': poll-interval is not supported by this remote 2025/06/24 06:20:54 NOTICE: OpenDrive root 'rclone-test-wugajux3xire': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/24 06:20:55 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/06/24 06:20:56 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/06/24 06:20:56 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/06/24 06:20:56 DEBUG : dir/file1: Open: flags=O_WRONLY 2025/06/24 06:20:56 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/06/24 06:20:56 DEBUG : dir/file1: Open: flags=O_RDWR 2025/06/24 06:20:56 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/06/24 06:20:56 DEBUG : dir/file1: Open: flags=0x3 2025/06/24 06:20:56 DEBUG : dir/file1: Can't figure out how to open with flags: 0x3 2025/06/24 06:20:56 DEBUG : dir/file1: >Open: fd=, err=permission denied 2025/06/24 06:20:56 DEBUG : WaitForWriters: timeout=30s 2025/06/24 06:20:56 DEBUG : dir: Looking for writers 2025/06/24 06:20:56 DEBUG : file1: reading active writers 2025/06/24 06:20:56 DEBUG : Looking for writers 2025/06/24 06:20:56 DEBUG : dir: reading active writers 2025/06/24 06:20:56 DEBUG : >WaitForWriters: run.go:125: removing dir "dir" failed - try 1/3: folder not empty --- PASS: TestFileOpen (4.89s) FAIL 2025/06/24 06:20:59 DEBUG : OpenDrive root 'rclone-test-wugajux3xire': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirMkdir|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestFileOpen)$|^TestFileSetModTime$/^cache=off,open=true,write=true$'" - Finished ERROR in 48.473792721s (try 2/5): exit status 1: Failed [TestDirRemoveAll TestDirRemoveName]