"./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose" - Starting (try 1/5) === RUN TestDirHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:32:49 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirHandleMethods (6.65s) === RUN TestDirHandleReaddir run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:32:55 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirHandleReaddir (12.99s) === RUN TestDirHandleReaddirnames run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:33:08 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirHandleReaddirnames (5.85s) === RUN TestDirMethods run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:33:14 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirMethods (5.54s) === RUN TestDirForgetAll run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:33:20 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirForgetAll (6.05s) === RUN TestDirForgetPath run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:33:26 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirForgetPath (5.87s) === RUN TestDirWalk run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:33:32 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirWalk (14.62s) === RUN TestDirSetModTime run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:33:46 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirSetModTime (5.81s) === RUN TestDirStat run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:33:52 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirStat (5.90s) === RUN TestDirReadDirAll run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:33:58 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream === RUN TestDirReadDirAll/Virtual --- PASS: TestDirReadDirAll (19.93s) --- PASS: TestDirReadDirAll/Virtual (6.91s) === RUN TestDirOpen run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:34:18 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/05/25 01:34:21 ERROR : dir/: Can only open directories read only --- PASS: TestDirOpen (5.37s) === RUN TestDirCreate run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:34:23 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirCreate (8.28s) === RUN TestDirMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:34:32 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirMkdir (9.12s) === RUN TestDirMkdirSub run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:34:41 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirMkdirSub (10.94s) === RUN TestDirRemove run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:34:52 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/05/25 01:34:55 ERROR : dir/: Dir.Remove not empty --- PASS: TestDirRemove (5.72s) === RUN TestDirRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:34:57 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirRemoveAll (5.89s) === RUN TestDirRemoveName run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:35:03 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirRemoveName (6.60s) === RUN TestDirRename run.go:180: Remote "proton drive root link ID 'rclone-test-qifowur4siji'", Local "Local file system at /tmp/rclone4105539209", Modify Window "1s" 2025/05/25 01:35:10 NOTICE: proton drive root link ID 'rclone-test-qifowur4siji': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/05/25 01:35:17 ERROR : dir/not found: Dir.Rename error: file does not exist 2025/05/25 01:35:17.649469 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/6nYJlRAGI5uh-XXajEbhOK7F86k7JKbh1X0Flw-d-bik4PrxRQMJNGuWsJUwlwz-FZnr8UpCh8jf0SH3n6WR-Q==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/05/25 01:35:17.649504 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/6nYJlRAGI5uh-XXajEbhOK7F86k7JKbh1X0Flw-d-bik4PrxRQMJNGuWsJUwlwz-FZnr8UpCh8jf0SH3n6WR-Q==/move: This value should not be blank. (Code=2000, Status=400) 2025/05/25 01:35:17 ERROR : dir: Dir.Rename error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/6nYJlRAGI5uh-XXajEbhOK7F86k7JKbh1X0Flw-d-bik4PrxRQMJNGuWsJUwlwz-FZnr8UpCh8jf0SH3n6WR-Q==/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/6nYJlRAGI5uh-XXajEbhOK7F86k7JKbh1X0Flw-d-bik4PrxRQMJNGuWsJUwlwz-FZnr8UpCh8jf0SH3n6WR-Q==/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:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/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:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:545 Error: Should be true Test: TestDirRename Messages: Unexpected file "dir/file1" fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:545 Error: Should be true Test: TestDirRename Messages: Unexpected file "dir/file3" fstest.go:197: Not found "dir2/file3" fstest.go:197: Not found "dir2/file1" fstest.go:200: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:200 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:304 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /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:321: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:321 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/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 --- FAIL: TestDirRename (204.89s) panic: interface conversion: vfs.Node is nil, not *vfs.Dir [recovered] panic: interface conversion: vfs.Node is nil, not *vfs.Dir goroutine 1641 [running]: testing.tRunner.func1.2({0x22535c0, 0xc000ae9800}) /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1632 +0x230 testing.tRunner.func1() /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1635 +0x35e panic({0x22535c0?, 0xc000ae9800?}) /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:785 +0x132 github.com/rclone/rclone/vfs.TestDirRename(0xc0004c0000) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:550 +0x10d1 testing.tRunner(0xc0004c0000, 0x2806f20) /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0xf4 created by testing.(*T).Run in goroutine 1 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x390 "./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose" - Finished ERROR in 5m48.037884091s (try 1/5): exit status 2: Failed [TestDirRename]