"./vfs.test -test.v -test.timeout 2h0m0s -remote TestInternxt: -list-retries 5 -verbose -test.run '^(TestDirRename|TestWriteFileHandleMethods)$'" - Starting (try 4/5) 2026/08/23 03:20:22 DEBUG : Creating backend with remote "TestInternxt:rclone-test-qiwobiz3qiva" 2026/08/23 03:20:22 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/08/23 03:20:22 DEBUG : User info: rootFolderId=2661cf64-e104-478b-b737-48c3ac8984d2, bucket=697358bf16ceabcf39af85f2 2026/08/23 03:20:23 DEBUG : Creating backend with remote "/tmp/rclone1132469512" === RUN TestDirRename run.go:198: Remote "Internxt root 'rclone-test-qiwobiz3qiva'", Local "Local file system at /tmp/rclone1132469512", Modify Window "876000h0m0s" 2026/08/23 03:20:23 INFO : Internxt root 'rclone-test-qiwobiz3qiva': poll-interval is not supported by this remote 2026/08/23 03:20:23 NOTICE: Internxt root 'rclone-test-qiwobiz3qiva': --vfs-cache-mode writes or full is recommended for this remote as it can't stream FileLimitsResponse { "maxUploadFileSize": 107374182400, "versioning": { "enabled": true, "maxFileSize": 20971520, "retentionDays": 30, "maxVersions": 20 } } 2026/08/23 03:20:37 ERROR : dir/not found: Dir.Rename error: file does not exist 2026/08/23 03:20:37 DEBUG : dir: Updating dir with dir2 0x1a8e4e370600 2026/08/23 03:20:37 DEBUG : dir: forgetting directory cache 2026/08/23 03:20:37 DEBUG : Added virtual directory entry vDel: "dir" 2026/08/23 03:20:37 DEBUG : Added virtual directory entry vAddDir: "dir2" 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:540 Error: Not equal: expected: []string{"file1,14,false", "file3,15,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,5 +1,2 @@ -([]string) (len=2) { - (string) (len=14) "file1,14,false", - (string) (len=14) "file3,15,false" -} +([]string) Test: TestDirRename 2026/08/23 03:20:38 ERROR : dir2/file1: Dir.Rename error: file does not exist dir_test.go:556: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:556 Error: Received unexpected error: file does not exist Test: TestDirRename dir_test.go:557: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:557 Error: Should be true 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:558 Error: Not equal: expected: []string{"dir2,0,true", "file2,14,false"} actual : []string{"dir2,0,true"} Diff: --- Expected +++ Actual @@ -1,4 +1,3 @@ -([]string) (len=2) { - (string) (len=11) "dir2,0,true", - (string) (len=14) "file2,14,false" +([]string) (len=1) { + (string) (len=11) "dir2,0,true" } 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:559 Error: Not equal: expected: []string{"file3,15,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=14) "file3,15,false" -} +([]string) Test: TestDirRename fstest.go:299: Sleeping for 1s for list eventual consistency: 1/5 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/5 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/5 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 8s for list eventual consistency: 4/5 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 16s for list eventual consistency: 5/5 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:306 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:339 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:563 Error: Should be true Test: TestDirRename Messages: listing wrong, want dir2/file3 (15), file2 (14) got dir2/file1 (14), dir2/file3 (15) fstest.go:192: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:192 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:309 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:339 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:563 Error: Should be true Test: TestDirRename Messages: Unexpected file "dir2/file1" fstest.go:204: Not found "file2" fstest.go:207: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:207 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:311 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:339 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:563 Error: Not equal: expected: 0 actual : 1 Test: TestDirRename Messages: 1 objects not found 2026/08/23 03:21:14 ERROR : file2: Dir.Rename error: file does not exist dir_test.go:567: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:567 Error: Received unexpected error: file does not exist 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:569 Error: Not equal: expected: []string{"file3,14,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=14) "file3,14,false" -} +([]string) Test: TestDirRename fstest.go:299: Sleeping for 1s for list eventual consistency: 1/5 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/5 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/5 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 8s for list eventual consistency: 4/5 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 16s for list eventual consistency: 5/5 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:306 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:339 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:573 Error: Should be true Test: TestDirRename Messages: listing wrong, want dir2/file3 (14) got dir2/file1 (14), dir2/file3 (15) fstest.go:192: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:192 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:309 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:339 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:573 Error: Should be true Test: TestDirRename Messages: Unexpected file "dir2/file1" fstest.go:151: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:151 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:196 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:309 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:339 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:573 Error: Not equal: expected: 14 actual : 15 Test: TestDirRename Messages: dir2/file3: size incorrect file=14 vs obj=15 2026/08/23 03:21:50 DEBUG : Added virtual directory entry vAddDir: "empty directory" 2026/08/23 03:21:50 DEBUG : empty directory: Updating dir with renamed empty directory 0x1a8e4e370c00 2026/08/23 03:21:50 DEBUG : empty directory: forgetting directory cache 2026/08/23 03:21:50 DEBUG : Added virtual directory entry vDel: "empty directory" 2026/08/23 03:21:50 DEBUG : Added virtual directory entry vAddDir: "renamed empty directory" 2026/08/23 03:21:50 DEBUG : dir2: Renaming to "dir3" 2026/08/23 03:21:50 DEBUG : WaitForWriters: timeout=30s 2026/08/23 03:21:50 DEBUG : dir3: Looking for writers 2026/08/23 03:21:50 DEBUG : renamed empty directory: Looking for writers 2026/08/23 03:21:50 DEBUG : Looking for writers 2026/08/23 03:21:50 DEBUG : dir3: reading active writers 2026/08/23 03:21:50 DEBUG : renamed empty directory: reading active writers 2026/08/23 03:21:50 DEBUG : >WaitForWriters: 2026/08/23 03:21:51 ERROR : empty directory: error listing: directory not found --- FAIL: TestDirRename (89.74s) === RUN TestWriteFileHandleMethods run.go:198: Remote "Internxt root 'rclone-test-qiwobiz3qiva'", Local "Local file system at /tmp/rclone1132469512", Modify Window "876000h0m0s" 2026/08/23 03:21:52 INFO : Internxt root 'rclone-test-qiwobiz3qiva': poll-interval is not supported by this remote 2026/08/23 03:21:52 NOTICE: Internxt root 'rclone-test-qiwobiz3qiva': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/08/23 03:21:52 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/08/23 03:21:53 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/08/23 03:21:53 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/08/23 03:21:53 DEBUG : file1: >Open: fd=file1 (w), err= 2026/08/23 03:21:53 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/08/23 03:21:53 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/08/23 03:21:53 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2026/08/23 03:21:53 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2026/08/23 03:21:53 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2026/08/23 03:21:53 DEBUG : Internxt root 'rclone-test-qiwobiz3qiva': File to upload is small (5 bytes), uploading instead of streaming 2026/08/23 03:21:54 DEBUG : file1: size = 5 OK 2026/08/23 03:21:54 NOTICE: Internxt root 'rclone-test-qiwobiz3qiva': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/08/23 03:21:54 DEBUG : file1: Size of src and dst objects identical 2026/08/23 03:21:54 DEBUG : Added virtual directory entry vAddFile: "file1" 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/write_test.go:154 Error: Not equal: expected: []string{"file1,5,false"} actual : []string{"dir2,0,true", "file1,5,false", "renamed empty directory,0,true"} Diff: --- Expected +++ Actual @@ -1,3 +1,5 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" +([]string) (len=3) { + (string) (len=11) "dir2,0,true", + (string) (len=13) "file1,5,false", + (string) (len=30) "renamed empty directory,0,true" } Test: TestWriteFileHandleMethods fstest.go:299: Sleeping for 1s for list eventual consistency: 1/5 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/5 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/5 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 8s for list eventual consistency: 4/5 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 16s for list eventual consistency: 5/5 fstest.go:302: Flushing the directory cache fstest.go:328: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:328 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:339 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:158 Error: Not equal: expected: []string{} actual : []string{"dir2", "renamed empty directory"} Diff: --- Expected +++ Actual @@ -1,2 +1,4 @@ -([]string) { +([]string) (len=2) { + (string) (len=4) "dir2", + (string) (len=23) "renamed empty directory" } Test: TestWriteFileHandleMethods Messages: directories 2026/08/23 03:22:31 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/08/23 03:22:31 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/08/23 03:22:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/08/23 03:22:31 DEBUG : file1: >Open: fd=file1 (w), err= 2026/08/23 03:22:31 DEBUG : file1: >OpenFile: fd=file1 (w), err= 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/write_test.go:165 Error: Not equal: expected: []string{"file1,5,false"} actual : []string{"dir2,0,true", "file1,5,false", "renamed empty directory,0,true"} Diff: --- Expected +++ Actual @@ -1,3 +1,5 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" +([]string) (len=3) { + (string) (len=11) "dir2,0,true", + (string) (len=13) "file1,5,false", + (string) (len=30) "renamed empty directory,0,true" } Test: TestWriteFileHandleMethods 2026/08/23 03:22:31 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/08/23 03:22:31 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/08/23 03:22:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/08/23 03:22:31 DEBUG : file1: >Open: fd=file1 (w), err= 2026/08/23 03:22:31 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/08/23 03:22:31 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 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/write_test.go:174 Error: Not equal: expected: []string{"file1,5,false"} actual : []string{"dir2,0,true", "file1,5,false", "renamed empty directory,0,true"} Diff: --- Expected +++ Actual @@ -1,3 +1,5 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" +([]string) (len=3) { + (string) (len=11) "dir2,0,true", + (string) (len=13) "file1,5,false", + (string) (len=30) "renamed empty directory,0,true" } Test: TestWriteFileHandleMethods 2026/08/23 03:22:31 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/08/23 03:22:31 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/08/23 03:22:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/08/23 03:22:31 DEBUG : file1: >Open: fd=file1 (w), err= 2026/08/23 03:22:31 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/08/23 03:22:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/08/23 03:22:31 DEBUG : Internxt root 'rclone-test-qiwobiz3qiva': File to upload is small (0 bytes), uploading instead of streaming 2026/08/23 03:22:32 DEBUG : Internxt root 'rclone-test-qiwobiz3qiva': Renamed existing file file1 to backup file1.rclone-backup-wenihoc0. (UUID: 328d6a3a-bd17-4a38-aeef-7db1c2e62b48) 2026/08/23 03:22:32 DEBUG : Internxt root 'rclone-test-qiwobiz3qiva': Upload succeeded, deleting backup file file1.rclone-backup-wenihoc0. (UUID: 328d6a3a-bd17-4a38-aeef-7db1c2e62b48) 2026/08/23 03:22:32 DEBUG : Internxt root 'rclone-test-qiwobiz3qiva': Successfully deleted backup file 2026/08/23 03:22:32 DEBUG : file1: size = 0 OK 2026/08/23 03:22:32 DEBUG : file1: Size of src and dst objects identical 2026/08/23 03:22:32 DEBUG : Added virtual directory entry vAddFile: "file1" 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/write_test.go:183 Error: Not equal: expected: []string{"file1,0,false"} actual : []string{"dir2,0,true", "file1,0,false", "renamed empty directory,0,true"} Diff: --- Expected +++ Actual @@ -1,3 +1,5 @@ -([]string) (len=1) { - (string) (len=13) "file1,0,false" +([]string) (len=3) { + (string) (len=11) "dir2,0,true", + (string) (len=13) "file1,0,false", + (string) (len=30) "renamed empty directory,0,true" } Test: TestWriteFileHandleMethods 2026/08/23 03:22:32 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/08/23 03:22:32 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/08/23 03:22:32 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/08/23 03:22:32 DEBUG : file1: >Open: fd=file1 (w), err= 2026/08/23 03:22:32 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/08/23 03:22:32 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/08/23 03:22:32 DEBUG : Internxt root 'rclone-test-qiwobiz3qiva': File to upload is small (7 bytes), uploading instead of streaming 2026/08/23 03:22:33 DEBUG : Internxt root 'rclone-test-qiwobiz3qiva': Renamed existing file file1 to backup file1.rclone-backup-yuwewuw7. (UUID: d8724591-7939-4c23-81ce-e59ad4c11a32) 2026/08/23 03:22:33 DEBUG : Internxt root 'rclone-test-qiwobiz3qiva': Upload succeeded, deleting backup file file1.rclone-backup-yuwewuw7. (UUID: d8724591-7939-4c23-81ce-e59ad4c11a32) 2026/08/23 03:22:33 DEBUG : Internxt root 'rclone-test-qiwobiz3qiva': Successfully deleted backup file 2026/08/23 03:22:33 DEBUG : file1: size = 7 OK 2026/08/23 03:22:33 DEBUG : file1: Size of src and dst objects identical 2026/08/23 03:22:33 DEBUG : Added virtual directory entry vAddFile: "file1" 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/write_test.go:192 Error: Not equal: expected: []string{"file1,7,false"} actual : []string{"dir2,0,true", "file1,7,false", "renamed empty directory,0,true"} Diff: --- Expected +++ Actual @@ -1,3 +1,5 @@ -([]string) (len=1) { - (string) (len=13) "file1,7,false" +([]string) (len=3) { + (string) (len=11) "dir2,0,true", + (string) (len=13) "file1,7,false", + (string) (len=30) "renamed empty directory,0,true" } Test: TestWriteFileHandleMethods 2026/08/23 03:22:33 DEBUG : WaitForWriters: timeout=30s 2026/08/23 03:22:33 DEBUG : renamed empty directory: Looking for writers 2026/08/23 03:22:33 DEBUG : dir2: Looking for writers 2026/08/23 03:22:33 DEBUG : Looking for writers 2026/08/23 03:22:33 DEBUG : dir2: reading active writers 2026/08/23 03:22:33 DEBUG : renamed empty directory: reading active writers 2026/08/23 03:22:33 DEBUG : file1: reading active writers 2026/08/23 03:22:33 DEBUG : >WaitForWriters: 2026/08/23 03:22:38 ERROR : dir2: error listing: directory not found fstest.go:299: Sleeping for 1s for list eventual consistency: 1/5 fstest.go:302: Flushing the directory cache fstest.go:293: Sleeping for 6s just to make sure --- FAIL: TestWriteFileHandleMethods (52.64s) FAIL 2026/08/23 03:22:45 DEBUG : Internxt root 'rclone-test-qiwobiz3qiva': Purge dir "" "./vfs.test -test.v -test.timeout 2h0m0s -remote TestInternxt: -list-retries 5 -verbose -test.run '^(TestDirRename|TestWriteFileHandleMethods)$'" - Finished ERROR in 2m23.645864906s (try 4/5): exit status 1: Failed [TestDirRename TestWriteFileHandleMethods]