"./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose" - Starting (try 1/5) 2025/07/02 04:00:27 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-zakunoy6nuvu" 2025/07/02 04:00:27 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/07/02 04:00:27 DEBUG : proton drive root link ID 'rclone-test-zakunoy6nuvu': Has cached credentials 2025/07/02 04:00:28.285937 WARN RESTY 401 GET https://mail.proton.me/api/core/v4/users: Invalid access token (Code=401, Status=401), Attempt 1 2025/07/02 04:00:28.285975 ERROR RESTY 401 GET https://mail.proton.me/api/core/v4/users: Invalid access token (Code=401, Status=401) 2025/07/02 04:00:28 DEBUG : Saving config "client_uid" in section "TestProtonDrive" of the config file 2025/07/02 04:00:28 DEBUG : Saving config "client_access_token" in section "TestProtonDrive" of the config file 2025/07/02 04:00:28 DEBUG : Saving config "client_refresh_token" in section "TestProtonDrive" of the config file 2025/07/02 04:00:28 DEBUG : Saving config "client_salted_key_pass" in section "TestProtonDrive" of the config file 2025/07/02 04:00:31 DEBUG : proton drive root link ID 'rclone-test-zakunoy6nuvu': Used cached credential to initialize the ProtonDrive API 2025/07/02 04:00:31 DEBUG : Creating backend with remote "/tmp/rclone4267713777" === RUN TestDirHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:00:31 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:00:31 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/02 04:00:37 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:00:37 DEBUG : dir: Looking for writers 2025/07/02 04:00:37 DEBUG : Looking for writers 2025/07/02 04:00:37 DEBUG : dir: reading active writers 2025/07/02 04:00:37 DEBUG : >WaitForWriters: --- PASS: TestDirHandleMethods (8.78s) === RUN TestDirHandleReaddir run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:00:40 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:00:40 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/02 04:00:51 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:00:51 DEBUG : dir/subdir: Looking for writers 2025/07/02 04:00:51 DEBUG : dir: Looking for writers 2025/07/02 04:00:51 DEBUG : file1: reading active writers 2025/07/02 04:00:51 DEBUG : file2: reading active writers 2025/07/02 04:00:51 DEBUG : subdir: reading active writers 2025/07/02 04:00:51 DEBUG : Looking for writers 2025/07/02 04:00:51 DEBUG : dir: reading active writers 2025/07/02 04:00:51 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddir (16.80s) === RUN TestDirHandleReaddirnames run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:00:57 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:00:57 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/02 04:01:02 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:01:02 DEBUG : dir: Looking for writers 2025/07/02 04:01:02 DEBUG : file1: reading active writers 2025/07/02 04:01:02 DEBUG : Looking for writers 2025/07/02 04:01:02 DEBUG : dir: reading active writers 2025/07/02 04:01:02 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddirnames (8.20s) === RUN TestDirMethods run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:01:05 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:01:05 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/02 04:01:09 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:01:09 DEBUG : dir: Looking for writers 2025/07/02 04:01:09 DEBUG : Looking for writers 2025/07/02 04:01:09 DEBUG : dir: reading active writers 2025/07/02 04:01:09 DEBUG : >WaitForWriters: --- PASS: TestDirMethods (7.22s) === RUN TestDirForgetAll run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:01:12 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:01:12 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/02 04:01:17 DEBUG : dir: forgetting directory cache 2025/07/02 04:01:17 DEBUG : forgetting directory cache 2025/07/02 04:01:17 DEBUG : dir: forgetting directory cache 2025/07/02 04:01:17 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:01:17 DEBUG : Looking for writers 2025/07/02 04:01:17 DEBUG : >WaitForWriters: --- PASS: TestDirForgetAll (7.55s) === RUN TestDirForgetPath run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:01:20 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:01:20 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/02 04:01:25 DEBUG : ForgetPath: relativePath="dir/notfound", type=1 2025/07/02 04:01:25 DEBUG : dir: invalidating directory cache 2025/07/02 04:01:25 DEBUG : >ForgetPath: 2025/07/02 04:01:25 DEBUG : ForgetPath: relativePath="dir", type=0 2025/07/02 04:01:25 DEBUG : invalidating directory cache 2025/07/02 04:01:25 DEBUG : dir: forgetting directory cache 2025/07/02 04:01:25 DEBUG : >ForgetPath: 2025/07/02 04:01:25 DEBUG : ForgetPath: relativePath="not/in/cache", type=0 2025/07/02 04:01:25 DEBUG : >ForgetPath: 2025/07/02 04:01:25 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:01:25 DEBUG : dir: Looking for writers 2025/07/02 04:01:25 DEBUG : Looking for writers 2025/07/02 04:01:25 DEBUG : dir: reading active writers 2025/07/02 04:01:25 DEBUG : >WaitForWriters: --- PASS: TestDirForgetPath (8.38s) === RUN TestDirWalk run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:01:28 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:01:28 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/02 04:01:40 DEBUG : forgetting directory cache 2025/07/02 04:01:40 DEBUG : dir: forgetting directory cache 2025/07/02 04:01:41 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:01:41 DEBUG : fil/a/b: Looking for writers 2025/07/02 04:01:41 DEBUG : fil/a: Looking for writers 2025/07/02 04:01:41 DEBUG : b: reading active writers 2025/07/02 04:01:41 DEBUG : fil: Looking for writers 2025/07/02 04:01:41 DEBUG : a: reading active writers 2025/07/02 04:01:41 DEBUG : dir: Looking for writers 2025/07/02 04:01:41 DEBUG : Looking for writers 2025/07/02 04:01:41 DEBUG : dir: reading active writers 2025/07/02 04:01:41 DEBUG : fil: reading active writers 2025/07/02 04:01:41 DEBUG : >WaitForWriters: --- PASS: TestDirWalk (19.44s) === RUN TestDirSetModTime run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:01:48 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:01:48 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/02 04:01:52 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:01:52 DEBUG : dir: Looking for writers 2025/07/02 04:01:52 DEBUG : Looking for writers 2025/07/02 04:01:52 DEBUG : dir: reading active writers 2025/07/02 04:01:52 DEBUG : >WaitForWriters: --- PASS: TestDirSetModTime (6.94s) === RUN TestDirStat run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:01:55 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:01:55 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/02 04:02:00 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:02:00 DEBUG : dir: Looking for writers 2025/07/02 04:02:00 DEBUG : file1: reading active writers 2025/07/02 04:02:00 DEBUG : Looking for writers 2025/07/02 04:02:00 DEBUG : dir: reading active writers 2025/07/02 04:02:00 DEBUG : >WaitForWriters: --- PASS: TestDirStat (8.09s) === RUN TestDirReadDirAll run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:02:03 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:02:03 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream === RUN TestDirReadDirAll/Virtual 2025/07/02 04:02:15 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2025/07/02 04:02:15 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2025/07/02 04:02:15 DEBUG : dir: Added virtual directory entry vDel: "file2" 2025/07/02 04:02:15 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2025/07/02 04:02:22 DEBUG : dir: invalidating directory cache 2025/07/02 04:02:23 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2025/07/02 04:02:23 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2025/07/02 04:02:23 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2025/07/02 04:02:23 DEBUG : dir/file1: Reset virtual modtime 2025/07/02 04:02:23 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2025/07/02 04:02:23 DEBUG : dir/virtualFile: Reset virtual modtime 2025/07/02 04:02:23 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2025/07/02 04:02:23 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2025/07/02 04:02:23 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/02 04:02:23 DEBUG : dir: invalidating directory cache 2025/07/02 04:02:24 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2025/07/02 04:02:24 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/07/02 04:02:24 DEBUG : dir/virtualFile: Reset virtual modtime 2025/07/02 04:02:24 DEBUG : forgetting directory cache 2025/07/02 04:02:24 DEBUG : dir: forgetting directory cache 2025/07/02 04:02:24 DEBUG : dir/virtualDir: forgetting directory cache 2025/07/02 04:02:24 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:02:24 DEBUG : dir/virtualDir: Looking for writers 2025/07/02 04:02:24 DEBUG : dir: Looking for writers 2025/07/02 04:02:24 DEBUG : file1: reading active writers 2025/07/02 04:02:24 DEBUG : virtualFile2: reading active writers 2025/07/02 04:02:24 DEBUG : virtualFile: reading active writers 2025/07/02 04:02:24 DEBUG : virtualDir: reading active writers 2025/07/02 04:02:24 DEBUG : Looking for writers 2025/07/02 04:02:24 DEBUG : dir: reading active writers 2025/07/02 04:02:24 DEBUG : >WaitForWriters: --- PASS: TestDirReadDirAll (26.45s) --- PASS: TestDirReadDirAll/Virtual (8.91s) === RUN TestDirOpen run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:02:29 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:02:29 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/02 04:02:34 ERROR : dir/: Can only open directories read only 2025/07/02 04:02:34 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:02:34 DEBUG : dir: Looking for writers 2025/07/02 04:02:34 DEBUG : Looking for writers 2025/07/02 04:02:34 DEBUG : dir: reading active writers 2025/07/02 04:02:34 DEBUG : >WaitForWriters: --- PASS: TestDirOpen (7.22s) === RUN TestDirCreate run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:02:36 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:02:36 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/02 04:02:41 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2025/07/02 04:02:41 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/07/02 04:02:41 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2025/07/02 04:02:41 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/07/02 04:02:41 DEBUG : proton drive root link ID 'rclone-test-zakunoy6nuvu': File to upload is small (5 bytes), uploading instead of streaming 2025/07/02 04:02:43 DEBUG : dir/potato: sha1 = aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d OK 2025/07/02 04:02:43 DEBUG : dir/potato: Size and sha1 of src and dst objects identical 2025/07/02 04:02:43 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/07/02 04:02:43 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:02:43 DEBUG : dir: Looking for writers 2025/07/02 04:02:43 DEBUG : file1: reading active writers 2025/07/02 04:02:43 DEBUG : potato: reading active writers 2025/07/02 04:02:43 DEBUG : Looking for writers 2025/07/02 04:02:43 DEBUG : dir: reading active writers 2025/07/02 04:02:43 DEBUG : >WaitForWriters: --- PASS: TestDirCreate (9.87s) === RUN TestDirMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:02:46 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:02:46 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/02 04:02:52 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/07/02 04:02:54 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:02:54 DEBUG : dir/sub: Looking for writers 2025/07/02 04:02:54 DEBUG : dir: Looking for writers 2025/07/02 04:02:54 DEBUG : file1: reading active writers 2025/07/02 04:02:54 DEBUG : sub: reading active writers 2025/07/02 04:02:54 DEBUG : Looking for writers 2025/07/02 04:02:54 DEBUG : dir: reading active writers 2025/07/02 04:02:54 DEBUG : >WaitForWriters: --- PASS: TestDirMkdir (11.16s) === RUN TestDirMkdirSub run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:02:57 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:02:57 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/02 04:03:04 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/07/02 04:03:05 DEBUG : dir/sub: Added virtual directory entry vAddDir: "subsub" 2025/07/02 04:03:07 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:03:07 DEBUG : dir/sub/subsub: Looking for writers 2025/07/02 04:03:07 DEBUG : dir/sub: Looking for writers 2025/07/02 04:03:07 DEBUG : subsub: reading active writers 2025/07/02 04:03:07 DEBUG : dir: Looking for writers 2025/07/02 04:03:07 DEBUG : file1: reading active writers 2025/07/02 04:03:07 DEBUG : sub: reading active writers 2025/07/02 04:03:07 DEBUG : Looking for writers 2025/07/02 04:03:07 DEBUG : dir: reading active writers 2025/07/02 04:03:07 DEBUG : >WaitForWriters: --- PASS: TestDirMkdirSub (14.39s) === RUN TestDirRemove run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:03:12 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:03:12 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/02 04:03:17 ERROR : dir/: Dir.Remove not empty 2025/07/02 04:03:17 DEBUG : dir/file1: Remove: 2025/07/02 04:03:18 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/02 04:03:18 DEBUG : dir/file1: >Remove: err= 2025/07/02 04:03:19 DEBUG : Added virtual directory entry vDel: "dir" 2025/07/02 04:03:19 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:03:19 DEBUG : Looking for writers 2025/07/02 04:03:19 DEBUG : >WaitForWriters: --- PASS: TestDirRemove (8.08s) === RUN TestDirRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:03:20 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:03:20 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/02 04:03:25 DEBUG : dir/file1: Remove: 2025/07/02 04:03:26 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/02 04:03:26 DEBUG : dir/file1: >Remove: err= 2025/07/02 04:03:27 DEBUG : Added virtual directory entry vDel: "dir" 2025/07/02 04:03:27 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:03:27 DEBUG : Looking for writers 2025/07/02 04:03:27 DEBUG : >WaitForWriters: --- PASS: TestDirRemoveAll (7.95s) === RUN TestDirRemoveName run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:03:28 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:03:28 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/02 04:03:33 DEBUG : dir/file1: Remove: 2025/07/02 04:03:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/02 04:03:34 DEBUG : dir/file1: >Remove: err= 2025/07/02 04:03:35 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:03:35 DEBUG : dir: Looking for writers 2025/07/02 04:03:35 DEBUG : Looking for writers 2025/07/02 04:03:35 DEBUG : dir: reading active writers 2025/07/02 04:03:35 DEBUG : >WaitForWriters: --- PASS: TestDirRemoveName (8.73s) === RUN TestDirRename run.go:180: Remote "proton drive root link ID 'rclone-test-zakunoy6nuvu'", Local "Local file system at /tmp/rclone4267713777", Modify Window "1s" 2025/07/02 04:03:37 INFO : proton drive root link ID 'rclone-test-zakunoy6nuvu': poll-interval is not supported by this remote 2025/07/02 04:03:37 NOTICE: proton drive root link ID 'rclone-test-zakunoy6nuvu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/02 04:03:45 ERROR : dir/not found: Dir.Rename error: file does not exist 2025/07/02 04:03:46.129122 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/AqZ0BRlHtRZqDqh0DkbbWJU90RQ4uyaVgITn2dqqfM0kd2NPFMs_m_PtOiBPnSKh6O4WSYHoOPjM8P0ithixnQ==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/07/02 04:03:46.129161 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/AqZ0BRlHtRZqDqh0DkbbWJU90RQ4uyaVgITn2dqqfM0kd2NPFMs_m_PtOiBPnSKh6O4WSYHoOPjM8P0ithixnQ==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/02 04:03:46 ERROR : dir: Dir.Rename error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/AqZ0BRlHtRZqDqh0DkbbWJU90RQ4uyaVgITn2dqqfM0kd2NPFMs_m_PtOiBPnSKh6O4WSYHoOPjM8P0ithixnQ==/move: This value should not be blank. (Code=2000, Status=400) dir_test.go:538: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:538 Error: Received unexpected error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/AqZ0BRlHtRZqDqh0DkbbWJU90RQ4uyaVgITn2dqqfM0kd2NPFMs_m_PtOiBPnSKh6O4WSYHoOPjM8P0ithixnQ==/move: This value should not be blank. (Code=2000, Status=400) Test: TestDirRename dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:539 Error: Not equal: expected: []string{"dir2,0,true"} actual : []string{"dir,0,true"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=11) "dir2,0,true" + (string) (len=10) "dir,0,true" } Test: TestDirRename fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:298: Flushing the directory cache fstest.go:302: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:335 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:545 Error: Should be true Test: TestDirRename Messages: listing wrong, want dir2/file1 (14), dir2/file3 (15) got dir/file1 (14), dir/file3 (15) fstest.go:188: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:188 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:335 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:545 Error: Should be true Test: TestDirRename Messages: Unexpected file "dir/file1" fstest.go:188: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:188 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:335 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:545 Error: Should be true Test: TestDirRename Messages: Unexpected file "dir/file3" fstest.go:200: Not found "dir2/file1" fstest.go:200: Not found "dir2/file3" fstest.go:203: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:203 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:307 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:335 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:545 Error: Not equal: expected: 0 actual : 2 Test: TestDirRename Messages: 2 objects not found fstest.go:324: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:324 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:335 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:545 Error: Not equal: expected: []string{"dir2"} actual : []string{"dir"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=4) "dir2" + (string) (len=3) "dir" } Test: TestDirRename Messages: directories dir_test.go:549: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:549 Error: Received unexpected error: file does not exist Test: TestDirRename 2025/07/02 04:06:44 DEBUG : WaitForWriters: timeout=30s 2025/07/02 04:06:44 DEBUG : dir: Looking for writers 2025/07/02 04:06:44 DEBUG : file1: reading active writers 2025/07/02 04:06:44 DEBUG : file3: reading active writers 2025/07/02 04:06:44 DEBUG : Looking for writers 2025/07/02 04:06:44 DEBUG : dir: reading active writers 2025/07/02 04:06:44 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (257.74s) panic: interface conversion: vfs.Node is nil, not *vfs.Dir [recovered] panic: interface conversion: vfs.Node is nil, not *vfs.Dir goroutine 1675 [running]: testing.tRunner.func1.2({0x22a3e00, 0xc00036d7d0}) /usr/local/go/src/testing/testing.go:1734 +0x21c testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1737 +0x35e panic({0x22a3e00?, 0xc00036d7d0?}) /usr/local/go/src/runtime/panic.go:792 +0x132 github.com/rclone/rclone/vfs.TestDirRename(0xc000720c40) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:550 +0x108f testing.tRunner(0xc000720c40, 0x287a140) /usr/local/go/src/testing/testing.go:1792 +0xf4 created by testing.(*T).Run in goroutine 1 /usr/local/go/src/testing/testing.go:1851 +0x413 "./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose" - Finished ERROR in 7m27.232110401s (try 1/5): exit status 2: Failed [TestDirRename]