"./vfs.test -test.v -test.timeout 1h0m0s -remote TestSugarSync:Test -verbose" - Starting (try 5/5) 2025/09/14 09:04:19 DEBUG : Creating backend with remote "TestSugarSync:Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:04:19 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/09/14 09:04:23 DEBUG : Creating backend with remote "/tmp/rclone1560836641" === RUN TestDirHandleMethods run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:04:23 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:04:30 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:04:30 DEBUG : dir: Looking for writers 2025/09/14 09:04:30 DEBUG : Looking for writers 2025/09/14 09:04:30 DEBUG : dir: reading active writers 2025/09/14 09:04:30 DEBUG : >WaitForWriters: --- PASS: TestDirHandleMethods (11.04s) === RUN TestDirHandleReaddir run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:04:34 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:04:47 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:04:47 DEBUG : dir/subdir: Looking for writers 2025/09/14 09:04:47 DEBUG : dir: Looking for writers 2025/09/14 09:04:47 DEBUG : file1: reading active writers 2025/09/14 09:04:47 DEBUG : file2: reading active writers 2025/09/14 09:04:47 DEBUG : subdir: reading active writers 2025/09/14 09:04:47 DEBUG : Looking for writers 2025/09/14 09:04:47 DEBUG : dir: reading active writers 2025/09/14 09:04:47 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddir (20.98s) === RUN TestDirHandleReaddirnames run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:04:55 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:05:01 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:05:01 DEBUG : dir: Looking for writers 2025/09/14 09:05:01 DEBUG : file1: reading active writers 2025/09/14 09:05:01 DEBUG : Looking for writers 2025/09/14 09:05:01 DEBUG : dir: reading active writers 2025/09/14 09:05:01 DEBUG : >WaitForWriters: 2025/09/14 09:10:05 DEBUG : pacer: low level retry 1/10 (error Delete "https://api.sugarsync.com/folder/:sc:9068489:215_6565487732": net/http: timeout awaiting response headers) 2025/09/14 09:10:05 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/09/14 09:10:05 DEBUG : pacer: Reducing sleep to 15ms 2025/09/14 09:10:06 DEBUG : pacer: Reducing sleep to 11.25ms --- PASS: TestDirHandleReaddirnames (310.89s) === RUN TestDirMethods run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:10:06 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:10:06 DEBUG : pacer: Reducing sleep to 10ms 2025/09/14 09:10:11 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:10:11 DEBUG : dir: Looking for writers 2025/09/14 09:10:11 DEBUG : Looking for writers 2025/09/14 09:10:11 DEBUG : dir: reading active writers 2025/09/14 09:10:11 DEBUG : >WaitForWriters: 2025/09/14 09:14:30 DEBUG : forgetting directory cache 2025/09/14 09:14:30 DEBUG : dir: forgetting directory cache 2025/09/14 09:14:30 DEBUG : dir: forgetting directory cache 2025/09/14 09:14:46 DEBUG : forgetting directory cache 2025/09/14 09:14:46 DEBUG : dir: forgetting directory cache 2025/09/14 09:14:46 DEBUG : dir/subdir: forgetting directory cache 2025/09/14 09:15:00 DEBUG : forgetting directory cache 2025/09/14 09:15:00 DEBUG : dir: forgetting directory cache 2025/09/14 09:15:15 DEBUG : pacer: low level retry 1/10 (error Delete "https://api.sugarsync.com/folder/:sc:9068489:215_6565493839": net/http: timeout awaiting response headers) 2025/09/14 09:15:15 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/09/14 09:15:16 DEBUG : pacer: Reducing sleep to 15ms 2025/09/14 09:15:16 DEBUG : pacer: Reducing sleep to 11.25ms --- PASS: TestDirMethods (310.46s) === RUN TestDirForgetAll run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:15:16 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:15:17 DEBUG : pacer: Reducing sleep to 10ms 2025/09/14 09:15:23 DEBUG : dir: forgetting directory cache 2025/09/14 09:15:23 DEBUG : forgetting directory cache 2025/09/14 09:15:23 DEBUG : dir: forgetting directory cache 2025/09/14 09:15:23 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:15:23 DEBUG : Looking for writers 2025/09/14 09:15:23 DEBUG : >WaitForWriters: --- PASS: TestDirForgetAll (10.80s) === RUN TestDirForgetPath run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:15:27 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:15:33 DEBUG : ForgetPath: relativePath="dir/notfound", type=1 2025/09/14 09:15:33 DEBUG : dir: invalidating directory cache 2025/09/14 09:15:33 DEBUG : >ForgetPath: 2025/09/14 09:15:33 DEBUG : ForgetPath: relativePath="dir", type=0 2025/09/14 09:15:33 DEBUG : invalidating directory cache 2025/09/14 09:15:33 DEBUG : dir: forgetting directory cache 2025/09/14 09:15:33 DEBUG : >ForgetPath: 2025/09/14 09:15:33 DEBUG : ForgetPath: relativePath="not/in/cache", type=0 2025/09/14 09:15:33 DEBUG : >ForgetPath: 2025/09/14 09:15:33 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:15:33 DEBUG : dir: Looking for writers 2025/09/14 09:15:33 DEBUG : Looking for writers 2025/09/14 09:15:33 DEBUG : dir: reading active writers 2025/09/14 09:15:33 DEBUG : >WaitForWriters: --- PASS: TestDirForgetPath (10.58s) === RUN TestDirWalk run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:15:37 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:15:52 DEBUG : forgetting directory cache 2025/09/14 09:15:52 DEBUG : dir: forgetting directory cache 2025/09/14 09:15:54 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:15:54 DEBUG : dir: Looking for writers 2025/09/14 09:15:54 DEBUG : fil/a/b: Looking for writers 2025/09/14 09:15:54 DEBUG : fil/a: Looking for writers 2025/09/14 09:15:54 DEBUG : b: reading active writers 2025/09/14 09:15:54 DEBUG : fil: Looking for writers 2025/09/14 09:15:54 DEBUG : a: reading active writers 2025/09/14 09:15:54 DEBUG : Looking for writers 2025/09/14 09:15:54 DEBUG : dir: reading active writers 2025/09/14 09:15:54 DEBUG : fil: reading active writers 2025/09/14 09:15:54 DEBUG : >WaitForWriters: --- PASS: TestDirWalk (25.11s) === RUN TestDirSetModTime run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:16:02 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:16:08 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:16:08 DEBUG : dir: Looking for writers 2025/09/14 09:16:08 DEBUG : Looking for writers 2025/09/14 09:16:08 DEBUG : dir: reading active writers 2025/09/14 09:16:08 DEBUG : >WaitForWriters: --- PASS: TestDirSetModTime (9.92s) === RUN TestDirStat run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:16:12 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:16:19 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:16:19 DEBUG : dir: Looking for writers 2025/09/14 09:16:19 DEBUG : file1: reading active writers 2025/09/14 09:16:19 DEBUG : Looking for writers 2025/09/14 09:16:19 DEBUG : dir: reading active writers 2025/09/14 09:16:19 DEBUG : >WaitForWriters: --- PASS: TestDirStat (10.65s) === RUN TestDirReadDirAll run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:16:23 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote === RUN TestDirReadDirAll/Virtual 2025/09/14 09:16:37 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2025/09/14 09:16:37 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2025/09/14 09:16:37 DEBUG : dir: Added virtual directory entry vDel: "file2" 2025/09/14 09:16:37 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2025/09/14 09:16:46 DEBUG : dir: invalidating directory cache 2025/09/14 09:16:46 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2025/09/14 09:16:46 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2025/09/14 09:16:46 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2025/09/14 09:16:46 DEBUG : dir/file1: Reset virtual modtime 2025/09/14 09:16:46 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2025/09/14 09:16:46 DEBUG : dir/virtualFile: Reset virtual modtime 2025/09/14 09:16:46 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2025/09/14 09:16:46 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2025/09/14 09:16:46 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:16:46 DEBUG : dir: invalidating directory cache 2025/09/14 09:16:47 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2025/09/14 09:16:47 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/09/14 09:16:47 DEBUG : dir/virtualFile: Reset virtual modtime 2025/09/14 09:16:47 DEBUG : forgetting directory cache 2025/09/14 09:16:47 DEBUG : dir: forgetting directory cache 2025/09/14 09:16:47 DEBUG : dir/virtualDir: forgetting directory cache 2025/09/14 09:16:47 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:16:47 DEBUG : dir/virtualDir: Looking for writers 2025/09/14 09:16:47 DEBUG : dir: Looking for writers 2025/09/14 09:16:47 DEBUG : virtualDir: reading active writers 2025/09/14 09:16:47 DEBUG : file1: reading active writers 2025/09/14 09:16:47 DEBUG : virtualFile2: reading active writers 2025/09/14 09:16:47 DEBUG : virtualFile: reading active writers 2025/09/14 09:16:47 DEBUG : Looking for writers 2025/09/14 09:16:47 DEBUG : dir: reading active writers 2025/09/14 09:16:47 DEBUG : >WaitForWriters: 2025/09/14 09:20:11 DEBUG : dir: forgetting directory cache 2025/09/14 09:20:11 DEBUG : forgetting directory cache 2025/09/14 09:20:11 DEBUG : dir: forgetting directory cache 2025/09/14 09:21:53 DEBUG : pacer: low level retry 1/10 (error Delete "https://api.sugarsync.com/folder/:sc:9068489:215_6565502448": net/http: timeout awaiting response headers) 2025/09/14 09:21:53 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/09/14 09:21:53 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': Renewing token 2025/09/14 09:21:54 DEBUG : pacer: Reducing sleep to 15ms 2025/09/14 09:21:54 DEBUG : Saving config "authorization" in section "TestSugarSync" of the config file 2025/09/14 09:21:54 DEBUG : Saving config "authorization_expiry" in section "TestSugarSync" of the config file 2025/09/14 09:21:54 DEBUG : Saving config "user" in section "TestSugarSync" of the config file 2025/09/14 09:21:55 DEBUG : pacer: Reducing sleep to 11.25ms 2025/09/14 09:21:55 DEBUG : pacer: Reducing sleep to 10ms --- PASS: TestDirReadDirAll (332.27s) --- PASS: TestDirReadDirAll/Virtual (9.28s) === RUN TestDirOpen run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:21:55 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:25:33 DEBUG : forgetting directory cache 2025/09/14 09:25:33 DEBUG : dir: forgetting directory cache 2025/09/14 09:25:52 DEBUG : dir: forgetting directory cache 2025/09/14 09:25:52 DEBUG : forgetting directory cache 2025/09/14 09:25:52 DEBUG : dir: forgetting directory cache 2025/09/14 09:25:52 DEBUG : fil: forgetting directory cache 2025/09/14 09:25:52 DEBUG : fil/a: forgetting directory cache 2025/09/14 09:25:52 DEBUG : fil/a/b: forgetting directory cache 2025/09/14 09:26:08 DEBUG : forgetting directory cache 2025/09/14 09:26:08 DEBUG : dir: forgetting directory cache 2025/09/14 09:26:08 DEBUG : dir: forgetting directory cache 2025/09/14 09:26:18 DEBUG : forgetting directory cache 2025/09/14 09:26:18 DEBUG : dir: forgetting directory cache 2025/09/14 09:26:37 DEBUG : dir/subdir: forgetting directory cache 2025/09/14 09:26:46 DEBUG : dir/virtualDir2: forgetting directory cache 2025/09/14 09:26:47 DEBUG : dir: forgetting directory cache 2025/09/14 09:26:47 DEBUG : dir/virtualDir: forgetting directory cache 2025/09/14 09:26:47 DEBUG : forgetting directory cache 2025/09/14 09:26:47 DEBUG : dir: forgetting directory cache 2025/09/14 09:26:47 DEBUG : dir/virtualDir: forgetting directory cache 2025/09/14 09:26:59 DEBUG : pacer: low level retry 1/10 (error Get "https://api.sugarsync.com/file/:sc:9068489:215_6565514260": net/http: timeout awaiting response headers) 2025/09/14 09:26:59 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/09/14 09:26:59 DEBUG : pacer: Reducing sleep to 15ms 2025/09/14 09:31:55 DEBUG : forgetting directory cache 2025/09/14 09:32:00 DEBUG : pacer: low level retry 1/10 (error Get "https://api.sugarsync.com/folder/:sc:9068489:215_6565487173/contents?max=500&start=0": net/http: timeout awaiting response headers) 2025/09/14 09:32:00 DEBUG : pacer: Rate limited, increasing sleep to 30ms 2025/09/14 09:32:01 DEBUG : pacer: Reducing sleep to 22.5ms 2025/09/14 09:36:47 DEBUG : forgetting directory cache 2025/09/14 09:36:47 DEBUG : dir: forgetting directory cache 2025/09/14 09:36:47 DEBUG : dir/virtualDir: forgetting directory cache 2025/09/14 09:36:47 DEBUG : dir: forgetting directory cache 2025/09/14 09:36:47 DEBUG : dir/virtualDir: forgetting directory cache 2025/09/14 09:37:01 DEBUG : pacer: low level retry 1/10 (error Get "https://api.sugarsync.com/folder/:sc:9068489:215_6565514247/contents?max=500&start=0": net/http: timeout awaiting response headers) 2025/09/14 09:37:01 DEBUG : pacer: Rate limited, increasing sleep to 45ms 2025/09/14 09:37:02 DEBUG : pacer: Reducing sleep to 33.75ms 2025/09/14 09:37:03 DEBUG : pacer: Reducing sleep to 25.3125ms 2025/09/14 09:37:03 ERROR : dir/: Can only open directories read only 2025/09/14 09:37:03 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:37:03 DEBUG : dir: Looking for writers 2025/09/14 09:37:03 DEBUG : Looking for writers 2025/09/14 09:37:03 DEBUG : dir: reading active writers 2025/09/14 09:37:03 DEBUG : >WaitForWriters: 2025/09/14 09:37:03 DEBUG : pacer: Reducing sleep to 18.984375ms 2025/09/14 09:37:04 DEBUG : pacer: Reducing sleep to 14.238281ms 2025/09/14 09:37:05 DEBUG : pacer: Reducing sleep to 10.67871ms 2025/09/14 09:37:06 DEBUG : pacer: Reducing sleep to 10ms --- PASS: TestDirOpen (911.33s) === RUN TestDirCreate run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:37:07 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:37:13 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2025/09/14 09:37:13 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/09/14 09:37:13 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2025/09/14 09:37:13 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/09/14 09:37:13 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': File to upload is small (5 bytes), uploading instead of streaming 2025/09/14 09:37:16 NOTICE: sugarsync root 'Test/rclone-test-zuliyuk7yaci': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2025/09/14 09:37:16 DEBUG : dir/potato: Size of src and dst objects identical 2025/09/14 09:37:16 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/09/14 09:37:16 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:37:16 DEBUG : dir: Looking for writers 2025/09/14 09:37:16 DEBUG : file1: reading active writers 2025/09/14 09:37:16 DEBUG : potato: reading active writers 2025/09/14 09:37:16 DEBUG : Looking for writers 2025/09/14 09:37:16 DEBUG : dir: reading active writers 2025/09/14 09:37:16 DEBUG : >WaitForWriters: --- PASS: TestDirCreate (14.02s) === RUN TestDirMkdir run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:37:21 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:37:29 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/09/14 09:37:31 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:37:31 DEBUG : dir/sub: Looking for writers 2025/09/14 09:37:31 DEBUG : dir: Looking for writers 2025/09/14 09:37:31 DEBUG : file1: reading active writers 2025/09/14 09:37:31 DEBUG : sub: reading active writers 2025/09/14 09:37:31 DEBUG : Looking for writers 2025/09/14 09:37:31 DEBUG : dir: reading active writers 2025/09/14 09:37:31 DEBUG : >WaitForWriters: --- PASS: TestDirMkdir (16.22s) === RUN TestDirMkdirSub run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:37:37 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:37:45 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/09/14 09:37:47 DEBUG : dir/sub: Added virtual directory entry vAddDir: "subsub" 2025/09/14 09:37:50 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:37:50 DEBUG : dir/sub/subsub: Looking for writers 2025/09/14 09:37:50 DEBUG : dir/sub: Looking for writers 2025/09/14 09:37:50 DEBUG : subsub: reading active writers 2025/09/14 09:37:50 DEBUG : dir: Looking for writers 2025/09/14 09:37:50 DEBUG : sub: reading active writers 2025/09/14 09:37:50 DEBUG : file1: reading active writers 2025/09/14 09:37:50 DEBUG : Looking for writers 2025/09/14 09:37:50 DEBUG : dir: reading active writers 2025/09/14 09:37:50 DEBUG : >WaitForWriters: --- PASS: TestDirMkdirSub (20.59s) === RUN TestDirRemove run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:37:57 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:38:04 ERROR : dir/: Dir.Remove not empty 2025/09/14 09:38:04 DEBUG : dir/file1: Remove: 2025/09/14 09:38:05 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:38:05 DEBUG : dir/file1: >Remove: err= 2025/09/14 09:38:06 DEBUG : Added virtual directory entry vDel: "dir" 2025/09/14 09:38:06 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:38:06 DEBUG : Looking for writers 2025/09/14 09:38:06 DEBUG : >WaitForWriters: --- PASS: TestDirRemove (10.31s) === RUN TestDirRemoveAll run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:38:08 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:38:14 DEBUG : dir/file1: Remove: 2025/09/14 09:38:15 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:38:15 DEBUG : dir/file1: >Remove: err= 2025/09/14 09:38:17 DEBUG : Added virtual directory entry vDel: "dir" 2025/09/14 09:38:17 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:38:17 DEBUG : Looking for writers 2025/09/14 09:38:17 DEBUG : >WaitForWriters: --- PASS: TestDirRemoveAll (10.60s) === RUN TestDirRemoveName run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:38:18 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:38:25 DEBUG : dir/file1: Remove: 2025/09/14 09:38:26 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:38:26 DEBUG : dir/file1: >Remove: err= 2025/09/14 09:38:27 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:38:27 DEBUG : dir: Looking for writers 2025/09/14 09:38:27 DEBUG : Looking for writers 2025/09/14 09:38:27 DEBUG : dir: reading active writers 2025/09/14 09:38:27 DEBUG : >WaitForWriters: --- PASS: TestDirRemoveName (12.01s) === RUN TestDirRename run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:38:30 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:38:41 ERROR : dir/not found: Dir.Rename error: file does not exist 2025/09/14 09:38:42 DEBUG : dir: Updating dir with dir2 0xc000a92ea0 2025/09/14 09:38:42 DEBUG : dir: forgetting directory cache 2025/09/14 09:38:42 DEBUG : Added virtual directory entry vDel: "dir" 2025/09/14 09:38:42 DEBUG : Added virtual directory entry vAddDir: "dir2" 2025/09/14 09:38:46 INFO : dir2/file1: Moved (server-side) to: file2 2025/09/14 09:38:46 DEBUG : file2: Updating file with file2 0xc0005029c0 2025/09/14 09:38:46 DEBUG : dir2: Added virtual directory entry vDel: "file1" 2025/09/14 09:38:46 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/09/14 09:38:49 INFO : dir2/file3: Deleted 2025/09/14 09:38:50 INFO : file2: Moved (server-side) to: dir2/file3 2025/09/14 09:38:50 DEBUG : dir2/file3: Updating file with dir2/file3 0xc0005029c0 2025/09/14 09:38:50 DEBUG : Added virtual directory entry vDel: "file2" 2025/09/14 09:38:50 DEBUG : dir2: Added virtual directory entry vAddFile: "file3" 2025/09/14 09:38:53 DEBUG : Added virtual directory entry vAddDir: "empty directory" 2025/09/14 09:38:54 DEBUG : empty directory: Updating dir with renamed empty directory 0xc0004f55f0 2025/09/14 09:38:54 DEBUG : empty directory: forgetting directory cache 2025/09/14 09:38:54 DEBUG : Added virtual directory entry vDel: "empty directory" 2025/09/14 09:38:54 DEBUG : Added virtual directory entry vAddDir: "renamed empty directory" 2025/09/14 09:38:54 DEBUG : dir2: Renaming to "dir3" 2025/09/14 09:38:54 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:38:54 DEBUG : dir3: Looking for writers 2025/09/14 09:38:54 DEBUG : file3: reading active writers 2025/09/14 09:38:54 DEBUG : renamed empty directory: Looking for writers 2025/09/14 09:38:54 DEBUG : Looking for writers 2025/09/14 09:38:54 DEBUG : dir3: reading active writers 2025/09/14 09:38:54 DEBUG : renamed empty directory: reading active writers 2025/09/14 09:38:54 DEBUG : >WaitForWriters: --- PASS: TestDirRename (28.29s) === RUN TestDirStructSize dir_test.go:611: Dir struct has size 200 bytes --- PASS: TestDirStructSize (0.00s) === RUN TestDirFileOpen run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:38:59 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:39:07 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/09/14 09:39:07 DEBUG : dir/sub/file0: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw- 2025/09/14 09:39:07 DEBUG : dir/sub/file0: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/09/14 09:39:07 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file0" 2025/09/14 09:39:07 DEBUG : dir/sub/file0: >Open: fd=dir/sub/file0 (w), err= 2025/09/14 09:39:07 DEBUG : dir/sub/file0: >OpenFile: fd=dir/sub/file0 (w), err= 2025/09/14 09:39:07 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file0" 2025/09/14 09:39:07 DEBUG : dir/sub/file2: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw- 2025/09/14 09:39:07 DEBUG : dir/sub/file2: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/09/14 09:39:07 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file2" 2025/09/14 09:39:07 DEBUG : dir/sub/file2: >Open: fd=dir/sub/file2 (w), err= 2025/09/14 09:39:07 DEBUG : dir/sub/file2: >OpenFile: fd=dir/sub/file2 (w), err= 2025/09/14 09:39:07 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file2" 2025/09/14 09:39:07 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': File to upload is small (12 bytes), uploading instead of streaming 2025/09/14 09:39:10 DEBUG : dir/sub/file2: Size of src and dst objects identical 2025/09/14 09:39:10 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file2" 2025/09/14 09:39:10 DEBUG : forgetting directory cache 2025/09/14 09:39:10 DEBUG : dir: forgetting directory cache 2025/09/14 09:39:10 DEBUG : dir/sub: forgetting directory cache 2025/09/14 09:39:10 DEBUG : dir/sub: Removed virtual directory entry vAddFile: "file2" 2025/09/14 09:39:10 DEBUG : dir: Removed virtual directory entry vAddDir: "sub" 2025/09/14 09:39:10 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': File to upload is small (5 bytes), uploading instead of streaming 2025/09/14 09:39:12 DEBUG : dir/sub/file0: Size of src and dst objects identical 2025/09/14 09:39:12 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file0" 2025/09/14 09:39:12 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:39:12 DEBUG : dir/sub: Looking for writers 2025/09/14 09:39:12 DEBUG : file0: reading active writers 2025/09/14 09:39:12 DEBUG : file2: reading active writers 2025/09/14 09:39:12 DEBUG : dir: Looking for writers 2025/09/14 09:39:12 DEBUG : sub: reading active writers 2025/09/14 09:39:12 DEBUG : file1: reading active writers 2025/09/14 09:39:12 DEBUG : Looking for writers 2025/09/14 09:39:12 DEBUG : dir: reading active writers 2025/09/14 09:39:12 DEBUG : >WaitForWriters: --- PASS: TestDirFileOpen (20.77s) === RUN TestDirEntryModTimeInvalidation run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:39:19 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote dir_test.go:666: Need DirModTimeUpdatesOnWrite 2025/09/14 09:39:19 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:39:19 DEBUG : Looking for writers 2025/09/14 09:39:19 DEBUG : >WaitForWriters: --- SKIP: TestDirEntryModTimeInvalidation (1.50s) === RUN TestDirMetadataExtension run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:39:21 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:39:28 DEBUG : dir: Added virtual directory entry vAddFile: "file1.metadata" 2025/09/14 09:39:28 DEBUG : dir/file1.metadata: Set virtual modtime to 2025-09-14 02:39:24 -0700 -0700 2025/09/14 09:39:28 DEBUG : dir/file1.metadata: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/14 09:39:28 DEBUG : dir/file1.metadata: Open: flags=O_RDONLY 2025/09/14 09:39:28 DEBUG : dir/file1.metadata: >Open: fd=dir/file1.metadata (r), err= 2025/09/14 09:39:28 DEBUG : dir/file1.metadata: >OpenFile: fd=dir/file1.metadata (r), err= 2025/09/14 09:39:28 DEBUG : dir/file1.metadata: ChunkedReader.openRange at 0 length 134217728 2025/09/14 09:39:28 DEBUG : dir/file1.metadata: ChunkedReader.Read at 0 length 512 chunkOffset 0 chunkSize 134217728 2025/09/14 09:39:28 DEBUG : Added virtual directory entry vAddFile: "dir.metadata" 2025/09/14 09:39:28 DEBUG : dir.metadata: Set virtual modtime to 2000-01-01 00:00:00 +0000 UTC 2025/09/14 09:39:28 DEBUG : dir.metadata: OpenFile: flags=O_RDONLY, perm=---------- 2025/09/14 09:39:28 DEBUG : dir.metadata: Open: flags=O_RDONLY 2025/09/14 09:39:28 DEBUG : dir.metadata: >Open: fd=dir.metadata (r), err= 2025/09/14 09:39:28 DEBUG : dir.metadata: >OpenFile: fd=dir.metadata (r), err= 2025/09/14 09:39:28 DEBUG : dir.metadata: ChunkedReader.openRange at 0 length 134217728 2025/09/14 09:39:28 DEBUG : dir.metadata: ChunkedReader.Read at 0 length 512 chunkOffset 0 chunkSize 134217728 2025/09/14 09:39:28 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:39:28 DEBUG : dir: Looking for writers 2025/09/14 09:39:28 DEBUG : file1: reading active writers 2025/09/14 09:39:28 DEBUG : file1.metadata: reading active writers 2025/09/14 09:39:28 DEBUG : Looking for writers 2025/09/14 09:39:28 DEBUG : dir: reading active writers 2025/09/14 09:39:28 DEBUG : dir.metadata: reading active writers 2025/09/14 09:39:28 DEBUG : >WaitForWriters: --- PASS: TestDirMetadataExtension (10.58s) === RUN TestErrorError --- PASS: TestErrorError (0.00s) === RUN TestFileMethods run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:39:32 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:39:38 DEBUG : dir/file1: Set virtual modtime to 2025-09-14 02:39:34 -0700 -0700 2025/09/14 09:39:38 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:39:38 DEBUG : dir: Looking for writers 2025/09/14 09:39:38 DEBUG : file1: reading active writers 2025/09/14 09:39:38 DEBUG : Looking for writers 2025/09/14 09:39:38 DEBUG : dir: reading active writers 2025/09/14 09:39:38 DEBUG : >WaitForWriters: --- PASS: TestFileMethods (10.80s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:39:42 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:39:53 DEBUG : Can set mod time: false file_test.go:97: can't set mod time 2025/09/14 09:39:53 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:39:53 DEBUG : dir: Looking for writers 2025/09/14 09:39:53 DEBUG : file1: reading active writers 2025/09/14 09:39:53 DEBUG : Looking for writers 2025/09/14 09:39:53 DEBUG : dir: reading active writers 2025/09/14 09:39:53 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false file_test.go:93: can't set mod time === RUN TestFileSetModTime/cache=off,open=true,write=true file_test.go:93: can't set mod time === RUN TestFileSetModTime/cache=full,open=false,write=false file_test.go:93: can't set mod time === RUN TestFileSetModTime/cache=full,open=true,write=false file_test.go:93: can't set mod time === RUN TestFileSetModTime/cache=full,open=true,write=true file_test.go:93: can't set mod time --- PASS: TestFileSetModTime (14.54s) --- SKIP: TestFileSetModTime/cache=off,open=false,write=false (14.54s) --- SKIP: TestFileSetModTime/cache=off,open=true,write=false (0.00s) --- SKIP: TestFileSetModTime/cache=off,open=true,write=true (0.00s) --- SKIP: TestFileSetModTime/cache=full,open=false,write=false (0.00s) --- SKIP: TestFileSetModTime/cache=full,open=true,write=false (0.00s) --- SKIP: TestFileSetModTime/cache=full,open=true,write=true (0.00s) === RUN TestFileOpenRead run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:39:57 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:40:03 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/14 09:40:03 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/09/14 09:40:03 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/14 09:40:04 DEBUG : dir/file1: ChunkedReader.Read at 0 length 512 chunkOffset 0 chunkSize 134217728 2025/09/14 09:40:04 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:40:04 DEBUG : dir: Looking for writers 2025/09/14 09:40:04 DEBUG : file1: reading active writers 2025/09/14 09:40:04 DEBUG : Looking for writers 2025/09/14 09:40:04 DEBUG : dir: reading active writers 2025/09/14 09:40:04 DEBUG : >WaitForWriters: 2025/09/14 09:45:07 DEBUG : pacer: low level retry 1/10 (error Delete "https://api.sugarsync.com/folder/:sc:9068489:215_6565570852": net/http: timeout awaiting response headers) 2025/09/14 09:45:07 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/09/14 09:45:08 DEBUG : pacer: Reducing sleep to 15ms 2025/09/14 09:45:08 DEBUG : pacer: Reducing sleep to 11.25ms --- PASS: TestFileOpenRead (311.47s) === RUN TestFileOpenReadUnknownSize 2025/09/14 09:45:08 INFO : Mock file system at root: poll-interval is not supported by this remote 2025/09/14 09:45:08 NOTICE: Mock file system at root: --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/14 09:45:08 DEBUG : file.txt: ChunkedReader.openRange at 0 length 134217728 2025/09/14 09:45:08 DEBUG : file.txt: ChunkedReader.Read at 0 length 4096 chunkOffset 0 chunkSize 134217728 file_test.go:223: gotContents = "file contents" 2025/09/14 09:45:08 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:45:08 DEBUG : Looking for writers 2025/09/14 09:45:08 DEBUG : file.txt: reading active writers 2025/09/14 09:45:08 DEBUG : >WaitForWriters: --- PASS: TestFileOpenReadUnknownSize (0.00s) === RUN TestFileOpenWrite run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:45:08 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:45:09 DEBUG : pacer: Reducing sleep to 10ms 2025/09/14 09:45:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:45:15 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': File to upload is small (25 bytes), uploading instead of streaming 2025/09/14 09:45:17 DEBUG : dir/file1: Size of src and dst objects identical 2025/09/14 09:45:17 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:45:17 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:45:17 DEBUG : dir: Looking for writers 2025/09/14 09:45:17 DEBUG : file1: reading active writers 2025/09/14 09:45:17 DEBUG : Looking for writers 2025/09/14 09:45:17 DEBUG : dir: reading active writers 2025/09/14 09:45:17 DEBUG : >WaitForWriters: --- PASS: TestFileOpenWrite (12.84s) === RUN TestFileRemove run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:45:21 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:45:28 DEBUG : dir/file1: Remove: 2025/09/14 09:45:29 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:45:29 DEBUG : dir/file1: >Remove: err= 2025/09/14 09:45:30 DEBUG : dir/file1: Remove: 2025/09/14 09:45:30 DEBUG : dir/file1: >Remove: err=Read only file system 2025/09/14 09:45:30 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:45:30 DEBUG : dir: Looking for writers 2025/09/14 09:45:30 DEBUG : Looking for writers 2025/09/14 09:45:30 DEBUG : dir: reading active writers 2025/09/14 09:45:30 DEBUG : >WaitForWriters: --- PASS: TestFileRemove (12.12s) === RUN TestFileRemoveAll run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:45:33 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:45:40 DEBUG : dir/file1: Remove: 2025/09/14 09:45:41 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:45:41 DEBUG : dir/file1: >Remove: err= 2025/09/14 09:45:42 DEBUG : dir/file1: Remove: 2025/09/14 09:45:42 DEBUG : dir/file1: >Remove: err=Read only file system 2025/09/14 09:45:42 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:45:42 DEBUG : dir: Looking for writers 2025/09/14 09:45:42 DEBUG : Looking for writers 2025/09/14 09:45:42 DEBUG : dir: reading active writers 2025/09/14 09:45:42 DEBUG : >WaitForWriters: --- PASS: TestFileRemoveAll (12.20s) === RUN TestFileOpen run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:45:46 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:45:52 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/14 09:45:52 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/09/14 09:45:52 DEBUG : dir/file1: Open: flags=O_WRONLY 2025/09/14 09:45:52 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/09/14 09:45:52 DEBUG : dir/file1: Open: flags=O_RDWR 2025/09/14 09:45:52 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/09/14 09:45:52 DEBUG : dir/file1: Open: flags=0x3 2025/09/14 09:45:52 DEBUG : dir/file1: Can't figure out how to open with flags: 0x3 2025/09/14 09:45:52 DEBUG : dir/file1: >Open: fd=, err=permission denied 2025/09/14 09:45:52 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:45:52 DEBUG : dir: Looking for writers 2025/09/14 09:45:52 DEBUG : file1: reading active writers 2025/09/14 09:45:52 DEBUG : Looking for writers 2025/09/14 09:45:52 DEBUG : dir: reading active writers 2025/09/14 09:45:52 DEBUG : >WaitForWriters: --- PASS: TestFileOpen (10.69s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:45:56 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:46:47 DEBUG : dir: forgetting directory cache 2025/09/14 09:46:47 DEBUG : dir/virtualDir: forgetting directory cache 2025/09/14 09:46:47 DEBUG : forgetting directory cache 2025/09/14 09:46:47 DEBUG : dir: forgetting directory cache 2025/09/14 09:46:47 DEBUG : dir/virtualDir: forgetting directory cache 2025/09/14 09:47:03 DEBUG : forgetting directory cache 2025/09/14 09:47:03 DEBUG : dir: forgetting directory cache 2025/09/14 09:47:03 DEBUG : dir: forgetting directory cache 2025/09/14 09:47:12 DEBUG : forgetting directory cache 2025/09/14 09:47:12 DEBUG : dir: forgetting directory cache 2025/09/14 09:47:12 DEBUG : dir: Removed virtual directory entry vAddFile: "potato" 2025/09/14 09:47:26 DEBUG : forgetting directory cache 2025/09/14 09:47:26 DEBUG : dir: forgetting directory cache 2025/09/14 09:47:26 DEBUG : dir/sub: forgetting directory cache 2025/09/14 09:47:26 DEBUG : dir: Removed virtual directory entry vAddDir: "sub" 2025/09/14 09:47:43 DEBUG : forgetting directory cache 2025/09/14 09:47:43 DEBUG : dir: forgetting directory cache 2025/09/14 09:47:43 DEBUG : dir/sub: forgetting directory cache 2025/09/14 09:47:43 DEBUG : dir/sub/subsub: forgetting directory cache 2025/09/14 09:47:43 DEBUG : dir/sub: Removed virtual directory entry vAddDir: "subsub" 2025/09/14 09:47:43 DEBUG : dir: Removed virtual directory entry vAddDir: "sub" 2025/09/14 09:48:03 DEBUG : forgetting directory cache 2025/09/14 09:48:03 DEBUG : Removed virtual directory entry vDel: "dir" 2025/09/14 09:48:04 DEBUG : dir: forgetting directory cache 2025/09/14 09:48:04 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/09/14 09:48:14 DEBUG : forgetting directory cache 2025/09/14 09:48:14 DEBUG : Removed virtual directory entry vDel: "dir" 2025/09/14 09:48:14 DEBUG : dir: forgetting directory cache 2025/09/14 09:48:14 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/09/14 09:48:24 DEBUG : forgetting directory cache 2025/09/14 09:48:24 DEBUG : dir: forgetting directory cache 2025/09/14 09:48:24 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/09/14 09:48:36 DEBUG : forgetting directory cache 2025/09/14 09:48:36 DEBUG : dir3: forgetting directory cache 2025/09/14 09:48:36 DEBUG : dir3: Removed virtual directory entry vDel: "file1" 2025/09/14 09:48:36 DEBUG : dir3: Removed virtual directory entry vAddFile: "file3" 2025/09/14 09:48:36 DEBUG : renamed empty directory: forgetting directory cache 2025/09/14 09:48:36 DEBUG : Removed virtual directory entry vDel: "dir" 2025/09/14 09:48:36 DEBUG : Removed virtual directory entry vAddDir: "dir2" 2025/09/14 09:48:36 DEBUG : Removed virtual directory entry vDel: "file2" 2025/09/14 09:48:36 DEBUG : Removed virtual directory entry vDel: "empty directory" 2025/09/14 09:48:36 DEBUG : Removed virtual directory entry vAddDir: "renamed empty directory" 2025/09/14 09:49:10 DEBUG : forgetting directory cache 2025/09/14 09:49:10 DEBUG : dir: forgetting directory cache 2025/09/14 09:49:10 DEBUG : dir/sub: forgetting directory cache 2025/09/14 09:49:10 DEBUG : dir: forgetting directory cache 2025/09/14 09:49:10 DEBUG : dir/sub: Removed virtual directory entry vAddFile: "file0" 2025/09/14 09:49:10 DEBUG : dir/sub: forgetting directory cache 2025/09/14 09:49:10 DEBUG : dir/sub: forgetting directory cache 2025/09/14 09:49:19 DEBUG : forgetting directory cache 2025/09/14 09:49:27 DEBUG : forgetting directory cache 2025/09/14 09:49:27 DEBUG : dir: forgetting directory cache 2025/09/14 09:49:27 DEBUG : dir: Removed virtual directory entry vAddFile: "file1.metadata" 2025/09/14 09:49:27 DEBUG : Removed virtual directory entry vAddFile: "dir.metadata" 2025/09/14 09:49:38 DEBUG : forgetting directory cache 2025/09/14 09:49:38 DEBUG : dir: forgetting directory cache 2025/09/14 09:49:48 DEBUG : forgetting directory cache 2025/09/14 09:49:48 DEBUG : dir: forgetting directory cache 2025/09/14 09:50:03 DEBUG : forgetting directory cache 2025/09/14 09:50:03 DEBUG : dir: forgetting directory cache 2025/09/14 09:51:02 DEBUG : pacer: low level retry 1/10 (error Get "https://api.sugarsync.com/folder/:sc:9068489:215_6565487173/contents?max=500&start=0": net/http: timeout awaiting response headers) 2025/09/14 09:51:02 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/09/14 09:51:03 DEBUG : pacer: Reducing sleep to 15ms 2025/09/14 09:51:03 DEBUG : pacer: Reducing sleep to 11.25ms 2025/09/14 09:51:03 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:51:03 DEBUG : dir: Looking for writers 2025/09/14 09:51:03 DEBUG : file1: reading active writers 2025/09/14 09:51:03 DEBUG : Looking for writers 2025/09/14 09:51:03 DEBUG : dir: reading active writers 2025/09/14 09:51:03 DEBUG : >WaitForWriters: 2025/09/14 09:51:04 DEBUG : pacer: Reducing sleep to 10ms 2025/09/14 09:51:07 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/09/14 09:51:07 DEBUG : newLeaf: Updating file with newLeaf 0xc000a443c0 2025/09/14 09:51:07 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:51:07 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:51:10 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/09/14 09:51:10 DEBUG : dir/file1: Updating file with dir/file1 0xc000a443c0 2025/09/14 09:51:10 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/09/14 09:51:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:51:11 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/09/14 09:51:11 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/09/14 09:51:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:51:11 DEBUG : dir/file1: File is currently open, delaying rename 0xc000a443c0 2025/09/14 09:51:11 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:51:11 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:51:11 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': File to upload is small (25 bytes), uploading instead of streaming 2025/09/14 09:51:13 DEBUG : dir/file1: Size of src and dst objects identical 2025/09/14 09:51:13 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:51:13 DEBUG : newLeaf: Running delayed rename now 2025/09/14 09:51:15 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/09/14 09:51:15 DEBUG : newLeaf: Updating file with newLeaf 0xc000a443c0 2025/09/14 09:51:15 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:51:15 DEBUG : dir: Looking for writers 2025/09/14 09:51:15 DEBUG : Looking for writers 2025/09/14 09:51:15 DEBUG : dir: reading active writers 2025/09/14 09:51:15 DEBUG : newLeaf: reading active writers 2025/09/14 09:51:15 DEBUG : >WaitForWriters: 2025/09/14 09:51:16 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:51:16 DEBUG : dir: Looking for writers 2025/09/14 09:51:16 DEBUG : Looking for writers 2025/09/14 09:51:16 DEBUG : dir: reading active writers 2025/09/14 09:51:16 DEBUG : newLeaf: reading active writers 2025/09/14 09:51:16 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:51:20 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:51:20 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/14 09:51:20 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:51:20 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:51:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:51:20 DEBUG : Config file has changed externally - reloading 2025/09/14 09:51:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/14 09:51:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:51:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:51:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/14 09:51:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:51:20 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/14 09:51:27 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:51:27 DEBUG : dir: Looking for writers 2025/09/14 09:51:27 DEBUG : file1: reading active writers 2025/09/14 09:51:27 DEBUG : Looking for writers 2025/09/14 09:51:27 DEBUG : dir: reading active writers 2025/09/14 09:51:27 DEBUG : >WaitForWriters: 2025/09/14 09:51:30 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/09/14 09:51:30 DEBUG : newLeaf: Updating file with newLeaf 0xc000be1380 2025/09/14 09:51:30 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:51:30 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:51:33 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/09/14 09:51:33 DEBUG : dir/file1: Updating file with dir/file1 0xc000be1380 2025/09/14 09:51:33 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/09/14 09:51:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:51:34 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/09/14 09:51:34 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/09/14 09:51:34 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:51:34 DEBUG : dir/file1: File is currently open, delaying rename 0xc000be1380 2025/09/14 09:51:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:51:34 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:51:34 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': File to upload is small (25 bytes), uploading instead of streaming 2025/09/14 09:51:36 DEBUG : dir/file1: Size of src and dst objects identical 2025/09/14 09:51:36 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:51:36 DEBUG : newLeaf: Running delayed rename now 2025/09/14 09:51:38 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/09/14 09:51:38 DEBUG : newLeaf: Updating file with newLeaf 0xc000be1380 2025/09/14 09:51:38 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:51:38 DEBUG : dir: Looking for writers 2025/09/14 09:51:38 DEBUG : Looking for writers 2025/09/14 09:51:38 DEBUG : dir: reading active writers 2025/09/14 09:51:38 DEBUG : newLeaf: reading active writers 2025/09/14 09:51:38 DEBUG : >WaitForWriters: 2025/09/14 09:51:39 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:51:39 DEBUG : dir: Looking for writers 2025/09/14 09:51:39 DEBUG : Looking for writers 2025/09/14 09:51:39 DEBUG : dir: reading active writers 2025/09/14 09:51:39 DEBUG : newLeaf: reading active writers 2025/09/14 09:51:39 DEBUG : >WaitForWriters: 2025/09/14 09:51:39 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:51:44 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:51:44 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/14 09:51:44 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:51:44 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:51:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:51:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/14 09:51:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:51:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:51:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/14 09:51:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:51:44 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/14 09:51:50 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/09/14 09:51:50 DEBUG : dir/file1: newRWFileHandle: 2025/09/14 09:51:50 DEBUG : dir/file1(0xc000b56d80): openPending: 2025/09/14 09:51:50 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/09/14 09:51:50 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/09/14 09:51:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:51:50 DEBUG : dir/file1(0xc000b56d80): >openPending: err= 2025/09/14 09:51:50 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/09/14 09:51:50 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/14 09:51:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:51:50 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/14 09:51:50 DEBUG : dir/file1(0xc000b56d80): _writeAt: size=14, off=0 2025/09/14 09:51:50 DEBUG : dir/file1(0xc000b56d80): >_writeAt: n=14, err= 2025/09/14 09:51:50 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/09/14 09:51:50 DEBUG : dir/file1(0xc000b56d80): close: 2025/09/14 09:51:50 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/09/14 09:51:50 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/09/14 09:51:50 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/09/14 09:51:50 DEBUG : dir/file1(0xc000b56d80): >close: err= 2025/09/14 09:51:50 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:51:50 DEBUG : dir: Looking for writers 2025/09/14 09:51:50 DEBUG : file1: reading active writers 2025/09/14 09:51:50 DEBUG : Looking for writers 2025/09/14 09:51:50 DEBUG : dir: reading active writers 2025/09/14 09:51:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/09/14 09:51:50 DEBUG : dir: Looking for writers 2025/09/14 09:51:50 DEBUG : file1: reading active writers 2025/09/14 09:51:50 DEBUG : Looking for writers 2025/09/14 09:51:50 DEBUG : dir: reading active writers 2025/09/14 09:51:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/09/14 09:51:50 DEBUG : dir: Looking for writers 2025/09/14 09:51:50 DEBUG : file1: reading active writers 2025/09/14 09:51:50 DEBUG : Looking for writers 2025/09/14 09:51:50 DEBUG : dir: reading active writers 2025/09/14 09:51:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/09/14 09:51:50 DEBUG : dir: Looking for writers 2025/09/14 09:51:50 DEBUG : file1: reading active writers 2025/09/14 09:51:50 DEBUG : Looking for writers 2025/09/14 09:51:50 DEBUG : dir: reading active writers 2025/09/14 09:51:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/09/14 09:51:50 DEBUG : dir/file1: vfs cache: starting upload 2025/09/14 09:51:50 DEBUG : dir: Looking for writers 2025/09/14 09:51:50 DEBUG : file1: reading active writers 2025/09/14 09:51:50 DEBUG : Looking for writers 2025/09/14 09:51:50 DEBUG : dir: reading active writers 2025/09/14 09:51:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/09/14 09:51:50 DEBUG : dir: Looking for writers 2025/09/14 09:51:50 DEBUG : file1: reading active writers 2025/09/14 09:51:50 DEBUG : Looking for writers 2025/09/14 09:51:50 DEBUG : dir: reading active writers 2025/09/14 09:51:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/09/14 09:51:51 DEBUG : dir: Looking for writers 2025/09/14 09:51:51 DEBUG : file1: reading active writers 2025/09/14 09:51:51 DEBUG : Looking for writers 2025/09/14 09:51:51 DEBUG : dir: reading active writers 2025/09/14 09:51:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/09/14 09:51:51 DEBUG : dir: Looking for writers 2025/09/14 09:51:51 DEBUG : file1: reading active writers 2025/09/14 09:51:51 DEBUG : Looking for writers 2025/09/14 09:51:51 DEBUG : dir: reading active writers 2025/09/14 09:51:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/09/14 09:51:52 INFO : dir/file1: Copied (replaced existing) 2025/09/14 09:51:52 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/09/14 09:51:52 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/09/14 09:51:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:51:52 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/09/14 09:51:52 DEBUG : dir: Looking for writers 2025/09/14 09:51:52 DEBUG : file1: reading active writers 2025/09/14 09:51:52 DEBUG : Looking for writers 2025/09/14 09:51:52 DEBUG : dir: reading active writers 2025/09/14 09:51:52 DEBUG : >WaitForWriters: 2025/09/14 09:51:52 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/14 09:51:52 DEBUG : dir/file1: newRWFileHandle: 2025/09/14 09:51:52 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/14 09:51:52 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/14 09:51:52 DEBUG : dir/file1(0xc000cc8340): _readAt: size=512, off=0 2025/09/14 09:51:52 DEBUG : dir/file1(0xc000cc8340): openPending: 2025/09/14 09:51:52 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/09/14 09:51:52 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/09/14 09:51:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:51:52 DEBUG : dir/file1(0xc000cc8340): >openPending: err= 2025/09/14 09:51:52 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/09/14 09:51:52 DEBUG : dir/file1(0xc000cc8340): >_readAt: n=14, err=EOF 2025/09/14 09:51:52 DEBUG : dir/file1(0xc000cc8340): close: 2025/09/14 09:51:52 DEBUG : dir/file1: vfs cache: setting modification time to 2025-09-14 02:51:51 -0700 -0700 2025/09/14 09:51:52 DEBUG : dir/file1(0xc000cc8340): >close: err= 2025/09/14 09:51:55 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/09/14 09:51:55 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/09/14 09:51:55 DEBUG : newLeaf: Updating file with newLeaf 0xc000be0180 2025/09/14 09:51:55 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:51:55 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:51:58 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/09/14 09:51:58 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/09/14 09:51:58 DEBUG : dir/file1: Updating file with dir/file1 0xc000be0180 2025/09/14 09:51:58 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/09/14 09:51:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:52:00 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/09/14 09:52:00 DEBUG : dir/file1: newRWFileHandle: 2025/09/14 09:52:00 DEBUG : dir/file1(0xc0007bc300): openPending: 2025/09/14 09:52:00 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/09/14 09:52:00 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/09/14 09:52:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:52:00 DEBUG : dir/file1(0xc0007bc300): >openPending: err= 2025/09/14 09:52:00 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/09/14 09:52:00 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/14 09:52:00 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/14 09:52:00 DEBUG : dir/file1(0xc0007bc300): _writeAt: size=25, off=0 2025/09/14 09:52:00 DEBUG : dir/file1(0xc0007bc300): >_writeAt: n=25, err= 2025/09/14 09:52:01 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/09/14 09:52:01 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/09/14 09:52:01 DEBUG : newLeaf: Updating file with newLeaf 0xc000be0180 2025/09/14 09:52:01 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:52:01 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:52:01 DEBUG : newLeaf(0xc0007bc300): close: 2025/09/14 09:52:01 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/09/14 09:52:01 DEBUG : newLeaf: vfs cache: setting modification time to 2025-09-14 09:52:00.384508538 +0000 UTC m=+2860.955514561 2025/09/14 09:52:01 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/09/14 09:52:01 DEBUG : newLeaf(0xc0007bc300): >close: err= 2025/09/14 09:52:01 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:52:01 DEBUG : dir: Looking for writers 2025/09/14 09:52:01 DEBUG : Looking for writers 2025/09/14 09:52:01 DEBUG : dir: reading active writers 2025/09/14 09:52:01 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/09/14 09:52:01 DEBUG : dir: Looking for writers 2025/09/14 09:52:01 DEBUG : Looking for writers 2025/09/14 09:52:01 DEBUG : dir: reading active writers 2025/09/14 09:52:01 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/09/14 09:52:01 DEBUG : dir: Looking for writers 2025/09/14 09:52:01 DEBUG : Looking for writers 2025/09/14 09:52:01 DEBUG : dir: reading active writers 2025/09/14 09:52:01 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/09/14 09:52:02 DEBUG : dir: Looking for writers 2025/09/14 09:52:02 DEBUG : Looking for writers 2025/09/14 09:52:02 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:02 DEBUG : dir: reading active writers 2025/09/14 09:52:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/09/14 09:52:02 DEBUG : newLeaf: vfs cache: starting upload 2025/09/14 09:52:02 DEBUG : dir: Looking for writers 2025/09/14 09:52:02 DEBUG : Looking for writers 2025/09/14 09:52:02 DEBUG : dir: reading active writers 2025/09/14 09:52:02 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/09/14 09:52:02 DEBUG : dir: Looking for writers 2025/09/14 09:52:02 DEBUG : Looking for writers 2025/09/14 09:52:02 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:02 DEBUG : dir: reading active writers 2025/09/14 09:52:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/09/14 09:52:02 DEBUG : dir: Looking for writers 2025/09/14 09:52:02 DEBUG : Looking for writers 2025/09/14 09:52:02 DEBUG : dir: reading active writers 2025/09/14 09:52:02 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/09/14 09:52:03 DEBUG : dir: Looking for writers 2025/09/14 09:52:03 DEBUG : Looking for writers 2025/09/14 09:52:03 DEBUG : dir: reading active writers 2025/09/14 09:52:03 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/09/14 09:52:03 INFO : newLeaf: Copied (replaced existing) 2025/09/14 09:52:03 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/09/14 09:52:03 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/09/14 09:52:03 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:52:03 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/09/14 09:52:04 DEBUG : dir: Looking for writers 2025/09/14 09:52:04 DEBUG : Looking for writers 2025/09/14 09:52:04 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:04 DEBUG : dir: reading active writers 2025/09/14 09:52:04 DEBUG : >WaitForWriters: 2025/09/14 09:52:05 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:52:05 DEBUG : dir: Looking for writers 2025/09/14 09:52:05 DEBUG : Looking for writers 2025/09/14 09:52:05 DEBUG : dir: reading active writers 2025/09/14 09:52:05 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:05 DEBUG : >WaitForWriters: 2025/09/14 09:52:05 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:52:09 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:52:09 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/14 09:52:09 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:09 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/14 09:52:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/14 09:52:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:09 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/14 09:52:16 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:52:16 DEBUG : dir: Looking for writers 2025/09/14 09:52:16 DEBUG : file1: reading active writers 2025/09/14 09:52:16 DEBUG : Looking for writers 2025/09/14 09:52:16 DEBUG : dir: reading active writers 2025/09/14 09:52:16 DEBUG : >WaitForWriters: 2025/09/14 09:52:19 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/09/14 09:52:19 DEBUG : newLeaf: Updating file with newLeaf 0xc000502f00 2025/09/14 09:52:19 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:52:19 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:52:22 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/09/14 09:52:22 DEBUG : dir/file1: Updating file with dir/file1 0xc000502f00 2025/09/14 09:52:22 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/09/14 09:52:22 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:52:24 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/09/14 09:52:24 DEBUG : dir/file1: newRWFileHandle: 2025/09/14 09:52:24 DEBUG : dir/file1(0xc000b57dc0): openPending: 2025/09/14 09:52:24 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/09/14 09:52:24 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/09/14 09:52:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:52:24 DEBUG : dir/file1(0xc000b57dc0): >openPending: err= 2025/09/14 09:52:24 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/09/14 09:52:24 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/14 09:52:24 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/14 09:52:24 DEBUG : dir/file1(0xc000b57dc0): _writeAt: size=25, off=0 2025/09/14 09:52:24 DEBUG : dir/file1(0xc000b57dc0): >_writeAt: n=25, err= 2025/09/14 09:52:25 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/09/14 09:52:25 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/09/14 09:52:25 DEBUG : newLeaf: Updating file with newLeaf 0xc000502f00 2025/09/14 09:52:25 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:52:25 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:52:25 DEBUG : newLeaf(0xc000b57dc0): close: 2025/09/14 09:52:25 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/09/14 09:52:25 DEBUG : newLeaf: vfs cache: setting modification time to 2025-09-14 09:52:24.20210199 +0000 UTC m=+2884.773108014 2025/09/14 09:52:25 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/09/14 09:52:25 DEBUG : newLeaf(0xc000b57dc0): >close: err= 2025/09/14 09:52:25 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:52:25 DEBUG : dir: Looking for writers 2025/09/14 09:52:25 DEBUG : Looking for writers 2025/09/14 09:52:25 DEBUG : dir: reading active writers 2025/09/14 09:52:25 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/09/14 09:52:25 DEBUG : dir: Looking for writers 2025/09/14 09:52:25 DEBUG : Looking for writers 2025/09/14 09:52:25 DEBUG : dir: reading active writers 2025/09/14 09:52:25 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/09/14 09:52:25 DEBUG : dir: Looking for writers 2025/09/14 09:52:25 DEBUG : Looking for writers 2025/09/14 09:52:25 DEBUG : dir: reading active writers 2025/09/14 09:52:25 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/09/14 09:52:25 DEBUG : dir: Looking for writers 2025/09/14 09:52:25 DEBUG : Looking for writers 2025/09/14 09:52:25 DEBUG : dir: reading active writers 2025/09/14 09:52:25 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/09/14 09:52:25 DEBUG : newLeaf: vfs cache: starting upload 2025/09/14 09:52:25 DEBUG : dir: Looking for writers 2025/09/14 09:52:25 DEBUG : Looking for writers 2025/09/14 09:52:25 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:25 DEBUG : dir: reading active writers 2025/09/14 09:52:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/09/14 09:52:26 DEBUG : dir: Looking for writers 2025/09/14 09:52:26 DEBUG : Looking for writers 2025/09/14 09:52:26 DEBUG : dir: reading active writers 2025/09/14 09:52:26 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/09/14 09:52:26 DEBUG : dir: Looking for writers 2025/09/14 09:52:26 DEBUG : Looking for writers 2025/09/14 09:52:26 DEBUG : dir: reading active writers 2025/09/14 09:52:26 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/09/14 09:52:27 DEBUG : dir: Looking for writers 2025/09/14 09:52:27 DEBUG : Looking for writers 2025/09/14 09:52:27 DEBUG : dir: reading active writers 2025/09/14 09:52:27 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/09/14 09:52:27 INFO : newLeaf: Copied (replaced existing) 2025/09/14 09:52:27 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/09/14 09:52:27 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/09/14 09:52:27 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:52:27 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/09/14 09:52:28 DEBUG : dir: Looking for writers 2025/09/14 09:52:28 DEBUG : Looking for writers 2025/09/14 09:52:28 DEBUG : dir: reading active writers 2025/09/14 09:52:28 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:28 DEBUG : >WaitForWriters: 2025/09/14 09:52:29 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:52:29 DEBUG : dir: Looking for writers 2025/09/14 09:52:29 DEBUG : Looking for writers 2025/09/14 09:52:29 DEBUG : dir: reading active writers 2025/09/14 09:52:29 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:29 DEBUG : >WaitForWriters: 2025/09/14 09:52:29 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:52:33 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:52:33 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/14 09:52:33 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:33 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/14 09:52:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/14 09:52:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:33 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/14 09:52:39 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/09/14 09:52:39 DEBUG : dir/file1: newRWFileHandle: 2025/09/14 09:52:39 DEBUG : dir/file1(0xc000b57d00): openPending: 2025/09/14 09:52:39 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/09/14 09:52:39 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/09/14 09:52:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:52:39 DEBUG : dir/file1(0xc000b57d00): >openPending: err= 2025/09/14 09:52:39 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/09/14 09:52:39 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/14 09:52:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:52:39 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/14 09:52:39 DEBUG : dir/file1(0xc000b57d00): _writeAt: size=14, off=0 2025/09/14 09:52:39 DEBUG : dir/file1(0xc000b57d00): >_writeAt: n=14, err= 2025/09/14 09:52:39 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/09/14 09:52:39 DEBUG : dir/file1(0xc000b57d00): close: 2025/09/14 09:52:39 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/09/14 09:52:39 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/09/14 09:52:39 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/09/14 09:52:39 DEBUG : dir/file1(0xc000b57d00): >close: err= 2025/09/14 09:52:39 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:52:39 DEBUG : dir: Looking for writers 2025/09/14 09:52:39 DEBUG : file1: reading active writers 2025/09/14 09:52:39 DEBUG : Looking for writers 2025/09/14 09:52:39 DEBUG : dir: reading active writers 2025/09/14 09:52:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/09/14 09:52:39 DEBUG : dir: Looking for writers 2025/09/14 09:52:39 DEBUG : file1: reading active writers 2025/09/14 09:52:39 DEBUG : Looking for writers 2025/09/14 09:52:39 DEBUG : dir: reading active writers 2025/09/14 09:52:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/09/14 09:52:39 DEBUG : dir: Looking for writers 2025/09/14 09:52:39 DEBUG : file1: reading active writers 2025/09/14 09:52:39 DEBUG : Looking for writers 2025/09/14 09:52:39 DEBUG : dir: reading active writers 2025/09/14 09:52:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/09/14 09:52:39 DEBUG : dir: Looking for writers 2025/09/14 09:52:39 DEBUG : file1: reading active writers 2025/09/14 09:52:39 DEBUG : Looking for writers 2025/09/14 09:52:39 DEBUG : dir: reading active writers 2025/09/14 09:52:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/09/14 09:52:39 DEBUG : dir/file1: vfs cache: starting upload 2025/09/14 09:52:40 DEBUG : dir: Looking for writers 2025/09/14 09:52:40 DEBUG : file1: reading active writers 2025/09/14 09:52:40 DEBUG : Looking for writers 2025/09/14 09:52:40 DEBUG : dir: reading active writers 2025/09/14 09:52:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/09/14 09:52:40 DEBUG : dir: Looking for writers 2025/09/14 09:52:40 DEBUG : file1: reading active writers 2025/09/14 09:52:40 DEBUG : Looking for writers 2025/09/14 09:52:40 DEBUG : dir: reading active writers 2025/09/14 09:52:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/09/14 09:52:40 DEBUG : dir: Looking for writers 2025/09/14 09:52:40 DEBUG : file1: reading active writers 2025/09/14 09:52:40 DEBUG : Looking for writers 2025/09/14 09:52:40 DEBUG : dir: reading active writers 2025/09/14 09:52:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/09/14 09:52:41 DEBUG : dir: Looking for writers 2025/09/14 09:52:41 DEBUG : file1: reading active writers 2025/09/14 09:52:41 DEBUG : Looking for writers 2025/09/14 09:52:41 DEBUG : dir: reading active writers 2025/09/14 09:52:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/09/14 09:52:41 INFO : dir/file1: Copied (replaced existing) 2025/09/14 09:52:41 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/09/14 09:52:41 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/09/14 09:52:41 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:52:41 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/09/14 09:52:42 DEBUG : dir: Looking for writers 2025/09/14 09:52:42 DEBUG : file1: reading active writers 2025/09/14 09:52:42 DEBUG : Looking for writers 2025/09/14 09:52:42 DEBUG : dir: reading active writers 2025/09/14 09:52:42 DEBUG : >WaitForWriters: 2025/09/14 09:52:42 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/14 09:52:42 DEBUG : dir/file1: newRWFileHandle: 2025/09/14 09:52:42 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/14 09:52:42 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/14 09:52:42 DEBUG : dir/file1(0xc0008fd980): _readAt: size=512, off=0 2025/09/14 09:52:42 DEBUG : dir/file1(0xc0008fd980): openPending: 2025/09/14 09:52:42 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/09/14 09:52:42 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/09/14 09:52:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:52:42 DEBUG : dir/file1(0xc0008fd980): >openPending: err= 2025/09/14 09:52:42 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/09/14 09:52:42 DEBUG : dir/file1(0xc0008fd980): >_readAt: n=14, err=EOF 2025/09/14 09:52:42 DEBUG : dir/file1(0xc0008fd980): close: 2025/09/14 09:52:42 DEBUG : dir/file1: vfs cache: setting modification time to 2025-09-14 02:52:40 -0700 -0700 2025/09/14 09:52:42 DEBUG : dir/file1(0xc0008fd980): >close: err= 2025/09/14 09:52:45 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/09/14 09:52:45 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/09/14 09:52:45 DEBUG : newLeaf: Updating file with newLeaf 0xc000a46000 2025/09/14 09:52:45 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:52:45 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:52:48 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/09/14 09:52:48 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/09/14 09:52:48 DEBUG : dir/file1: Updating file with dir/file1 0xc000a46000 2025/09/14 09:52:48 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/09/14 09:52:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:52:49 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/09/14 09:52:49 DEBUG : dir/file1: newRWFileHandle: 2025/09/14 09:52:49 DEBUG : dir/file1(0xc000a01100): openPending: 2025/09/14 09:52:49 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/09/14 09:52:49 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/09/14 09:52:49 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:52:49 DEBUG : dir/file1(0xc000a01100): >openPending: err= 2025/09/14 09:52:49 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/09/14 09:52:49 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/14 09:52:49 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/14 09:52:49 DEBUG : dir/file1(0xc000a01100): _writeAt: size=25, off=0 2025/09/14 09:52:49 DEBUG : dir/file1(0xc000a01100): >_writeAt: n=25, err= 2025/09/14 09:52:51 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/09/14 09:52:51 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/09/14 09:52:51 DEBUG : newLeaf: Updating file with newLeaf 0xc000a46000 2025/09/14 09:52:51 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:52:51 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:52:51 DEBUG : newLeaf(0xc000a01100): close: 2025/09/14 09:52:51 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/09/14 09:52:51 DEBUG : newLeaf: vfs cache: setting modification time to 2025-09-14 09:52:49.716572421 +0000 UTC m=+2910.287578524 2025/09/14 09:52:51 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/09/14 09:52:51 DEBUG : newLeaf(0xc000a01100): >close: err= 2025/09/14 09:52:51 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:52:51 DEBUG : dir: Looking for writers 2025/09/14 09:52:51 DEBUG : Looking for writers 2025/09/14 09:52:51 DEBUG : dir: reading active writers 2025/09/14 09:52:51 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/09/14 09:52:51 DEBUG : dir: Looking for writers 2025/09/14 09:52:51 DEBUG : Looking for writers 2025/09/14 09:52:51 DEBUG : dir: reading active writers 2025/09/14 09:52:51 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/09/14 09:52:51 DEBUG : dir: Looking for writers 2025/09/14 09:52:51 DEBUG : Looking for writers 2025/09/14 09:52:51 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:51 DEBUG : dir: reading active writers 2025/09/14 09:52:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/09/14 09:52:51 DEBUG : dir: Looking for writers 2025/09/14 09:52:51 DEBUG : Looking for writers 2025/09/14 09:52:51 DEBUG : dir: reading active writers 2025/09/14 09:52:51 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/09/14 09:52:51 DEBUG : newLeaf: vfs cache: starting upload 2025/09/14 09:52:51 DEBUG : dir: Looking for writers 2025/09/14 09:52:51 DEBUG : Looking for writers 2025/09/14 09:52:51 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:51 DEBUG : dir: reading active writers 2025/09/14 09:52:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/09/14 09:52:51 DEBUG : dir: Looking for writers 2025/09/14 09:52:51 DEBUG : Looking for writers 2025/09/14 09:52:51 DEBUG : dir: reading active writers 2025/09/14 09:52:51 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/09/14 09:52:51 DEBUG : dir: Looking for writers 2025/09/14 09:52:51 DEBUG : Looking for writers 2025/09/14 09:52:51 DEBUG : dir: reading active writers 2025/09/14 09:52:51 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/09/14 09:52:52 DEBUG : dir: Looking for writers 2025/09/14 09:52:52 DEBUG : Looking for writers 2025/09/14 09:52:52 DEBUG : dir: reading active writers 2025/09/14 09:52:52 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/09/14 09:52:52 INFO : newLeaf: Copied (replaced existing) 2025/09/14 09:52:52 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/09/14 09:52:52 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/09/14 09:52:52 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:52:52 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/09/14 09:52:53 DEBUG : dir: Looking for writers 2025/09/14 09:52:53 DEBUG : Looking for writers 2025/09/14 09:52:53 DEBUG : dir: reading active writers 2025/09/14 09:52:53 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:53 DEBUG : >WaitForWriters: 2025/09/14 09:52:55 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:52:55 DEBUG : dir: Looking for writers 2025/09/14 09:52:55 DEBUG : Looking for writers 2025/09/14 09:52:55 DEBUG : dir: reading active writers 2025/09/14 09:52:55 DEBUG : newLeaf: reading active writers 2025/09/14 09:52:55 DEBUG : >WaitForWriters: 2025/09/14 09:52:55 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:52:59 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:52:59 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/14 09:52:59 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:59 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/14 09:52:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/14 09:52:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:52:59 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/14 09:53:05 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:53:05 DEBUG : dir: Looking for writers 2025/09/14 09:53:05 DEBUG : file1: reading active writers 2025/09/14 09:53:05 DEBUG : Looking for writers 2025/09/14 09:53:05 DEBUG : dir: reading active writers 2025/09/14 09:53:05 DEBUG : >WaitForWriters: 2025/09/14 09:53:05 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/14 09:53:05 DEBUG : dir/file1: newRWFileHandle: 2025/09/14 09:53:05 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/14 09:53:05 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/14 09:53:05 DEBUG : dir/file1(0xc0007bc500): _readAt: size=512, off=0 2025/09/14 09:53:05 DEBUG : dir/file1(0xc0007bc500): openPending: 2025/09/14 09:53:05 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/09/14 09:53:05 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/09/14 09:53:05 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:53:05 DEBUG : dir/file1(0xc0007bc500): >openPending: err= 2025/09/14 09:53:05 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2025/09/14 09:53:05 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/14 09:53:05 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/14 09:53:05 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/14 09:53:06 DEBUG : dir/file1(0xc0007bc500): >_readAt: n=14, err=EOF 2025/09/14 09:53:06 DEBUG : dir/file1(0xc0007bc500): close: 2025/09/14 09:53:06 DEBUG : dir/file1: vfs cache: setting modification time to 2025-09-14 02:53:01 -0700 -0700 2025/09/14 09:53:06 DEBUG : dir/file1(0xc0007bc500): >close: err= 2025/09/14 09:53:09 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/09/14 09:53:09 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/09/14 09:53:09 DEBUG : newLeaf: Updating file with newLeaf 0xc000503500 2025/09/14 09:53:09 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:53:09 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:53:12 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/09/14 09:53:12 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/09/14 09:53:12 DEBUG : dir/file1: Updating file with dir/file1 0xc000503500 2025/09/14 09:53:12 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/09/14 09:53:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:53:13 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/09/14 09:53:13 DEBUG : dir/file1: newRWFileHandle: 2025/09/14 09:53:13 DEBUG : dir/file1(0xc000b50d00): openPending: 2025/09/14 09:53:13 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/09/14 09:53:13 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/09/14 09:53:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:53:13 DEBUG : dir/file1(0xc000b50d00): >openPending: err= 2025/09/14 09:53:13 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/09/14 09:53:13 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/14 09:53:13 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/14 09:53:13 DEBUG : dir/file1(0xc000b50d00): _writeAt: size=25, off=0 2025/09/14 09:53:13 DEBUG : dir/file1(0xc000b50d00): >_writeAt: n=25, err= 2025/09/14 09:53:15 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/09/14 09:53:15 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/09/14 09:53:15 DEBUG : newLeaf: Updating file with newLeaf 0xc000503500 2025/09/14 09:53:15 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/14 09:53:15 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:53:15 DEBUG : newLeaf(0xc000b50d00): close: 2025/09/14 09:53:15 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/09/14 09:53:15 DEBUG : newLeaf: vfs cache: setting modification time to 2025-09-14 09:53:13.53618251 +0000 UTC m=+2934.107188562 2025/09/14 09:53:15 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/09/14 09:53:15 DEBUG : newLeaf(0xc000b50d00): >close: err= 2025/09/14 09:53:15 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:53:15 DEBUG : dir: Looking for writers 2025/09/14 09:53:15 DEBUG : Looking for writers 2025/09/14 09:53:15 DEBUG : dir: reading active writers 2025/09/14 09:53:15 DEBUG : newLeaf: reading active writers 2025/09/14 09:53:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/09/14 09:53:15 DEBUG : dir: Looking for writers 2025/09/14 09:53:15 DEBUG : Looking for writers 2025/09/14 09:53:15 DEBUG : dir: reading active writers 2025/09/14 09:53:15 DEBUG : newLeaf: reading active writers 2025/09/14 09:53:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/09/14 09:53:15 DEBUG : dir: Looking for writers 2025/09/14 09:53:15 DEBUG : Looking for writers 2025/09/14 09:53:15 DEBUG : newLeaf: reading active writers 2025/09/14 09:53:15 DEBUG : dir: reading active writers 2025/09/14 09:53:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/09/14 09:53:15 DEBUG : dir: Looking for writers 2025/09/14 09:53:15 DEBUG : Looking for writers 2025/09/14 09:53:15 DEBUG : dir: reading active writers 2025/09/14 09:53:15 DEBUG : newLeaf: reading active writers 2025/09/14 09:53:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/09/14 09:53:15 DEBUG : newLeaf: vfs cache: starting upload 2025/09/14 09:53:15 DEBUG : dir: Looking for writers 2025/09/14 09:53:15 DEBUG : Looking for writers 2025/09/14 09:53:15 DEBUG : dir: reading active writers 2025/09/14 09:53:15 DEBUG : newLeaf: reading active writers 2025/09/14 09:53:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/09/14 09:53:15 DEBUG : dir: Looking for writers 2025/09/14 09:53:15 DEBUG : Looking for writers 2025/09/14 09:53:15 DEBUG : dir: reading active writers 2025/09/14 09:53:15 DEBUG : newLeaf: reading active writers 2025/09/14 09:53:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/09/14 09:53:15 DEBUG : dir: Looking for writers 2025/09/14 09:53:15 DEBUG : Looking for writers 2025/09/14 09:53:15 DEBUG : newLeaf: reading active writers 2025/09/14 09:53:15 DEBUG : dir: reading active writers 2025/09/14 09:53:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/09/14 09:53:16 DEBUG : dir: Looking for writers 2025/09/14 09:53:16 DEBUG : Looking for writers 2025/09/14 09:53:16 DEBUG : dir: reading active writers 2025/09/14 09:53:16 DEBUG : newLeaf: reading active writers 2025/09/14 09:53:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/09/14 09:53:16 INFO : newLeaf: Copied (replaced existing) 2025/09/14 09:53:16 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/09/14 09:53:16 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/09/14 09:53:16 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/09/14 09:53:16 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/09/14 09:53:17 DEBUG : dir: Looking for writers 2025/09/14 09:53:17 DEBUG : Looking for writers 2025/09/14 09:53:17 DEBUG : dir: reading active writers 2025/09/14 09:53:17 DEBUG : newLeaf: reading active writers 2025/09/14 09:53:17 DEBUG : >WaitForWriters: 2025/09/14 09:53:18 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:53:18 DEBUG : dir: Looking for writers 2025/09/14 09:53:18 DEBUG : Looking for writers 2025/09/14 09:53:18 DEBUG : dir: reading active writers 2025/09/14 09:53:18 DEBUG : newLeaf: reading active writers 2025/09/14 09:53:18 DEBUG : >WaitForWriters: 2025/09/14 09:53:18 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: cleaner exiting --- PASS: TestFileRename (446.16s) --- PASS: TestFileRename/off,forceCache=false (324.27s) --- PASS: TestFileRename/minimal,forceCache=false (23.03s) --- PASS: TestFileRename/minimal,forceCache=true (25.74s) --- PASS: TestFileRename/writes,forceCache=false (23.82s) --- PASS: TestFileRename/writes,forceCache=true (25.54s) --- PASS: TestFileRename/full,forceCache=false (23.77s) === RUN TestFileStructSize file_test.go:419: File struct has size 192 bytes --- PASS: TestFileStructSize (0.00s) === RUN TestRcGetVFS run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:53:22 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:53:22 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:53:22 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:53:22 DEBUG : Looking for writers 2025/09/14 09:53:22 DEBUG : >WaitForWriters: --- PASS: TestRcGetVFS (1.49s) === RUN TestRcForget rc_test.go:17: Skipping test on non local remote --- SKIP: TestRcForget (0.00s) === RUN TestRcRefresh rc_test.go:17: Skipping test on non local remote --- SKIP: TestRcRefresh (0.00s) === RUN TestRcPollInterval rc_test.go:17: Skipping test on non local remote --- SKIP: TestRcPollInterval (0.00s) === RUN TestRcList rc_test.go:17: Skipping test on non local remote --- SKIP: TestRcList (0.00s) === RUN TestRcStats rc_test.go:17: Skipping test on non local remote --- SKIP: TestRcStats (0.00s) === RUN TestReadFileHandleMethods run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:53:24 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:53:29 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/14 09:53:30 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/14 09:53:30 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/09/14 09:53:30 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/09/14 09:53:30 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/14 09:53:31 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/09/14 09:53:31 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2025/09/14 09:53:31 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:53:31 DEBUG : dir: Looking for writers 2025/09/14 09:53:31 DEBUG : file1: reading active writers 2025/09/14 09:53:31 DEBUG : Looking for writers 2025/09/14 09:53:31 DEBUG : dir: reading active writers 2025/09/14 09:53:31 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (10.97s) === RUN TestReadFileHandleSeek run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:53:35 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:53:40 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/14 09:53:41 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/14 09:53:41 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/09/14 09:53:41 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/09/14 09:53:41 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/14 09:53:42 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/09/14 09:53:42 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/09/14 09:53:42 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/09/14 09:53:42 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/09/14 09:53:42 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/09/14 09:53:42 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/09/14 09:53:42 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/09/14 09:53:42 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/09/14 09:53:43 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2025/09/14 09:53:43 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2025/09/14 09:53:43 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2025/09/14 09:53:43 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2025/09/14 09:53:44 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2025/09/14 09:53:44 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2025/09/14 09:53:44 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2025/09/14 09:53:44 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2025/09/14 09:53:45 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:53:45 DEBUG : dir: Looking for writers 2025/09/14 09:53:45 DEBUG : file1: reading active writers 2025/09/14 09:53:45 DEBUG : Looking for writers 2025/09/14 09:53:45 DEBUG : dir: reading active writers 2025/09/14 09:53:45 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (13.98s) === RUN TestReadFileHandleReadAt run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:53:49 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:53:54 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/14 09:53:56 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/14 09:53:56 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/09/14 09:53:56 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/09/14 09:53:56 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/14 09:53:56 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/09/14 09:53:56 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/09/14 09:53:56 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/09/14 09:53:56 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/09/14 09:53:56 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/09/14 09:53:56 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/09/14 09:53:56 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/09/14 09:53:56 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/09/14 09:53:57 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2025/09/14 09:53:57 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2025/09/14 09:53:57 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2025/09/14 09:53:57 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2025/09/14 09:53:58 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2025/09/14 09:53:58 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2025/09/14 09:53:58 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2025/09/14 09:53:58 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2025/09/14 09:53:58 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2025/09/14 09:53:58 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2025/09/14 09:53:58 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/09/14 09:53:59 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2025/09/14 09:53:59 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2025/09/14 09:53:59 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2025/09/14 09:53:59 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/09/14 09:53:59 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/09/14 09:53:59 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/09/14 09:53:59 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/09/14 09:53:59 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2025/09/14 09:53:59 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/09/14 09:53:59 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/09/14 09:53:59 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/09/14 09:53:59 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2025/09/14 09:53:59 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:53:59 DEBUG : dir: Looking for writers 2025/09/14 09:53:59 DEBUG : file1: reading active writers 2025/09/14 09:53:59 DEBUG : Looking for writers 2025/09/14 09:53:59 DEBUG : dir: reading active writers 2025/09/14 09:53:59 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (14.11s) === RUN TestReadFileHandleFlush run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:54:03 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:54:08 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/14 09:54:09 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/14 09:54:09 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/09/14 09:54:09 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/09/14 09:54:09 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/14 09:54:10 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/09/14 09:54:10 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:54:10 DEBUG : dir: Looking for writers 2025/09/14 09:54:10 DEBUG : file1: reading active writers 2025/09/14 09:54:10 DEBUG : Looking for writers 2025/09/14 09:54:10 DEBUG : dir: reading active writers 2025/09/14 09:54:10 DEBUG : >WaitForWriters: 2025/09/14 09:55:08 DEBUG : forgetting directory cache 2025/09/14 09:55:14 DEBUG : forgetting directory cache 2025/09/14 09:55:14 DEBUG : dir: forgetting directory cache 2025/09/14 09:55:14 DEBUG : dir: Removed virtual directory entry vAddFile: "file1" 2025/09/14 09:55:27 DEBUG : forgetting directory cache 2025/09/14 09:55:27 DEBUG : dir: forgetting directory cache 2025/09/14 09:55:27 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/09/14 09:55:39 DEBUG : forgetting directory cache 2025/09/14 09:55:39 DEBUG : dir: forgetting directory cache 2025/09/14 09:55:39 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/09/14 09:55:51 DEBUG : forgetting directory cache 2025/09/14 09:55:51 DEBUG : dir: forgetting directory cache 2025/09/14 09:56:47 DEBUG : dir: forgetting directory cache 2025/09/14 09:56:47 DEBUG : dir/virtualDir: forgetting directory cache 2025/09/14 09:56:47 DEBUG : forgetting directory cache 2025/09/14 09:56:47 DEBUG : dir: forgetting directory cache 2025/09/14 09:56:47 DEBUG : dir/virtualDir: forgetting directory cache 2025/09/14 09:58:03 DEBUG : forgetting directory cache 2025/09/14 09:58:14 DEBUG : forgetting directory cache 2025/09/14 09:59:10 DEBUG : pacer: low level retry 1/10 (error Get "https://api.sugarsync.com/folder/:sc:9068489:215_6565487173/contents?max=500&start=0": net/http: timeout awaiting response headers) 2025/09/14 09:59:10 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/09/14 09:59:11 DEBUG : pacer: Reducing sleep to 15ms 2025/09/14 09:59:12 DEBUG : pacer: Reducing sleep to 11.25ms 2025/09/14 09:59:12 DEBUG : pacer: Reducing sleep to 10ms --- PASS: TestReadFileHandleFlush (311.20s) === RUN TestReadFileHandleRelease run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:59:14 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:59:19 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/14 09:59:21 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/14 09:59:21 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/09/14 09:59:21 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/09/14 09:59:21 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/14 09:59:22 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/09/14 09:59:22 DEBUG : dir/file1: ReadFileHandle.Release closing 2025/09/14 09:59:22 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2025/09/14 09:59:22 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:59:22 DEBUG : dir: Looking for writers 2025/09/14 09:59:22 DEBUG : file1: reading active writers 2025/09/14 09:59:22 DEBUG : Looking for writers 2025/09/14 09:59:22 DEBUG : dir: reading active writers 2025/09/14 09:59:22 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (10.97s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:59:25 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:59:25 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/14 09:59:25 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:59:25 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:59:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:59:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/14 09:59:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:59:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:59:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/14 09:59:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:59:25 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/14 09:59:30 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/14 09:59:32 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/14 09:59:32 DEBUG : dir/file1: newRWFileHandle: 2025/09/14 09:59:32 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/14 09:59:32 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/14 09:59:32 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/09/14 09:59:32 DEBUG : dir/file1(0xc000a20540): _readAt: size=1, off=0 2025/09/14 09:59:32 DEBUG : dir/file1(0xc000a20540): openPending: 2025/09/14 09:59:32 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2025/09/14 09:59:32 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/09/14 09:59:32 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:59:32 DEBUG : dir/file1(0xc000a20540): >openPending: err= 2025/09/14 09:59:32 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/09/14 09:59:32 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/14 09:59:32 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/14 09:59:32 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/14 09:59:33 DEBUG : dir/file1(0xc000a20540): >_readAt: n=1, err= 2025/09/14 09:59:33 DEBUG : dir/file1(0xc000a20540): _readAt: size=256, off=1 2025/09/14 09:59:33 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2025/09/14 09:59:33 DEBUG : dir/file1(0xc000a20540): >_readAt: n=15, err=EOF 2025/09/14 09:59:33 DEBUG : dir/file1(0xc000a20540): _readAt: size=16, off=16 2025/09/14 09:59:33 DEBUG : dir/file1(0xc000a20540): >_readAt: n=0, err=EOF 2025/09/14 09:59:33 DEBUG : dir/file1(0xc000a20540): close: 2025/09/14 09:59:33 DEBUG : dir/file1: vfs cache: setting modification time to 2025-09-14 02:59:28 -0700 -0700 2025/09/14 09:59:33 DEBUG : dir/file1(0xc000a20540): >close: err= 2025/09/14 09:59:33 DEBUG : dir/file1(0xc000a20540): close: 2025/09/14 09:59:33 DEBUG : dir/file1(0xc000a20540): >close: err=file already closed 2025/09/14 09:59:33 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:59:33 DEBUG : dir: Looking for writers 2025/09/14 09:59:33 DEBUG : file1: reading active writers 2025/09/14 09:59:33 DEBUG : Looking for writers 2025/09/14 09:59:33 DEBUG : dir: reading active writers 2025/09/14 09:59:33 DEBUG : >WaitForWriters: 2025/09/14 09:59:33 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (11.11s) === RUN TestRWFileHandleSeek run.go:180: Remote "sugarsync root 'Test/rclone-test-zuliyuk7yaci'", Local "Local file system at /tmp/rclone1560836641", Modify Window "876000h0m0s" 2025/09/14 09:59:36 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': poll-interval is not supported by this remote 2025/09/14 09:59:36 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: root is "/home/rclone/.cache/rclone" 2025/09/14 09:59:36 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:59:36 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:59:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:59:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/14 09:59:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:59:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:59:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/09/14 09:59:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-zuliyuk7yaci" 2025/09/14 09:59:36 INFO : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/09/14 09:59:41 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/09/14 09:59:43 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/09/14 09:59:43 DEBUG : dir/file1: newRWFileHandle: 2025/09/14 09:59:43 DEBUG : dir/file1: >newRWFileHandle: err= 2025/09/14 09:59:43 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/09/14 09:59:43 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/09/14 09:59:43 DEBUG : dir/file1(0xc0004e2a40): _readAt: size=1, off=0 2025/09/14 09:59:43 DEBUG : dir/file1(0xc0004e2a40): openPending: 2025/09/14 09:59:43 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2025/09/14 09:59:43 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/09/14 09:59:43 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/09/14 09:59:43 DEBUG : dir/file1(0xc0004e2a40): >openPending: err= 2025/09/14 09:59:43 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/09/14 09:59:43 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/09/14 09:59:43 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/09/14 09:59:43 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/09/14 09:59:43 DEBUG : dir/file1(0xc0004e2a40): >_readAt: n=1, err= 2025/09/14 09:59:43 DEBUG : dir/file1(0xc0004e2a40): _readAt: size=1, off=5 2025/09/14 09:59:43 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/09/14 09:59:43 DEBUG : dir/file1(0xc0004e2a40): >_readAt: n=1, err= 2025/09/14 09:59:43 DEBUG : dir/file1(0xc0004e2a40): _readAt: size=1, off=3 2025/09/14 09:59:43 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2025/09/14 09:59:43 DEBUG : dir/file1(0xc0004e2a40): >_readAt: n=1, err= 2025/09/14 09:59:43 DEBUG : dir/file1(0xc0004e2a40): _readAt: size=1, off=13 2025/09/14 09:59:43 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2025/09/14 09:59:43 DEBUG : dir/file1(0xc0004e2a40): >_readAt: n=1, err= 2025/09/14 09:59:43 DEBUG : dir/file1(0xc0004e2a40): _readAt: size=16, off=100 2025/09/14 09:59:43 DEBUG : dir/file1(0xc0004e2a40): >_readAt: n=0, err=EOF 2025/09/14 09:59:43 DEBUG : dir/file1(0xc0004e2a40): close: 2025/09/14 09:59:43 DEBUG : dir/file1: vfs cache: setting modification time to 2025-09-14 02:59:39 -0700 -0700 2025/09/14 09:59:43 DEBUG : dir/file1(0xc0004e2a40): >close: err= 2025/09/14 09:59:43 DEBUG : WaitForWriters: timeout=30s 2025/09/14 09:59:43 DEBUG : dir: Looking for writers 2025/09/14 09:59:43 DEBUG : file1: reading active writers 2025/09/14 09:59:43 DEBUG : Looking for writers 2025/09/14 09:59:43 DEBUG : dir: reading active writers 2025/09/14 09:59:43 DEBUG : >WaitForWriters: 2025/09/14 09:59:43 DEBUG : sugarsync root 'Test/rclone-test-zuliyuk7yaci': vfs cache: cleaner exiting 2025/09/14 10:01:03 DEBUG : forgetting directory cache 2025/09/14 10:01:03 DEBUG : dir: forgetting directory cache 2025/09/14 10:01:03 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/09/14 10:01:03 DEBUG : Removed virtual directory entry vAddFile: "newLeaf" 2025/09/14 10:01:26 DEBUG : forgetting directory cache 2025/09/14 10:01:26 DEBUG : dir: forgetting directory cache 2025/09/14 10:01:26 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/09/14 10:01:26 DEBUG : Removed virtual directory entry vAddFile: "newLeaf" 2025/09/14 10:01:49 DEBUG : forgetting directory cache 2025/09/14 10:01:49 DEBUG : dir: forgetting directory cache 2025/09/14 10:01:49 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/09/14 10:01:49 DEBUG : Removed virtual directory entry vAddFile: "newLeaf" 2025/09/14 10:02:15 DEBUG : forgetting directory cache 2025/09/14 10:02:15 DEBUG : dir: forgetting directory cache 2025/09/14 10:02:15 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/09/14 10:02:15 DEBUG : Removed virtual directory entry vAddFile: "newLeaf" 2025/09/14 10:02:39 DEBUG : forgetting directory cache 2025/09/14 10:02:39 DEBUG : dir: forgetting directory cache 2025/09/14 10:02:39 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/09/14 10:02:39 DEBUG : Removed virtual directory entry vAddFile: "newLeaf" 2025/09/14 10:03:04 DEBUG : forgetting directory cache 2025/09/14 10:03:04 DEBUG : dir: forgetting directory cache 2025/09/14 10:03:04 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/09/14 10:03:04 DEBUG : Removed virtual directory entry vAddFile: "newLeaf" 2025/09/14 10:03:22 DEBUG : forgetting directory cache 2025/09/14 10:03:22 DEBUG : forgetting directory cache 2025/09/14 10:03:30 DEBUG : forgetting directory cache 2025/09/14 10:03:30 DEBUG : dir: forgetting directory cache 2025/09/14 10:03:41 DEBUG : forgetting directory cache 2025/09/14 10:03:41 DEBUG : dir: forgetting directory cache 2025/09/14 10:03:55 DEBUG : forgetting directory cache 2025/09/14 10:03:55 DEBUG : dir: forgetting directory cache 2025/09/14 10:04:09 DEBUG : forgetting directory cache 2025/09/14 10:04:09 DEBUG : dir: forgetting directory cache panic: test timed out after 1h0m0s running tests: TestRWFileHandleSeek (4m46s) goroutine 9201 [running]: testing.(*M).startAlarm.func1() /usr/local/go/src/testing/testing.go:2484 +0x394 created by time.goFunc /usr/local/go/src/time/sleep.go:215 +0x2d goroutine 1 [chan receive, 4 minutes]: testing.(*T).Run(0xc0007a0a80, {0x28122de?, 0xc00083dad8?}, 0x29428c0) /usr/local/go/src/testing/testing.go:1859 +0x431 testing.runTests.func1(0xc0007a0a80) /usr/local/go/src/testing/testing.go:2279 +0x37 testing.tRunner(0xc0007a0a80, 0xc00083dc18) /usr/local/go/src/testing/testing.go:1792 +0xf4 testing.runTests(0xc000412c90, {0x40e2060, 0x55, 0x55}, {0x847360?, 0x4138d80?, 0x41150a0?}) /usr/local/go/src/testing/testing.go:2277 +0x4b4 testing.(*M).Run(0xc00063ec80) /usr/local/go/src/testing/testing.go:2142 +0x64a github.com/rclone/rclone/fstest.TestMain(0xc00063ec80) /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:69 +0xa5 github.com/rclone/rclone/vfs.TestMain(...) /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:37 main.main() _testmain.go:217 +0xa9 goroutine 9017 [select, 4 minutes]: net/http.(*persistConn).roundTrip(0xc0006b8c60, 0xc000b26d70) /usr/local/go/src/net/http/transport.go:2826 +0x785 net/http.(*Transport).roundTrip(0xc000199d40, 0xc000d13400) /usr/local/go/src/net/http/transport.go:696 +0xb9a net/http.(*Transport).RoundTrip(...) /usr/local/go/src/net/http/roundtrip.go:30 github.com/rclone/rclone/fs/fshttp.(*Transport).RoundTrip(0xc000401ce0, 0xc000d13400) /home/rclone/go/src/github.com/rclone/rclone/fs/fshttp/http.go:496 +0x345 net/http.send(0xc000d13400, {0x2c73520, 0xc000401ce0}, {0x15000000006fc001?, 0x753acca6cc30?, 0x0?}) /usr/local/go/src/net/http/client.go:259 +0x5e2 net/http.(*Client).send(0xc00001a780, 0xc000d13400, {0x148?, 0x2434400?, 0x0?}) /usr/local/go/src/net/http/client.go:180 +0x91 net/http.(*Client).do(0xc00001a780, 0xc000d13400) /usr/local/go/src/net/http/client.go:728 +0x989 net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:587 github.com/rclone/rclone/lib/rest.(*Client).Call(0xc000134280, {0x2c9ae08, 0x41387e0}, 0xc000d12f00) /home/rclone/go/src/github.com/rclone/rclone/lib/rest/rest.go:353 +0xd67 github.com/rclone/rclone/backend/sugarsync.(*Fs).delete.func1() /home/rclone/go/src/github.com/rclone/rclone/backend/sugarsync/sugarsync.go:800 +0x34 github.com/rclone/rclone/fs.pacerInvoker(0x1, 0xa, 0xc00008f808?) /home/rclone/go/src/github.com/rclone/rclone/fs/pacer.go:86 +0x32 github.com/rclone/rclone/lib/pacer.(*Pacer).call(0xc000401d40, 0xc0006039b0, 0xa) /home/rclone/go/src/github.com/rclone/rclone/lib/pacer/pacer.go:199 +0x7c github.com/rclone/rclone/lib/pacer.(*Pacer).Call(0xc000401d40, 0xc0006039b0) /home/rclone/go/src/github.com/rclone/rclone/lib/pacer/pacer.go:218 +0x93 github.com/rclone/rclone/backend/sugarsync.(*Fs).delete(0xc0006be120, {0x2c9ae08, 0x41387e0}, 0xc0?, {0xc0004e4bc0, 0x3b}, {0xc0008f4600?, 0xc00075a510?}, 0x38?) /home/rclone/go/src/github.com/rclone/rclone/backend/sugarsync/sugarsync.go:799 +0x1a5 github.com/rclone/rclone/backend/sugarsync.(*Fs).purgeCheck(0xc0006be120, {0x2c9ae08, 0x41387e0}, {0xc000634cbc, 0x3}, 0x1) /home/rclone/go/src/github.com/rclone/rclone/backend/sugarsync/sugarsync.go:841 +0x185 github.com/rclone/rclone/backend/sugarsync.(*Fs).Rmdir(0x753a84204ef8?, {0x2c9ae08?, 0x41387e0?}, {0xc000634cbc?, 0x48f0fd?}) /home/rclone/go/src/github.com/rclone/rclone/backend/sugarsync/sugarsync.go:854 +0x28 github.com/rclone/rclone/fstest.newRunIndividual.func1.2() /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:169 +0x30 github.com/rclone/rclone/fstest.retry(0xc00082e380, {0xc0006c65b8, 0x12}, 0xc00006ddd8) /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:121 +0xde github.com/rclone/rclone/fstest.newRunIndividual.func1() /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:168 +0x271 github.com/rclone/rclone/fstest.(*Run).Finalise(0xc000148c40) /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 +0x1c testing.(*common).Cleanup.func1() /usr/local/go/src/testing/testing.go:1211 +0x106 testing.(*common).runCleanup(0xc00082e380, 0xc0004e2a40?) /usr/local/go/src/testing/testing.go:1445 +0xea testing.tRunner.func2() /usr/local/go/src/testing/testing.go:1786 +0x25 testing.tRunner(0xc00082e380, 0x29428c0) /usr/local/go/src/testing/testing.go:1798 +0x11e created by testing.(*T).Run in goroutine 1 /usr/local/go/src/testing/testing.go:1851 +0x413 goroutine 9 [syscall, 60 minutes]: os/signal.signal_recv() /usr/local/go/src/runtime/sigqueue.go:152 +0x29 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x13 created by os/signal.Notify.func1.1 in goroutine 1 /usr/local/go/src/os/signal/signal.go:152 +0x1f goroutine 10 [chan receive, 60 minutes]: github.com/rclone/rclone/fs/accounting.(*tokenBucket).startSignalHandler.func1() /home/rclone/go/src/github.com/rclone/rclone/fs/accounting/accounting_unix.go:24 +0x27 created by github.com/rclone/rclone/fs/accounting.(*tokenBucket).startSignalHandler in goroutine 1 /home/rclone/go/src/github.com/rclone/rclone/fs/accounting/accounting_unix.go:21 +0xa7 goroutine 9191 [IO wait, 4 minutes]: internal/poll.runtime_pollWait(0x753a855b86d8, 0x72) /usr/local/go/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0003f0800?, 0xc000c64800?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc0003f0800, {0xc000c64800, 0x1800, 0x1800}) /usr/local/go/src/internal/poll/fd_unix.go:165 +0x27a net.(*netFD).Read(0xc0003f0800, {0xc000c64800?, 0x0?, 0x0?}) /usr/local/go/src/net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc00013e7c8, {0xc000c64800?, 0x0?, 0x0?}) /usr/local/go/src/net/net.go:194 +0x45 github.com/rclone/rclone/fs/fshttp.(*timeoutConn).Read(0xc000a8cf90, {0xc000c64800?, 0x753a855c40f8?, 0x753acca60108?}) /home/rclone/go/src/github.com/rclone/rclone/fs/fshttp/dialer.go:111 +0x29 crypto/tls.(*atLeastReader).Read(0xc000a8d350, {0xc000c64800?, 0x2c9af20?, 0xc000b26e10?}) /usr/local/go/src/crypto/tls/conn.go:809 +0x3b bytes.(*Buffer).ReadFrom(0xc00003ad38, {0x2c74cc0, 0xc000a8d350}) /usr/local/go/src/bytes/buffer.go:211 +0x98 crypto/tls.(*Conn).readFromUntil(0xc00003aa88, {0x753a8421a9d8, 0xc000a8cf90}, 0x4426d4?) /usr/local/go/src/crypto/tls/conn.go:831 +0xde crypto/tls.(*Conn).readRecordOrCCS(0xc00003aa88, 0x0) /usr/local/go/src/crypto/tls/conn.go:629 +0x3cf crypto/tls.(*Conn).readRecord(...) /usr/local/go/src/crypto/tls/conn.go:591 crypto/tls.(*Conn).Read(0xc00003aa88, {0xc0007db000, 0x1000, 0x753acca60108?}) /usr/local/go/src/crypto/tls/conn.go:1385 +0x145 net/http.(*persistConn).Read(0xc0006b8c60, {0xc0007db000?, 0x412565?, 0x68?}) /usr/local/go/src/net/http/transport.go:2122 +0x47 bufio.(*Reader).fill(0xc00087a2a0) /usr/local/go/src/bufio/bufio.go:113 +0x103 bufio.(*Reader).Peek(0xc00087a2a0, 0x1) /usr/local/go/src/bufio/bufio.go:152 +0x53 net/http.(*persistConn).readLoop(0xc0006b8c60) /usr/local/go/src/net/http/transport.go:2275 +0x172 created by net/http.(*Transport).dialConn in goroutine 9168 /usr/local/go/src/net/http/transport.go:1944 +0x174f goroutine 9192 [select, 4 minutes]: net/http.(*persistConn).writeLoop(0xc0006b8c60) /usr/local/go/src/net/http/transport.go:2590 +0xe7 created by net/http.(*Transport).dialConn in goroutine 9168 /usr/local/go/src/net/http/transport.go:1945 +0x17a5 "./vfs.test -test.v -test.timeout 1h0m0s -remote TestSugarSync:Test -verbose" - Finished ERROR in 1h0m3.717447266s (try 5/5): exit status 2: Failed []