"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestRWFileHandleWriteNoWrite|TestVFSMkdir)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 3/5) 2024/11/09 04:54:00 DEBUG : Creating backend with remote "TestMega:rclone-test-bagolin4yoqo" 2024/11/09 04:54:00 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/09 04:54:13 DEBUG : Creating backend with remote "/tmp/rclone3454096262" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "mega root 'rclone-test-bagolin4yoqo'", Local "Local file system at /tmp/rclone3454096262", Modify Window "876000h0m0s" 2024/11/09 04:54:13 INFO : mega root 'rclone-test-bagolin4yoqo': poll-interval is not supported by this remote 2024/11/09 04:54:13 NOTICE: mega root 'rclone-test-bagolin4yoqo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/09 04:54:18 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:54:18 DEBUG : dir: Looking for writers 2024/11/09 04:54:18 DEBUG : file1: reading active writers 2024/11/09 04:54:18 DEBUG : : Looking for writers 2024/11/09 04:54:18 DEBUG : dir: reading active writers 2024/11/09 04:54:18 DEBUG : >WaitForWriters: 2024/11/09 04:54:21 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/09 04:54:21 DEBUG : newLeaf: Updating file with newLeaf 0xc0002c0b40 2024/11/09 04:54:21 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/09 04:54:21 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" 2024/11/09 04:54:28 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/11/09 04:54:28 DEBUG : dir/file1: Updating file with dir/file1 0xc0002c0b40 2024/11/09 04:54:28 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/11/09 04:54:28 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "newLeaf" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "dir/file1" 2024/11/09 04:54:35 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/11/09 04:54:35 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/11/09 04:54:35 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/09 04:54:35 DEBUG : dir/file1: File is currently open, delaying rename 0xc0002c0b40 2024/11/09 04:54:35 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/09 04:54:35 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/09 04:54:35 DEBUG : mega root 'rclone-test-bagolin4yoqo': File to upload is small (25 bytes), uploading instead of streaming 2024/11/09 04:54:36 NOTICE: mega root 'rclone-test-bagolin4yoqo': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2024/11/09 04:54:36 DEBUG : dir/file1: Size of src and dst objects identical 2024/11/09 04:54:36 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/09 04:54:36 DEBUG : newLeaf: Running delayed rename now 2024/11/09 04:54:36 INFO : newLeaf: Deleted 2024/11/09 04:54:36 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/09 04:54:36 DEBUG : newLeaf: Updating file with newLeaf 0xc0002c0b40 2024/11/09 04:54:36 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:54:36 DEBUG : dir: Looking for writers 2024/11/09 04:54:36 DEBUG : : Looking for writers 2024/11/09 04:54:36 DEBUG : dir: reading active writers 2024/11/09 04:54:36 DEBUG : newLeaf: reading active writers 2024/11/09 04:54:36 DEBUG : >WaitForWriters: 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/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (25) got file1 (25), newLeaf (25) 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/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" 2024/11/09 04:54:43 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:54:43 DEBUG : dir: Looking for writers 2024/11/09 04:54:43 DEBUG : : Looking for writers 2024/11/09 04:54:43 DEBUG : dir: reading active writers 2024/11/09 04:54:43 DEBUG : newLeaf: reading active writers 2024/11/09 04:54:43 DEBUG : >WaitForWriters: 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/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want got newLeaf (25) 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/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "newLeaf" === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "mega root 'rclone-test-bagolin4yoqo'", Local "Local file system at /tmp/rclone3454096262", Modify Window "876000h0m0s" 2024/11/09 04:54:51 INFO : mega root 'rclone-test-bagolin4yoqo': poll-interval is not supported by this remote 2024/11/09 04:54:51 NOTICE: mega root 'rclone-test-bagolin4yoqo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/09 04:54:51 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/09 04:54:51 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:54:51 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:54:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:54:51 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/09 04:54:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:54:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:54:51 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/09 04:54:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:54:51 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" 2024/11/09 04:54:58 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:54:58 DEBUG : dir: Looking for writers 2024/11/09 04:54:58 DEBUG : file1: reading active writers 2024/11/09 04:54:58 DEBUG : : Looking for writers 2024/11/09 04:54:58 DEBUG : dir: reading active writers 2024/11/09 04:54:58 DEBUG : newLeaf: reading active writers 2024/11/09 04:54:58 DEBUG : >WaitForWriters: 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" 2024/11/09 04:55:05 INFO : newLeaf: Deleted 2024/11/09 04:55:06 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/09 04:55:06 DEBUG : newLeaf: Updating file with newLeaf 0xc000000f00 2024/11/09 04:55:06 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/09 04:55:06 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (14) got newLeaf (14), newLeaf (25) fstest.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:144 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Not equal: expected: 14 actual : 25 Test: TestFileRename/minimal,forceCache=false Messages: newLeaf: size incorrect file=14 vs obj=25 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" 2024/11/09 04:55:19 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/11/09 04:55:19 DEBUG : dir/file1: Updating file with dir/file1 0xc000000f00 2024/11/09 04:55:19 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/11/09 04:55:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (25) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "dir/file1" 2024/11/09 04:55:26 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/11/09 04:55:26 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/11/09 04:55:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/09 04:55:26 DEBUG : dir/file1: File is currently open, delaying rename 0xc000000f00 2024/11/09 04:55:26 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/09 04:55:26 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/09 04:55:26 DEBUG : mega root 'rclone-test-bagolin4yoqo': File to upload is small (25 bytes), uploading instead of streaming 2024/11/09 04:55:29 DEBUG : dir/file1: Size of src and dst objects identical 2024/11/09 04:55:29 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/09 04:55:29 DEBUG : newLeaf: Running delayed rename now 2024/11/09 04:55:29 INFO : newLeaf: Deleted 2024/11/09 04:55:29 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/09 04:55:29 DEBUG : newLeaf: Updating file with newLeaf 0xc000000f00 2024/11/09 04:55:29 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:55:29 DEBUG : dir: Looking for writers 2024/11/09 04:55:29 DEBUG : : Looking for writers 2024/11/09 04:55:29 DEBUG : dir: reading active writers 2024/11/09 04:55:29 DEBUG : newLeaf: reading active writers 2024/11/09 04:55:29 DEBUG : >WaitForWriters: 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/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (25) got newLeaf (25), newLeaf (25) 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/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" 2024/11/09 04:55:36 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:55:36 DEBUG : dir: Looking for writers 2024/11/09 04:55:36 DEBUG : : Looking for writers 2024/11/09 04:55:36 DEBUG : newLeaf: reading active writers 2024/11/09 04:55:36 DEBUG : dir: reading active writers 2024/11/09 04:55:36 DEBUG : >WaitForWriters: 2024/11/09 04:55:36 DEBUG : vfs cache: cleaner exiting 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/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want got newLeaf (25) 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/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "mega root 'rclone-test-bagolin4yoqo'", Local "Local file system at /tmp/rclone3454096262", Modify Window "876000h0m0s" 2024/11/09 04:55:44 INFO : mega root 'rclone-test-bagolin4yoqo': poll-interval is not supported by this remote 2024/11/09 04:55:44 NOTICE: mega root 'rclone-test-bagolin4yoqo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/09 04:55:44 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/09 04:55:44 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:55:44 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:55:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:55:44 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/09 04:55:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:55:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:55:44 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/09 04:55:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:55:44 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" 2024/11/09 04:55:52 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2024/11/09 04:55:52 DEBUG : dir/file1: newRWFileHandle: 2024/11/09 04:55:52 DEBUG : dir/file1(0xc007221880): openPending: 2024/11/09 04:55:52 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2024/11/09 04:55:52 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/11/09 04:55:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/09 04:55:52 DEBUG : dir/file1(0xc007221880): >openPending: err= 2024/11/09 04:55:52 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/11/09 04:55:52 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/09 04:55:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/09 04:55:52 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/09 04:55:52 DEBUG : dir/file1(0xc007221880): _writeAt: size=14, off=0 2024/11/09 04:55:52 DEBUG : dir/file1(0xc007221880): >_writeAt: n=14, err= 2024/11/09 04:55:52 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/11/09 04:55:52 DEBUG : dir/file1(0xc007221880): close: 2024/11/09 04:55:52 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/11/09 04:55:52 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/11/09 04:55:52 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/11/09 04:55:52 DEBUG : dir/file1(0xc007221880): >close: err= 2024/11/09 04:55:52 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:55:52 DEBUG : dir: Looking for writers 2024/11/09 04:55:52 DEBUG : file1: reading active writers 2024/11/09 04:55:52 DEBUG : : Looking for writers 2024/11/09 04:55:52 DEBUG : dir: reading active writers 2024/11/09 04:55:52 DEBUG : newLeaf: reading active writers 2024/11/09 04:55:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/11/09 04:55:52 DEBUG : dir: Looking for writers 2024/11/09 04:55:52 DEBUG : file1: reading active writers 2024/11/09 04:55:52 DEBUG : : Looking for writers 2024/11/09 04:55:52 DEBUG : dir: reading active writers 2024/11/09 04:55:52 DEBUG : newLeaf: reading active writers 2024/11/09 04:55:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/11/09 04:55:52 DEBUG : dir: Looking for writers 2024/11/09 04:55:52 DEBUG : file1: reading active writers 2024/11/09 04:55:52 DEBUG : : Looking for writers 2024/11/09 04:55:52 DEBUG : dir: reading active writers 2024/11/09 04:55:52 DEBUG : newLeaf: reading active writers 2024/11/09 04:55:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/11/09 04:55:52 DEBUG : dir: Looking for writers 2024/11/09 04:55:52 DEBUG : file1: reading active writers 2024/11/09 04:55:52 DEBUG : : Looking for writers 2024/11/09 04:55:52 DEBUG : newLeaf: reading active writers 2024/11/09 04:55:52 DEBUG : dir: reading active writers 2024/11/09 04:55:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/11/09 04:55:52 DEBUG : dir/file1: vfs cache: starting upload 2024/11/09 04:55:52 DEBUG : dir: Looking for writers 2024/11/09 04:55:52 DEBUG : file1: reading active writers 2024/11/09 04:55:52 DEBUG : : Looking for writers 2024/11/09 04:55:52 DEBUG : dir: reading active writers 2024/11/09 04:55:52 DEBUG : newLeaf: reading active writers 2024/11/09 04:55:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/11/09 04:55:52 DEBUG : dir: Looking for writers 2024/11/09 04:55:52 DEBUG : file1: reading active writers 2024/11/09 04:55:52 DEBUG : : Looking for writers 2024/11/09 04:55:52 DEBUG : dir: reading active writers 2024/11/09 04:55:52 DEBUG : newLeaf: reading active writers 2024/11/09 04:55:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/11/09 04:55:52 INFO : dir/file1: Copied (replaced existing) 2024/11/09 04:55:52 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/11/09 04:55:52 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2024/11/09 04:55:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/09 04:55:52 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/11/09 04:55:52 DEBUG : dir: Looking for writers 2024/11/09 04:55:52 DEBUG : file1: reading active writers 2024/11/09 04:55:52 DEBUG : : Looking for writers 2024/11/09 04:55:52 DEBUG : dir: reading active writers 2024/11/09 04:55:52 DEBUG : newLeaf: reading active writers 2024/11/09 04:55:52 DEBUG : >WaitForWriters: 2024/11/09 04:55:52 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/09 04:55:52 DEBUG : dir/file1: newRWFileHandle: 2024/11/09 04:55:52 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/09 04:55:52 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/09 04:55:52 DEBUG : dir/file1(0xc0042d5e00): _readAt: size=512, off=0 2024/11/09 04:55:52 DEBUG : dir/file1(0xc0042d5e00): openPending: 2024/11/09 04:55:52 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2024/11/09 04:55:52 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/11/09 04:55:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/09 04:55:52 DEBUG : dir/file1(0xc0042d5e00): >openPending: err= 2024/11/09 04:55:52 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/11/09 04:55:52 DEBUG : dir/file1(0xc0042d5e00): >_readAt: n=14, err=EOF 2024/11/09 04:55:52 DEBUG : dir/file1(0xc0042d5e00): close: 2024/11/09 04:55:52 DEBUG : dir/file1: vfs cache: setting modification time to 2024-11-09 04:55:52 +0000 UTC 2024/11/09 04:55:52 DEBUG : dir/file1(0xc0042d5e00): >close: err= 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" 2024/11/09 04:56:00 INFO : newLeaf: Deleted 2024/11/09 04:56:00 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/09 04:56:00 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/11/09 04:56:00 DEBUG : newLeaf: Updating file with newLeaf 0xc00213e3c0 2024/11/09 04:56:00 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/09 04:56:00 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want newLeaf (14) got newLeaf (14), newLeaf (25) fstest.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:144 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Not equal: expected: 14 actual : 25 Test: TestFileRename/minimal,forceCache=true Messages: newLeaf: size incorrect file=14 vs obj=25 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" 2024/11/09 04:56:08 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/11/09 04:56:08 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/11/09 04:56:08 DEBUG : dir/file1: Updating file with dir/file1 0xc00213e3c0 2024/11/09 04:56:08 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/11/09 04:56:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (25) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "dir/file1" 2024/11/09 04:56:15 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/11/09 04:56:15 DEBUG : dir/file1: newRWFileHandle: 2024/11/09 04:56:15 DEBUG : dir/file1(0xc00221bc80): openPending: 2024/11/09 04:56:15 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2024/11/09 04:56:15 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/11/09 04:56:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/09 04:56:15 DEBUG : dir/file1(0xc00221bc80): >openPending: err= 2024/11/09 04:56:15 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/11/09 04:56:15 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/09 04:56:15 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/09 04:56:15 DEBUG : dir/file1(0xc00221bc80): _writeAt: size=25, off=0 2024/11/09 04:56:15 DEBUG : dir/file1(0xc00221bc80): >_writeAt: n=25, err= 2024/11/09 04:56:15 INFO : newLeaf: Deleted 2024/11/09 04:56:15 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/09 04:56:15 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/11/09 04:56:15 DEBUG : newLeaf: Updating file with newLeaf 0xc00213e3c0 2024/11/09 04:56:15 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/09 04:56:15 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/09 04:56:15 DEBUG : newLeaf(0xc00221bc80): close: 2024/11/09 04:56:15 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/11/09 04:56:15 DEBUG : newLeaf: vfs cache: setting modification time to 2024-11-09 04:56:15.024419133 +0000 UTC m=+134.729652338 2024/11/09 04:56:15 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/11/09 04:56:15 DEBUG : newLeaf(0xc00221bc80): >close: err= 2024/11/09 04:56:15 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:56:15 DEBUG : dir: Looking for writers 2024/11/09 04:56:15 DEBUG : : Looking for writers 2024/11/09 04:56:15 DEBUG : dir: reading active writers 2024/11/09 04:56:15 DEBUG : newLeaf: reading active writers 2024/11/09 04:56:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/11/09 04:56:15 DEBUG : dir: Looking for writers 2024/11/09 04:56:15 DEBUG : : Looking for writers 2024/11/09 04:56:15 DEBUG : dir: reading active writers 2024/11/09 04:56:15 DEBUG : newLeaf: reading active writers 2024/11/09 04:56:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/11/09 04:56:15 DEBUG : dir: Looking for writers 2024/11/09 04:56:15 DEBUG : : Looking for writers 2024/11/09 04:56:15 DEBUG : newLeaf: reading active writers 2024/11/09 04:56:15 DEBUG : dir: reading active writers 2024/11/09 04:56:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/11/09 04:56:15 DEBUG : dir: Looking for writers 2024/11/09 04:56:15 DEBUG : : Looking for writers 2024/11/09 04:56:15 DEBUG : dir: reading active writers 2024/11/09 04:56:15 DEBUG : newLeaf: reading active writers 2024/11/09 04:56:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/11/09 04:56:15 DEBUG : newLeaf: vfs cache: starting upload 2024/11/09 04:56:15 DEBUG : dir: Looking for writers 2024/11/09 04:56:15 DEBUG : : Looking for writers 2024/11/09 04:56:15 DEBUG : dir: reading active writers 2024/11/09 04:56:15 DEBUG : newLeaf: reading active writers 2024/11/09 04:56:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/11/09 04:56:16 DEBUG : dir: Looking for writers 2024/11/09 04:56:16 DEBUG : : Looking for writers 2024/11/09 04:56:16 DEBUG : dir: reading active writers 2024/11/09 04:56:16 DEBUG : newLeaf: reading active writers 2024/11/09 04:56:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/11/09 04:56:16 DEBUG : dir: Looking for writers 2024/11/09 04:56:16 DEBUG : : Looking for writers 2024/11/09 04:56:16 DEBUG : dir: reading active writers 2024/11/09 04:56:16 DEBUG : newLeaf: reading active writers 2024/11/09 04:56:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/11/09 04:56:16 DEBUG : dir: Looking for writers 2024/11/09 04:56:16 DEBUG : : Looking for writers 2024/11/09 04:56:16 DEBUG : dir: reading active writers 2024/11/09 04:56:16 DEBUG : newLeaf: reading active writers 2024/11/09 04:56:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/11/09 04:56:17 INFO : newLeaf: Copied (replaced existing) 2024/11/09 04:56:17 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2024/11/09 04:56:17 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/11/09 04:56:17 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/09 04:56:17 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/11/09 04:56:17 DEBUG : dir: Looking for writers 2024/11/09 04:56:17 DEBUG : : Looking for writers 2024/11/09 04:56:17 DEBUG : newLeaf: reading active writers 2024/11/09 04:56:17 DEBUG : dir: reading active writers 2024/11/09 04:56:17 DEBUG : >WaitForWriters: 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/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want newLeaf (25) got newLeaf (25), newLeaf (25) 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/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" 2024/11/09 04:56:24 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:56:24 DEBUG : dir: Looking for writers 2024/11/09 04:56:24 DEBUG : : Looking for writers 2024/11/09 04:56:24 DEBUG : dir: reading active writers 2024/11/09 04:56:24 DEBUG : newLeaf: reading active writers 2024/11/09 04:56:24 DEBUG : >WaitForWriters: 2024/11/09 04:56:24 DEBUG : vfs cache: cleaner exiting 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/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want got newLeaf (25) 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/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "mega root 'rclone-test-bagolin4yoqo'", Local "Local file system at /tmp/rclone3454096262", Modify Window "876000h0m0s" 2024/11/09 04:56:32 INFO : mega root 'rclone-test-bagolin4yoqo': poll-interval is not supported by this remote 2024/11/09 04:56:32 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/09 04:56:32 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:56:32 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:56:32 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:56:32 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/09 04:56:32 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:56:32 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:56:32 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/09 04:56:32 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:56:32 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" 2024/11/09 04:56:40 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:56:40 DEBUG : dir: Looking for writers 2024/11/09 04:56:40 DEBUG : file1: reading active writers 2024/11/09 04:56:40 DEBUG : : Looking for writers 2024/11/09 04:56:40 DEBUG : dir: reading active writers 2024/11/09 04:56:40 DEBUG : newLeaf: reading active writers 2024/11/09 04:56:40 DEBUG : >WaitForWriters: 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" 2024/11/09 04:56:47 INFO : newLeaf: Deleted 2024/11/09 04:56:48 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/09 04:56:48 DEBUG : newLeaf: Updating file with newLeaf 0xc00213e780 2024/11/09 04:56:48 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/09 04:56:48 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (14) got newLeaf (14), newLeaf (25) fstest.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:144 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Not equal: expected: 14 actual : 25 Test: TestFileRename/writes,forceCache=false Messages: newLeaf: size incorrect file=14 vs obj=25 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" 2024/11/09 04:56:55 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/11/09 04:56:55 DEBUG : dir/file1: Updating file with dir/file1 0xc00213e780 2024/11/09 04:56:55 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/11/09 04:56:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (25) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "dir/file1" 2024/11/09 04:57:02 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/11/09 04:57:02 DEBUG : dir/file1: newRWFileHandle: 2024/11/09 04:57:02 DEBUG : dir/file1(0xc0033b3880): openPending: 2024/11/09 04:57:02 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2024/11/09 04:57:02 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/11/09 04:57:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/09 04:57:02 DEBUG : dir/file1(0xc0033b3880): >openPending: err= 2024/11/09 04:57:02 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/11/09 04:57:02 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/09 04:57:02 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/09 04:57:02 DEBUG : dir/file1(0xc0033b3880): _writeAt: size=25, off=0 2024/11/09 04:57:02 DEBUG : dir/file1(0xc0033b3880): >_writeAt: n=25, err= 2024/11/09 04:57:02 INFO : newLeaf: Deleted 2024/11/09 04:57:02 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/09 04:57:02 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/11/09 04:57:02 DEBUG : newLeaf: Updating file with newLeaf 0xc00213e780 2024/11/09 04:57:02 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/09 04:57:02 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/09 04:57:02 DEBUG : newLeaf(0xc0033b3880): close: 2024/11/09 04:57:02 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/11/09 04:57:02 DEBUG : newLeaf: vfs cache: setting modification time to 2024-11-09 04:57:02.371049638 +0000 UTC m=+182.076282843 2024/11/09 04:57:02 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/11/09 04:57:02 DEBUG : newLeaf(0xc0033b3880): >close: err= 2024/11/09 04:57:02 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:57:02 DEBUG : dir: Looking for writers 2024/11/09 04:57:02 DEBUG : : Looking for writers 2024/11/09 04:57:02 DEBUG : dir: reading active writers 2024/11/09 04:57:02 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/11/09 04:57:02 DEBUG : dir: Looking for writers 2024/11/09 04:57:02 DEBUG : : Looking for writers 2024/11/09 04:57:02 DEBUG : dir: reading active writers 2024/11/09 04:57:02 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/11/09 04:57:02 DEBUG : dir: Looking for writers 2024/11/09 04:57:02 DEBUG : : Looking for writers 2024/11/09 04:57:02 DEBUG : dir: reading active writers 2024/11/09 04:57:02 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/11/09 04:57:02 DEBUG : dir: Looking for writers 2024/11/09 04:57:02 DEBUG : : Looking for writers 2024/11/09 04:57:02 DEBUG : dir: reading active writers 2024/11/09 04:57:02 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/11/09 04:57:02 DEBUG : newLeaf: vfs cache: starting upload 2024/11/09 04:57:02 DEBUG : dir: Looking for writers 2024/11/09 04:57:02 DEBUG : : Looking for writers 2024/11/09 04:57:02 DEBUG : dir: reading active writers 2024/11/09 04:57:02 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/11/09 04:57:03 DEBUG : dir: Looking for writers 2024/11/09 04:57:03 DEBUG : : Looking for writers 2024/11/09 04:57:03 DEBUG : dir: reading active writers 2024/11/09 04:57:03 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/11/09 04:57:03 DEBUG : dir: Looking for writers 2024/11/09 04:57:03 DEBUG : : Looking for writers 2024/11/09 04:57:03 DEBUG : dir: reading active writers 2024/11/09 04:57:03 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/11/09 04:57:03 INFO : newLeaf: Copied (replaced existing) 2024/11/09 04:57:03 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2024/11/09 04:57:03 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/11/09 04:57:03 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/09 04:57:03 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/11/09 04:57:04 DEBUG : dir: Looking for writers 2024/11/09 04:57:04 DEBUG : : Looking for writers 2024/11/09 04:57:04 DEBUG : dir: reading active writers 2024/11/09 04:57:04 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:04 DEBUG : >WaitForWriters: 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/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (25) got newLeaf (25), newLeaf (25) 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/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" 2024/11/09 04:57:11 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:57:11 DEBUG : dir: Looking for writers 2024/11/09 04:57:11 DEBUG : : Looking for writers 2024/11/09 04:57:11 DEBUG : dir: reading active writers 2024/11/09 04:57:11 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:11 DEBUG : >WaitForWriters: 2024/11/09 04:57:11 DEBUG : vfs cache: cleaner exiting 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/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want got newLeaf (25) 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/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "mega root 'rclone-test-bagolin4yoqo'", Local "Local file system at /tmp/rclone3454096262", Modify Window "876000h0m0s" 2024/11/09 04:57:18 INFO : mega root 'rclone-test-bagolin4yoqo': poll-interval is not supported by this remote 2024/11/09 04:57:18 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/09 04:57:18 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:57:18 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:57:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:57:18 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/09 04:57:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:57:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:57:18 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/09 04:57:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:57:18 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "newLeaf" 2024/11/09 04:57:26 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2024/11/09 04:57:26 DEBUG : dir/file1: newRWFileHandle: 2024/11/09 04:57:26 DEBUG : dir/file1(0xc005f679c0): openPending: 2024/11/09 04:57:26 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2024/11/09 04:57:26 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/11/09 04:57:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/09 04:57:26 DEBUG : dir/file1(0xc005f679c0): >openPending: err= 2024/11/09 04:57:26 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/11/09 04:57:26 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/09 04:57:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/09 04:57:26 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/09 04:57:26 DEBUG : dir/file1(0xc005f679c0): _writeAt: size=14, off=0 2024/11/09 04:57:26 DEBUG : dir/file1(0xc005f679c0): >_writeAt: n=14, err= 2024/11/09 04:57:26 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/11/09 04:57:26 DEBUG : dir/file1(0xc005f679c0): close: 2024/11/09 04:57:26 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/11/09 04:57:26 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/11/09 04:57:26 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/11/09 04:57:26 DEBUG : dir/file1(0xc005f679c0): >close: err= 2024/11/09 04:57:26 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:57:26 DEBUG : dir: Looking for writers 2024/11/09 04:57:26 DEBUG : file1: reading active writers 2024/11/09 04:57:26 DEBUG : : Looking for writers 2024/11/09 04:57:26 DEBUG : dir: reading active writers 2024/11/09 04:57:26 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/11/09 04:57:26 DEBUG : dir: Looking for writers 2024/11/09 04:57:26 DEBUG : file1: reading active writers 2024/11/09 04:57:26 DEBUG : : Looking for writers 2024/11/09 04:57:26 DEBUG : dir: reading active writers 2024/11/09 04:57:26 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/11/09 04:57:26 DEBUG : dir: Looking for writers 2024/11/09 04:57:26 DEBUG : file1: reading active writers 2024/11/09 04:57:26 DEBUG : : Looking for writers 2024/11/09 04:57:26 DEBUG : dir: reading active writers 2024/11/09 04:57:26 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/11/09 04:57:26 DEBUG : dir: Looking for writers 2024/11/09 04:57:26 DEBUG : file1: reading active writers 2024/11/09 04:57:26 DEBUG : : Looking for writers 2024/11/09 04:57:26 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:26 DEBUG : dir: reading active writers 2024/11/09 04:57:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/11/09 04:57:26 DEBUG : dir/file1: vfs cache: starting upload 2024/11/09 04:57:26 DEBUG : dir: Looking for writers 2024/11/09 04:57:26 DEBUG : file1: reading active writers 2024/11/09 04:57:26 DEBUG : : Looking for writers 2024/11/09 04:57:26 DEBUG : dir: reading active writers 2024/11/09 04:57:26 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/11/09 04:57:26 DEBUG : dir: Looking for writers 2024/11/09 04:57:26 DEBUG : file1: reading active writers 2024/11/09 04:57:26 DEBUG : : Looking for writers 2024/11/09 04:57:26 DEBUG : dir: reading active writers 2024/11/09 04:57:26 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/11/09 04:57:26 INFO : dir/file1: Copied (replaced existing) 2024/11/09 04:57:26 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/11/09 04:57:26 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2024/11/09 04:57:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/09 04:57:26 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/11/09 04:57:27 DEBUG : dir: Looking for writers 2024/11/09 04:57:27 DEBUG : file1: reading active writers 2024/11/09 04:57:27 DEBUG : : Looking for writers 2024/11/09 04:57:27 DEBUG : dir: reading active writers 2024/11/09 04:57:27 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:27 DEBUG : >WaitForWriters: 2024/11/09 04:57:27 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/09 04:57:27 DEBUG : dir/file1: newRWFileHandle: 2024/11/09 04:57:27 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/09 04:57:27 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/09 04:57:27 DEBUG : dir/file1(0xc007220340): _readAt: size=512, off=0 2024/11/09 04:57:27 DEBUG : dir/file1(0xc007220340): openPending: 2024/11/09 04:57:27 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2024/11/09 04:57:27 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/11/09 04:57:27 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/09 04:57:27 DEBUG : dir/file1(0xc007220340): >openPending: err= 2024/11/09 04:57:27 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/11/09 04:57:27 DEBUG : dir/file1(0xc007220340): >_readAt: n=14, err=EOF 2024/11/09 04:57:27 DEBUG : dir/file1(0xc007220340): close: 2024/11/09 04:57:27 DEBUG : dir/file1: vfs cache: setting modification time to 2024-11-09 04:57:26 +0000 UTC 2024/11/09 04:57:27 DEBUG : dir/file1(0xc007220340): >close: err= 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "newLeaf" 2024/11/09 04:57:34 INFO : newLeaf: Deleted 2024/11/09 04:57:34 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/09 04:57:34 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/11/09 04:57:34 DEBUG : newLeaf: Updating file with newLeaf 0xc0002c1680 2024/11/09 04:57:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/09 04:57:34 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want newLeaf (14) got newLeaf (14), newLeaf (25) fstest.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:144 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Not equal: expected: 14 actual : 25 Test: TestFileRename/writes,forceCache=true Messages: newLeaf: size incorrect file=14 vs obj=25 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "newLeaf" 2024/11/09 04:57:45 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/11/09 04:57:45 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/11/09 04:57:45 DEBUG : dir/file1: Updating file with dir/file1 0xc0002c1680 2024/11/09 04:57:45 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/11/09 04:57:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (25) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "newLeaf" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "dir/file1" 2024/11/09 04:57:52 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/11/09 04:57:52 DEBUG : dir/file1: newRWFileHandle: 2024/11/09 04:57:52 DEBUG : dir/file1(0xc0077feb40): openPending: 2024/11/09 04:57:52 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2024/11/09 04:57:52 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/11/09 04:57:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/09 04:57:52 DEBUG : dir/file1(0xc0077feb40): >openPending: err= 2024/11/09 04:57:52 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/11/09 04:57:52 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/09 04:57:52 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/09 04:57:52 DEBUG : dir/file1(0xc0077feb40): _writeAt: size=25, off=0 2024/11/09 04:57:52 DEBUG : dir/file1(0xc0077feb40): >_writeAt: n=25, err= 2024/11/09 04:57:52 INFO : newLeaf: Deleted 2024/11/09 04:57:52 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/09 04:57:52 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/11/09 04:57:52 DEBUG : newLeaf: Updating file with newLeaf 0xc0002c1680 2024/11/09 04:57:52 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/09 04:57:52 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/09 04:57:52 DEBUG : newLeaf(0xc0077feb40): close: 2024/11/09 04:57:52 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/11/09 04:57:52 DEBUG : newLeaf: vfs cache: setting modification time to 2024-11-09 04:57:52.469965654 +0000 UTC m=+232.175198899 2024/11/09 04:57:52 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/11/09 04:57:52 DEBUG : newLeaf(0xc0077feb40): >close: err= 2024/11/09 04:57:52 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:57:52 DEBUG : dir: Looking for writers 2024/11/09 04:57:52 DEBUG : : Looking for writers 2024/11/09 04:57:52 DEBUG : dir: reading active writers 2024/11/09 04:57:52 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/11/09 04:57:52 DEBUG : dir: Looking for writers 2024/11/09 04:57:52 DEBUG : : Looking for writers 2024/11/09 04:57:52 DEBUG : dir: reading active writers 2024/11/09 04:57:52 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/11/09 04:57:52 DEBUG : dir: Looking for writers 2024/11/09 04:57:52 DEBUG : : Looking for writers 2024/11/09 04:57:52 DEBUG : dir: reading active writers 2024/11/09 04:57:52 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/11/09 04:57:53 DEBUG : dir: Looking for writers 2024/11/09 04:57:53 DEBUG : : Looking for writers 2024/11/09 04:57:53 DEBUG : dir: reading active writers 2024/11/09 04:57:53 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/11/09 04:57:53 DEBUG : newLeaf: vfs cache: starting upload 2024/11/09 04:57:53 DEBUG : dir: Looking for writers 2024/11/09 04:57:53 DEBUG : : Looking for writers 2024/11/09 04:57:53 DEBUG : dir: reading active writers 2024/11/09 04:57:53 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/11/09 04:57:53 DEBUG : dir: Looking for writers 2024/11/09 04:57:53 DEBUG : : Looking for writers 2024/11/09 04:57:53 DEBUG : dir: reading active writers 2024/11/09 04:57:53 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/11/09 04:57:53 DEBUG : dir: Looking for writers 2024/11/09 04:57:53 DEBUG : : Looking for writers 2024/11/09 04:57:53 DEBUG : dir: reading active writers 2024/11/09 04:57:53 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/11/09 04:57:54 DEBUG : dir: Looking for writers 2024/11/09 04:57:54 DEBUG : : Looking for writers 2024/11/09 04:57:54 DEBUG : dir: reading active writers 2024/11/09 04:57:54 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/11/09 04:57:54 INFO : newLeaf: Copied (replaced existing) 2024/11/09 04:57:54 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2024/11/09 04:57:54 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/11/09 04:57:54 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/09 04:57:54 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/11/09 04:57:55 DEBUG : dir: Looking for writers 2024/11/09 04:57:55 DEBUG : : Looking for writers 2024/11/09 04:57:55 DEBUG : dir: reading active writers 2024/11/09 04:57:55 DEBUG : newLeaf: reading active writers 2024/11/09 04:57:55 DEBUG : >WaitForWriters: 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/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want newLeaf (25) got newLeaf (25), newLeaf (25) 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/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "newLeaf" 2024/11/09 04:58:02 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:58:02 DEBUG : dir: Looking for writers 2024/11/09 04:58:02 DEBUG : : Looking for writers 2024/11/09 04:58:02 DEBUG : dir: reading active writers 2024/11/09 04:58:02 DEBUG : newLeaf: reading active writers 2024/11/09 04:58:02 DEBUG : >WaitForWriters: 2024/11/09 04:58:02 DEBUG : vfs cache: cleaner exiting 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/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want got newLeaf (25) 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/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "newLeaf" === RUN TestFileRename/full,forceCache=false run.go:180: Remote "mega root 'rclone-test-bagolin4yoqo'", Local "Local file system at /tmp/rclone3454096262", Modify Window "876000h0m0s" 2024/11/09 04:58:10 INFO : mega root 'rclone-test-bagolin4yoqo': poll-interval is not supported by this remote 2024/11/09 04:58:10 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/09 04:58:10 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:58:10 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:58:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:58:10 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/09 04:58:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:58:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:58:10 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/09 04:58:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:58:10 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" 2024/11/09 04:58:19 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:58:19 DEBUG : dir: Looking for writers 2024/11/09 04:58:19 DEBUG : file1: reading active writers 2024/11/09 04:58:19 DEBUG : : Looking for writers 2024/11/09 04:58:19 DEBUG : dir: reading active writers 2024/11/09 04:58:19 DEBUG : newLeaf: reading active writers 2024/11/09 04:58:19 DEBUG : >WaitForWriters: 2024/11/09 04:58:19 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/09 04:58:19 DEBUG : dir/file1: newRWFileHandle: 2024/11/09 04:58:19 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/09 04:58:19 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/09 04:58:19 DEBUG : dir/file1(0xc0042d4c40): _readAt: size=512, off=0 2024/11/09 04:58:19 DEBUG : dir/file1(0xc0042d4c40): openPending: 2024/11/09 04:58:19 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2024/11/09 04:58:19 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/11/09 04:58:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/09 04:58:19 DEBUG : dir/file1(0xc0042d4c40): >openPending: err= 2024/11/09 04:58:19 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2024/11/09 04:58:19 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/09 04:58:19 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/09 04:58:19 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/11/09 04:58:20 DEBUG : dir/file1(0xc0042d4c40): >_readAt: n=14, err=EOF 2024/11/09 04:58:20 DEBUG : dir/file1(0xc0042d4c40): close: 2024/11/09 04:58:20 DEBUG : dir/file1: vfs cache: setting modification time to 2024-11-09 04:58:10 +0000 UTC 2024/11/09 04:58:20 DEBUG : dir/file1(0xc0042d4c40): >close: err= 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" 2024/11/09 04:58:27 INFO : newLeaf: Deleted 2024/11/09 04:58:27 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/09 04:58:27 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/11/09 04:58:27 DEBUG : newLeaf: Updating file with newLeaf 0xc0002c0c00 2024/11/09 04:58:27 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/09 04:58:27 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want newLeaf (14) got newLeaf (14), newLeaf (25) fstest.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:144 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Not equal: expected: 14 actual : 25 Test: TestFileRename/full,forceCache=false Messages: newLeaf: size incorrect file=14 vs obj=25 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" 2024/11/09 04:58:36 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/11/09 04:58:36 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/11/09 04:58:36 DEBUG : dir/file1: Updating file with dir/file1 0xc0002c0c00 2024/11/09 04:58:36 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/11/09 04:58:36 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (25) 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "dir/file1" 2024/11/09 04:58:43 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/11/09 04:58:43 DEBUG : dir/file1: newRWFileHandle: 2024/11/09 04:58:43 DEBUG : dir/file1(0xc000b6d040): openPending: 2024/11/09 04:58:43 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2024/11/09 04:58:43 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/11/09 04:58:43 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/09 04:58:43 DEBUG : dir/file1(0xc000b6d040): >openPending: err= 2024/11/09 04:58:43 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/11/09 04:58:43 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/09 04:58:43 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/09 04:58:43 DEBUG : dir/file1(0xc000b6d040): _writeAt: size=25, off=0 2024/11/09 04:58:43 DEBUG : dir/file1(0xc000b6d040): >_writeAt: n=25, err= 2024/11/09 04:58:43 INFO : newLeaf: Deleted 2024/11/09 04:58:43 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/09 04:58:43 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/11/09 04:58:43 DEBUG : newLeaf: Updating file with newLeaf 0xc0002c0c00 2024/11/09 04:58:43 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/09 04:58:43 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/09 04:58:43 DEBUG : newLeaf(0xc000b6d040): close: 2024/11/09 04:58:43 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/11/09 04:58:43 DEBUG : newLeaf: vfs cache: setting modification time to 2024-11-09 04:58:43.154155133 +0000 UTC m=+282.859388348 2024/11/09 04:58:43 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/11/09 04:58:43 DEBUG : newLeaf(0xc000b6d040): >close: err= 2024/11/09 04:58:43 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:58:43 DEBUG : dir: Looking for writers 2024/11/09 04:58:43 DEBUG : : Looking for writers 2024/11/09 04:58:43 DEBUG : dir: reading active writers 2024/11/09 04:58:43 DEBUG : newLeaf: reading active writers 2024/11/09 04:58:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/11/09 04:58:43 DEBUG : dir: Looking for writers 2024/11/09 04:58:43 DEBUG : : Looking for writers 2024/11/09 04:58:43 DEBUG : dir: reading active writers 2024/11/09 04:58:43 DEBUG : newLeaf: reading active writers 2024/11/09 04:58:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/11/09 04:58:43 DEBUG : dir: Looking for writers 2024/11/09 04:58:43 DEBUG : : Looking for writers 2024/11/09 04:58:43 DEBUG : dir: reading active writers 2024/11/09 04:58:43 DEBUG : newLeaf: reading active writers 2024/11/09 04:58:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/11/09 04:58:43 DEBUG : dir: Looking for writers 2024/11/09 04:58:43 DEBUG : : Looking for writers 2024/11/09 04:58:43 DEBUG : dir: reading active writers 2024/11/09 04:58:43 DEBUG : newLeaf: reading active writers 2024/11/09 04:58:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/11/09 04:58:44 DEBUG : newLeaf: vfs cache: starting upload 2024/11/09 04:58:44 DEBUG : dir: Looking for writers 2024/11/09 04:58:44 DEBUG : : Looking for writers 2024/11/09 04:58:44 DEBUG : dir: reading active writers 2024/11/09 04:58:44 DEBUG : newLeaf: reading active writers 2024/11/09 04:58:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/11/09 04:58:44 DEBUG : dir: Looking for writers 2024/11/09 04:58:44 DEBUG : : Looking for writers 2024/11/09 04:58:44 DEBUG : dir: reading active writers 2024/11/09 04:58:44 DEBUG : newLeaf: reading active writers 2024/11/09 04:58:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/11/09 04:58:44 DEBUG : dir: Looking for writers 2024/11/09 04:58:44 DEBUG : : Looking for writers 2024/11/09 04:58:44 DEBUG : dir: reading active writers 2024/11/09 04:58:44 DEBUG : newLeaf: reading active writers 2024/11/09 04:58:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/11/09 04:58:45 DEBUG : dir: Looking for writers 2024/11/09 04:58:45 DEBUG : : Looking for writers 2024/11/09 04:58:45 DEBUG : dir: reading active writers 2024/11/09 04:58:45 DEBUG : newLeaf: reading active writers 2024/11/09 04:58:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/11/09 04:58:46 DEBUG : dir: Looking for writers 2024/11/09 04:58:46 DEBUG : : Looking for writers 2024/11/09 04:58:46 DEBUG : dir: reading active writers 2024/11/09 04:58:46 DEBUG : newLeaf: reading active writers 2024/11/09 04:58:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/11/09 04:58:46 INFO : newLeaf: Copied (replaced existing) 2024/11/09 04:58:46 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2024/11/09 04:58:46 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/11/09 04:58:46 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/09 04:58:46 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/11/09 04:58:47 DEBUG : dir: Looking for writers 2024/11/09 04:58:47 DEBUG : : Looking for writers 2024/11/09 04:58:47 DEBUG : dir: reading active writers 2024/11/09 04:58:47 DEBUG : newLeaf: reading active writers 2024/11/09 04:58:47 DEBUG : >WaitForWriters: 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/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want newLeaf (25) got newLeaf (25), newLeaf (25) 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/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" 2024/11/09 04:58:54 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:58:54 DEBUG : dir: Looking for writers 2024/11/09 04:58:54 DEBUG : : Looking for writers 2024/11/09 04:58:54 DEBUG : dir: reading active writers 2024/11/09 04:58:54 DEBUG : newLeaf: reading active writers 2024/11/09 04:58:54 DEBUG : >WaitForWriters: 2024/11/09 04:58:54 DEBUG : vfs cache: cleaner exiting 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/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want got newLeaf (25) 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/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" --- FAIL: TestFileRename (288.26s) --- FAIL: TestFileRename/off,forceCache=false (37.43s) --- FAIL: TestFileRename/minimal,forceCache=false (53.32s) --- FAIL: TestFileRename/minimal,forceCache=true (48.17s) --- FAIL: TestFileRename/writes,forceCache=false (45.76s) --- FAIL: TestFileRename/writes,forceCache=true (51.57s) --- FAIL: TestFileRename/full,forceCache=false (52.00s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "mega root 'rclone-test-bagolin4yoqo'", Local "Local file system at /tmp/rclone3454096262", Modify Window "876000h0m0s" 2024/11/09 04:59:02 INFO : mega root 'rclone-test-bagolin4yoqo': poll-interval is not supported by this remote 2024/11/09 04:59:02 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/09 04:59:02 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:59:02 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:59:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:59:02 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/09 04:59:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:59:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:59:02 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/09 04:59:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-bagolin4yoqo" 2024/11/09 04:59:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/11/09 04:59:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/11/09 04:59:02 DEBUG : file1: newRWFileHandle: 2024/11/09 04:59:02 DEBUG : file1(0xc000b6dd00): openPending: 2024/11/09 04:59:02 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2024/11/09 04:59:02 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2024/11/09 04:59:02 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2024/11/09 04:59:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/11/09 04:59:02 DEBUG : file1(0xc000b6dd00): >openPending: err= 2024/11/09 04:59:02 DEBUG : file1: >newRWFileHandle: err= 2024/11/09 04:59:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/11/09 04:59:02 DEBUG : file1: >Open: fd=file1 (rw), err= 2024/11/09 04:59:02 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2024/11/09 04:59:02 DEBUG : file1(0xc000b6dd00): close: 2024/11/09 04:59:02 DEBUG : file1: vfs cache: setting modification time to 2024-11-09 04:59:02.006552325 +0000 UTC m=+301.711785540 2024/11/09 04:59:02 INFO : file1: vfs cache: queuing for upload in 100ms 2024/11/09 04:59:02 DEBUG : file1(0xc000b6dd00): >close: err= 2024/11/09 04:59:02 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2024/11/09 04:59:02 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2024/11/09 04:59:02 DEBUG : file2: newRWFileHandle: 2024/11/09 04:59:02 DEBUG : file2(0xc000b6ddc0): openPending: 2024/11/09 04:59:02 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2024/11/09 04:59:02 DEBUG : : Added virtual directory entry vAddFile: "file2" 2024/11/09 04:59:02 DEBUG : file2(0xc000b6ddc0): >openPending: err= 2024/11/09 04:59:02 DEBUG : file2: >newRWFileHandle: err= 2024/11/09 04:59:02 DEBUG : : Added virtual directory entry vAddFile: "file2" 2024/11/09 04:59:02 DEBUG : file2: >Open: fd=file2 (rw), err= 2024/11/09 04:59:02 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2024/11/09 04:59:02 DEBUG : file2(0xc000b6ddc0): RWFileHandle.Flush 2024/11/09 04:59:02 DEBUG : file2(0xc000b6ddc0): RWFileHandle.Release 2024/11/09 04:59:02 DEBUG : file2(0xc000b6ddc0): close: 2024/11/09 04:59:02 DEBUG : file2: vfs cache: setting modification time to 2024-11-09 04:59:02.009664413 +0000 UTC m=+301.714897628 2024/11/09 04:59:02 INFO : file2: vfs cache: queuing for upload in 100ms 2024/11/09 04:59:02 DEBUG : file2(0xc000b6ddc0): >close: err= dir_test.go:247: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:247 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:414 Error: Not equal: expected: []string{"file1,0,false", "file2,0,false"} actual : []string{"file1,0,false", "file2,0,false", "newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,4 +1,5 @@ -([]string) (len=2) { +([]string) (len=3) { (string) (len=13) "file1,0,false", - (string) (len=13) "file2,0,false" + (string) (len=13) "file2,0,false", + (string) (len=16) "newLeaf,25,false" } Test: TestRWFileHandleWriteNoWrite 2024/11/09 04:59:02 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:59:02 DEBUG : : Looking for writers 2024/11/09 04:59:02 DEBUG : file1: reading active writers 2024/11/09 04:59:02 DEBUG : file2: reading active writers 2024/11/09 04:59:02 DEBUG : newLeaf: reading active writers 2024/11/09 04:59:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2024/11/09 04:59:02 DEBUG : : Looking for writers 2024/11/09 04:59:02 DEBUG : newLeaf: reading active writers 2024/11/09 04:59:02 DEBUG : file1: reading active writers 2024/11/09 04:59:02 DEBUG : file2: reading active writers 2024/11/09 04:59:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2024/11/09 04:59:02 DEBUG : : Looking for writers 2024/11/09 04:59:02 DEBUG : newLeaf: reading active writers 2024/11/09 04:59:02 DEBUG : file1: reading active writers 2024/11/09 04:59:02 DEBUG : file2: reading active writers 2024/11/09 04:59:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2024/11/09 04:59:02 DEBUG : : Looking for writers 2024/11/09 04:59:02 DEBUG : newLeaf: reading active writers 2024/11/09 04:59:02 DEBUG : file1: reading active writers 2024/11/09 04:59:02 DEBUG : file2: reading active writers 2024/11/09 04:59:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2024/11/09 04:59:02 DEBUG : file2: vfs cache: starting upload 2024/11/09 04:59:02 DEBUG : file1: vfs cache: starting upload 2024/11/09 04:59:02 DEBUG : : Looking for writers 2024/11/09 04:59:02 DEBUG : file1: reading active writers 2024/11/09 04:59:02 DEBUG : file2: reading active writers 2024/11/09 04:59:02 DEBUG : newLeaf: reading active writers 2024/11/09 04:59:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2024/11/09 04:59:02 DEBUG : : Looking for writers 2024/11/09 04:59:02 DEBUG : newLeaf: reading active writers 2024/11/09 04:59:02 DEBUG : file1: reading active writers 2024/11/09 04:59:02 DEBUG : file2: reading active writers 2024/11/09 04:59:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2024/11/09 04:59:02 INFO : file2: Copied (new) 2024/11/09 04:59:02 DEBUG : file2: vfs cache: fingerprint now "0" 2024/11/09 04:59:02 DEBUG : file2: vfs cache: writeback object to VFS layer 2024/11/09 04:59:02 DEBUG : : Added virtual directory entry vAddFile: "file2" 2024/11/09 04:59:02 INFO : file2: vfs cache: upload succeeded try #1 2024/11/09 04:59:02 DEBUG : : Looking for writers 2024/11/09 04:59:02 DEBUG : newLeaf: reading active writers 2024/11/09 04:59:02 DEBUG : file1: reading active writers 2024/11/09 04:59:02 DEBUG : file2: reading active writers 2024/11/09 04:59:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/11/09 04:59:02 INFO : file1: Copied (new) 2024/11/09 04:59:02 DEBUG : file1: vfs cache: fingerprint now "0" 2024/11/09 04:59:02 DEBUG : file1: vfs cache: writeback object to VFS layer 2024/11/09 04:59:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/11/09 04:59:02 INFO : file1: vfs cache: upload succeeded try #1 2024/11/09 04:59:03 DEBUG : : Looking for writers 2024/11/09 04:59:03 DEBUG : newLeaf: reading active writers 2024/11/09 04:59:03 DEBUG : file1: reading active writers 2024/11/09 04:59:03 DEBUG : file2: reading active writers 2024/11/09 04:59:03 DEBUG : >WaitForWriters: 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/read_write_test.go:420 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: listing wrong, want file1 (0), file2 (0) got file1 (0), file2 (0), newLeaf (25) 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/read_write_test.go:420 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: Unexpected file "newLeaf" 2024/11/09 04:59:10 DEBUG : WaitForWriters: timeout=30s 2024/11/09 04:59:10 DEBUG : : Looking for writers 2024/11/09 04:59:10 DEBUG : newLeaf: reading active writers 2024/11/09 04:59:10 DEBUG : file1: reading active writers 2024/11/09 04:59:10 DEBUG : file2: reading active writers 2024/11/09 04:59:10 DEBUG : >WaitForWriters: 2024/11/09 04:59:10 DEBUG : vfs cache: cleaner exiting 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/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: listing wrong, want got newLeaf (25) 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/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleWriteNoWrite (15.90s) === RUN TestVFSMkdir run.go:180: Remote "mega root 'rclone-test-bagolin4yoqo'", Local "Local file system at /tmp/rclone3454096262", Modify Window "876000h0m0s" 2024/11/09 04:59:17 INFO : mega root 'rclone-test-bagolin4yoqo': poll-interval is not supported by this remote 2024/11/09 04:59:17 NOTICE: mega root 'rclone-test-bagolin4yoqo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 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/fstest/run.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:372 Error: Should be true Test: TestVFSMkdir Messages: listing wrong, want got newLeaf (25) 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/fstest/run.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:372 Error: Should be true Test: TestVFSMkdir Messages: Unexpected file "newLeaf" 2024/11/09 04:59:24 DEBUG : : Added virtual directory entry vAddDir: "/" 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/fstest/run.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:377 Error: Should be true Test: TestVFSMkdir Messages: listing wrong, want got newLeaf (25) 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/fstest/run.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:377 Error: Should be true Test: TestVFSMkdir Messages: Unexpected file "newLeaf" 2024/11/09 04:59:31 DEBUG : : Added virtual directory entry vAddDir: "a" 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/fstest/run.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:383 Error: Should be true Test: TestVFSMkdir Messages: listing wrong, want got newLeaf (25) 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/fstest/run.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:383 Error: Should be true Test: TestVFSMkdir Messages: Unexpected file "newLeaf" 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/fstest/run.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:389 Error: Should be true Test: TestVFSMkdir Messages: listing wrong, want got newLeaf (25) 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/fstest/run.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:389 Error: Should be true Test: TestVFSMkdir Messages: Unexpected file "newLeaf" 2024/11/09 04:59:46 DEBUG : : Added virtual directory entry vAddDir: "b" 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/fstest/run.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:395 Error: Should be true Test: TestVFSMkdir Messages: listing wrong, want got newLeaf (25) 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/fstest/run.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:395 Error: Should be true Test: TestVFSMkdir Messages: Unexpected file "newLeaf" 2024/11/09 04:59:53 DEBUG : : Added virtual directory entry vAddDir: "c" 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/fstest/run.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:401 Error: Should be true Test: TestVFSMkdir Messages: listing wrong, want got newLeaf (25) 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/fstest/run.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:401 Error: Should be true Test: TestVFSMkdir Messages: Unexpected file "newLeaf" 2024/11/09 05:00:00 DEBUG : : Added virtual directory entry vAddDir: "d" 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/fstest/run.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:407 Error: Should be true Test: TestVFSMkdir Messages: listing wrong, want got newLeaf (25) 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/fstest/run.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:407 Error: Should be true Test: TestVFSMkdir Messages: Unexpected file "newLeaf" 2024/11/09 05:00:07 DEBUG : WaitForWriters: timeout=30s 2024/11/09 05:00:07 DEBUG : b: Looking for writers 2024/11/09 05:00:07 DEBUG : c: Looking for writers 2024/11/09 05:00:07 DEBUG : d: Looking for writers 2024/11/09 05:00:07 DEBUG : : Looking for writers 2024/11/09 05:00:07 DEBUG : a: Looking for writers 2024/11/09 05:00:07 DEBUG : : Looking for writers 2024/11/09 05:00:07 DEBUG : b: reading active writers 2024/11/09 05:00:07 DEBUG : c: reading active writers 2024/11/09 05:00:07 DEBUG : d: reading active writers 2024/11/09 05:00:07 DEBUG : newLeaf: reading active writers 2024/11/09 05:00:07 DEBUG : /: reading active writers 2024/11/09 05:00:07 DEBUG : a: reading active writers 2024/11/09 05:00:07 DEBUG : >WaitForWriters: 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/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestVFSMkdir Messages: listing wrong, want got newLeaf (25) 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/fstest/run.go:173 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /usr/local/go/src/testing/testing.go:1175 /usr/local/go/src/testing/testing.go:1353 /usr/local/go/src/testing/testing.go:1683 Error: Should be true Test: TestVFSMkdir Messages: Unexpected file "newLeaf" --- FAIL: TestVFSMkdir (58.42s) FAIL 2024/11/09 05:00:16 DEBUG : mega root 'rclone-test-bagolin4yoqo': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestRWFileHandleWriteNoWrite|TestVFSMkdir)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 6m16.466669192s (try 3/5): exit status 1: Failed [TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false TestRWFileHandleWriteNoWrite TestVFSMkdir]