"./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^TestDirRename$'" - Starting (try 2/5) 2025/06/17 02:29:51 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-bonuhux3lucu" 2025/06/17 02:29:51 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/06/17 02:29:51 DEBUG : proton drive root link ID 'rclone-test-bonuhux3lucu': Has cached credentials 2025/06/17 02:29:53 DEBUG : proton drive root link ID 'rclone-test-bonuhux3lucu': Used cached credential to initialize the ProtonDrive API 2025/06/17 02:29:54 DEBUG : Creating backend with remote "/tmp/rclone397025096" === RUN TestDirRename run.go:180: Remote "proton drive root link ID 'rclone-test-bonuhux3lucu'", Local "Local file system at /tmp/rclone397025096", Modify Window "1s" 2025/06/17 02:29:54 INFO : proton drive root link ID 'rclone-test-bonuhux3lucu': poll-interval is not supported by this remote 2025/06/17 02:29:54 NOTICE: proton drive root link ID 'rclone-test-bonuhux3lucu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/17 02:30:03 ERROR : dir/not found: Dir.Rename error: file does not exist 2025/06/17 02:30:04.358099 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/ePKe9U9py1V0c1W9LYNytQQ7TS71b4US2uvB3mmeET42OKOGecDCicamrxRi1pgptsetH05_UKkUGp7ImD_lhw==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/06/17 02:30:04.358165 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/ePKe9U9py1V0c1W9LYNytQQ7TS71b4US2uvB3mmeET42OKOGecDCicamrxRi1pgptsetH05_UKkUGp7ImD_lhw==/move: This value should not be blank. (Code=2000, Status=400) 2025/06/17 02:30:04 ERROR : dir: Dir.Rename error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/ePKe9U9py1V0c1W9LYNytQQ7TS71b4US2uvB3mmeET42OKOGecDCicamrxRi1pgptsetH05_UKkUGp7ImD_lhw==/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/ePKe9U9py1V0c1W9LYNytQQ7TS71b4US2uvB3mmeET42OKOGecDCicamrxRi1pgptsetH05_UKkUGp7ImD_lhw==/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/06/17 02:32:47 DEBUG : WaitForWriters: timeout=30s 2025/06/17 02:32:47 DEBUG : dir: Looking for writers 2025/06/17 02:32:47 DEBUG : file1: reading active writers 2025/06/17 02:32:47 DEBUG : file3: reading active writers 2025/06/17 02:32:47 DEBUG : Looking for writers 2025/06/17 02:32:47 DEBUG : dir: reading active writers 2025/06/17 02:32:47 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (241.30s) panic: interface conversion: vfs.Node is nil, not *vfs.Dir [recovered] panic: interface conversion: vfs.Node is nil, not *vfs.Dir goroutine 31 [running]: testing.tRunner.func1.2({0x22a1de0, 0xc000176f60}) /usr/local/go/src/testing/testing.go:1734 +0x21c testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1737 +0x35e panic({0x22a1de0?, 0xc000176f60?}) /usr/local/go/src/runtime/panic.go:792 +0x132 github.com/rclone/rclone/vfs.TestDirRename(0xc0003c88c0) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:550 +0x108f testing.tRunner(0xc0003c88c0, 0x2877ea0) /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 -test.run '^TestDirRename$'" - Finished ERROR in 4m4.358947728s (try 2/5): exit status 2: Failed [TestDirRename]