"./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-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:01:59 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirHandleMethods (3.43s) === RUN TestDirHandleReaddir run.go:180: Remote "proton drive root link ID 'rclone-test-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:02:02 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirHandleReaddir (6.74s) === RUN TestDirHandleReaddirnames run.go:180: Remote "proton drive root link ID 'rclone-test-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:02:09 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirHandleReaddirnames (3.12s) === RUN TestDirMethods run.go:180: Remote "proton drive root link ID 'rclone-test-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:02:12 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirMethods (2.76s) === RUN TestDirForgetAll run.go:180: Remote "proton drive root link ID 'rclone-test-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:02:15 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirForgetAll (3.29s) === RUN TestDirForgetPath run.go:180: Remote "proton drive root link ID 'rclone-test-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:02:18 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirForgetPath (3.09s) === RUN TestDirWalk run.go:180: Remote "proton drive root link ID 'rclone-test-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:02:21 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirWalk (7.26s) === RUN TestDirSetModTime run.go:180: Remote "proton drive root link ID 'rclone-test-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:02:28 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirSetModTime (2.98s) === RUN TestDirStat run.go:180: Remote "proton drive root link ID 'rclone-test-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:02:31 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirStat (3.09s) === RUN TestDirReadDirAll run.go:180: Remote "proton drive root link ID 'rclone-test-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:02:34 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream === RUN TestDirReadDirAll/Virtual --- PASS: TestDirReadDirAll (10.33s) --- PASS: TestDirReadDirAll/Virtual (3.61s) === RUN TestDirOpen run.go:180: Remote "proton drive root link ID 'rclone-test-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:02:45 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/07 02:02:46 ERROR : dir/: Can only open directories read only --- PASS: TestDirOpen (2.89s) === RUN TestDirCreate run.go:180: Remote "proton drive root link ID 'rclone-test-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:02:47 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirCreate (4.50s) === RUN TestDirMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:02:52 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirMkdir (4.59s) === RUN TestDirMkdirSub run.go:180: Remote "proton drive root link ID 'rclone-test-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:02:57 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirMkdirSub (5.46s) === RUN TestDirRemove run.go:180: Remote "proton drive root link ID 'rclone-test-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:03:02 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/07 02:03:04 ERROR : dir/: Dir.Remove not empty --- PASS: TestDirRemove (3.23s) === RUN TestDirRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:03:05 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirRemoveAll (2.99s) === RUN TestDirRemoveName run.go:180: Remote "proton drive root link ID 'rclone-test-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:03:08 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream --- PASS: TestDirRemoveName (3.57s) === RUN TestDirRename run.go:180: Remote "proton drive root link ID 'rclone-test-tixagoc8suho'", Local "Local file system at /tmp/rclone3788191847", Modify Window "1s" 2025/06/07 02:03:12 NOTICE: proton drive root link ID 'rclone-test-tixagoc8suho': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/07 02:03:15 ERROR : dir/not found: Dir.Rename error: file does not exist 2025/06/07 02:03:16.180635 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/GEN5blm4aFOXKMdoaJ2fOj5Xn3DkKBcByZkXsk10UdYbZ54zLNygmzGlutO1ltTFaln_yAHojDW_SFj6BeLjow==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/06/07 02:03:16.180673 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/GEN5blm4aFOXKMdoaJ2fOj5Xn3DkKBcByZkXsk10UdYbZ54zLNygmzGlutO1ltTFaln_yAHojDW_SFj6BeLjow==/move: This value should not be blank. (Code=2000, Status=400) 2025/06/07 02:03:16 ERROR : dir: Dir.Rename error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/GEN5blm4aFOXKMdoaJ2fOj5Xn3DkKBcByZkXsk10UdYbZ54zLNygmzGlutO1ltTFaln_yAHojDW_SFj6BeLjow==/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/GEN5blm4aFOXKMdoaJ2fOj5Xn3DkKBcByZkXsk10UdYbZ54zLNygmzGlutO1ltTFaln_yAHojDW_SFj6BeLjow==/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 (182.17s) panic: interface conversion: vfs.Node is nil, not *vfs.Dir [recovered] panic: interface conversion: vfs.Node is nil, not *vfs.Dir goroutine 1665 [running]: testing.tRunner.func1.2({0x226e700, 0xc00061def0}) /usr/local/go/src/testing/testing.go:1734 +0x21c testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1737 +0x35e panic({0x226e700?, 0xc00061def0?}) /usr/local/go/src/runtime/panic.go:792 +0x132 github.com/rclone/rclone/vfs.TestDirRename(0xc000b54000) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:550 +0x108f testing.tRunner(0xc000b54000, 0x2836e70) /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 4m16.642660834s (try 1/5): exit status 2: Failed [TestDirRename]