"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirForgetPath|TestDirHandleReaddirnames|TestDirMethods|TestDirReadDirAll|TestDirRename|TestDirWalk|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestReadFileHandleFlush|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestUnicodeNormalization|TestVFSMkdir|TestVFSMkdirAll)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=true|writes,forceCache=false)$|^TestFileSetModTime$/^(cache=off,open=false,write=false|cache=off,open=true,write=false)$'" - Starting (try 3/5) 2024/11/01 02:20:52 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-kofaqef6buje" 2024/11/01 02:20:52 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/01 02:20:53 DEBUG : Starting OpenDrive session with ID: 5976fb1a919e795a9ff868010ddd1bb23abbefbfba74ca2dc425c82650b3ae64 2024/11/01 02:20:53 DEBUG : Creating backend with remote "/tmp/rclone3932557321" === RUN TestDirHandleReaddirnames run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:20:53 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:20:53 NOTICE: OpenDrive root 'rclone-test-kofaqef6buje': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/01 02:20:55 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/11/01 02:20:57 ERROR : dir: error listing: failed to get folder list: Directory doesn't exist (Error 404) fstest.go:276: Error listing: failed to get folder list: Directory doesn't exist (Error 404) 2024/11/01 02:20:57 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:20:57 DEBUG : : Looking for writers 2024/11/01 02:20:57 DEBUG : >WaitForWriters: run.go:125: removing dir "dir" failed - try 1/3: Directory doesn't exist (Error 404) --- FAIL: TestDirHandleReaddirnames (5.87s) === RUN TestDirMethods run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:20:59 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:20:59 NOTICE: OpenDrive root 'rclone-test-kofaqef6buje': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/01 02:21:00 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/11/01 02:21:02 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:21:02 DEBUG : dir: Looking for writers 2024/11/01 02:21:02 DEBUG : : Looking for writers 2024/11/01 02:21:02 DEBUG : dir: reading active writers 2024/11/01 02:21:02 DEBUG : >WaitForWriters: run.go:125: removing dir "dir" failed - try 1/3: Folder is already deleted (Error 403) run.go:125: removing dir "dir" failed - try 2/3: Folder is already deleted (Error 403) run.go:125: removing dir "dir" failed - try 3/3: Folder is already deleted (Error 403) run.go:128: removing dir "dir" failed: Folder is already deleted (Error 403) fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /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:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestDirMethods Messages: listing wrong, want got dir/file1 (14) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /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:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestDirMethods Messages: Unexpected file "dir/file1" fstest.go:321: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:321 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /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:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Not equal: expected: []string{} actual : []string{"dir"} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) { +([]string) (len=1) { + (string) (len=3) "dir" } Test: TestDirMethods Messages: directories --- FAIL: TestDirMethods (15.51s) === RUN TestDirForgetPath run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:21:15 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:21:15 NOTICE: OpenDrive root 'rclone-test-kofaqef6buje': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/01 02:21:16 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/11/01 02:21:18 DEBUG : : ForgetPath: relativePath="dir/notfound", type=1 2024/11/01 02:21:18 DEBUG : dir: invalidating directory cache 2024/11/01 02:21:18 DEBUG : : >ForgetPath: 2024/11/01 02:21:18 DEBUG : : ForgetPath: relativePath="dir", type=0 2024/11/01 02:21:18 DEBUG : : invalidating directory cache 2024/11/01 02:21:18 DEBUG : dir: forgetting directory cache 2024/11/01 02:21:18 DEBUG : : >ForgetPath: 2024/11/01 02:21:18 DEBUG : : ForgetPath: relativePath="not/in/cache", type=0 2024/11/01 02:21:18 DEBUG : : >ForgetPath: 2024/11/01 02:21:18 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:21:18 DEBUG : dir: Looking for writers 2024/11/01 02:21:18 DEBUG : : Looking for writers 2024/11/01 02:21:18 DEBUG : dir: reading active writers 2024/11/01 02:21:18 DEBUG : >WaitForWriters: --- PASS: TestDirForgetPath (4.34s) === RUN TestDirWalk run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:21:19 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:21:19 NOTICE: OpenDrive root 'rclone-test-kofaqef6buje': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/01 02:21:20 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure 2024/11/01 02:21:32 DEBUG : fil/a/b/c: Uploading chunk 0, size=15, remain=0 fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure 2024/11/01 02:21:41 DEBUG : : forgetting directory cache 2024/11/01 02:21:41 DEBUG : dir: forgetting directory cache 2024/11/01 02:21:42 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:21:42 DEBUG : fil/a/b: Looking for writers 2024/11/01 02:21:42 DEBUG : fil/a: Looking for writers 2024/11/01 02:21:42 DEBUG : b: reading active writers 2024/11/01 02:21:42 DEBUG : fil: Looking for writers 2024/11/01 02:21:42 DEBUG : a: reading active writers 2024/11/01 02:21:42 DEBUG : dir: Looking for writers 2024/11/01 02:21:42 DEBUG : : Looking for writers 2024/11/01 02:21:42 DEBUG : dir: reading active writers 2024/11/01 02:21:42 DEBUG : fil: reading active writers 2024/11/01 02:21:42 DEBUG : >WaitForWriters: --- PASS: TestDirWalk (25.32s) === RUN TestDirReadDirAll run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:21:44 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:21:44 NOTICE: OpenDrive root 'rclone-test-kofaqef6buje': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/01 02:21:46 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/11/01 02:21:47 DEBUG : dir/file2: Uploading chunk 0, size=15, remain=0 2024/11/01 02:21:50 DEBUG : dir/subdir/file3: Uploading chunk 0, size=16, remain=0 === RUN TestDirReadDirAll/Virtual 2024/11/01 02:21:52 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2024/11/01 02:21:52 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2024/11/01 02:21:52 DEBUG : dir: Added virtual directory entry vDel: "file2" 2024/11/01 02:21:52 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2024/11/01 02:21:53 DEBUG : dir/virtualFile: Uploading chunk 0, size=20, remain=0 2024/11/01 02:21:55 DEBUG : dir/virtualDir/testFile: Uploading chunk 0, size=17, remain=0 2024/11/01 02:21:58 DEBUG : dir: invalidating directory cache 2024/11/01 02:21:58 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2024/11/01 02:21:58 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2024/11/01 02:21:58 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2024/11/01 02:21:58 DEBUG : dir/file1: Reset virtual modtime 2024/11/01 02:21:58 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2024/11/01 02:21:58 DEBUG : dir/virtualFile: Reset virtual modtime 2024/11/01 02:21:58 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2024/11/01 02:21:58 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2024/11/01 02:21:58 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/01 02:21:58 DEBUG : dir: invalidating directory cache 2024/11/01 02:21:58 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2024/11/01 02:21:58 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2024/11/01 02:21:58 DEBUG : dir/virtualFile: Reset virtual modtime 2024/11/01 02:21:58 DEBUG : : forgetting directory cache 2024/11/01 02:21:58 DEBUG : dir: forgetting directory cache 2024/11/01 02:21:58 DEBUG : dir/virtualDir: forgetting directory cache 2024/11/01 02:21:58 DEBUG : dir/file1: Reset virtual modtime 2024/11/01 02:21:58 DEBUG : dir/virtualFile: Reset virtual modtime 2024/11/01 02:21:58 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:21:58 DEBUG : dir/virtualDir: Looking for writers 2024/11/01 02:21:58 DEBUG : dir: Looking for writers 2024/11/01 02:21:58 DEBUG : virtualDir: reading active writers 2024/11/01 02:21:58 DEBUG : file1: reading active writers 2024/11/01 02:21:58 DEBUG : virtualFile2: reading active writers 2024/11/01 02:21:58 DEBUG : virtualFile: reading active writers 2024/11/01 02:21:58 DEBUG : : Looking for writers 2024/11/01 02:21:58 DEBUG : dir: reading active writers 2024/11/01 02:21:58 DEBUG : >WaitForWriters: === NAME TestDirReadDirAll fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure --- PASS: TestDirReadDirAll (23.51s) --- PASS: TestDirReadDirAll/Virtual (6.06s) === RUN TestDirRename run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:22:08 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:22:08 NOTICE: OpenDrive root 'rclone-test-kofaqef6buje': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/01 02:22:09 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/11/01 02:22:11 DEBUG : dir/file3: Uploading chunk 0, size=15, remain=0 2024/11/01 02:22:13 ERROR : dir/not found: Dir.Rename error: file does not exist 2024/11/01 02:22:13 DEBUG : dir2: same parent dir (ODFfNjcwMTcyNV9QeFZGTQ) - using folder/rename instead of move_copy 2024/11/01 02:22:13 DEBUG : dir: Updating dir with dir2 0xc00012e0d0 2024/11/01 02:22:13 DEBUG : dir: forgetting directory cache 2024/11/01 02:22:13 DEBUG : : Added virtual directory entry vDel: "dir" 2024/11/01 02:22:13 DEBUG : : Added virtual directory entry vAddDir: "dir2" 2024/11/01 02:22:15 INFO : dir2/file1: Moved (server-side) to: file2 2024/11/01 02:22:15 DEBUG : file2: Updating file with file2 0xc000001d40 2024/11/01 02:22:15 DEBUG : dir2: Added virtual directory entry vDel: "file1" 2024/11/01 02:22:15 DEBUG : : Added virtual directory entry vAddFile: "file2" 2024/11/01 02:22:15 INFO : dir2/file3: Deleted 2024/11/01 02:22:16 INFO : file2: Moved (server-side) to: dir2/file3 2024/11/01 02:22:16 DEBUG : dir2/file3: Updating file with dir2/file3 0xc000001d40 2024/11/01 02:22:16 DEBUG : : Added virtual directory entry vDel: "file2" 2024/11/01 02:22:16 DEBUG : dir2: Added virtual directory entry vAddFile: "file3" 2024/11/01 02:22:17 DEBUG : : Added virtual directory entry vAddDir: "empty directory" 2024/11/01 02:22:17 DEBUG : renamed empty directory: same parent dir (ODFfNjcwMTcyNV9QeFZGTQ) - using folder/rename instead of move_copy 2024/11/01 02:22:17 DEBUG : empty directory: Updating dir with renamed empty directory 0xc000543860 2024/11/01 02:22:17 DEBUG : empty directory: forgetting directory cache 2024/11/01 02:22:17 DEBUG : : Added virtual directory entry vDel: "empty directory" 2024/11/01 02:22:17 DEBUG : : Added virtual directory entry vAddDir: "renamed empty directory" 2024/11/01 02:22:17 DEBUG : dir2: Renaming to "dir3" 2024/11/01 02:22:17 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:22:17 DEBUG : dir3: Looking for writers 2024/11/01 02:22:17 DEBUG : file3: reading active writers 2024/11/01 02:22:17 DEBUG : renamed empty directory: Looking for writers 2024/11/01 02:22:17 DEBUG : : Looking for writers 2024/11/01 02:22:17 DEBUG : dir3: reading active writers 2024/11/01 02:22:17 DEBUG : renamed empty directory: reading active writers 2024/11/01 02:22:17 DEBUG : >WaitForWriters: fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure --- PASS: TestDirRename (18.07s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:22:26 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:22:26 NOTICE: OpenDrive root 'rclone-test-kofaqef6buje': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/01 02:22:27 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/11/01 02:22:30 DEBUG : time_test: Uploading chunk 0, size=5, remain=0 2024/11/01 02:22:31 DEBUG : Can set mod time: true 2024/11/01 02:22:32 DEBUG : dir/file1: Applied pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC OK 2024/11/01 02:22:32 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:22:32 DEBUG : dir: Looking for writers 2024/11/01 02:22:32 DEBUG : file1: reading active writers 2024/11/01 02:22:32 DEBUG : : Looking for writers 2024/11/01 02:22:32 DEBUG : dir: reading active writers 2024/11/01 02:22:32 DEBUG : >WaitForWriters: fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:22:41 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:22:41 NOTICE: OpenDrive root 'rclone-test-kofaqef6buje': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/01 02:22:42 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/11/01 02:22:44 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/11/01 02:22:44 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/11/01 02:22:44 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:22:44 DEBUG : OpenDrive root 'rclone-test-kofaqef6buje': File to upload is small (0 bytes), uploading instead of streaming 2024/11/01 02:22:50 DEBUG : dir/file1: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/11/01 02:22:50 DEBUG : dir/file1: Size and md5 of src and dst objects identical 2024/11/01 02:22:51 DEBUG : dir/file1: Applied pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC OK 2024/11/01 02:22:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:22:51 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:22:51 DEBUG : dir: Looking for writers 2024/11/01 02:22:51 DEBUG : file1: reading active writers 2024/11/01 02:22:51 DEBUG : : Looking for writers 2024/11/01 02:22:51 DEBUG : dir: reading active writers 2024/11/01 02:22:51 DEBUG : >WaitForWriters: 2024/11/01 02:22:52 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:22:52 DEBUG : dir: Looking for writers 2024/11/01 02:22:52 DEBUG : file1: reading active writers 2024/11/01 02:22:52 DEBUG : : Looking for writers 2024/11/01 02:22:52 DEBUG : dir: reading active writers 2024/11/01 02:22:52 DEBUG : >WaitForWriters: fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 7s just to make sure --- PASS: TestFileSetModTime (38.41s) --- PASS: TestFileSetModTime/cache=off,open=false,write=false (14.94s) --- PASS: TestFileSetModTime/cache=off,open=true,write=false (23.48s) === RUN TestFileRename === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:23:04 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:23:04 NOTICE: OpenDrive root 'rclone-test-kofaqef6buje': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/01 02:23:04 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/01 02:23:04 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:23:04 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:23:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:23:04 DEBUG : Config file has changed externally - reloading 2024/11/01 02:23:04 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:23:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:23:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:23:04 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:23:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:23:04 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/01 02:23:06 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/11/01 02:23:08 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2024/11/01 02:23:08 DEBUG : dir/file1: newRWFileHandle: 2024/11/01 02:23:08 DEBUG : dir/file1(0xc0008fe780): openPending: 2024/11/01 02:23:08 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2024/11/01 02:23:08 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/11/01 02:23:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:23:08 DEBUG : dir/file1(0xc0008fe780): >openPending: err= 2024/11/01 02:23:08 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/11/01 02:23:08 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/01 02:23:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:23:08 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/01 02:23:08 DEBUG : dir/file1(0xc0008fe780): _writeAt: size=14, off=0 2024/11/01 02:23:08 DEBUG : dir/file1(0xc0008fe780): >_writeAt: n=14, err= 2024/11/01 02:23:08 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/11/01 02:23:08 DEBUG : dir/file1(0xc0008fe780): close: 2024/11/01 02:23:08 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/11/01 02:23:08 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/11/01 02:23:08 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/11/01 02:23:08 DEBUG : dir/file1(0xc0008fe780): >close: err= 2024/11/01 02:23:08 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:23:08 DEBUG : dir: Looking for writers 2024/11/01 02:23:08 DEBUG : file1: reading active writers 2024/11/01 02:23:08 DEBUG : : Looking for writers 2024/11/01 02:23:08 DEBUG : dir: reading active writers 2024/11/01 02:23:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/11/01 02:23:08 DEBUG : dir: Looking for writers 2024/11/01 02:23:08 DEBUG : file1: reading active writers 2024/11/01 02:23:08 DEBUG : : Looking for writers 2024/11/01 02:23:08 DEBUG : dir: reading active writers 2024/11/01 02:23:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/11/01 02:23:08 DEBUG : dir: Looking for writers 2024/11/01 02:23:08 DEBUG : file1: reading active writers 2024/11/01 02:23:08 DEBUG : : Looking for writers 2024/11/01 02:23:08 DEBUG : dir: reading active writers 2024/11/01 02:23:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/11/01 02:23:08 DEBUG : dir: Looking for writers 2024/11/01 02:23:08 DEBUG : file1: reading active writers 2024/11/01 02:23:08 DEBUG : : Looking for writers 2024/11/01 02:23:08 DEBUG : dir: reading active writers 2024/11/01 02:23:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/11/01 02:23:09 DEBUG : dir/file1: vfs cache: starting upload 2024/11/01 02:23:09 DEBUG : dir: Looking for writers 2024/11/01 02:23:09 DEBUG : file1: reading active writers 2024/11/01 02:23:09 DEBUG : : Looking for writers 2024/11/01 02:23:09 DEBUG : dir: reading active writers 2024/11/01 02:23:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/11/01 02:23:09 DEBUG : dir: Looking for writers 2024/11/01 02:23:09 DEBUG : file1: reading active writers 2024/11/01 02:23:09 DEBUG : : Looking for writers 2024/11/01 02:23:09 DEBUG : dir: reading active writers 2024/11/01 02:23:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/11/01 02:23:09 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/11/01 02:23:09 DEBUG : dir: Looking for writers 2024/11/01 02:23:09 DEBUG : file1: reading active writers 2024/11/01 02:23:09 DEBUG : : Looking for writers 2024/11/01 02:23:09 DEBUG : dir: reading active writers 2024/11/01 02:23:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/11/01 02:23:10 DEBUG : dir: Looking for writers 2024/11/01 02:23:10 DEBUG : file1: reading active writers 2024/11/01 02:23:10 DEBUG : : Looking for writers 2024/11/01 02:23:10 DEBUG : dir: reading active writers 2024/11/01 02:23:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:10 DEBUG : dir/file1: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2024/11/01 02:23:10 INFO : dir/file1: Copied (replaced existing) 2024/11/01 02:23:10 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/11/01 02:23:10 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2024/11/01 02:23:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:23:10 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/11/01 02:23:11 DEBUG : dir: Looking for writers 2024/11/01 02:23:11 DEBUG : file1: reading active writers 2024/11/01 02:23:11 DEBUG : : Looking for writers 2024/11/01 02:23:11 DEBUG : dir: reading active writers 2024/11/01 02:23:11 DEBUG : >WaitForWriters: 2024/11/01 02:23:11 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/01 02:23:11 DEBUG : dir/file1: newRWFileHandle: 2024/11/01 02:23:11 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/01 02:23:11 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/01 02:23:11 DEBUG : dir/file1(0xc0005fe340): _readAt: size=512, off=0 2024/11/01 02:23:11 DEBUG : dir/file1(0xc0005fe340): openPending: 2024/11/01 02:23:11 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" 2024/11/01 02:23:11 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/11/01 02:23:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:23:11 DEBUG : dir/file1(0xc0005fe340): >openPending: err= 2024/11/01 02:23:11 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/11/01 02:23:11 DEBUG : dir/file1(0xc0005fe340): >_readAt: n=14, err=EOF 2024/11/01 02:23:11 DEBUG : dir/file1(0xc0005fe340): close: 2024/11/01 02:23:11 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/11/01 02:23:11 DEBUG : dir/file1(0xc0005fe340): >close: err= 2024/11/01 02:23:12 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/01 02:23:12 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/11/01 02:23:12 DEBUG : newLeaf: Updating file with newLeaf 0xc0002c03c0 2024/11/01 02:23:12 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/01 02:23:12 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 7s just to make sure 2024/11/01 02:23:24 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/11/01 02:23:24 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/11/01 02:23:24 DEBUG : dir/file1: Updating file with dir/file1 0xc0002c03c0 2024/11/01 02:23:24 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/11/01 02:23:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:23:25 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/11/01 02:23:25 DEBUG : dir/file1: newRWFileHandle: 2024/11/01 02:23:25 DEBUG : dir/file1(0xc000918a80): openPending: 2024/11/01 02:23:25 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" 2024/11/01 02:23:25 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") 2024/11/01 02:23:25 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2024/11/01 02:23:25 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2024/11/01 02:23:25 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/11/01 02:23:25 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:23:25 DEBUG : dir/file1(0xc000918a80): >openPending: err= 2024/11/01 02:23:25 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/11/01 02:23:25 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/01 02:23:25 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/01 02:23:25 DEBUG : dir/file1(0xc000918a80): _writeAt: size=25, off=0 2024/11/01 02:23:25 DEBUG : dir/file1(0xc000918a80): >_writeAt: n=25, err= 2024/11/01 02:23:25 INFO : newLeaf: Deleted 2024/11/01 02:23:25 ERROR : dir/file1: Couldn't move: failed to get fileinfo: File is deleted (Error 404) 2024/11/01 02:23:25 ERROR : newLeaf: File.Rename error: failed to get fileinfo: File is deleted (Error 404) 2024/11/01 02:23:25 ERROR : dir/file1: Dir.Rename error: failed to get fileinfo: File is deleted (Error 404) file_test.go:378: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:378 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: failed to get fileinfo: File is deleted (Error 404) Test: TestFileRename/minimal,forceCache=true 2024/11/01 02:23:25 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:23:25 DEBUG : dir: Looking for writers 2024/11/01 02:23:25 DEBUG : file1: reading active writers 2024/11/01 02:23:25 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:25 DEBUG : : Looking for writers 2024/11/01 02:23:25 DEBUG : dir: reading active writers 2024/11/01 02:23:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2024/11/01 02:23:25 DEBUG : dir: Looking for writers 2024/11/01 02:23:25 DEBUG : file1: reading active writers 2024/11/01 02:23:25 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:25 DEBUG : : Looking for writers 2024/11/01 02:23:25 DEBUG : dir: reading active writers 2024/11/01 02:23:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2024/11/01 02:23:25 DEBUG : dir: Looking for writers 2024/11/01 02:23:25 DEBUG : file1: reading active writers 2024/11/01 02:23:25 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:25 DEBUG : : Looking for writers 2024/11/01 02:23:25 DEBUG : dir: reading active writers 2024/11/01 02:23:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2024/11/01 02:23:25 DEBUG : dir: Looking for writers 2024/11/01 02:23:25 DEBUG : file1: reading active writers 2024/11/01 02:23:25 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:25 DEBUG : : Looking for writers 2024/11/01 02:23:25 DEBUG : dir: reading active writers 2024/11/01 02:23:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2024/11/01 02:23:25 DEBUG : dir: Looking for writers 2024/11/01 02:23:25 DEBUG : file1: reading active writers 2024/11/01 02:23:25 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:25 DEBUG : : Looking for writers 2024/11/01 02:23:25 DEBUG : dir: reading active writers 2024/11/01 02:23:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2024/11/01 02:23:25 DEBUG : dir: Looking for writers 2024/11/01 02:23:25 DEBUG : file1: reading active writers 2024/11/01 02:23:25 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:25 DEBUG : : Looking for writers 2024/11/01 02:23:25 DEBUG : dir: reading active writers 2024/11/01 02:23:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2024/11/01 02:23:26 DEBUG : dir: Looking for writers 2024/11/01 02:23:26 DEBUG : file1: reading active writers 2024/11/01 02:23:26 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:26 DEBUG : : Looking for writers 2024/11/01 02:23:26 DEBUG : dir: reading active writers 2024/11/01 02:23:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2024/11/01 02:23:26 DEBUG : dir: Looking for writers 2024/11/01 02:23:26 DEBUG : file1: reading active writers 2024/11/01 02:23:26 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:26 DEBUG : : Looking for writers 2024/11/01 02:23:26 DEBUG : dir: reading active writers 2024/11/01 02:23:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:27 DEBUG : dir: Looking for writers 2024/11/01 02:23:27 DEBUG : file1: reading active writers 2024/11/01 02:23:27 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:27 DEBUG : : Looking for writers 2024/11/01 02:23:27 DEBUG : dir: reading active writers 2024/11/01 02:23:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:28 DEBUG : dir: Looking for writers 2024/11/01 02:23:28 DEBUG : file1: reading active writers 2024/11/01 02:23:28 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:28 DEBUG : : Looking for writers 2024/11/01 02:23:28 DEBUG : dir: reading active writers 2024/11/01 02:23:28 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:29 DEBUG : dir: Looking for writers 2024/11/01 02:23:29 DEBUG : file1: reading active writers 2024/11/01 02:23:29 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:29 DEBUG : : Looking for writers 2024/11/01 02:23:29 DEBUG : dir: reading active writers 2024/11/01 02:23:29 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:30 DEBUG : dir: Looking for writers 2024/11/01 02:23:30 DEBUG : file1: reading active writers 2024/11/01 02:23:30 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:30 DEBUG : : Looking for writers 2024/11/01 02:23:30 DEBUG : dir: reading active writers 2024/11/01 02:23:30 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:31 DEBUG : dir: Looking for writers 2024/11/01 02:23:31 DEBUG : file1: reading active writers 2024/11/01 02:23:31 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:31 DEBUG : : Looking for writers 2024/11/01 02:23:31 DEBUG : dir: reading active writers 2024/11/01 02:23:31 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:32 DEBUG : dir: Looking for writers 2024/11/01 02:23:32 DEBUG : file1: reading active writers 2024/11/01 02:23:32 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:32 DEBUG : : Looking for writers 2024/11/01 02:23:32 DEBUG : dir: reading active writers 2024/11/01 02:23:32 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:33 DEBUG : dir: Looking for writers 2024/11/01 02:23:33 DEBUG : file1: reading active writers 2024/11/01 02:23:33 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:33 DEBUG : : Looking for writers 2024/11/01 02:23:33 DEBUG : dir: reading active writers 2024/11/01 02:23:33 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:34 DEBUG : dir: Looking for writers 2024/11/01 02:23:34 DEBUG : file1: reading active writers 2024/11/01 02:23:34 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:34 DEBUG : : Looking for writers 2024/11/01 02:23:34 DEBUG : dir: reading active writers 2024/11/01 02:23:34 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:35 DEBUG : dir: Looking for writers 2024/11/01 02:23:35 DEBUG : file1: reading active writers 2024/11/01 02:23:35 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:35 DEBUG : : Looking for writers 2024/11/01 02:23:35 DEBUG : dir: reading active writers 2024/11/01 02:23:35 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:36 DEBUG : dir: Looking for writers 2024/11/01 02:23:36 DEBUG : file1: reading active writers 2024/11/01 02:23:36 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:36 DEBUG : : Looking for writers 2024/11/01 02:23:36 DEBUG : dir: reading active writers 2024/11/01 02:23:36 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:37 DEBUG : dir: Looking for writers 2024/11/01 02:23:37 DEBUG : file1: reading active writers 2024/11/01 02:23:37 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:37 DEBUG : : Looking for writers 2024/11/01 02:23:37 DEBUG : dir: reading active writers 2024/11/01 02:23:37 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:38 DEBUG : dir: Looking for writers 2024/11/01 02:23:38 DEBUG : file1: reading active writers 2024/11/01 02:23:38 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:38 DEBUG : : Looking for writers 2024/11/01 02:23:38 DEBUG : dir: reading active writers 2024/11/01 02:23:38 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:39 DEBUG : dir: Looking for writers 2024/11/01 02:23:39 DEBUG : file1: reading active writers 2024/11/01 02:23:39 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:39 DEBUG : : Looking for writers 2024/11/01 02:23:39 DEBUG : dir: reading active writers 2024/11/01 02:23:39 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:40 DEBUG : dir: Looking for writers 2024/11/01 02:23:40 DEBUG : file1: reading active writers 2024/11/01 02:23:40 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:40 DEBUG : : Looking for writers 2024/11/01 02:23:40 DEBUG : dir: reading active writers 2024/11/01 02:23:40 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:41 DEBUG : dir: Looking for writers 2024/11/01 02:23:41 DEBUG : file1: reading active writers 2024/11/01 02:23:41 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:41 DEBUG : : Looking for writers 2024/11/01 02:23:41 DEBUG : dir: reading active writers 2024/11/01 02:23:41 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:42 DEBUG : dir: Looking for writers 2024/11/01 02:23:42 DEBUG : file1: reading active writers 2024/11/01 02:23:42 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:42 DEBUG : : Looking for writers 2024/11/01 02:23:42 DEBUG : dir: reading active writers 2024/11/01 02:23:42 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:43 DEBUG : dir: Looking for writers 2024/11/01 02:23:43 DEBUG : file1: reading active writers 2024/11/01 02:23:43 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:43 DEBUG : : Looking for writers 2024/11/01 02:23:43 DEBUG : dir: reading active writers 2024/11/01 02:23:43 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:44 DEBUG : dir: Looking for writers 2024/11/01 02:23:44 DEBUG : file1: reading active writers 2024/11/01 02:23:44 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:44 DEBUG : : Looking for writers 2024/11/01 02:23:44 DEBUG : dir: reading active writers 2024/11/01 02:23:44 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:45 DEBUG : dir: Looking for writers 2024/11/01 02:23:45 DEBUG : file1: reading active writers 2024/11/01 02:23:45 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:45 DEBUG : : Looking for writers 2024/11/01 02:23:45 DEBUG : dir: reading active writers 2024/11/01 02:23:45 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:46 DEBUG : dir: Looking for writers 2024/11/01 02:23:46 DEBUG : file1: reading active writers 2024/11/01 02:23:46 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:46 DEBUG : : Looking for writers 2024/11/01 02:23:46 DEBUG : dir: reading active writers 2024/11/01 02:23:46 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:47 DEBUG : dir: Looking for writers 2024/11/01 02:23:47 DEBUG : file1: reading active writers 2024/11/01 02:23:47 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:47 DEBUG : : Looking for writers 2024/11/01 02:23:47 DEBUG : dir: reading active writers 2024/11/01 02:23:47 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:48 DEBUG : dir: Looking for writers 2024/11/01 02:23:48 DEBUG : file1: reading active writers 2024/11/01 02:23:48 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:48 DEBUG : : Looking for writers 2024/11/01 02:23:48 DEBUG : dir: reading active writers 2024/11/01 02:23:48 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:49 DEBUG : dir: Looking for writers 2024/11/01 02:23:49 DEBUG : file1: reading active writers 2024/11/01 02:23:49 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:49 DEBUG : : Looking for writers 2024/11/01 02:23:49 DEBUG : dir: reading active writers 2024/11/01 02:23:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:50 DEBUG : dir: Looking for writers 2024/11/01 02:23:50 DEBUG : file1: reading active writers 2024/11/01 02:23:50 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:50 DEBUG : : Looking for writers 2024/11/01 02:23:50 DEBUG : dir: reading active writers 2024/11/01 02:23:50 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:51 DEBUG : dir: Looking for writers 2024/11/01 02:23:51 DEBUG : file1: reading active writers 2024/11/01 02:23:51 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:51 DEBUG : : Looking for writers 2024/11/01 02:23:51 DEBUG : dir: reading active writers 2024/11/01 02:23:51 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:52 DEBUG : dir: Looking for writers 2024/11/01 02:23:52 DEBUG : file1: reading active writers 2024/11/01 02:23:52 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:52 DEBUG : : Looking for writers 2024/11/01 02:23:52 DEBUG : dir: reading active writers 2024/11/01 02:23:52 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:53 DEBUG : dir: Looking for writers 2024/11/01 02:23:53 DEBUG : file1: reading active writers 2024/11/01 02:23:53 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:53 DEBUG : : Looking for writers 2024/11/01 02:23:53 DEBUG : dir: reading active writers 2024/11/01 02:23:53 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:54 DEBUG : dir: Looking for writers 2024/11/01 02:23:54 DEBUG : file1: reading active writers 2024/11/01 02:23:54 DEBUG : newLeaf: active writers 1 2024/11/01 02:23:54 DEBUG : : Looking for writers 2024/11/01 02:23:54 DEBUG : dir: reading active writers 2024/11/01 02:23:54 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:23:55 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "dir/file1": &{c:0xc00016cb40 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000910408 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824643224640} name:dir/file1 opens:1 downloaders:0xc0002bbe40 o:0xc000470a80 fd:0xc000114320 info:{ModTime:{wall:13961489554205051702 ext:152177047770 loc:0x39d4e20} ATime:{wall:13961489554205051702 ext:152177047770 loc:0x39d4e20} Size:25 Rs:[{Pos:0 Size:25}] Fingerprint:14,0001-01-01 00:00:00 +0000 UTC, Dirty:true} writeBackID:1 pendingAccesses:0 modified:true beingReset:false}, } 2024/11/01 02:23:55 DEBUG : >WaitForWriters: 2024/11/01 02:23:55 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:23:56 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:23:56 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/01 02:23:56 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:23:56 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:23:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:23:56 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:23:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:23:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:23:56 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:23:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:23:56 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/01 02:23:58 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/11/01 02:24:00 ERROR : dir/: Dir.Stat error: failed to get folder list: Directory doesn't exist (Error 404) file_test.go:31: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:31 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: failed to get folder list: Directory doesn't exist (Error 404) Test: TestFileRename/writes,forceCache=false 2024/11/01 02:24:00 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:24:00 DEBUG : dir: Looking for writers 2024/11/01 02:24:00 DEBUG : : Looking for writers 2024/11/01 02:24:00 DEBUG : dir: reading active writers 2024/11/01 02:24:00 DEBUG : >WaitForWriters: 2024/11/01 02:24:00 DEBUG : vfs cache: cleaner exiting run.go:125: removing dir "dir" failed - try 1/3: Folder is already deleted (Error 403) run.go:125: removing dir "dir" failed - try 2/3: Folder is already deleted (Error 403) run.go:125: removing dir "dir" failed - try 3/3: Folder is already deleted (Error 403) run.go:128: removing dir "dir" failed: Folder is already deleted (Error 403) fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /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:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 /usr/local/go/src/runtime/panic.go:626 /usr/local/go/src/testing/testing.go:1005 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:31 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want got dir/file1 (14) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /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:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 /usr/local/go/src/runtime/panic.go:626 /usr/local/go/src/testing/testing.go:1005 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:31 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "dir/file1" fstest.go:321: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:321 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /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:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 /usr/local/go/src/runtime/panic.go:626 /usr/local/go/src/testing/testing.go:1005 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:31 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Not equal: expected: []string{} actual : []string{"dir"} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) { +([]string) (len=1) { + (string) (len=3) "dir" } Test: TestFileRename/writes,forceCache=false Messages: directories === RUN TestFileRename/full,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:24:12 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:24:12 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/01 02:24:12 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:24:12 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:24:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:24:12 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:24:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:24:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:24:12 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:24:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:24:12 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/01 02:24:13 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/11/01 02:24:15 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:24:15 DEBUG : dir: Looking for writers 2024/11/01 02:24:15 DEBUG : file1: reading active writers 2024/11/01 02:24:15 DEBUG : : Looking for writers 2024/11/01 02:24:15 DEBUG : dir: reading active writers 2024/11/01 02:24:15 DEBUG : >WaitForWriters: 2024/11/01 02:24:15 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/01 02:24:15 DEBUG : dir/file1: newRWFileHandle: 2024/11/01 02:24:15 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/01 02:24:15 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/01 02:24:15 DEBUG : dir/file1(0xc0005b62c0): _readAt: size=512, off=0 2024/11/01 02:24:15 DEBUG : dir/file1(0xc0005b62c0): openPending: 2024/11/01 02:24:15 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2024/11/01 02:24:15 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/11/01 02:24:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:24:15 DEBUG : dir/file1(0xc0005b62c0): >openPending: err= 2024/11/01 02:24:15 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2024/11/01 02:24:15 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/01 02:24:15 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/01 02:24:15 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:24:16 DEBUG : dir/file1(0xc0005b62c0): >_readAt: n=14, err=EOF 2024/11/01 02:24:16 DEBUG : dir/file1(0xc0005b62c0): close: 2024/11/01 02:24:16 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/11/01 02:24:16 DEBUG : dir/file1(0xc0005b62c0): >close: err= 2024/11/01 02:24:17 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/01 02:24:17 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/11/01 02:24:17 DEBUG : newLeaf: Updating file with newLeaf 0xc0002c06c0 2024/11/01 02:24:17 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/01 02:24:17 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure 2024/11/01 02:24:25 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/11/01 02:24:25 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/11/01 02:24:25 DEBUG : dir/file1: Updating file with dir/file1 0xc0002c06c0 2024/11/01 02:24:25 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/11/01 02:24:25 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure 2024/11/01 02:24:33 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/11/01 02:24:33 DEBUG : dir/file1: newRWFileHandle: 2024/11/01 02:24:33 DEBUG : dir/file1(0xc0008fe780): openPending: 2024/11/01 02:24:33 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" 2024/11/01 02:24:33 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") 2024/11/01 02:24:33 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2024/11/01 02:24:33 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2024/11/01 02:24:33 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/11/01 02:24:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:24:33 DEBUG : dir/file1(0xc0008fe780): >openPending: err= 2024/11/01 02:24:33 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/11/01 02:24:33 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/01 02:24:33 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/01 02:24:33 DEBUG : dir/file1(0xc0008fe780): _writeAt: size=25, off=0 2024/11/01 02:24:33 DEBUG : dir/file1(0xc0008fe780): >_writeAt: n=25, err= 2024/11/01 02:24:34 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/01 02:24:34 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/11/01 02:24:34 DEBUG : newLeaf: Updating file with newLeaf 0xc0002c06c0 2024/11/01 02:24:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/01 02:24:34 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/01 02:24:34 DEBUG : newLeaf(0xc0008fe780): close: 2024/11/01 02:24:34 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/11/01 02:24:34 DEBUG : newLeaf: vfs cache: setting modification time to 2024-11-01 02:24:33.896272338 +0000 UTC m=+220.977372533 2024/11/01 02:24:34 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/11/01 02:24:34 DEBUG : newLeaf(0xc0008fe780): >close: err= 2024/11/01 02:24:34 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:24:34 DEBUG : dir: Looking for writers 2024/11/01 02:24:34 DEBUG : : Looking for writers 2024/11/01 02:24:34 DEBUG : dir: reading active writers 2024/11/01 02:24:34 DEBUG : newLeaf: reading active writers 2024/11/01 02:24:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/11/01 02:24:34 DEBUG : dir: Looking for writers 2024/11/01 02:24:34 DEBUG : : Looking for writers 2024/11/01 02:24:34 DEBUG : dir: reading active writers 2024/11/01 02:24:34 DEBUG : newLeaf: reading active writers 2024/11/01 02:24:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/11/01 02:24:34 DEBUG : dir: Looking for writers 2024/11/01 02:24:34 DEBUG : : Looking for writers 2024/11/01 02:24:34 DEBUG : dir: reading active writers 2024/11/01 02:24:34 DEBUG : newLeaf: reading active writers 2024/11/01 02:24:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/11/01 02:24:34 DEBUG : dir: Looking for writers 2024/11/01 02:24:34 DEBUG : : Looking for writers 2024/11/01 02:24:34 DEBUG : dir: reading active writers 2024/11/01 02:24:34 DEBUG : newLeaf: reading active writers 2024/11/01 02:24:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/11/01 02:24:34 DEBUG : newLeaf: vfs cache: starting upload 2024/11/01 02:24:34 DEBUG : dir: Looking for writers 2024/11/01 02:24:34 DEBUG : : Looking for writers 2024/11/01 02:24:34 DEBUG : dir: reading active writers 2024/11/01 02:24:34 DEBUG : newLeaf: reading active writers 2024/11/01 02:24:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/11/01 02:24:34 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2024/11/01 02:24:34 DEBUG : dir: Looking for writers 2024/11/01 02:24:34 DEBUG : : Looking for writers 2024/11/01 02:24:34 DEBUG : newLeaf: reading active writers 2024/11/01 02:24:34 DEBUG : dir: reading active writers 2024/11/01 02:24:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/11/01 02:24:35 DEBUG : dir: Looking for writers 2024/11/01 02:24:35 DEBUG : : Looking for writers 2024/11/01 02:24:35 DEBUG : dir: reading active writers 2024/11/01 02:24:35 DEBUG : newLeaf: reading active writers 2024/11/01 02:24:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/11/01 02:24:35 DEBUG : dir: Looking for writers 2024/11/01 02:24:35 DEBUG : : Looking for writers 2024/11/01 02:24:35 DEBUG : dir: reading active writers 2024/11/01 02:24:35 DEBUG : newLeaf: reading active writers 2024/11/01 02:24:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:24:35 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2024/11/01 02:24:35 INFO : newLeaf: Copied (replaced existing) 2024/11/01 02:24:35 DEBUG : newLeaf: vfs cache: fingerprint now "25,2024-11-01 02:24:33 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2024/11/01 02:24:35 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/11/01 02:24:35 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/01 02:24:35 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/11/01 02:24:36 DEBUG : dir: Looking for writers 2024/11/01 02:24:36 DEBUG : : Looking for writers 2024/11/01 02:24:36 DEBUG : newLeaf: reading active writers 2024/11/01 02:24:36 DEBUG : dir: reading active writers 2024/11/01 02:24:36 DEBUG : >WaitForWriters: 2024/11/01 02:24:37 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:24:37 DEBUG : dir: Looking for writers 2024/11/01 02:24:37 DEBUG : : Looking for writers 2024/11/01 02:24:37 DEBUG : dir: reading active writers 2024/11/01 02:24:37 DEBUG : newLeaf: reading active writers 2024/11/01 02:24:37 DEBUG : >WaitForWriters: 2024/11/01 02:24:37 DEBUG : vfs cache: cleaner exiting --- FAIL: TestFileRename (93.50s) --- FAIL: TestFileRename/minimal,forceCache=true (51.93s) --- FAIL: TestFileRename/writes,forceCache=false (16.10s) --- PASS: TestFileRename/full,forceCache=false (25.47s) === RUN TestReadFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:24:38 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:24:38 NOTICE: OpenDrive root 'rclone-test-kofaqef6buje': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/01 02:24:39 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/11/01 02:24:41 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/01 02:24:42 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/01 02:24:42 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/11/01 02:24:42 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/11/01 02:24:42 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:24:42 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2024/11/01 02:24:42 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2024/11/01 02:24:42 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2024/11/01 02:24:42 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2024/11/01 02:24:42 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2024/11/01 02:24:42 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2024/11/01 02:24:42 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2024/11/01 02:24:42 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2024/11/01 02:24:42 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2024/11/01 02:24:42 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2024/11/01 02:24:42 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2024/11/01 02:24:42 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2024/11/01 02:24:42 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2024/11/01 02:24:42 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2024/11/01 02:24:42 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2024/11/01 02:24:42 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2024/11/01 02:24:42 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2024/11/01 02:24:42 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2024/11/01 02:24:42 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2024/11/01 02:24:42 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2024/11/01 02:24:42 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2024/11/01 02:24:42 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2024/11/01 02:24:42 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2024/11/01 02:24:43 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2024/11/01 02:24:43 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2024/11/01 02:24:43 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2024/11/01 02:24:43 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2024/11/01 02:24:43 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2024/11/01 02:24:43 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2024/11/01 02:24:43 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2024/11/01 02:24:43 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2024/11/01 02:24:43 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:24:43 DEBUG : dir: Looking for writers 2024/11/01 02:24:43 DEBUG : file1: reading active writers 2024/11/01 02:24:43 DEBUG : : Looking for writers 2024/11/01 02:24:43 DEBUG : dir: reading active writers 2024/11/01 02:24:43 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (6.48s) === RUN TestReadFileHandleFlush run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:24:44 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:24:44 NOTICE: OpenDrive root 'rclone-test-kofaqef6buje': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/01 02:24:46 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/11/01 02:24:47 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/01 02:24:48 DEBUG : dir/file1: >OpenFile: fd=, err=file does not exist read_test.go:22: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:22 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:182 Error: Received unexpected error: file does not exist Test: TestReadFileHandleFlush 2024/11/01 02:24:48 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:24:48 DEBUG : dir: Looking for writers 2024/11/01 02:24:48 DEBUG : : Looking for writers 2024/11/01 02:24:48 DEBUG : dir: reading active writers 2024/11/01 02:24:48 DEBUG : >WaitForWriters: run.go:125: removing dir "dir" failed - try 1/3: Folder is already deleted (Error 403) run.go:125: removing dir "dir" failed - try 2/3: Folder is already deleted (Error 403) run.go:125: removing dir "dir" failed - try 3/3: Folder is already deleted (Error 403) run.go:128: removing dir "dir" failed: Folder is already deleted (Error 403) fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /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:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 /usr/local/go/src/runtime/panic.go:626 /usr/local/go/src/testing/testing.go:1005 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:22 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:182 Error: Should be true Test: TestReadFileHandleFlush Messages: listing wrong, want got dir/file1 (16) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /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:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 /usr/local/go/src/runtime/panic.go:626 /usr/local/go/src/testing/testing.go:1005 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:22 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:182 Error: Should be true Test: TestReadFileHandleFlush Messages: Unexpected file "dir/file1" fstest.go:321: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:321 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /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:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 /usr/local/go/src/runtime/panic.go:626 /usr/local/go/src/testing/testing.go:1005 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:22 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:182 Error: Not equal: expected: []string{} actual : []string{"dir"} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) { +([]string) (len=1) { + (string) (len=3) "dir" } Test: TestReadFileHandleFlush Messages: directories --- FAIL: TestReadFileHandleFlush (16.10s) === RUN TestReadFileHandleRelease run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:25:01 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:25:01 NOTICE: OpenDrive root 'rclone-test-kofaqef6buje': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/01 02:25:01 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/11/01 02:25:03 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/01 02:25:03 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/01 02:25:03 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/11/01 02:25:03 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/11/01 02:25:03 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:25:03 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2024/11/01 02:25:04 DEBUG : dir/file1: ReadFileHandle.Release closing 2024/11/01 02:25:04 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2024/11/01 02:25:04 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:25:04 DEBUG : dir: Looking for writers 2024/11/01 02:25:04 DEBUG : file1: reading active writers 2024/11/01 02:25:04 DEBUG : : Looking for writers 2024/11/01 02:25:04 DEBUG : dir: reading active writers 2024/11/01 02:25:04 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (4.35s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:25:05 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:25:05 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/01 02:25:05 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:05 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:05 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:25:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:05 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:25:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:05 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/01 02:25:06 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure 2024/11/01 02:25:15 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/01 02:25:16 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/01 02:25:16 DEBUG : dir/file1: newRWFileHandle: 2024/11/01 02:25:16 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/01 02:25:16 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/01 02:25:16 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/11/01 02:25:16 DEBUG : dir/file1(0xc0008fe400): _readAt: size=1, off=0 2024/11/01 02:25:16 DEBUG : dir/file1(0xc0008fe400): openPending: 2024/11/01 02:25:16 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/11/01 02:25:16 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/11/01 02:25:16 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:25:16 DEBUG : dir/file1(0xc0008fe400): >openPending: err= 2024/11/01 02:25:16 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2024/11/01 02:25:16 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/01 02:25:16 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/01 02:25:16 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:25:16 DEBUG : dir/file1(0xc0008fe400): >_readAt: n=1, err= 2024/11/01 02:25:16 DEBUG : dir/file1(0xc0008fe400): _readAt: size=256, off=1 2024/11/01 02:25:16 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2024/11/01 02:25:16 DEBUG : dir/file1(0xc0008fe400): >_readAt: n=15, err=EOF 2024/11/01 02:25:16 DEBUG : dir/file1(0xc0008fe400): _readAt: size=16, off=16 2024/11/01 02:25:16 DEBUG : dir/file1(0xc0008fe400): >_readAt: n=0, err=EOF 2024/11/01 02:25:16 DEBUG : dir/file1(0xc0008fe400): close: 2024/11/01 02:25:16 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/11/01 02:25:16 DEBUG : dir/file1(0xc0008fe400): >close: err= 2024/11/01 02:25:16 DEBUG : dir/file1(0xc0008fe400): close: 2024/11/01 02:25:16 DEBUG : dir/file1(0xc0008fe400): >close: err=file already closed 2024/11/01 02:25:16 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:25:16 DEBUG : dir: Looking for writers 2024/11/01 02:25:16 DEBUG : file1: reading active writers 2024/11/01 02:25:16 DEBUG : : Looking for writers 2024/11/01 02:25:16 DEBUG : dir: reading active writers 2024/11/01 02:25:16 DEBUG : >WaitForWriters: 2024/11/01 02:25:16 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (12.81s) === RUN TestRWFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:25:18 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:25:18 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/01 02:25:18 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:18 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:18 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:25:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:18 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:25:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:18 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/01 02:25:19 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure 2024/11/01 02:25:28 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/01 02:25:29 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/01 02:25:29 DEBUG : dir/file1: newRWFileHandle: 2024/11/01 02:25:29 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/01 02:25:29 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/01 02:25:29 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/11/01 02:25:29 DEBUG : dir/file1(0xc000918c80): _readAt: size=1, off=0 2024/11/01 02:25:29 DEBUG : dir/file1(0xc000918c80): openPending: 2024/11/01 02:25:29 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/11/01 02:25:29 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/11/01 02:25:29 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:25:29 DEBUG : dir/file1(0xc000918c80): >openPending: err= 2024/11/01 02:25:29 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2024/11/01 02:25:29 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/01 02:25:29 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/01 02:25:29 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:25:29 DEBUG : dir/file1(0xc000918c80): >_readAt: n=1, err= 2024/11/01 02:25:29 DEBUG : dir/file1(0xc000918c80): _readAt: size=1, off=5 2024/11/01 02:25:29 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2024/11/01 02:25:29 DEBUG : dir/file1(0xc000918c80): >_readAt: n=1, err= 2024/11/01 02:25:29 DEBUG : dir/file1(0xc000918c80): _readAt: size=1, off=3 2024/11/01 02:25:29 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2024/11/01 02:25:29 DEBUG : dir/file1(0xc000918c80): >_readAt: n=1, err= 2024/11/01 02:25:29 DEBUG : dir/file1(0xc000918c80): _readAt: size=1, off=13 2024/11/01 02:25:29 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2024/11/01 02:25:29 DEBUG : dir/file1(0xc000918c80): >_readAt: n=1, err= 2024/11/01 02:25:29 DEBUG : dir/file1(0xc000918c80): _readAt: size=16, off=100 2024/11/01 02:25:29 DEBUG : dir/file1(0xc000918c80): >_readAt: n=0, err=EOF 2024/11/01 02:25:29 DEBUG : dir/file1(0xc000918c80): close: 2024/11/01 02:25:29 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/11/01 02:25:29 DEBUG : dir/file1(0xc000918c80): >close: err= 2024/11/01 02:25:29 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:25:29 DEBUG : dir: Looking for writers 2024/11/01 02:25:29 DEBUG : file1: reading active writers 2024/11/01 02:25:29 DEBUG : : Looking for writers 2024/11/01 02:25:29 DEBUG : dir: reading active writers 2024/11/01 02:25:29 DEBUG : >WaitForWriters: 2024/11/01 02:25:29 DEBUG : vfs cache: cleaner exiting run.go:125: removing dir "dir" failed - try 1/3: folder not empty fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure --- PASS: TestRWFileHandleSeek (21.70s) === RUN TestRWFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:25:39 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:25:39 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/01 02:25:39 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:39 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:39 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:25:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:39 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:25:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:39 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/01 02:25:41 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/11/01 02:25:42 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/01 02:25:42 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/01 02:25:42 DEBUG : dir/file1: newRWFileHandle: 2024/11/01 02:25:42 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/01 02:25:42 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/01 02:25:42 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/11/01 02:25:42 DEBUG : dir/file1(0xc0005fe140): _readAt: size=1, off=0 2024/11/01 02:25:42 DEBUG : dir/file1(0xc0005fe140): openPending: 2024/11/01 02:25:42 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/11/01 02:25:42 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/11/01 02:25:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:25:42 DEBUG : dir/file1(0xc0005fe140): >openPending: err= 2024/11/01 02:25:42 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2024/11/01 02:25:42 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/01 02:25:42 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/01 02:25:42 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:25:43 DEBUG : dir/file1(0xc0005fe140): >_readAt: n=1, err= 2024/11/01 02:25:43 DEBUG : dir/file1(0xc0005fe140): _readAt: size=1, off=5 2024/11/01 02:25:43 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2024/11/01 02:25:43 DEBUG : dir/file1(0xc0005fe140): >_readAt: n=1, err= 2024/11/01 02:25:43 DEBUG : dir/file1(0xc0005fe140): _readAt: size=1, off=1 2024/11/01 02:25:43 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2024/11/01 02:25:43 DEBUG : dir/file1(0xc0005fe140): >_readAt: n=1, err= 2024/11/01 02:25:43 DEBUG : dir/file1(0xc0005fe140): _readAt: size=6, off=10 2024/11/01 02:25:43 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2024/11/01 02:25:43 DEBUG : dir/file1(0xc0005fe140): >_readAt: n=6, err= 2024/11/01 02:25:43 DEBUG : dir/file1(0xc0005fe140): _readAt: size=256, off=10 2024/11/01 02:25:43 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2024/11/01 02:25:43 DEBUG : dir/file1(0xc0005fe140): >_readAt: n=6, err=EOF 2024/11/01 02:25:43 DEBUG : dir/file1(0xc0005fe140): _readAt: size=256, off=100 2024/11/01 02:25:43 DEBUG : dir/file1(0xc0005fe140): >_readAt: n=0, err=EOF 2024/11/01 02:25:43 DEBUG : dir/file1(0xc0005fe140): close: 2024/11/01 02:25:43 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/11/01 02:25:43 DEBUG : dir/file1(0xc0005fe140): >close: err= 2024/11/01 02:25:43 DEBUG : dir/file1(0xc0005fe140): _readAt: size=256, off=100 2024/11/01 02:25:43 DEBUG : dir/file1(0xc0005fe140): >_readAt: n=0, err=file already closed 2024/11/01 02:25:43 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:25:43 DEBUG : dir: Looking for writers 2024/11/01 02:25:43 DEBUG : file1: reading active writers 2024/11/01 02:25:43 DEBUG : : Looking for writers 2024/11/01 02:25:43 DEBUG : dir: reading active writers 2024/11/01 02:25:43 DEBUG : >WaitForWriters: 2024/11/01 02:25:43 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (4.93s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:25:44 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:25:44 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/01 02:25:44 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:44 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:44 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:25:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:44 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:25:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:44 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/01 02:25:46 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/11/01 02:25:48 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/01 02:25:48 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/01 02:25:48 DEBUG : dir/file1: newRWFileHandle: 2024/11/01 02:25:48 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/01 02:25:48 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/01 02:25:48 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/11/01 02:25:48 DEBUG : dir/file1(0xc000918880): RWFileHandle.Flush 2024/11/01 02:25:48 DEBUG : dir/file1(0xc000918880): _readAt: size=256, off=0 2024/11/01 02:25:48 DEBUG : dir/file1(0xc000918880): openPending: 2024/11/01 02:25:48 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/11/01 02:25:48 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/11/01 02:25:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:25:48 DEBUG : dir/file1(0xc000918880): >openPending: err= 2024/11/01 02:25:48 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2024/11/01 02:25:48 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/01 02:25:48 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/01 02:25:48 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:25:49 DEBUG : dir/file1(0xc000918880): >_readAt: n=16, err=EOF 2024/11/01 02:25:49 DEBUG : dir/file1(0xc000918880): RWFileHandle.Flush 2024/11/01 02:25:49 DEBUG : dir/file1(0xc000918880): RWFileHandle.Flush 2024/11/01 02:25:49 DEBUG : dir/file1(0xc000918880): close: 2024/11/01 02:25:49 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/11/01 02:25:49 DEBUG : dir/file1(0xc000918880): >close: err= 2024/11/01 02:25:49 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:25:49 DEBUG : dir: Looking for writers 2024/11/01 02:25:49 DEBUG : file1: reading active writers 2024/11/01 02:25:49 DEBUG : : Looking for writers 2024/11/01 02:25:49 DEBUG : dir: reading active writers 2024/11/01 02:25:49 DEBUG : >WaitForWriters: 2024/11/01 02:25:49 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (5.86s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:25:50 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:25:50 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/01 02:25:50 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:50 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:50 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:25:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:50 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:25:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:25:50 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/01 02:25:51 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/11/01 02:25:53 ERROR : dir: error listing: failed to get folder list: Directory doesn't exist (Error 404) fstest.go:276: Error listing: failed to get folder list: Directory doesn't exist (Error 404) 2024/11/01 02:25:53 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:25:53 DEBUG : : Looking for writers 2024/11/01 02:25:53 DEBUG : >WaitForWriters: 2024/11/01 02:25:53 DEBUG : vfs cache: cleaner exiting run.go:125: removing dir "dir" failed - try 1/3: Folder is already deleted (Error 403) run.go:125: removing dir "dir" failed - try 2/3: Folder is already deleted (Error 403) run.go:125: removing dir "dir" failed - try 3/3: Folder is already deleted (Error 403) run.go:128: removing dir "dir" failed: Folder is already deleted (Error 403) fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /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:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 /usr/local/go/src/runtime/panic.go:626 /usr/local/go/src/testing/testing.go:1005 /usr/local/go/src/testing/testing.go:1089 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:276 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /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:40 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:244 Error: Should be true Test: TestRWFileHandleReleaseRead Messages: listing wrong, want got dir/file1 (16) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /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:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 /usr/local/go/src/runtime/panic.go:626 /usr/local/go/src/testing/testing.go:1005 /usr/local/go/src/testing/testing.go:1089 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:276 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /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:40 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:244 Error: Should be true Test: TestRWFileHandleReleaseRead Messages: Unexpected file "dir/file1" fstest.go:321: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:321 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /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:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 /usr/local/go/src/runtime/panic.go:626 /usr/local/go/src/testing/testing.go:1005 /usr/local/go/src/testing/testing.go:1089 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:276 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /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:40 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:244 Error: Not equal: expected: []string{} actual : []string{"dir"} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) { +([]string) (len=1) { + (string) (len=3) "dir" } Test: TestRWFileHandleReleaseRead Messages: directories --- FAIL: TestRWFileHandleReleaseRead (14.92s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:26:05 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:26:05 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/01 02:26:05 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:05 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:05 DEBUG : Config file has changed externally - reloading 2024/11/01 02:26:05 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:26:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:05 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:26:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:05 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/01 02:26:06 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/11/01 02:26:08 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_TRUNC, perm=-rwxrwxrwx 2024/11/01 02:26:08 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/11/01 02:26:08 DEBUG : dir/file1: newRWFileHandle: 2024/11/01 02:26:08 DEBUG : dir/file1(0xc0008ff200): openPending: 2024/11/01 02:26:08 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/11/01 02:26:08 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/11/01 02:26:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:26:08 DEBUG : dir/file1(0xc0008ff200): >openPending: err= 2024/11/01 02:26:08 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/11/01 02:26:08 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/01 02:26:08 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/01 02:26:08 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/11/01 02:26:08 DEBUG : dir/file1(0xc0008ff200): _writeAt: size=5, off=0 2024/11/01 02:26:08 DEBUG : dir/file1(0xc0008ff200): >_writeAt: n=5, err= 2024/11/01 02:26:08 DEBUG : dir/file1(0xc0008ff200): close: 2024/11/01 02:26:08 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2024/11/01 02:26:08 DEBUG : dir/file1: vfs cache: setting modification time to 2024-11-01 02:26:08.947431576 +0000 UTC m=+316.028531772 2024/11/01 02:26:08 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/11/01 02:26:08 DEBUG : dir/file1(0xc0008ff200): >close: err= 2024/11/01 02:26:08 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:26:08 DEBUG : dir: Looking for writers 2024/11/01 02:26:08 DEBUG : file1: reading active writers 2024/11/01 02:26:08 DEBUG : : Looking for writers 2024/11/01 02:26:08 DEBUG : dir: reading active writers 2024/11/01 02:26:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/11/01 02:26:08 DEBUG : dir: Looking for writers 2024/11/01 02:26:08 DEBUG : file1: reading active writers 2024/11/01 02:26:08 DEBUG : : Looking for writers 2024/11/01 02:26:08 DEBUG : dir: reading active writers 2024/11/01 02:26:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/11/01 02:26:08 DEBUG : dir: Looking for writers 2024/11/01 02:26:08 DEBUG : file1: reading active writers 2024/11/01 02:26:08 DEBUG : : Looking for writers 2024/11/01 02:26:08 DEBUG : dir: reading active writers 2024/11/01 02:26:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/11/01 02:26:09 DEBUG : dir: Looking for writers 2024/11/01 02:26:09 DEBUG : file1: reading active writers 2024/11/01 02:26:09 DEBUG : : Looking for writers 2024/11/01 02:26:09 DEBUG : dir: reading active writers 2024/11/01 02:26:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/11/01 02:26:09 DEBUG : dir/file1: vfs cache: starting upload 2024/11/01 02:26:09 DEBUG : dir: Looking for writers 2024/11/01 02:26:09 DEBUG : file1: reading active writers 2024/11/01 02:26:09 DEBUG : : Looking for writers 2024/11/01 02:26:09 DEBUG : dir: reading active writers 2024/11/01 02:26:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/11/01 02:26:09 DEBUG : dir: Looking for writers 2024/11/01 02:26:09 DEBUG : file1: reading active writers 2024/11/01 02:26:09 DEBUG : : Looking for writers 2024/11/01 02:26:09 DEBUG : dir: reading active writers 2024/11/01 02:26:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/11/01 02:26:09 DEBUG : dir/file1: Uploading chunk 0, size=5, remain=0 2024/11/01 02:26:09 DEBUG : dir: Looking for writers 2024/11/01 02:26:09 DEBUG : file1: reading active writers 2024/11/01 02:26:09 DEBUG : : Looking for writers 2024/11/01 02:26:09 DEBUG : dir: reading active writers 2024/11/01 02:26:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/11/01 02:26:10 DEBUG : dir: Looking for writers 2024/11/01 02:26:10 DEBUG : file1: reading active writers 2024/11/01 02:26:10 DEBUG : : Looking for writers 2024/11/01 02:26:10 DEBUG : dir: reading active writers 2024/11/01 02:26:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:26:10 DEBUG : dir/file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2024/11/01 02:26:10 INFO : dir/file1: Copied (replaced existing) 2024/11/01 02:26:10 DEBUG : dir/file1: vfs cache: fingerprint now "5,2024-11-01 02:26:08 +0000 UTC,5d41402abc4b2a76b9719d911017c592" 2024/11/01 02:26:10 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/11/01 02:26:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:26:10 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/11/01 02:26:11 DEBUG : dir: Looking for writers 2024/11/01 02:26:11 DEBUG : file1: reading active writers 2024/11/01 02:26:11 DEBUG : : Looking for writers 2024/11/01 02:26:11 DEBUG : dir: reading active writers 2024/11/01 02:26:11 DEBUG : >WaitForWriters: 2024/11/01 02:26:11 DEBUG : vfs cache: cleaner exiting fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure --- PASS: TestRWFileHandleSizeTruncateExisting (14.53s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:26:20 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:26:20 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/01 02:26:20 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:20 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:20 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:26:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:20 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:26:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:20 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/01 02:26:21 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/11/01 02:26:22 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/11/01 02:26:23 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2024/11/01 02:26:23 DEBUG : dir/file1: newRWFileHandle: 2024/11/01 02:26:23 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/01 02:26:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:26:23 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/01 02:26:23 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/11/01 02:26:23 DEBUG : dir/file1(0xc0008fe480): _writeAt: size=5, off=0 2024/11/01 02:26:23 DEBUG : dir/file1(0xc0008fe480): openPending: 2024/11/01 02:26:23 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/11/01 02:26:23 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/11/01 02:26:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:26:23 DEBUG : dir/file1(0xc0008fe480): >openPending: err= 2024/11/01 02:26:23 DEBUG : dir/file1(0xc0008fe480): >_writeAt: n=5, err= 2024/11/01 02:26:23 DEBUG : dir/file1(0xc0008fe480): _writeAt: size=15, off=5 2024/11/01 02:26:23 DEBUG : dir/file1(0xc0008fe480): >_writeAt: n=15, err= 2024/11/01 02:26:23 DEBUG : dir/file1(0xc0008fe480): close: 2024/11/01 02:26:23 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2024/11/01 02:26:23 DEBUG : dir/file1: vfs cache: setting modification time to 2024-11-01 02:26:23.334168406 +0000 UTC m=+330.415268611 2024/11/01 02:26:23 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/11/01 02:26:23 DEBUG : dir/file1(0xc0008fe480): >close: err= 2024/11/01 02:26:23 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:26:23 DEBUG : dir: Looking for writers 2024/11/01 02:26:23 DEBUG : file1: reading active writers 2024/11/01 02:26:23 DEBUG : : Looking for writers 2024/11/01 02:26:23 DEBUG : dir: reading active writers 2024/11/01 02:26:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/11/01 02:26:23 DEBUG : dir: Looking for writers 2024/11/01 02:26:23 DEBUG : file1: reading active writers 2024/11/01 02:26:23 DEBUG : : Looking for writers 2024/11/01 02:26:23 DEBUG : dir: reading active writers 2024/11/01 02:26:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/11/01 02:26:23 DEBUG : dir: Looking for writers 2024/11/01 02:26:23 DEBUG : file1: reading active writers 2024/11/01 02:26:23 DEBUG : : Looking for writers 2024/11/01 02:26:23 DEBUG : dir: reading active writers 2024/11/01 02:26:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/11/01 02:26:23 DEBUG : dir: Looking for writers 2024/11/01 02:26:23 DEBUG : file1: reading active writers 2024/11/01 02:26:23 DEBUG : : Looking for writers 2024/11/01 02:26:23 DEBUG : dir: reading active writers 2024/11/01 02:26:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/11/01 02:26:23 DEBUG : dir/file1: vfs cache: starting upload 2024/11/01 02:26:23 DEBUG : dir: Looking for writers 2024/11/01 02:26:23 DEBUG : file1: reading active writers 2024/11/01 02:26:23 DEBUG : : Looking for writers 2024/11/01 02:26:23 DEBUG : dir: reading active writers 2024/11/01 02:26:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/11/01 02:26:23 DEBUG : dir/file1: Uploading chunk 0, size=20, remain=0 2024/11/01 02:26:23 DEBUG : dir: Looking for writers 2024/11/01 02:26:23 DEBUG : file1: reading active writers 2024/11/01 02:26:23 DEBUG : : Looking for writers 2024/11/01 02:26:23 DEBUG : dir: reading active writers 2024/11/01 02:26:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/11/01 02:26:23 DEBUG : dir: Looking for writers 2024/11/01 02:26:23 DEBUG : file1: reading active writers 2024/11/01 02:26:23 DEBUG : : Looking for writers 2024/11/01 02:26:23 DEBUG : dir: reading active writers 2024/11/01 02:26:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/11/01 02:26:24 DEBUG : dir: Looking for writers 2024/11/01 02:26:24 DEBUG : file1: reading active writers 2024/11/01 02:26:24 DEBUG : : Looking for writers 2024/11/01 02:26:24 DEBUG : dir: reading active writers 2024/11/01 02:26:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/11/01 02:26:24 DEBUG : dir/file1: md5 = 5198435b5c4e591523b7f5435cc07e88 OK 2024/11/01 02:26:24 INFO : dir/file1: Copied (replaced existing) 2024/11/01 02:26:24 DEBUG : dir/file1: vfs cache: fingerprint now "20,2024-11-01 02:26:23 +0000 UTC,5198435b5c4e591523b7f5435cc07e88" 2024/11/01 02:26:24 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/11/01 02:26:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 02:26:24 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/11/01 02:26:25 DEBUG : dir: Looking for writers 2024/11/01 02:26:25 DEBUG : file1: reading active writers 2024/11/01 02:26:25 DEBUG : : Looking for writers 2024/11/01 02:26:25 DEBUG : dir: reading active writers 2024/11/01 02:26:25 DEBUG : >WaitForWriters: 2024/11/01 02:26:25 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateExisting (6.68s) === RUN TestRWCacheUpdate run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:26:26 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:26:26 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/01 02:26:26 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:26 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:26 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:26:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:26 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 02:26:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-kofaqef6buje" 2024/11/01 02:26:26 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/01 02:26:27 DEBUG : : forgetting directory cache 2024/11/01 02:26:27 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2024/11/01 02:26:29 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/11/01 02:26:29 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/11/01 02:26:29 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/11/01 02:26:29 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/11/01 02:26:29 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:26:29 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:26:29 DEBUG : TestRWCacheUpdate(0xc0005fe140): _readAt: size=512, off=0 2024/11/01 02:26:29 DEBUG : TestRWCacheUpdate(0xc0005fe140): openPending: 2024/11/01 02:26:29 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2024-11-01 01:27:26 +0000 UTC,8558f20bbf1a5777c862752b37ad49be" against cached fingerprint "" 2024/11/01 02:26:29 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2024/11/01 02:26:29 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:26:29 DEBUG : TestRWCacheUpdate(0xc0005fe140): >openPending: err= 2024/11/01 02:26:29 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2024/11/01 02:26:29 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/01 02:26:29 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/01 02:26:29 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:26:29 DEBUG : : forgetting directory cache 2024/11/01 02:26:30 DEBUG : TestRWCacheUpdate(0xc0005fe140): >_readAt: n=20, err=EOF 2024/11/01 02:26:30 DEBUG : TestRWCacheUpdate(0xc0005fe140): close: 2024/11/01 02:26:30 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-11-01 01:27:26 +0000 UTC 2024/11/01 02:26:30 DEBUG : TestRWCacheUpdate(0xc0005fe140): >close: err= 2024/11/01 02:26:30 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:26:30 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/11/01 02:26:30 DEBUG : : forgetting directory cache 2024/11/01 02:26:31 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2024/11/01 02:26:32 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/11/01 02:26:32 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/11/01 02:26:32 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/11/01 02:26:32 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/11/01 02:26:32 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:26:32 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:26:32 DEBUG : TestRWCacheUpdate(0xc0005fe580): _readAt: size=512, off=0 2024/11/01 02:26:32 DEBUG : TestRWCacheUpdate(0xc0005fe580): openPending: 2024/11/01 02:26:32 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2024-11-01 01:28:26 +0000 UTC,944a242d910e2bbacae0d0db8c64490a" against cached fingerprint "20,2024-11-01 01:27:26 +0000 UTC,8558f20bbf1a5777c862752b37ad49be" 2024/11/01 02:26:32 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2024-11-01 01:28:26 +0000 UTC,944a242d910e2bbacae0d0db8c64490a" != cached fingerprint "20,2024-11-01 01:27:26 +0000 UTC,8558f20bbf1a5777c862752b37ad49be") 2024/11/01 02:26:32 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/11/01 02:26:32 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/11/01 02:26:32 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2024/11/01 02:26:32 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:26:32 DEBUG : TestRWCacheUpdate(0xc0005fe580): >openPending: err= 2024/11/01 02:26:32 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2024/11/01 02:26:32 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/01 02:26:32 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/01 02:26:32 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:26:32 DEBUG : : forgetting directory cache 2024/11/01 02:26:33 DEBUG : TestRWCacheUpdate(0xc0005fe580): >_readAt: n=20, err=EOF 2024/11/01 02:26:33 DEBUG : TestRWCacheUpdate(0xc0005fe580): close: 2024/11/01 02:26:33 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-11-01 01:28:26 +0000 UTC 2024/11/01 02:26:33 DEBUG : TestRWCacheUpdate(0xc0005fe580): >close: err= 2024/11/01 02:26:33 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:26:33 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/11/01 02:26:33 DEBUG : : forgetting directory cache 2024/11/01 02:26:34 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 fstest.go:137: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:137 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:143 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /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-kofaqef6buje'/TestRWCacheUpdate: md5 hash incorrect - expecting "4e063366550d230fc1fb85c19dbb494d" got "944a242d910e2bbacae0d0db8c64490a" fstest.go:121: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:121 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:126 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:145 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /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.834678154s| > 1s (want 2024-11-01 01:29:26.834678154 +0000 UTC m=-3086.084221651 vs got 2024-11-01 01:28:26 +0000 UTC) (precision 1s) 2024/11/01 02:26:35 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate(0xc0004ca6c0): _readAt: size=512, off=0 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate(0xc0004ca6c0): openPending: 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2024-11-01 01:29:26 +0000 UTC,4e063366550d230fc1fb85c19dbb494d" against cached fingerprint "20,2024-11-01 01:28:26 +0000 UTC,944a242d910e2bbacae0d0db8c64490a" 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2024-11-01 01:29:26 +0000 UTC,4e063366550d230fc1fb85c19dbb494d" != cached fingerprint "20,2024-11-01 01:28:26 +0000 UTC,944a242d910e2bbacae0d0db8c64490a") 2024/11/01 02:26:36 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2024/11/01 02:26:36 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate(0xc0004ca6c0): >openPending: err= 2024/11/01 02:26:36 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:26:36 DEBUG : : forgetting directory cache 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate(0xc0004ca6c0): >_readAt: n=20, err=EOF 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate(0xc0004ca6c0): close: 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-11-01 01:29:26 +0000 UTC 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate(0xc0004ca6c0): >close: err= 2024/11/01 02:26:36 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:26:36 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/11/01 02:26:37 DEBUG : : forgetting directory cache 2024/11/01 02:26:37 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2024/11/01 02:26:39 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate(0xc0005fe000): _readAt: size=512, off=0 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate(0xc0005fe000): openPending: 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2024-11-01 01:30:26 +0000 UTC,a8c7956852282e88c22a986150cb5a68" against cached fingerprint "20,2024-11-01 01:29:26 +0000 UTC,4e063366550d230fc1fb85c19dbb494d" 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2024-11-01 01:30:26 +0000 UTC,a8c7956852282e88c22a986150cb5a68" != cached fingerprint "20,2024-11-01 01:29:26 +0000 UTC,4e063366550d230fc1fb85c19dbb494d") 2024/11/01 02:26:40 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2024/11/01 02:26:40 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate(0xc0005fe000): >openPending: err= 2024/11/01 02:26:40 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:26:40 DEBUG : : forgetting directory cache 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate(0xc0005fe000): >_readAt: n=20, err=EOF 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate(0xc0005fe000): close: 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-11-01 01:30:26 +0000 UTC 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate(0xc0005fe000): >close: err= 2024/11/01 02:26:40 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:26:40 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/11/01 02:26:41 DEBUG : : forgetting directory cache 2024/11/01 02:26:41 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2024/11/01 02:26:42 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate(0xc0005fe640): _readAt: size=512, off=0 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate(0xc0005fe640): openPending: 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2024-11-01 01:31:26 +0000 UTC,25074c7237d5f7774d304950950b2d66" against cached fingerprint "20,2024-11-01 01:30:26 +0000 UTC,a8c7956852282e88c22a986150cb5a68" 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2024-11-01 01:31:26 +0000 UTC,25074c7237d5f7774d304950950b2d66" != cached fingerprint "20,2024-11-01 01:30:26 +0000 UTC,a8c7956852282e88c22a986150cb5a68") 2024/11/01 02:26:43 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2024/11/01 02:26:43 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate(0xc0005fe640): >openPending: err= 2024/11/01 02:26:43 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:26:43 DEBUG : : forgetting directory cache 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate(0xc0005fe640): >_readAt: n=20, err=EOF 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate(0xc0005fe640): close: 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-11-01 01:31:26 +0000 UTC 2024/11/01 02:26:43 DEBUG : TestRWCacheUpdate(0xc0005fe640): >close: err= 2024/11/01 02:26:44 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:26:44 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/11/01 02:26:44 DEBUG : : forgetting directory cache 2024/11/01 02:26:44 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2024/11/01 02:26:46 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/11/01 02:26:46 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/11/01 02:26:46 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/11/01 02:26:46 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/11/01 02:26:46 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:26:46 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:26:46 DEBUG : TestRWCacheUpdate(0xc0005fe140): _readAt: size=512, off=0 2024/11/01 02:26:46 DEBUG : TestRWCacheUpdate(0xc0005fe140): openPending: 2024/11/01 02:26:46 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2024-11-01 01:32:26 +0000 UTC,58e51f3b328781d7a035e462b2e9bd00" against cached fingerprint "20,2024-11-01 01:31:26 +0000 UTC,25074c7237d5f7774d304950950b2d66" 2024/11/01 02:26:46 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2024-11-01 01:32:26 +0000 UTC,58e51f3b328781d7a035e462b2e9bd00" != cached fingerprint "20,2024-11-01 01:31:26 +0000 UTC,25074c7237d5f7774d304950950b2d66") 2024/11/01 02:26:46 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/11/01 02:26:46 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/11/01 02:26:46 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2024/11/01 02:26:46 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:26:46 DEBUG : TestRWCacheUpdate(0xc0005fe140): >openPending: err= 2024/11/01 02:26:46 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2024/11/01 02:26:46 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/01 02:26:46 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/01 02:26:46 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:26:47 DEBUG : : forgetting directory cache 2024/11/01 02:26:47 DEBUG : TestRWCacheUpdate(0xc0005fe140): >_readAt: n=20, err=EOF 2024/11/01 02:26:47 DEBUG : TestRWCacheUpdate(0xc0005fe140): close: 2024/11/01 02:26:47 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-11-01 01:32:26 +0000 UTC 2024/11/01 02:26:47 DEBUG : TestRWCacheUpdate(0xc0005fe140): >close: err= 2024/11/01 02:26:47 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:26:47 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/11/01 02:26:47 DEBUG : : forgetting directory cache 2024/11/01 02:26:48 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=21, remain=0 fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure 2024/11/01 02:26:57 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/11/01 02:26:57 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/11/01 02:26:57 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/11/01 02:26:57 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/11/01 02:26:57 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:26:57 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:26:57 DEBUG : TestRWCacheUpdate(0xc0005fe700): _readAt: size=512, off=0 2024/11/01 02:26:57 DEBUG : TestRWCacheUpdate(0xc0005fe700): openPending: 2024/11/01 02:26:57 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "21,2024-11-01 01:33:26 +0000 UTC,8dbc613757cc0c1614e9b1aafd9156a7" against cached fingerprint "20,2024-11-01 01:32:26 +0000 UTC,58e51f3b328781d7a035e462b2e9bd00" 2024/11/01 02:26:57 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "21,2024-11-01 01:33:26 +0000 UTC,8dbc613757cc0c1614e9b1aafd9156a7" != cached fingerprint "20,2024-11-01 01:32:26 +0000 UTC,58e51f3b328781d7a035e462b2e9bd00") 2024/11/01 02:26:57 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/11/01 02:26:57 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/11/01 02:26:57 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=21 2024/11/01 02:26:57 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:26:57 DEBUG : TestRWCacheUpdate(0xc0005fe700): >openPending: err= 2024/11/01 02:26:57 DEBUG : vfs cache: looking for range={Pos:0 Size:21} in [] - present false 2024/11/01 02:26:57 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/01 02:26:57 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/01 02:26:57 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:26:57 DEBUG : : forgetting directory cache 2024/11/01 02:26:58 DEBUG : TestRWCacheUpdate(0xc0005fe700): >_readAt: n=21, err=EOF 2024/11/01 02:26:58 DEBUG : TestRWCacheUpdate(0xc0005fe700): close: 2024/11/01 02:26:58 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-11-01 01:33:26 +0000 UTC 2024/11/01 02:26:58 DEBUG : TestRWCacheUpdate(0xc0005fe700): >close: err= 2024/11/01 02:26:58 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:26:58 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/11/01 02:26:58 DEBUG : : forgetting directory cache 2024/11/01 02:26:58 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=22, remain=0 fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure 2024/11/01 02:27:07 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate(0xc0005fe340): _readAt: size=512, off=0 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate(0xc0005fe340): openPending: 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "22,2024-11-01 01:34:26 +0000 UTC,d6db0c1b4814e22b98d1f690596f68ca" against cached fingerprint "21,2024-11-01 01:33:26 +0000 UTC,8dbc613757cc0c1614e9b1aafd9156a7" 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "22,2024-11-01 01:34:26 +0000 UTC,d6db0c1b4814e22b98d1f690596f68ca" != cached fingerprint "21,2024-11-01 01:33:26 +0000 UTC,8dbc613757cc0c1614e9b1aafd9156a7") 2024/11/01 02:27:08 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=22 2024/11/01 02:27:08 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate(0xc0005fe340): >openPending: err= 2024/11/01 02:27:08 DEBUG : vfs cache: looking for range={Pos:0 Size:22} in [] - present false 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:27:08 DEBUG : : forgetting directory cache 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate(0xc0005fe340): >_readAt: n=22, err=EOF 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate(0xc0005fe340): close: 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-11-01 01:34:26 +0000 UTC 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate(0xc0005fe340): >close: err= 2024/11/01 02:27:08 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:27:08 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/11/01 02:27:09 DEBUG : : forgetting directory cache 2024/11/01 02:27:09 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=23, remain=0 2024/11/01 02:27:10 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/11/01 02:27:10 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/11/01 02:27:10 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/11/01 02:27:10 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/11/01 02:27:10 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:27:10 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:27:10 DEBUG : TestRWCacheUpdate(0xc0009184c0): _readAt: size=512, off=0 2024/11/01 02:27:10 DEBUG : TestRWCacheUpdate(0xc0009184c0): openPending: 2024/11/01 02:27:10 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "23,2024-11-01 01:35:26 +0000 UTC,a04b60cad5c51870e80f668df3d720c0" against cached fingerprint "22,2024-11-01 01:34:26 +0000 UTC,d6db0c1b4814e22b98d1f690596f68ca" 2024/11/01 02:27:10 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "23,2024-11-01 01:35:26 +0000 UTC,a04b60cad5c51870e80f668df3d720c0" != cached fingerprint "22,2024-11-01 01:34:26 +0000 UTC,d6db0c1b4814e22b98d1f690596f68ca") 2024/11/01 02:27:10 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/11/01 02:27:10 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/11/01 02:27:10 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=23 2024/11/01 02:27:10 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:27:10 DEBUG : TestRWCacheUpdate(0xc0009184c0): >openPending: err= 2024/11/01 02:27:10 DEBUG : vfs cache: looking for range={Pos:0 Size:23} in [] - present false 2024/11/01 02:27:10 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/01 02:27:10 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/01 02:27:10 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:27:11 DEBUG : : forgetting directory cache 2024/11/01 02:27:11 DEBUG : TestRWCacheUpdate(0xc0009184c0): >_readAt: n=23, err=EOF 2024/11/01 02:27:11 DEBUG : TestRWCacheUpdate(0xc0009184c0): close: 2024/11/01 02:27:11 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-11-01 01:35:26 +0000 UTC 2024/11/01 02:27:11 DEBUG : TestRWCacheUpdate(0xc0009184c0): >close: err= 2024/11/01 02:27:11 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:27:11 DEBUG : TestRWCacheUpdate: Reset virtual modtime read_write_test.go:757: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:757 Error: Not equal: expected: 23 actual : 22 Test: TestRWCacheUpdate fstest.go:121: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:121 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:758 Error: Should be true Test: TestRWCacheUpdate Messages: TestRWCacheUpdate: Modification time difference too big |1m0.834678154s| > 1s (want 2024-11-01 01:35:26.834678154 +0000 UTC m=-2726.084221651 vs got 2024-11-01 01:34:26 +0000 UTC) (precision 1s) 2024/11/01 02:27:11 DEBUG : : forgetting directory cache 2024/11/01 02:27:12 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=24, remain=0 fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure 2024/11/01 02:27:20 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate(0xc000918240): _readAt: size=512, off=0 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate(0xc000918240): openPending: 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "24,2024-11-01 01:36:26 +0000 UTC,074978d6705e58530a3c8d378a08fa37" against cached fingerprint "23,2024-11-01 01:35:26 +0000 UTC,a04b60cad5c51870e80f668df3d720c0" 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "24,2024-11-01 01:36:26 +0000 UTC,074978d6705e58530a3c8d378a08fa37" != cached fingerprint "23,2024-11-01 01:35:26 +0000 UTC,a04b60cad5c51870e80f668df3d720c0") 2024/11/01 02:27:21 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=24 2024/11/01 02:27:21 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate(0xc000918240): >openPending: err= 2024/11/01 02:27:21 DEBUG : vfs cache: looking for range={Pos:0 Size:24} in [] - present false 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:27:21 DEBUG : : forgetting directory cache 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate(0xc000918240): >_readAt: n=24, err=EOF 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate(0xc000918240): close: 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-11-01 01:36:26 +0000 UTC 2024/11/01 02:27:21 DEBUG : TestRWCacheUpdate(0xc000918240): >close: err= 2024/11/01 02:27:22 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/01 02:27:22 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/11/01 02:27:22 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:27:22 DEBUG : : Looking for writers 2024/11/01 02:27:22 DEBUG : TestRWCacheUpdate: reading active writers 2024/11/01 02:27:22 DEBUG : >WaitForWriters: 2024/11/01 02:27:22 DEBUG : vfs cache: cleaner exiting 2024/11/01 02:27:22 DEBUG : : forgetting directory cache --- FAIL: TestRWCacheUpdate (55.73s) === RUN TestUnicodeNormalization run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:27:23 DEBUG : normal name with no special characters.txt: Uploading chunk 0, size=5, remain=0 2024/11/01 02:27:25 DEBUG : 測試_Русский___ě_áñ: Uploading chunk 0, size=5, remain=0 2024/11/01 02:27:26 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:27:26 NOTICE: OpenDrive root 'rclone-test-kofaqef6buje': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/01 02:27:26 DEBUG : normal name with no special characters.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/01 02:27:26 DEBUG : normal name with no special characters.txt: Open: flags=O_RDONLY 2024/11/01 02:27:26 DEBUG : normal name with no special characters.txt: >Open: fd=normal name with no special characters.txt (r), err= 2024/11/01 02:27:26 DEBUG : normal name with no special characters.txt: >OpenFile: fd=normal name with no special characters.txt (r), err= 2024/11/01 02:27:26 DEBUG : normal name with no special characters.txt: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:27:26 DEBUG : normal name with no special characters.txt: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/11/01 02:27:26 DEBUG : 測試_Русский___ě_áñ: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/01 02:27:26 DEBUG : 測試_Русский___ě_áñ: Open: flags=O_RDONLY 2024/11/01 02:27:26 DEBUG : 測試_Русский___ě_áñ: >Open: fd=測試_Русский___ě_áñ (r), err= 2024/11/01 02:27:26 DEBUG : 測試_Русский___ě_áñ: >OpenFile: fd=測試_Русский___ě_áñ (r), err= 2024/11/01 02:27:26 DEBUG : 測試_Русский___ě_áñ: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:27:27 DEBUG : 測試_Русский___ě_áñ: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/11/01 02:27:27 DEBUG : normal name with no special characters.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/01 02:27:27 DEBUG : normal name with no special characters.txt: Open: flags=O_RDONLY 2024/11/01 02:27:27 DEBUG : normal name with no special characters.txt: >Open: fd=normal name with no special characters.txt (r), err= 2024/11/01 02:27:27 DEBUG : normal name with no special characters.txt: >OpenFile: fd=normal name with no special characters.txt (r), err= 2024/11/01 02:27:27 DEBUG : normal name with no special characters.txt: ChunkedReader.openRange at 0 length 134217728 2024/11/01 02:27:27 DEBUG : normal name with no special characters.txt: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/11/01 02:27:27 DEBUG : 測試_Русский___ě_áñ: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/01 02:27:27 DEBUG : 測試_Русский___ě_áñ: >OpenFile: fd=, err=file does not exist 2024/11/01 02:27:27 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:27:27 DEBUG : : Looking for writers 2024/11/01 02:27:27 DEBUG : normal name with no special characters.txt: reading active writers 2024/11/01 02:27:27 DEBUG : 測試_Русский___ě_áñ: reading active writers 2024/11/01 02:27:27 DEBUG : >WaitForWriters: --- PASS: TestUnicodeNormalization (5.52s) === RUN TestVFSMkdir run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:27:28 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:27:28 NOTICE: OpenDrive root 'rclone-test-kofaqef6buje': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/01 02:27:28 DEBUG : : Added virtual directory entry vAddDir: "/" 2024/11/01 02:27:29 DEBUG : : Added virtual directory entry vAddDir: "a" 2024/11/01 02:27:30 DEBUG : : Added virtual directory entry vAddDir: "b" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache 2024/11/01 02:27:32 ERROR : a: error listing: failed to get folder list: Directory doesn't exist (Error 404) fstest.go:276: Error listing: failed to get folder list: Directory doesn't exist (Error 404) 2024/11/01 02:27:32 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:27:32 DEBUG : : Looking for writers 2024/11/01 02:27:32 DEBUG : a: Looking for writers 2024/11/01 02:27:32 DEBUG : b: Looking for writers 2024/11/01 02:27:32 DEBUG : : Looking for writers 2024/11/01 02:27:32 DEBUG : /: reading active writers 2024/11/01 02:27:32 DEBUG : a: reading active writers 2024/11/01 02:27:32 DEBUG : b: reading active writers 2024/11/01 02:27:32 DEBUG : >WaitForWriters: 2024/11/01 02:27:32 ERROR : b: error listing: failed to get folder list: Directory doesn't exist (Error 404) 2024/11/01 02:27:32 ERROR : a: error listing: failed to get folder list: Directory doesn't exist (Error 404) run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 /usr/local/go/src/runtime/panic.go:626 /usr/local/go/src/testing/testing.go:1005 /usr/local/go/src/testing/testing.go:1089 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:276 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:395 Error: Received unexpected error: failed to get folder list: Directory doesn't exist (Error 404) Test: TestVFSMkdir --- FAIL: TestVFSMkdir (4.80s) === RUN TestVFSMkdirAll run.go:180: Remote "OpenDrive root 'rclone-test-kofaqef6buje'", Local "Local file system at /tmp/rclone3932557321", Modify Window "1s" 2024/11/01 02:27:32 INFO : OpenDrive root 'rclone-test-kofaqef6buje': poll-interval is not supported by this remote 2024/11/01 02:27:32 NOTICE: OpenDrive root 'rclone-test-kofaqef6buje': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/01 02:27:34 DEBUG : a: Added virtual directory entry vAddDir: "b" 2024/11/01 02:27:34 DEBUG : a/b: Added virtual directory entry vAddDir: "c" 2024/11/01 02:27:34 ERROR : a/b/c/: Dir.Mkdir failed to read directory: failed to get folder list: Directory doesn't exist (Error 404) vfs_test.go:426: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:426 Error: Received unexpected error: failed to get folder list: Directory doesn't exist (Error 404) Test: TestVFSMkdirAll 2024/11/01 02:27:34 DEBUG : WaitForWriters: timeout=30s 2024/11/01 02:27:34 DEBUG : a/b/c: Looking for writers 2024/11/01 02:27:34 DEBUG : a/b: Looking for writers 2024/11/01 02:27:34 DEBUG : c: reading active writers 2024/11/01 02:27:34 DEBUG : a: Looking for writers 2024/11/01 02:27:34 DEBUG : b: reading active writers 2024/11/01 02:27:34 DEBUG : : Looking for writers 2024/11/01 02:27:34 DEBUG : a: reading active writers 2024/11/01 02:27:34 DEBUG : >WaitForWriters: --- FAIL: TestVFSMkdirAll (5.01s) FAIL 2024/11/01 02:27:37 DEBUG : OpenDrive root 'rclone-test-kofaqef6buje': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirForgetPath|TestDirHandleReaddirnames|TestDirMethods|TestDirReadDirAll|TestDirRename|TestDirWalk|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestReadFileHandleFlush|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestUnicodeNormalization|TestVFSMkdir|TestVFSMkdirAll)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=true|writes,forceCache=false)$|^TestFileSetModTime$/^(cache=off,open=false,write=false|cache=off,open=true,write=false)$'" - Finished ERROR in 6m45.903265329s (try 3/5): exit status 1: Failed [TestDirHandleReaddirnames TestDirMethods TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestReadFileHandleFlush TestRWFileHandleReleaseRead TestRWCacheUpdate TestVFSMkdir TestVFSMkdirAll]