"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCaseSensitivity|TestDirCreate|TestDirEntryModTimeInvalidation|TestDirFileOpen|TestDirForgetAll|TestDirForgetPath|TestDirHandleMethods|TestDirHandleReaddir|TestDirHandleReaddirnames|TestDirMetadataExtension|TestDirMethods|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestRWCacheRename|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleFlushWrite|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleReleaseWrite|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeCreateNew|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestRcGetVFS|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSIsMetadataFile|TestVFSMkdir|TestVFSMkdirAll|TestVFSNew|TestVFSNewWithOpts|TestVFSOpenFile|TestVFSRename|TestVFSRoot|TestVFSStat|TestVFSStatParent|TestVFSStatfs|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters|TestZipDirsInRoot|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true)$|^TestRWFileHandleOpenTests$/^full$/^(os.O_RDONLY|os.O_RDONLY|os.O_APPEND|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_SYNC|os.O_RDONLY|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_TRUNC|os.O_RDONLY|os.O_EXCL|os.O_RDONLY|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_SYNC|os.O_RDONLY|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_TRUNC|os.O_RDWR|os.O_RDWR|os.O_APPEND|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_SYNC|os.O_RDWR|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_TRUNC|os.O_RDWR|os.O_EXCL|os.O_RDWR|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_SYNC|os.O_RDWR|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_TRUNC|os.O_WRONLY|os.O_WRONLY|os.O_APPEND|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_SYNC|os.O_WRONLY|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_TRUNC|os.O_WRONLY|os.O_EXCL|os.O_WRONLY|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_SYNC|os.O_WRONLY|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_TRUNC)$|^TestRWFileHandleOpenTests$/^writes$/^(os.O_RDONLY|os.O_RDONLY|os.O_APPEND|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_SYNC|os.O_RDONLY|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_TRUNC|os.O_RDONLY|os.O_EXCL|os.O_RDONLY|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_SYNC|os.O_RDONLY|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_TRUNC|os.O_RDWR|os.O_RDWR|os.O_APPEND|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_SYNC|os.O_RDWR|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_TRUNC|os.O_RDWR|os.O_EXCL|os.O_RDWR|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_SYNC|os.O_RDWR|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_TRUNC|os.O_WRONLY|os.O_WRONLY|os.O_APPEND|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_SYNC|os.O_WRONLY|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_TRUNC|os.O_WRONLY|os.O_EXCL|os.O_WRONLY|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_SYNC|os.O_WRONLY|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_TRUNC)$'" - Starting (try 2/5) 2025/12/06 04:22:00 DEBUG : Creating backend with remote "TestMega:rclone-test-cejokes2pede" 2025/12/06 04:22:00 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/12/06 04:22:00 DEBUG : mega root 'rclone-test-cejokes2pede': Using previously stored session ID and master key to initialize the Mega API 2025/12/06 04:22:17 DEBUG : Creating backend with remote "/tmp/rclone223539743" === RUN TestDirHandleMethods run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:22:17 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:22:17 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream run.go:242: Failed to mkdir "mega root 'rclone-test-cejokes2pede'": mkdir create node failed: unexpected end of JSON input 2025/12/06 04:22:27 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:22:27 DEBUG : Looking for writers 2025/12/06 04:22:27 DEBUG : >WaitForWriters: 2025/12/06 04:22:27 ERROR : error listing: directory not found --- FAIL: TestDirHandleMethods (10.61s) === RUN TestDirHandleReaddir run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:22:27 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:22:27 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:22:46 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:22:46 DEBUG : dir/subdir: Looking for writers 2025/12/06 04:22:46 DEBUG : dir: Looking for writers 2025/12/06 04:22:46 DEBUG : file1: reading active writers 2025/12/06 04:22:46 DEBUG : file2: reading active writers 2025/12/06 04:22:46 DEBUG : subdir: reading active writers 2025/12/06 04:22:46 DEBUG : Looking for writers 2025/12/06 04:22:46 DEBUG : dir: reading active writers 2025/12/06 04:22:46 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddir (24.17s) === RUN TestDirHandleReaddirnames run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:22:52 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:22:52 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream run.go:290: Failed to put "dir/file1" to "mega root 'rclone-test-cejokes2pede'": mkdir create node failed: unexpected end of JSON input 2025/12/06 04:23:02 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:23:02 DEBUG : Looking for writers 2025/12/06 04:23:02 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddirnames (10.57s) === RUN TestDirMethods run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:23:02 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:23:02 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:23:17 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:23:17 DEBUG : dir: Looking for writers 2025/12/06 04:23:17 DEBUG : Looking for writers 2025/12/06 04:23:17 DEBUG : dir: reading active writers 2025/12/06 04:23:17 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- PASS: TestDirMethods (18.05s) === RUN TestDirForgetAll run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:23:20 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:23:20 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:23:23 DEBUG : dir: forgetting directory cache 2025/12/06 04:23:23 DEBUG : forgetting directory cache 2025/12/06 04:23:23 DEBUG : dir: forgetting directory cache 2025/12/06 04:23:23 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:23:23 DEBUG : Looking for writers 2025/12/06 04:23:23 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- PASS: TestDirForgetAll (6.47s) === RUN TestDirForgetPath run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:23:27 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:23:27 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream run.go:290: Failed to put "dir/file1" to "mega root 'rclone-test-cejokes2pede'": failed to finish upload: unexpected end of JSON input 2025/12/06 04:23:38 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:23:38 DEBUG : Looking for writers 2025/12/06 04:23:38 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetPath (22.44s) === RUN TestDirWalk run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:23:49 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:23:49 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:23:56 DEBUG : forgetting directory cache 2025/12/06 04:23:56 DEBUG : dir: forgetting directory cache 2025/12/06 04:23:56 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:23:56 DEBUG : dir: Looking for writers 2025/12/06 04:23:56 DEBUG : fil/a/b: Looking for writers 2025/12/06 04:23:56 DEBUG : fil/a: Looking for writers 2025/12/06 04:23:56 DEBUG : b: reading active writers 2025/12/06 04:23:56 DEBUG : fil: Looking for writers 2025/12/06 04:23:56 DEBUG : a: reading active writers 2025/12/06 04:23:56 DEBUG : Looking for writers 2025/12/06 04:23:56 DEBUG : dir: reading active writers 2025/12/06 04:23:56 DEBUG : fil: reading active writers 2025/12/06 04:23:56 DEBUG : >WaitForWriters: run.go:130: removing dir "fil/a/b" failed - try 1/3: directory not empty --- PASS: TestDirWalk (12.21s) === RUN TestDirSetModTime run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:24:01 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:24:01 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:24:05 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:24:05 DEBUG : dir: Looking for writers 2025/12/06 04:24:05 DEBUG : Looking for writers 2025/12/06 04:24:05 DEBUG : dir: reading active writers 2025/12/06 04:24:05 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- PASS: TestDirSetModTime (6.92s) === RUN TestDirStat run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:24:08 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:24:08 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:24:11 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:24:11 DEBUG : dir: Looking for writers 2025/12/06 04:24:11 DEBUG : file1: reading active writers 2025/12/06 04:24:11 DEBUG : Looking for writers 2025/12/06 04:24:11 DEBUG : dir: reading active writers 2025/12/06 04:24:11 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty run.go:130: removing dir "dir" failed - try 2/3: directory not empty run.go:130: removing dir "dir" failed - try 3/3: directory not empty run.go:133: removing dir "dir" failed: directory not empty fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestDirStat Messages: listing wrong, want got dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestDirStat Messages: Unexpected file "dir/file1" fstest.go:327: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:327 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Not equal: expected: []string{} actual : []string{"dir"} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) { +([]string) (len=1) { + (string) (len=3) "dir" } Test: TestDirStat Messages: directories --- FAIL: TestDirStat (23.64s) === RUN TestDirReadDirAll run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:24:32 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:24:32 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream === RUN TestDirReadDirAll/Virtual 2025/12/06 04:24:40 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2025/12/06 04:24:40 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2025/12/06 04:24:40 DEBUG : dir: Added virtual directory entry vDel: "file2" 2025/12/06 04:24:40 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2025/12/06 04:24:43 DEBUG : dir: invalidating directory cache 2025/12/06 04:24:43 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2025/12/06 04:24:43 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2025/12/06 04:24:43 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2025/12/06 04:24:43 DEBUG : dir/file1: Reset virtual modtime 2025/12/06 04:24:43 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2025/12/06 04:24:43 DEBUG : dir/virtualFile: Reset virtual modtime 2025/12/06 04:24:43 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2025/12/06 04:24:43 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2025/12/06 04:24:43 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:24:43 DEBUG : dir: invalidating directory cache 2025/12/06 04:24:43 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2025/12/06 04:24:43 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/12/06 04:24:43 DEBUG : dir/virtualFile: Reset virtual modtime 2025/12/06 04:24:43 DEBUG : forgetting directory cache 2025/12/06 04:24:43 DEBUG : dir: forgetting directory cache 2025/12/06 04:24:43 DEBUG : dir/virtualDir: forgetting directory cache 2025/12/06 04:24:43 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:24:43 DEBUG : dir/virtualDir: Looking for writers 2025/12/06 04:24:43 DEBUG : dir: Looking for writers 2025/12/06 04:24:43 DEBUG : virtualFile: reading active writers 2025/12/06 04:24:43 DEBUG : virtualDir: reading active writers 2025/12/06 04:24:43 DEBUG : file1: reading active writers 2025/12/06 04:24:43 DEBUG : virtualFile2: reading active writers 2025/12/06 04:24:43 DEBUG : Looking for writers 2025/12/06 04:24:43 DEBUG : dir: reading active writers 2025/12/06 04:24:43 DEBUG : >WaitForWriters: --- PASS: TestDirReadDirAll (16.52s) --- PASS: TestDirReadDirAll/Virtual (3.18s) === RUN TestDirOpen run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:24:48 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:24:48 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:24:50 ERROR : dir/: Can only open directories read only 2025/12/06 04:24:50 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:24:50 DEBUG : dir: Looking for writers 2025/12/06 04:24:50 DEBUG : Looking for writers 2025/12/06 04:24:50 DEBUG : dir: reading active writers 2025/12/06 04:24:50 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- PASS: TestDirOpen (5.35s) === RUN TestDirCreate run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:24:54 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:24:54 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:24:57 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:24:57 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/12/06 04:24:57 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2025/12/06 04:24:57 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/12/06 04:24:57 DEBUG : mega root 'rclone-test-cejokes2pede': File to upload is small (5 bytes), uploading instead of streaming 2025/12/06 04:24:57 DEBUG : dir/potato: size = 5 OK 2025/12/06 04:24:57 NOTICE: mega root 'rclone-test-cejokes2pede': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2025/12/06 04:24:57 DEBUG : dir/potato: Size of src and dst objects identical 2025/12/06 04:24:57 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/12/06 04:24:57 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:24:57 DEBUG : dir: Looking for writers 2025/12/06 04:24:57 DEBUG : file1: reading active writers 2025/12/06 04:24:57 DEBUG : potato: reading active writers 2025/12/06 04:24:57 DEBUG : Looking for writers 2025/12/06 04:24:57 DEBUG : dir: reading active writers 2025/12/06 04:24:57 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- PASS: TestDirCreate (7.62s) === RUN TestDirMkdir run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:25:01 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:25:01 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:25:06 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/12/06 04:25:06 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:25:06 DEBUG : dir/sub: Looking for writers 2025/12/06 04:25:06 DEBUG : dir: Looking for writers 2025/12/06 04:25:06 DEBUG : file1: reading active writers 2025/12/06 04:25:06 DEBUG : sub: reading active writers 2025/12/06 04:25:06 DEBUG : Looking for writers 2025/12/06 04:25:06 DEBUG : dir: reading active writers 2025/12/06 04:25:06 DEBUG : >WaitForWriters: --- PASS: TestDirMkdir (7.49s) === RUN TestDirMkdirSub run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:25:09 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:25:09 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:25:11 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/12/06 04:25:15 DEBUG : dir/sub: Added virtual directory entry vAddDir: "subsub" 2025/12/06 04:25:15 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:25:15 DEBUG : dir/sub/subsub: Looking for writers 2025/12/06 04:25:15 DEBUG : dir/sub: Looking for writers 2025/12/06 04:25:15 DEBUG : subsub: reading active writers 2025/12/06 04:25:15 DEBUG : dir: Looking for writers 2025/12/06 04:25:15 DEBUG : file1: reading active writers 2025/12/06 04:25:15 DEBUG : sub: reading active writers 2025/12/06 04:25:15 DEBUG : Looking for writers 2025/12/06 04:25:15 DEBUG : dir: reading active writers 2025/12/06 04:25:15 DEBUG : >WaitForWriters: --- PASS: TestDirMkdirSub (9.17s) === RUN TestDirRemove run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:25:18 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:25:18 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:25:28 ERROR : dir/: Dir.Remove not empty 2025/12/06 04:25:28 DEBUG : dir/file1: Remove: 2025/12/06 04:25:30 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:25:30 DEBUG : dir/file1: >Remove: err= 2025/12/06 04:25:30 DEBUG : Added virtual directory entry vDel: "dir" 2025/12/06 04:25:30 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:25:30 DEBUG : Looking for writers 2025/12/06 04:25:30 DEBUG : >WaitForWriters: --- PASS: TestDirRemove (12.05s) === RUN TestDirRemoveAll run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:25:30 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:25:30 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:25:34 DEBUG : dir/file1: Remove: 2025/12/06 04:25:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:25:34 DEBUG : dir/file1: >Remove: err= 2025/12/06 04:25:35 DEBUG : Added virtual directory entry vDel: "dir" 2025/12/06 04:25:35 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:25:35 DEBUG : Looking for writers 2025/12/06 04:25:35 DEBUG : >WaitForWriters: --- PASS: TestDirRemoveAll (4.60s) === RUN TestDirRemoveName run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:25:35 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:25:35 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:25:39 DEBUG : dir/file1: Remove: 2025/12/06 04:25:41 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:25:41 DEBUG : dir/file1: >Remove: err= 2025/12/06 04:25:41 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:25:41 DEBUG : dir: Looking for writers 2025/12/06 04:25:41 DEBUG : Looking for writers 2025/12/06 04:25:41 DEBUG : dir: reading active writers 2025/12/06 04:25:41 DEBUG : >WaitForWriters: --- PASS: TestDirRemoveName (6.77s) === RUN TestDirFileOpen run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:25:41 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:25:41 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:25:45 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/12/06 04:25:45 DEBUG : dir/sub/file0: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw- 2025/12/06 04:25:45 DEBUG : dir/sub/file0: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/12/06 04:25:45 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file0" 2025/12/06 04:25:45 DEBUG : dir/sub/file0: >Open: fd=dir/sub/file0 (w), err= 2025/12/06 04:25:45 DEBUG : dir/sub/file0: >OpenFile: fd=dir/sub/file0 (w), err= 2025/12/06 04:25:45 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file0" 2025/12/06 04:25:45 DEBUG : dir/sub/file2: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw- 2025/12/06 04:25:45 DEBUG : dir/sub/file2: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/12/06 04:25:45 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file2" 2025/12/06 04:25:45 DEBUG : dir/sub/file2: >Open: fd=dir/sub/file2 (w), err= 2025/12/06 04:25:45 DEBUG : dir/sub/file2: >OpenFile: fd=dir/sub/file2 (w), err= 2025/12/06 04:25:45 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file2" 2025/12/06 04:25:45 DEBUG : mega root 'rclone-test-cejokes2pede': File to upload is small (12 bytes), uploading instead of streaming 2025/12/06 04:25:47 DEBUG : dir/sub/file2: size = 12 OK 2025/12/06 04:25:47 DEBUG : dir/sub/file2: Size of src and dst objects identical 2025/12/06 04:25:47 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file2" 2025/12/06 04:25:47 DEBUG : forgetting directory cache 2025/12/06 04:25:47 DEBUG : dir: forgetting directory cache 2025/12/06 04:25:47 DEBUG : dir/sub: forgetting directory cache 2025/12/06 04:25:47 DEBUG : dir/sub: Removed virtual directory entry vAddFile: "file2" 2025/12/06 04:25:47 DEBUG : dir: Removed virtual directory entry vAddDir: "sub" 2025/12/06 04:25:47 DEBUG : mega root 'rclone-test-cejokes2pede': File to upload is small (5 bytes), uploading instead of streaming 2025/12/06 04:25:49 DEBUG : dir/sub/file0: size = 5 OK 2025/12/06 04:25:49 DEBUG : dir/sub/file0: Size of src and dst objects identical 2025/12/06 04:25:49 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file0" 2025/12/06 04:25:49 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:25:49 DEBUG : dir/sub: Looking for writers 2025/12/06 04:25:49 DEBUG : file0: reading active writers 2025/12/06 04:25:49 DEBUG : file2: reading active writers 2025/12/06 04:25:49 DEBUG : dir: Looking for writers 2025/12/06 04:25:49 DEBUG : sub: reading active writers 2025/12/06 04:25:49 DEBUG : file1: reading active writers 2025/12/06 04:25:49 DEBUG : Looking for writers 2025/12/06 04:25:49 DEBUG : dir: reading active writers 2025/12/06 04:25:49 DEBUG : >WaitForWriters: --- PASS: TestDirFileOpen (14.94s) === RUN TestDirEntryModTimeInvalidation run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:25:56 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:25:56 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream dir_test.go:666: Need DirModTimeUpdatesOnWrite 2025/12/06 04:25:56 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:25:56 DEBUG : Looking for writers 2025/12/06 04:25:56 DEBUG : >WaitForWriters: --- SKIP: TestDirEntryModTimeInvalidation (0.00s) === RUN TestDirMetadataExtension run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:25:56 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:25:56 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:26:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1.metadata" 2025/12/06 04:26:00 DEBUG : dir/file1.metadata: Set virtual modtime to 2025-12-06 04:25:58 +0000 UTC 2025/12/06 04:26:00 DEBUG : dir/file1.metadata: OpenFile: flags=O_RDONLY, perm=---------- 2025/12/06 04:26:00 DEBUG : dir/file1.metadata: Open: flags=O_RDONLY 2025/12/06 04:26:00 DEBUG : dir/file1.metadata: >Open: fd=dir/file1.metadata (r), err= 2025/12/06 04:26:00 DEBUG : dir/file1.metadata: >OpenFile: fd=dir/file1.metadata (r), err= 2025/12/06 04:26:00 DEBUG : dir/file1.metadata: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:26:00 DEBUG : dir/file1.metadata: ChunkedReader.Read at 0 length 512 chunkOffset 0 chunkSize 134217728 2025/12/06 04:26:00 DEBUG : Added virtual directory entry vAddFile: "dir.metadata" 2025/12/06 04:26:00 DEBUG : dir.metadata: Set virtual modtime to 2025-12-06 04:25:56 +0000 UTC 2025/12/06 04:26:00 DEBUG : dir.metadata: OpenFile: flags=O_RDONLY, perm=---------- 2025/12/06 04:26:00 DEBUG : dir.metadata: Open: flags=O_RDONLY 2025/12/06 04:26:00 DEBUG : dir.metadata: >Open: fd=dir.metadata (r), err= 2025/12/06 04:26:00 DEBUG : dir.metadata: >OpenFile: fd=dir.metadata (r), err= 2025/12/06 04:26:00 DEBUG : dir.metadata: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:26:00 DEBUG : dir.metadata: ChunkedReader.Read at 0 length 512 chunkOffset 0 chunkSize 134217728 2025/12/06 04:26:00 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:26:00 DEBUG : dir: Looking for writers 2025/12/06 04:26:00 DEBUG : file1.metadata: reading active writers 2025/12/06 04:26:00 DEBUG : file1: reading active writers 2025/12/06 04:26:00 DEBUG : Looking for writers 2025/12/06 04:26:00 DEBUG : dir: reading active writers 2025/12/06 04:26:00 DEBUG : dir.metadata: reading active writers 2025/12/06 04:26:00 DEBUG : >WaitForWriters: --- PASS: TestDirMetadataExtension (4.94s) === RUN TestFileMethods run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:26:01 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:26:01 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:26:03 DEBUG : dir/file1: Set virtual modtime to 2025-12-06 04:26:03 +0000 UTC 2025/12/06 04:26:03 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:26:03 DEBUG : dir: Looking for writers 2025/12/06 04:26:03 DEBUG : file1: reading active writers 2025/12/06 04:26:03 DEBUG : Looking for writers 2025/12/06 04:26:03 DEBUG : dir: reading active writers 2025/12/06 04:26:03 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- PASS: TestFileMethods (4.65s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:26:06 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:26:06 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:26:09 DEBUG : Can set mod time: false file_test.go:97: can't set mod time 2025/12/06 04:26:09 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:26:09 DEBUG : dir: Looking for writers 2025/12/06 04:26:09 DEBUG : file1: reading active writers 2025/12/06 04:26:09 DEBUG : Looking for writers 2025/12/06 04:26:09 DEBUG : dir: reading active writers 2025/12/06 04:26:09 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false file_test.go:93: can't set mod time === RUN TestFileSetModTime/cache=off,open=true,write=true file_test.go:93: can't set mod time === RUN TestFileSetModTime/cache=full,open=false,write=false file_test.go:93: can't set mod time === RUN TestFileSetModTime/cache=full,open=true,write=false file_test.go:93: can't set mod time === RUN TestFileSetModTime/cache=full,open=true,write=true file_test.go:93: can't set mod time --- PASS: TestFileSetModTime (5.21s) --- SKIP: TestFileSetModTime/cache=off,open=false,write=false (5.20s) --- SKIP: TestFileSetModTime/cache=off,open=true,write=false (0.00s) --- SKIP: TestFileSetModTime/cache=off,open=true,write=true (0.00s) --- SKIP: TestFileSetModTime/cache=full,open=false,write=false (0.00s) --- SKIP: TestFileSetModTime/cache=full,open=true,write=false (0.00s) --- SKIP: TestFileSetModTime/cache=full,open=true,write=true (0.00s) === RUN TestFileOpenRead run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:26:11 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:26:11 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:26:13 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/06 04:26:13 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/12/06 04:26:13 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:26:13 DEBUG : dir/file1: ChunkedReader.Read at 0 length 512 chunkOffset 0 chunkSize 134217728 2025/12/06 04:26:13 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:26:13 DEBUG : dir: Looking for writers 2025/12/06 04:26:13 DEBUG : file1: reading active writers 2025/12/06 04:26:13 DEBUG : Looking for writers 2025/12/06 04:26:13 DEBUG : dir: reading active writers 2025/12/06 04:26:13 DEBUG : >WaitForWriters: --- PASS: TestFileOpenRead (4.55s) === RUN TestFileOpenWrite run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:26:16 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:26:16 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream run.go:290: Failed to put "dir/file1" to "mega root 'rclone-test-cejokes2pede'": failed to finish upload: unexpected end of JSON input 2025/12/06 04:26:29 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:26:29 DEBUG : Looking for writers 2025/12/06 04:26:29 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenWrite (18.51s) === RUN TestFileRemove run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:26:34 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:26:34 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream run.go:290: Failed to put "dir/file1" to "mega root 'rclone-test-cejokes2pede'": upload file failed to create session: unexpected end of JSON input 2025/12/06 04:26:45 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:26:45 DEBUG : Looking for writers 2025/12/06 04:26:45 DEBUG : >WaitForWriters: --- FAIL: TestFileRemove (11.13s) === RUN TestFileRemoveAll run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:26:45 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:26:45 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:26:48 DEBUG : dir/file1: Remove: 2025/12/06 04:26:48 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:26:48 DEBUG : dir/file1: >Remove: err= 2025/12/06 04:26:48 DEBUG : dir/file1: Remove: 2025/12/06 04:26:48 DEBUG : dir/file1: >Remove: err=Read only file system 2025/12/06 04:26:48 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:26:48 DEBUG : dir: Looking for writers 2025/12/06 04:26:48 DEBUG : Looking for writers 2025/12/06 04:26:48 DEBUG : dir: reading active writers 2025/12/06 04:26:48 DEBUG : >WaitForWriters: --- PASS: TestFileRemoveAll (3.28s) === RUN TestFileOpen run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:26:49 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:26:49 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:26:49 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/06 04:26:49 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/12/06 04:26:49 DEBUG : dir/file1: Open: flags=O_WRONLY 2025/12/06 04:26:49 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/12/06 04:26:49 DEBUG : dir/file1: Open: flags=O_RDWR 2025/12/06 04:26:49 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/12/06 04:26:49 DEBUG : dir/file1: Open: flags=0x3 2025/12/06 04:26:49 DEBUG : dir/file1: Can't figure out how to open with flags: 0x3 2025/12/06 04:26:49 DEBUG : dir/file1: >Open: fd=, err=permission denied 2025/12/06 04:26:49 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:26:49 DEBUG : dir: Looking for writers 2025/12/06 04:26:49 DEBUG : file1: reading active writers 2025/12/06 04:26:49 DEBUG : Looking for writers 2025/12/06 04:26:49 DEBUG : dir: reading active writers 2025/12/06 04:26:49 DEBUG : >WaitForWriters: --- PASS: TestFileOpen (1.32s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:26:50 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:26:50 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:26:54 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:26:54 DEBUG : dir: Looking for writers 2025/12/06 04:26:54 DEBUG : file1: reading active writers 2025/12/06 04:26:54 DEBUG : Looking for writers 2025/12/06 04:26:54 DEBUG : dir: reading active writers 2025/12/06 04:26:54 DEBUG : >WaitForWriters: 2025/12/06 04:26:56 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/06 04:26:56 DEBUG : newLeaf: Updating file with newLeaf 0xc000a71c80 2025/12/06 04:26:56 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:26:56 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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" 2025/12/06 04:27:04 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/12/06 04:27:04 DEBUG : dir/file1: Updating file with dir/file1 0xc000a71c80 2025/12/06 04:27:04 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/12/06 04:27:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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 /usr/local/go/src/runtime/asm_amd64.s:1700 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:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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" 2025/12/06 04:27:11 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/12/06 04:27:11 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/12/06 04:27:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:27:11 DEBUG : dir/file1: File is currently open, delaying rename 0xc000a71c80 2025/12/06 04:27:11 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:27:11 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/06 04:27:11 DEBUG : mega root 'rclone-test-cejokes2pede': File to upload is small (25 bytes), uploading instead of streaming 2025/12/06 04:27:18 DEBUG : dir/file1: size = 25 OK 2025/12/06 04:27:18 DEBUG : dir/file1: Size of src and dst objects identical 2025/12/06 04:27:18 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/06 04:27:18 DEBUG : newLeaf: Running delayed rename now 2025/12/06 04:27:18 INFO : newLeaf: Deleted 2025/12/06 04:27:18 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/06 04:27:18 DEBUG : newLeaf: Updating file with newLeaf 0xc000a71c80 2025/12/06 04:27:18 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:27:18 DEBUG : dir: Looking for writers 2025/12/06 04:27:18 DEBUG : Looking for writers 2025/12/06 04:27:18 DEBUG : newLeaf: reading active writers 2025/12/06 04:27:18 DEBUG : dir: reading active writers 2025/12/06 04:27:18 DEBUG : >WaitForWriters: 2025/12/06 04:27:18 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:27:18 DEBUG : dir: Looking for writers 2025/12/06 04:27:18 DEBUG : Looking for writers 2025/12/06 04:27:18 DEBUG : dir: reading active writers 2025/12/06 04:27:18 DEBUG : newLeaf: reading active writers 2025/12/06 04:27:18 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:27:20 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:27:20 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:27:20 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:27:20 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:27:20 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:27:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:27:20 DEBUG : Config file has changed externally - reloading 2025/12/06 04:27:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:27:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:27:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:27:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:27:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:27:20 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:27:24 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:27:24 DEBUG : dir: Looking for writers 2025/12/06 04:27:24 DEBUG : file1: reading active writers 2025/12/06 04:27:24 DEBUG : Looking for writers 2025/12/06 04:27:24 DEBUG : dir: reading active writers 2025/12/06 04:27:24 DEBUG : >WaitForWriters: 2025/12/06 04:27:25 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/06 04:27:25 DEBUG : newLeaf: Updating file with newLeaf 0xc000150e40 2025/12/06 04:27:25 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:27:25 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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 "file1" 2025/12/06 04:27:33 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/12/06 04:27:33 DEBUG : dir/file1: Updating file with dir/file1 0xc000150e40 2025/12/06 04:27:33 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/12/06 04:27:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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" 2025/12/06 04:27:40 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/12/06 04:27:40 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/12/06 04:27:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:27:40 DEBUG : dir/file1: File is currently open, delaying rename 0xc000150e40 2025/12/06 04:27:40 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:27:40 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/06 04:27:40 DEBUG : mega root 'rclone-test-cejokes2pede': File to upload is small (25 bytes), uploading instead of streaming 2025/12/06 04:27:51 DEBUG : dir/file1: size = 25 OK 2025/12/06 04:27:51 DEBUG : dir/file1: Size of src and dst objects identical 2025/12/06 04:27:51 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/06 04:27:51 DEBUG : newLeaf: Running delayed rename now 2025/12/06 04:27:52 INFO : newLeaf: Deleted 2025/12/06 04:27:52 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/06 04:27:52 DEBUG : newLeaf: Updating file with newLeaf 0xc000150e40 2025/12/06 04:27:52 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:27:52 DEBUG : dir: Looking for writers 2025/12/06 04:27:52 DEBUG : Looking for writers 2025/12/06 04:27:52 DEBUG : dir: reading active writers 2025/12/06 04:27:52 DEBUG : newLeaf: reading active writers 2025/12/06 04:27:52 DEBUG : >WaitForWriters: 2025/12/06 04:27:52 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:27:52 DEBUG : dir: Looking for writers 2025/12/06 04:27:52 DEBUG : Looking for writers 2025/12/06 04:27:52 DEBUG : dir: reading active writers 2025/12/06 04:27:52 DEBUG : newLeaf: reading active writers 2025/12/06 04:27:52 DEBUG : >WaitForWriters: 2025/12/06 04:27:52 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:27:52 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:27:52 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:27:52 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:27:52 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:27:52 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:27:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:27:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:27:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:27:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:27:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:27:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:27:52 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:27:54 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/12/06 04:27:54 DEBUG : dir/file1: newRWFileHandle: 2025/12/06 04:27:54 DEBUG : dir/file1(0xc00099c840): openPending: 2025/12/06 04:27:54 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/12/06 04:27:54 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/12/06 04:27:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:27:54 DEBUG : dir/file1(0xc00099c840): >openPending: err= 2025/12/06 04:27:54 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/06 04:27:54 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/06 04:27:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:27:54 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/06 04:27:54 DEBUG : dir/file1(0xc00099c840): _writeAt: size=14, off=0 2025/12/06 04:27:54 DEBUG : dir/file1(0xc00099c840): >_writeAt: n=14, err= 2025/12/06 04:27:54 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/12/06 04:27:54 DEBUG : dir/file1(0xc00099c840): close: 2025/12/06 04:27:54 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/12/06 04:27:54 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/12/06 04:27:54 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/12/06 04:27:54 DEBUG : dir/file1(0xc00099c840): >close: err= 2025/12/06 04:27:54 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:27:54 DEBUG : dir: Looking for writers 2025/12/06 04:27:54 DEBUG : file1: reading active writers 2025/12/06 04:27:54 DEBUG : Looking for writers 2025/12/06 04:27:54 DEBUG : dir: reading active writers 2025/12/06 04:27:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/06 04:27:54 DEBUG : dir: Looking for writers 2025/12/06 04:27:54 DEBUG : file1: reading active writers 2025/12/06 04:27:54 DEBUG : Looking for writers 2025/12/06 04:27:54 DEBUG : dir: reading active writers 2025/12/06 04:27:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/06 04:27:54 DEBUG : dir: Looking for writers 2025/12/06 04:27:54 DEBUG : file1: reading active writers 2025/12/06 04:27:54 DEBUG : Looking for writers 2025/12/06 04:27:54 DEBUG : dir: reading active writers 2025/12/06 04:27:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/06 04:27:54 DEBUG : dir: Looking for writers 2025/12/06 04:27:54 DEBUG : file1: reading active writers 2025/12/06 04:27:54 DEBUG : Looking for writers 2025/12/06 04:27:54 DEBUG : dir: reading active writers 2025/12/06 04:27:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/06 04:27:54 DEBUG : dir/file1: vfs cache: starting upload 2025/12/06 04:27:54 DEBUG : dir: Looking for writers 2025/12/06 04:27:54 DEBUG : file1: reading active writers 2025/12/06 04:27:54 DEBUG : Looking for writers 2025/12/06 04:27:54 DEBUG : dir: reading active writers 2025/12/06 04:27:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/06 04:27:55 DEBUG : dir: Looking for writers 2025/12/06 04:27:55 DEBUG : file1: reading active writers 2025/12/06 04:27:55 DEBUG : Looking for writers 2025/12/06 04:27:55 DEBUG : dir: reading active writers 2025/12/06 04:27:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/06 04:27:55 DEBUG : dir: Looking for writers 2025/12/06 04:27:55 DEBUG : file1: reading active writers 2025/12/06 04:27:55 DEBUG : Looking for writers 2025/12/06 04:27:55 DEBUG : dir: reading active writers 2025/12/06 04:27:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/12/06 04:27:56 DEBUG : dir: Looking for writers 2025/12/06 04:27:56 DEBUG : file1: reading active writers 2025/12/06 04:27:56 DEBUG : Looking for writers 2025/12/06 04:27:56 DEBUG : dir: reading active writers 2025/12/06 04:27:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:27:57 DEBUG : dir: Looking for writers 2025/12/06 04:27:57 DEBUG : file1: reading active writers 2025/12/06 04:27:57 DEBUG : Looking for writers 2025/12/06 04:27:57 DEBUG : dir: reading active writers 2025/12/06 04:27:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:27:58 DEBUG : dir: Looking for writers 2025/12/06 04:27:58 DEBUG : file1: reading active writers 2025/12/06 04:27:58 DEBUG : Looking for writers 2025/12/06 04:27:58 DEBUG : dir: reading active writers 2025/12/06 04:27:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:27:59 DEBUG : dir: Looking for writers 2025/12/06 04:27:59 DEBUG : file1: reading active writers 2025/12/06 04:27:59 DEBUG : Looking for writers 2025/12/06 04:27:59 DEBUG : dir: reading active writers 2025/12/06 04:27:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:28:00 DEBUG : dir: Looking for writers 2025/12/06 04:28:00 DEBUG : file1: reading active writers 2025/12/06 04:28:00 DEBUG : Looking for writers 2025/12/06 04:28:00 DEBUG : dir: reading active writers 2025/12/06 04:28:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:28:01 DEBUG : dir: Looking for writers 2025/12/06 04:28:01 DEBUG : file1: reading active writers 2025/12/06 04:28:01 DEBUG : Looking for writers 2025/12/06 04:28:01 DEBUG : dir: reading active writers 2025/12/06 04:28:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:28:02 DEBUG : dir: Looking for writers 2025/12/06 04:28:02 DEBUG : file1: reading active writers 2025/12/06 04:28:02 DEBUG : Looking for writers 2025/12/06 04:28:02 DEBUG : dir: reading active writers 2025/12/06 04:28:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:28:03 DEBUG : dir: Looking for writers 2025/12/06 04:28:03 DEBUG : file1: reading active writers 2025/12/06 04:28:03 DEBUG : Looking for writers 2025/12/06 04:28:03 DEBUG : dir: reading active writers 2025/12/06 04:28:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:28:04 DEBUG : dir: Looking for writers 2025/12/06 04:28:04 DEBUG : file1: reading active writers 2025/12/06 04:28:04 DEBUG : Looking for writers 2025/12/06 04:28:04 DEBUG : dir: reading active writers 2025/12/06 04:28:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:28:05 DEBUG : dir: Looking for writers 2025/12/06 04:28:05 DEBUG : file1: reading active writers 2025/12/06 04:28:05 DEBUG : Looking for writers 2025/12/06 04:28:05 DEBUG : dir: reading active writers 2025/12/06 04:28:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:28:06 DEBUG : dir/file1: size = 14 OK 2025/12/06 04:28:06 INFO : dir/file1: Copied (replaced existing) 2025/12/06 04:28:06 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/12/06 04:28:06 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/12/06 04:28:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:28:06 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/12/06 04:28:06 DEBUG : dir: Looking for writers 2025/12/06 04:28:06 DEBUG : file1: reading active writers 2025/12/06 04:28:06 DEBUG : Looking for writers 2025/12/06 04:28:06 DEBUG : dir: reading active writers 2025/12/06 04:28:06 DEBUG : >WaitForWriters: 2025/12/06 04:28:06 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/06 04:28:06 DEBUG : dir/file1: newRWFileHandle: 2025/12/06 04:28:06 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/06 04:28:06 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/06 04:28:06 DEBUG : dir/file1(0xc00099db40): _readAt: size=512, off=0 2025/12/06 04:28:06 DEBUG : dir/file1(0xc00099db40): openPending: 2025/12/06 04:28:06 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/12/06 04:28:06 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/12/06 04:28:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:28:06 DEBUG : dir/file1(0xc00099db40): >openPending: err= 2025/12/06 04:28:06 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/12/06 04:28:06 DEBUG : dir/file1(0xc00099db40): >_readAt: n=14, err=EOF 2025/12/06 04:28:06 DEBUG : dir/file1(0xc00099db40): close: 2025/12/06 04:28:06 DEBUG : dir/file1: vfs cache: setting modification time to 2025-12-06 04:28:05 +0000 UTC 2025/12/06 04:28:06 DEBUG : dir/file1(0xc00099db40): >close: err= 2025/12/06 04:28:08 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/06 04:28:08 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/06 04:28:08 DEBUG : newLeaf: Updating file with newLeaf 0xc0028e6600 2025/12/06 04:28:08 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:28:08 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/06 04:28:08 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/12/06 04:28:08 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/12/06 04:28:08 DEBUG : dir/file1: Updating file with dir/file1 0xc0028e6600 2025/12/06 04:28:08 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/12/06 04:28:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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" 2025/12/06 04:28:15 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/12/06 04:28:15 DEBUG : dir/file1: newRWFileHandle: 2025/12/06 04:28:15 DEBUG : dir/file1(0xc00154ba00): openPending: 2025/12/06 04:28:15 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/12/06 04:28:15 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/12/06 04:28:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:28:15 DEBUG : dir/file1(0xc00154ba00): >openPending: err= 2025/12/06 04:28:15 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/06 04:28:15 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/06 04:28:15 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/06 04:28:15 DEBUG : dir/file1(0xc00154ba00): _writeAt: size=25, off=0 2025/12/06 04:28:15 DEBUG : dir/file1(0xc00154ba00): >_writeAt: n=25, err= 2025/12/06 04:28:21 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/06 04:28:21 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/06 04:28:21 DEBUG : newLeaf: Updating file with newLeaf 0xc0028e6600 2025/12/06 04:28:21 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:28:21 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/06 04:28:21 DEBUG : newLeaf(0xc00154ba00): close: 2025/12/06 04:28:21 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/12/06 04:28:21 DEBUG : newLeaf: vfs cache: setting modification time to 2025-12-06 04:28:15.73916062 +0000 UTC m=+374.899337741 2025/12/06 04:28:21 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/12/06 04:28:21 DEBUG : newLeaf(0xc00154ba00): >close: err= 2025/12/06 04:28:21 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:28:21 DEBUG : dir: Looking for writers 2025/12/06 04:28:21 DEBUG : Looking for writers 2025/12/06 04:28:21 DEBUG : newLeaf: reading active writers 2025/12/06 04:28:21 DEBUG : dir: reading active writers 2025/12/06 04:28:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/06 04:28:21 DEBUG : dir: Looking for writers 2025/12/06 04:28:21 DEBUG : Looking for writers 2025/12/06 04:28:21 DEBUG : dir: reading active writers 2025/12/06 04:28:21 DEBUG : newLeaf: reading active writers 2025/12/06 04:28:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/06 04:28:21 DEBUG : dir: Looking for writers 2025/12/06 04:28:21 DEBUG : Looking for writers 2025/12/06 04:28:21 DEBUG : dir: reading active writers 2025/12/06 04:28:21 DEBUG : newLeaf: reading active writers 2025/12/06 04:28:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/06 04:28:21 DEBUG : dir: Looking for writers 2025/12/06 04:28:21 DEBUG : Looking for writers 2025/12/06 04:28:21 DEBUG : dir: reading active writers 2025/12/06 04:28:21 DEBUG : newLeaf: reading active writers 2025/12/06 04:28:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/06 04:28:21 DEBUG : newLeaf: vfs cache: starting upload 2025/12/06 04:28:21 DEBUG : dir: Looking for writers 2025/12/06 04:28:21 DEBUG : Looking for writers 2025/12/06 04:28:21 DEBUG : dir: reading active writers 2025/12/06 04:28:21 DEBUG : newLeaf: reading active writers 2025/12/06 04:28:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/06 04:28:21 DEBUG : dir: Looking for writers 2025/12/06 04:28:21 DEBUG : Looking for writers 2025/12/06 04:28:21 DEBUG : newLeaf: reading active writers 2025/12/06 04:28:21 DEBUG : dir: reading active writers 2025/12/06 04:28:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/06 04:28:22 DEBUG : newLeaf: size = 25 OK 2025/12/06 04:28:22 INFO : newLeaf: Copied (replaced existing) 2025/12/06 04:28:22 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/12/06 04:28:22 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/12/06 04:28:22 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/06 04:28:22 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/12/06 04:28:22 DEBUG : dir: Looking for writers 2025/12/06 04:28:22 DEBUG : Looking for writers 2025/12/06 04:28:22 DEBUG : dir: reading active writers 2025/12/06 04:28:22 DEBUG : newLeaf: reading active writers 2025/12/06 04:28:22 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure 2025/12/06 04:28:29 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:28:29 DEBUG : dir: Looking for writers 2025/12/06 04:28:29 DEBUG : Looking for writers 2025/12/06 04:28:29 DEBUG : dir: reading active writers 2025/12/06 04:28:29 DEBUG : newLeaf: reading active writers 2025/12/06 04:28:29 DEBUG : >WaitForWriters: 2025/12/06 04:28:29 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:28:29 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:28:29 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:28:29 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:28:29 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:28:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:28:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:28:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:28:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:28:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:28:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:28:29 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:28:33 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:28:33 DEBUG : dir: Looking for writers 2025/12/06 04:28:33 DEBUG : file1: reading active writers 2025/12/06 04:28:33 DEBUG : Looking for writers 2025/12/06 04:28:33 DEBUG : dir: reading active writers 2025/12/06 04:28:33 DEBUG : >WaitForWriters: 2025/12/06 04:28:34 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/06 04:28:34 DEBUG : newLeaf: Updating file with newLeaf 0xc0028e7740 2025/12/06 04:28:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:28:34 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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 "file1" 2025/12/06 04:28:41 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/12/06 04:28:41 DEBUG : dir/file1: Updating file with dir/file1 0xc0028e7740 2025/12/06 04:28:41 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/12/06 04:28:41 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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" 2025/12/06 04:28:48 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/12/06 04:28:48 DEBUG : dir/file1: newRWFileHandle: 2025/12/06 04:28:48 DEBUG : dir/file1(0xc000a55200): openPending: 2025/12/06 04:28:48 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/12/06 04:28:48 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/12/06 04:28:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:28:48 DEBUG : dir/file1(0xc000a55200): >openPending: err= 2025/12/06 04:28:48 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/06 04:28:48 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/06 04:28:48 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/06 04:28:48 DEBUG : dir/file1(0xc000a55200): _writeAt: size=25, off=0 2025/12/06 04:28:48 DEBUG : dir/file1(0xc000a55200): >_writeAt: n=25, err= 2025/12/06 04:28:48 INFO : newLeaf: Deleted 2025/12/06 04:28:48 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/06 04:28:48 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/06 04:28:48 DEBUG : newLeaf: Updating file with newLeaf 0xc0028e7740 2025/12/06 04:28:48 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:28:48 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/06 04:28:48 DEBUG : newLeaf(0xc000a55200): close: 2025/12/06 04:28:48 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/12/06 04:28:48 DEBUG : newLeaf: vfs cache: setting modification time to 2025-12-06 04:28:48.50167774 +0000 UTC m=+407.661854871 2025/12/06 04:28:48 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/12/06 04:28:48 DEBUG : newLeaf(0xc000a55200): >close: err= 2025/12/06 04:28:48 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:28:48 DEBUG : dir: Looking for writers 2025/12/06 04:28:48 DEBUG : Looking for writers 2025/12/06 04:28:48 DEBUG : dir: reading active writers 2025/12/06 04:28:48 DEBUG : newLeaf: reading active writers 2025/12/06 04:28:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/06 04:28:49 DEBUG : dir: Looking for writers 2025/12/06 04:28:49 DEBUG : Looking for writers 2025/12/06 04:28:49 DEBUG : dir: reading active writers 2025/12/06 04:28:49 DEBUG : newLeaf: reading active writers 2025/12/06 04:28:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/06 04:28:49 DEBUG : dir: Looking for writers 2025/12/06 04:28:49 DEBUG : Looking for writers 2025/12/06 04:28:49 DEBUG : dir: reading active writers 2025/12/06 04:28:49 DEBUG : newLeaf: reading active writers 2025/12/06 04:28:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/06 04:28:49 DEBUG : dir: Looking for writers 2025/12/06 04:28:49 DEBUG : Looking for writers 2025/12/06 04:28:49 DEBUG : dir: reading active writers 2025/12/06 04:28:49 DEBUG : newLeaf: reading active writers 2025/12/06 04:28:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/06 04:28:49 DEBUG : newLeaf: vfs cache: starting upload 2025/12/06 04:28:49 DEBUG : dir: Looking for writers 2025/12/06 04:28:49 DEBUG : Looking for writers 2025/12/06 04:28:49 DEBUG : dir: reading active writers 2025/12/06 04:28:49 DEBUG : newLeaf: reading active writers 2025/12/06 04:28:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/06 04:28:49 DEBUG : dir: Looking for writers 2025/12/06 04:28:49 DEBUG : Looking for writers 2025/12/06 04:28:49 DEBUG : dir: reading active writers 2025/12/06 04:28:49 DEBUG : newLeaf: reading active writers 2025/12/06 04:28:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/06 04:28:49 DEBUG : dir: Looking for writers 2025/12/06 04:28:49 DEBUG : Looking for writers 2025/12/06 04:28:49 DEBUG : dir: reading active writers 2025/12/06 04:28:49 DEBUG : newLeaf: reading active writers 2025/12/06 04:28:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/12/06 04:28:49 DEBUG : newLeaf: size = 25 OK 2025/12/06 04:28:49 INFO : newLeaf: Copied (replaced existing) 2025/12/06 04:28:49 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/12/06 04:28:49 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/12/06 04:28:49 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/06 04:28:49 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/12/06 04:28:50 DEBUG : dir: Looking for writers 2025/12/06 04:28:50 DEBUG : Looking for writers 2025/12/06 04:28:50 DEBUG : dir: reading active writers 2025/12/06 04:28:50 DEBUG : newLeaf: reading active writers 2025/12/06 04:28:50 DEBUG : >WaitForWriters: 2025/12/06 04:28:50 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:28:50 DEBUG : dir: Looking for writers 2025/12/06 04:28:50 DEBUG : Looking for writers 2025/12/06 04:28:50 DEBUG : dir: reading active writers 2025/12/06 04:28:50 DEBUG : newLeaf: reading active writers 2025/12/06 04:28:50 DEBUG : >WaitForWriters: 2025/12/06 04:28:50 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:28:52 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:28:52 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:28:52 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:28:52 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:28:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:28:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:28:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:28:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:28:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:28:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:28:52 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:28:54 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/12/06 04:28:54 DEBUG : dir/file1: newRWFileHandle: 2025/12/06 04:28:54 DEBUG : dir/file1(0xc006acd800): openPending: 2025/12/06 04:28:54 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/12/06 04:28:54 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/12/06 04:28:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:28:54 DEBUG : dir/file1(0xc006acd800): >openPending: err= 2025/12/06 04:28:54 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/06 04:28:54 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/06 04:28:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:28:54 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/06 04:28:54 DEBUG : dir/file1(0xc006acd800): _writeAt: size=14, off=0 2025/12/06 04:28:54 DEBUG : dir/file1(0xc006acd800): >_writeAt: n=14, err= 2025/12/06 04:28:54 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/12/06 04:28:54 DEBUG : dir/file1(0xc006acd800): close: 2025/12/06 04:28:54 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/12/06 04:28:54 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/12/06 04:28:54 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/12/06 04:28:54 DEBUG : dir/file1(0xc006acd800): >close: err= 2025/12/06 04:28:54 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:28:54 DEBUG : dir: Looking for writers 2025/12/06 04:28:54 DEBUG : file1: reading active writers 2025/12/06 04:28:54 DEBUG : Looking for writers 2025/12/06 04:28:54 DEBUG : dir: reading active writers 2025/12/06 04:28:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/06 04:28:54 DEBUG : dir: Looking for writers 2025/12/06 04:28:54 DEBUG : file1: reading active writers 2025/12/06 04:28:54 DEBUG : Looking for writers 2025/12/06 04:28:54 DEBUG : dir: reading active writers 2025/12/06 04:28:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/06 04:28:54 DEBUG : dir: Looking for writers 2025/12/06 04:28:54 DEBUG : file1: reading active writers 2025/12/06 04:28:54 DEBUG : Looking for writers 2025/12/06 04:28:54 DEBUG : dir: reading active writers 2025/12/06 04:28:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/06 04:28:54 DEBUG : dir: Looking for writers 2025/12/06 04:28:54 DEBUG : file1: reading active writers 2025/12/06 04:28:54 DEBUG : Looking for writers 2025/12/06 04:28:54 DEBUG : dir: reading active writers 2025/12/06 04:28:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/06 04:28:54 DEBUG : dir/file1: vfs cache: starting upload 2025/12/06 04:28:54 DEBUG : dir: Looking for writers 2025/12/06 04:28:54 DEBUG : file1: reading active writers 2025/12/06 04:28:54 DEBUG : Looking for writers 2025/12/06 04:28:54 DEBUG : dir: reading active writers 2025/12/06 04:28:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/06 04:28:54 DEBUG : dir: Looking for writers 2025/12/06 04:28:54 DEBUG : file1: reading active writers 2025/12/06 04:28:54 DEBUG : Looking for writers 2025/12/06 04:28:54 DEBUG : dir: reading active writers 2025/12/06 04:28:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/06 04:28:55 DEBUG : dir: Looking for writers 2025/12/06 04:28:55 DEBUG : file1: reading active writers 2025/12/06 04:28:55 DEBUG : Looking for writers 2025/12/06 04:28:55 DEBUG : dir: reading active writers 2025/12/06 04:28:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/12/06 04:28:55 DEBUG : dir: Looking for writers 2025/12/06 04:28:55 DEBUG : file1: reading active writers 2025/12/06 04:28:55 DEBUG : Looking for writers 2025/12/06 04:28:55 DEBUG : dir: reading active writers 2025/12/06 04:28:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:28:56 DEBUG : dir: Looking for writers 2025/12/06 04:28:56 DEBUG : file1: reading active writers 2025/12/06 04:28:56 DEBUG : Looking for writers 2025/12/06 04:28:56 DEBUG : dir: reading active writers 2025/12/06 04:28:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:28:57 DEBUG : dir: Looking for writers 2025/12/06 04:28:57 DEBUG : file1: reading active writers 2025/12/06 04:28:57 DEBUG : Looking for writers 2025/12/06 04:28:57 DEBUG : dir: reading active writers 2025/12/06 04:28:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:28:58 DEBUG : dir/file1: size = 14 OK 2025/12/06 04:28:58 INFO : dir/file1: Copied (replaced existing) 2025/12/06 04:28:58 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/12/06 04:28:58 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/12/06 04:28:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:28:58 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/12/06 04:28:58 DEBUG : dir: Looking for writers 2025/12/06 04:28:58 DEBUG : file1: reading active writers 2025/12/06 04:28:58 DEBUG : Looking for writers 2025/12/06 04:28:58 DEBUG : dir: reading active writers 2025/12/06 04:28:58 DEBUG : >WaitForWriters: 2025/12/06 04:28:58 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/06 04:28:58 DEBUG : dir/file1: newRWFileHandle: 2025/12/06 04:28:58 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/06 04:28:58 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/06 04:28:58 DEBUG : dir/file1(0xc000b7b500): _readAt: size=512, off=0 2025/12/06 04:28:58 DEBUG : dir/file1(0xc000b7b500): openPending: 2025/12/06 04:28:58 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/12/06 04:28:58 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/12/06 04:28:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:28:58 DEBUG : dir/file1(0xc000b7b500): >openPending: err= 2025/12/06 04:28:58 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/12/06 04:28:58 DEBUG : dir/file1(0xc000b7b500): >_readAt: n=14, err=EOF 2025/12/06 04:28:58 DEBUG : dir/file1(0xc000b7b500): close: 2025/12/06 04:28:58 DEBUG : dir/file1: vfs cache: setting modification time to 2025-12-06 04:28:55 +0000 UTC 2025/12/06 04:28:58 DEBUG : dir/file1(0xc000b7b500): >close: err= 2025/12/06 04:28:59 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/06 04:28:59 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/06 04:28:59 DEBUG : newLeaf: Updating file with newLeaf 0xc000150cc0 2025/12/06 04:28:59 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:28:59 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/06 04:28:59 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/12/06 04:28:59 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/12/06 04:28:59 DEBUG : dir/file1: Updating file with dir/file1 0xc000150cc0 2025/12/06 04:28:59 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/12/06 04:28:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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" 2025/12/06 04:29:06 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/12/06 04:29:06 DEBUG : dir/file1: newRWFileHandle: 2025/12/06 04:29:06 DEBUG : dir/file1(0xc0007d7240): openPending: 2025/12/06 04:29:06 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/12/06 04:29:06 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/12/06 04:29:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:29:06 DEBUG : dir/file1(0xc0007d7240): >openPending: err= 2025/12/06 04:29:06 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/06 04:29:06 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/06 04:29:06 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/06 04:29:06 DEBUG : dir/file1(0xc0007d7240): _writeAt: size=25, off=0 2025/12/06 04:29:06 DEBUG : dir/file1(0xc0007d7240): >_writeAt: n=25, err= 2025/12/06 04:29:06 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/06 04:29:06 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/06 04:29:06 DEBUG : newLeaf: Updating file with newLeaf 0xc000150cc0 2025/12/06 04:29:06 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:29:06 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/06 04:29:06 DEBUG : newLeaf(0xc0007d7240): close: 2025/12/06 04:29:06 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/12/06 04:29:06 DEBUG : newLeaf: vfs cache: setting modification time to 2025-12-06 04:29:06.354676386 +0000 UTC m=+425.514853517 2025/12/06 04:29:06 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/12/06 04:29:06 DEBUG : newLeaf(0xc0007d7240): >close: err= 2025/12/06 04:29:06 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:29:06 DEBUG : dir: Looking for writers 2025/12/06 04:29:06 DEBUG : Looking for writers 2025/12/06 04:29:06 DEBUG : dir: reading active writers 2025/12/06 04:29:06 DEBUG : newLeaf: reading active writers 2025/12/06 04:29:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/06 04:29:06 DEBUG : dir: Looking for writers 2025/12/06 04:29:06 DEBUG : Looking for writers 2025/12/06 04:29:06 DEBUG : dir: reading active writers 2025/12/06 04:29:06 DEBUG : newLeaf: reading active writers 2025/12/06 04:29:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/06 04:29:06 DEBUG : dir: Looking for writers 2025/12/06 04:29:06 DEBUG : Looking for writers 2025/12/06 04:29:06 DEBUG : dir: reading active writers 2025/12/06 04:29:06 DEBUG : newLeaf: reading active writers 2025/12/06 04:29:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/06 04:29:06 DEBUG : dir: Looking for writers 2025/12/06 04:29:06 DEBUG : Looking for writers 2025/12/06 04:29:06 DEBUG : dir: reading active writers 2025/12/06 04:29:06 DEBUG : newLeaf: reading active writers 2025/12/06 04:29:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/06 04:29:06 DEBUG : newLeaf: vfs cache: starting upload 2025/12/06 04:29:06 DEBUG : dir: Looking for writers 2025/12/06 04:29:06 DEBUG : Looking for writers 2025/12/06 04:29:06 DEBUG : dir: reading active writers 2025/12/06 04:29:06 DEBUG : newLeaf: reading active writers 2025/12/06 04:29:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/06 04:29:06 DEBUG : dir: Looking for writers 2025/12/06 04:29:06 DEBUG : Looking for writers 2025/12/06 04:29:06 DEBUG : dir: reading active writers 2025/12/06 04:29:06 DEBUG : newLeaf: reading active writers 2025/12/06 04:29:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/06 04:29:07 DEBUG : newLeaf: size = 25 OK 2025/12/06 04:29:07 INFO : newLeaf: Copied (replaced existing) 2025/12/06 04:29:07 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/12/06 04:29:07 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/12/06 04:29:07 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/06 04:29:07 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/12/06 04:29:07 DEBUG : dir: Looking for writers 2025/12/06 04:29:07 DEBUG : Looking for writers 2025/12/06 04:29:07 DEBUG : dir: reading active writers 2025/12/06 04:29:07 DEBUG : newLeaf: reading active writers 2025/12/06 04:29:07 DEBUG : >WaitForWriters: 2025/12/06 04:29:07 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:29:07 DEBUG : dir: Looking for writers 2025/12/06 04:29:07 DEBUG : Looking for writers 2025/12/06 04:29:07 DEBUG : newLeaf: reading active writers 2025/12/06 04:29:07 DEBUG : dir: reading active writers 2025/12/06 04:29:07 DEBUG : >WaitForWriters: 2025/12/06 04:29:07 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:29:07 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:29:07 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:29:07 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:07 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:07 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:29:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:07 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:29:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:07 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:29:08 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:29:08 DEBUG : dir: Looking for writers 2025/12/06 04:29:08 DEBUG : file1: reading active writers 2025/12/06 04:29:08 DEBUG : Looking for writers 2025/12/06 04:29:08 DEBUG : dir: reading active writers 2025/12/06 04:29:08 DEBUG : >WaitForWriters: 2025/12/06 04:29:08 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/06 04:29:08 DEBUG : dir/file1: newRWFileHandle: 2025/12/06 04:29:08 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/06 04:29:08 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/06 04:29:08 DEBUG : dir/file1(0xc00115c880): _readAt: size=512, off=0 2025/12/06 04:29:08 DEBUG : dir/file1(0xc00115c880): openPending: 2025/12/06 04:29:08 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/12/06 04:29:08 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/12/06 04:29:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:29:08 DEBUG : dir/file1(0xc00115c880): >openPending: err= 2025/12/06 04:29:08 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2025/12/06 04:29:08 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/12/06 04:29:08 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:29:08 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:29:08 DEBUG : dir/file1(0xc00115c880): >_readAt: n=14, err=EOF 2025/12/06 04:29:08 DEBUG : dir/file1(0xc00115c880): close: 2025/12/06 04:29:08 DEBUG : dir/file1: vfs cache: setting modification time to 2025-12-06 04:29:08 +0000 UTC 2025/12/06 04:29:08 DEBUG : dir/file1(0xc00115c880): >close: err= 2025/12/06 04:29:08 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/06 04:29:08 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/06 04:29:08 DEBUG : newLeaf: Updating file with newLeaf 0xc001437800 2025/12/06 04:29:08 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:29:08 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/06 04:29:08 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/12/06 04:29:08 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/12/06 04:29:08 DEBUG : dir/file1: Updating file with dir/file1 0xc001437800 2025/12/06 04:29:08 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/12/06 04:29:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /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" 2025/12/06 04:29:15 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/12/06 04:29:15 DEBUG : dir/file1: newRWFileHandle: 2025/12/06 04:29:15 DEBUG : dir/file1(0xc000e2d440): openPending: 2025/12/06 04:29:15 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/12/06 04:29:15 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/12/06 04:29:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:29:15 DEBUG : dir/file1(0xc000e2d440): >openPending: err= 2025/12/06 04:29:15 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/06 04:29:15 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/06 04:29:15 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/06 04:29:15 DEBUG : dir/file1(0xc000e2d440): _writeAt: size=25, off=0 2025/12/06 04:29:15 DEBUG : dir/file1(0xc000e2d440): >_writeAt: n=25, err= 2025/12/06 04:29:16 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/06 04:29:16 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/06 04:29:16 DEBUG : newLeaf: Updating file with newLeaf 0xc001437800 2025/12/06 04:29:16 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:29:16 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/06 04:29:16 DEBUG : newLeaf(0xc000e2d440): close: 2025/12/06 04:29:16 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/12/06 04:29:16 DEBUG : newLeaf: vfs cache: setting modification time to 2025-12-06 04:29:15.841593079 +0000 UTC m=+435.001770290 2025/12/06 04:29:16 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/12/06 04:29:16 DEBUG : newLeaf(0xc000e2d440): >close: err= 2025/12/06 04:29:16 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:29:16 DEBUG : dir: Looking for writers 2025/12/06 04:29:16 DEBUG : Looking for writers 2025/12/06 04:29:16 DEBUG : dir: reading active writers 2025/12/06 04:29:16 DEBUG : newLeaf: reading active writers 2025/12/06 04:29:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/06 04:29:16 DEBUG : dir: Looking for writers 2025/12/06 04:29:16 DEBUG : Looking for writers 2025/12/06 04:29:16 DEBUG : dir: reading active writers 2025/12/06 04:29:16 DEBUG : newLeaf: reading active writers 2025/12/06 04:29:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/06 04:29:16 DEBUG : dir: Looking for writers 2025/12/06 04:29:16 DEBUG : Looking for writers 2025/12/06 04:29:16 DEBUG : dir: reading active writers 2025/12/06 04:29:16 DEBUG : newLeaf: reading active writers 2025/12/06 04:29:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/06 04:29:16 DEBUG : dir: Looking for writers 2025/12/06 04:29:16 DEBUG : Looking for writers 2025/12/06 04:29:16 DEBUG : dir: reading active writers 2025/12/06 04:29:16 DEBUG : newLeaf: reading active writers 2025/12/06 04:29:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/06 04:29:16 DEBUG : newLeaf: vfs cache: starting upload 2025/12/06 04:29:16 DEBUG : dir: Looking for writers 2025/12/06 04:29:16 DEBUG : Looking for writers 2025/12/06 04:29:16 DEBUG : dir: reading active writers 2025/12/06 04:29:16 DEBUG : newLeaf: reading active writers 2025/12/06 04:29:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/06 04:29:16 DEBUG : dir: Looking for writers 2025/12/06 04:29:16 DEBUG : Looking for writers 2025/12/06 04:29:16 DEBUG : dir: reading active writers 2025/12/06 04:29:16 DEBUG : newLeaf: reading active writers 2025/12/06 04:29:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/06 04:29:16 DEBUG : newLeaf: size = 25 OK 2025/12/06 04:29:16 INFO : newLeaf: Copied (replaced existing) 2025/12/06 04:29:16 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/12/06 04:29:16 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/12/06 04:29:16 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/06 04:29:16 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/12/06 04:29:16 DEBUG : dir: Looking for writers 2025/12/06 04:29:16 DEBUG : Looking for writers 2025/12/06 04:29:16 DEBUG : dir: reading active writers 2025/12/06 04:29:16 DEBUG : newLeaf: reading active writers 2025/12/06 04:29:16 DEBUG : >WaitForWriters: 2025/12/06 04:29:16 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:29:16 DEBUG : dir: Looking for writers 2025/12/06 04:29:16 DEBUG : Looking for writers 2025/12/06 04:29:16 DEBUG : dir: reading active writers 2025/12/06 04:29:16 DEBUG : newLeaf: reading active writers 2025/12/06 04:29:16 DEBUG : >WaitForWriters: 2025/12/06 04:29:16 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting --- FAIL: TestFileRename (147.28s) --- FAIL: TestFileRename/off,forceCache=false (30.39s) --- FAIL: TestFileRename/minimal,forceCache=false (31.84s) --- FAIL: TestFileRename/minimal,forceCache=true (36.91s) --- FAIL: TestFileRename/writes,forceCache=false (22.58s) --- FAIL: TestFileRename/writes,forceCache=true (15.64s) --- FAIL: TestFileRename/full,forceCache=false (9.92s) === RUN TestRcGetVFS run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:29:17 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:29:17 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:29:17 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:29:17 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:29:17 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:29:17 DEBUG : Looking for writers 2025/12/06 04:29:17 DEBUG : >WaitForWriters: --- PASS: TestRcGetVFS (0.00s) === RUN TestReadFileHandleMethods run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:29:17 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:29:17 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:29:19 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:29:19 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/06 04:29:19 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/12/06 04:29:19 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/12/06 04:29:19 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:29:19 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/12/06 04:29:19 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2025/12/06 04:29:19 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:29:19 DEBUG : dir: Looking for writers 2025/12/06 04:29:19 DEBUG : file1: reading active writers 2025/12/06 04:29:19 DEBUG : Looking for writers 2025/12/06 04:29:19 DEBUG : dir: reading active writers 2025/12/06 04:29:19 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (2.51s) === RUN TestReadFileHandleSeek run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:29:20 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:29:20 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:29:23 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:29:23 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/06 04:29:23 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/12/06 04:29:23 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/12/06 04:29:23 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:29:23 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/12/06 04:29:23 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/12/06 04:29:23 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/12/06 04:29:23 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/12/06 04:29:23 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/12/06 04:29:23 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/12/06 04:29:23 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/12/06 04:29:23 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/12/06 04:29:23 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2025/12/06 04:29:23 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2025/12/06 04:29:23 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2025/12/06 04:29:23 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2025/12/06 04:29:23 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2025/12/06 04:29:23 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2025/12/06 04:29:23 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2025/12/06 04:29:23 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2025/12/06 04:29:23 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:29:23 DEBUG : dir: Looking for writers 2025/12/06 04:29:23 DEBUG : file1: reading active writers 2025/12/06 04:29:23 DEBUG : Looking for writers 2025/12/06 04:29:23 DEBUG : dir: reading active writers 2025/12/06 04:29:23 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (14.88s) === RUN TestReadFileHandleReadAt run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:29:35 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:29:35 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:29:37 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:29:37 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/06 04:29:37 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/12/06 04:29:37 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/12/06 04:29:37 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:29:37 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/12/06 04:29:37 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/12/06 04:29:37 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/12/06 04:29:37 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/12/06 04:29:37 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/12/06 04:29:37 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/12/06 04:29:37 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/12/06 04:29:37 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/12/06 04:29:37 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2025/12/06 04:29:37 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2025/12/06 04:29:37 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2025/12/06 04:29:37 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2025/12/06 04:29:37 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2025/12/06 04:29:37 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2025/12/06 04:29:37 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2025/12/06 04:29:37 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2025/12/06 04:29:37 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2025/12/06 04:29:37 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2025/12/06 04:29:37 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/12/06 04:29:37 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2025/12/06 04:29:37 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2025/12/06 04:29:37 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2025/12/06 04:29:37 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/12/06 04:29:37 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/12/06 04:29:37 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/12/06 04:29:37 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/12/06 04:29:37 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2025/12/06 04:29:37 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/12/06 04:29:37 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/12/06 04:29:37 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/12/06 04:29:37 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2025/12/06 04:29:37 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:29:37 DEBUG : dir: Looking for writers 2025/12/06 04:29:37 DEBUG : file1: reading active writers 2025/12/06 04:29:37 DEBUG : Looking for writers 2025/12/06 04:29:37 DEBUG : dir: reading active writers 2025/12/06 04:29:37 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (3.18s) === RUN TestReadFileHandleFlush run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:29:38 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:29:38 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:29:40 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:29:40 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/06 04:29:40 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/12/06 04:29:40 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/12/06 04:29:40 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:29:40 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/12/06 04:29:40 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:29:40 DEBUG : dir: Looking for writers 2025/12/06 04:29:40 DEBUG : file1: reading active writers 2025/12/06 04:29:40 DEBUG : Looking for writers 2025/12/06 04:29:40 DEBUG : dir: reading active writers 2025/12/06 04:29:40 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleFlush (3.20s) === RUN TestReadFileHandleRelease run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:29:41 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:29:41 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:29:41 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:29:41 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/06 04:29:41 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/12/06 04:29:41 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/12/06 04:29:41 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:29:41 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/12/06 04:29:42 DEBUG : dir/file1: ReadFileHandle.Release closing 2025/12/06 04:29:42 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2025/12/06 04:29:42 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:29:42 DEBUG : dir: Looking for writers 2025/12/06 04:29:42 DEBUG : file1: reading active writers 2025/12/06 04:29:42 DEBUG : Looking for writers 2025/12/06 04:29:42 DEBUG : dir: reading active writers 2025/12/06 04:29:42 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (0.90s) === RUN TestRWFileHandleMethodsRead run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:29:42 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:29:42 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:29:42 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:42 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:29:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:29:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:42 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:29:54 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:29:54 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/06 04:29:54 DEBUG : dir/file1: newRWFileHandle: 2025/12/06 04:29:54 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/06 04:29:54 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/06 04:29:54 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/12/06 04:29:54 DEBUG : dir/file1(0xc00070dec0): _readAt: size=1, off=0 2025/12/06 04:29:54 DEBUG : dir/file1(0xc00070dec0): openPending: 2025/12/06 04:29:54 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2025/12/06 04:29:54 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/12/06 04:29:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:29:54 DEBUG : dir/file1(0xc00070dec0): >openPending: err= 2025/12/06 04:29:54 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/12/06 04:29:54 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/12/06 04:29:54 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:29:54 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:29:54 DEBUG : dir/file1(0xc00070dec0): >_readAt: n=1, err= 2025/12/06 04:29:54 DEBUG : dir/file1(0xc00070dec0): _readAt: size=256, off=1 2025/12/06 04:29:54 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2025/12/06 04:29:54 DEBUG : dir/file1(0xc00070dec0): >_readAt: n=15, err=EOF 2025/12/06 04:29:54 DEBUG : dir/file1(0xc00070dec0): _readAt: size=16, off=16 2025/12/06 04:29:54 DEBUG : dir/file1(0xc00070dec0): >_readAt: n=0, err=EOF 2025/12/06 04:29:54 DEBUG : dir/file1(0xc00070dec0): close: 2025/12/06 04:29:54 DEBUG : dir/file1: vfs cache: setting modification time to 2025-12-06 04:29:53 +0000 UTC 2025/12/06 04:29:54 DEBUG : dir/file1(0xc00070dec0): >close: err= 2025/12/06 04:29:54 DEBUG : dir/file1(0xc00070dec0): close: 2025/12/06 04:29:54 DEBUG : dir/file1(0xc00070dec0): >close: err=file already closed 2025/12/06 04:29:54 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:29:54 DEBUG : dir: Looking for writers 2025/12/06 04:29:54 DEBUG : file1: reading active writers 2025/12/06 04:29:54 DEBUG : Looking for writers 2025/12/06 04:29:54 DEBUG : dir: reading active writers 2025/12/06 04:29:54 DEBUG : >WaitForWriters: 2025/12/06 04:29:54 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (13.95s) === RUN TestRWFileHandleSeek run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:29:56 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:29:56 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:29:56 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:56 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:29:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:29:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:56 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:29:56 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:29:56 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/06 04:29:56 DEBUG : dir/file1: newRWFileHandle: 2025/12/06 04:29:56 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/06 04:29:56 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/06 04:29:56 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/12/06 04:29:56 DEBUG : dir/file1(0xc006cbf9c0): _readAt: size=1, off=0 2025/12/06 04:29:56 DEBUG : dir/file1(0xc006cbf9c0): openPending: 2025/12/06 04:29:56 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2025/12/06 04:29:56 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/12/06 04:29:56 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:29:56 DEBUG : dir/file1(0xc006cbf9c0): >openPending: err= 2025/12/06 04:29:56 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/12/06 04:29:56 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/12/06 04:29:56 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:29:56 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:29:56 DEBUG : dir/file1(0xc006cbf9c0): >_readAt: n=1, err= 2025/12/06 04:29:56 DEBUG : dir/file1(0xc006cbf9c0): _readAt: size=1, off=5 2025/12/06 04:29:56 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/12/06 04:29:56 DEBUG : dir/file1(0xc006cbf9c0): >_readAt: n=1, err= 2025/12/06 04:29:56 DEBUG : dir/file1(0xc006cbf9c0): _readAt: size=1, off=3 2025/12/06 04:29:56 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2025/12/06 04:29:56 DEBUG : dir/file1(0xc006cbf9c0): >_readAt: n=1, err= 2025/12/06 04:29:56 DEBUG : dir/file1(0xc006cbf9c0): _readAt: size=1, off=13 2025/12/06 04:29:56 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2025/12/06 04:29:56 DEBUG : dir/file1(0xc006cbf9c0): >_readAt: n=1, err= 2025/12/06 04:29:56 DEBUG : dir/file1(0xc006cbf9c0): _readAt: size=16, off=100 2025/12/06 04:29:56 DEBUG : dir/file1(0xc006cbf9c0): >_readAt: n=0, err=EOF 2025/12/06 04:29:56 DEBUG : dir/file1(0xc006cbf9c0): close: 2025/12/06 04:29:56 DEBUG : dir/file1: vfs cache: setting modification time to 2025-12-06 04:29:56 +0000 UTC 2025/12/06 04:29:56 DEBUG : dir/file1(0xc006cbf9c0): >close: err= 2025/12/06 04:29:56 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:29:56 DEBUG : dir: Looking for writers 2025/12/06 04:29:56 DEBUG : file1: reading active writers 2025/12/06 04:29:56 DEBUG : Looking for writers 2025/12/06 04:29:56 DEBUG : dir: reading active writers 2025/12/06 04:29:56 DEBUG : >WaitForWriters: 2025/12/06 04:29:56 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- PASS: TestRWFileHandleSeek (1.62s) === RUN TestRWFileHandleReadAt run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:29:57 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:29:57 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:29:57 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:57 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:29:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:29:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:57 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:29:58 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:29:58 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/06 04:29:58 DEBUG : dir/file1: newRWFileHandle: 2025/12/06 04:29:58 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/06 04:29:58 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/06 04:29:58 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): _readAt: size=1, off=0 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): openPending: 2025/12/06 04:29:58 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2025/12/06 04:29:58 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/12/06 04:29:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): >openPending: err= 2025/12/06 04:29:58 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/12/06 04:29:58 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/12/06 04:29:58 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:29:58 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): >_readAt: n=1, err= 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): _readAt: size=1, off=5 2025/12/06 04:29:58 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): >_readAt: n=1, err= 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): _readAt: size=1, off=1 2025/12/06 04:29:58 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): >_readAt: n=1, err= 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): _readAt: size=6, off=10 2025/12/06 04:29:58 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): >_readAt: n=6, err= 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): _readAt: size=256, off=10 2025/12/06 04:29:58 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): >_readAt: n=6, err=EOF 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): _readAt: size=256, off=100 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): >_readAt: n=0, err=EOF 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): close: 2025/12/06 04:29:58 DEBUG : dir/file1: vfs cache: setting modification time to 2025-12-06 04:29:58 +0000 UTC 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): >close: err= 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): _readAt: size=256, off=100 2025/12/06 04:29:58 DEBUG : dir/file1(0xc000a549c0): >_readAt: n=0, err=file already closed 2025/12/06 04:29:58 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:29:58 DEBUG : dir: Looking for writers 2025/12/06 04:29:58 DEBUG : file1: reading active writers 2025/12/06 04:29:58 DEBUG : Looking for writers 2025/12/06 04:29:58 DEBUG : dir: reading active writers 2025/12/06 04:29:58 DEBUG : >WaitForWriters: 2025/12/06 04:29:58 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (0.82s) === RUN TestRWFileHandleFlushRead run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:29:58 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:29:58 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:29:58 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:58 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:58 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:58 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:29:58 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:58 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:58 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:29:58 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:29:58 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:30:01 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:30:01 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/06 04:30:01 DEBUG : dir/file1: newRWFileHandle: 2025/12/06 04:30:01 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/06 04:30:01 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/06 04:30:01 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/12/06 04:30:01 DEBUG : dir/file1(0xc006be1ac0): RWFileHandle.Flush 2025/12/06 04:30:01 DEBUG : dir/file1(0xc006be1ac0): _readAt: size=256, off=0 2025/12/06 04:30:01 DEBUG : dir/file1(0xc006be1ac0): openPending: 2025/12/06 04:30:01 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2025/12/06 04:30:01 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/12/06 04:30:01 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:01 DEBUG : dir/file1(0xc006be1ac0): >openPending: err= 2025/12/06 04:30:01 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/12/06 04:30:01 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/12/06 04:30:01 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:30:01 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:30:01 DEBUG : dir/file1(0xc006be1ac0): >_readAt: n=16, err=EOF 2025/12/06 04:30:01 DEBUG : dir/file1(0xc006be1ac0): RWFileHandle.Flush 2025/12/06 04:30:01 DEBUG : dir/file1(0xc006be1ac0): RWFileHandle.Flush 2025/12/06 04:30:01 DEBUG : dir/file1(0xc006be1ac0): close: 2025/12/06 04:30:01 DEBUG : dir/file1: vfs cache: setting modification time to 2025-12-06 04:30:01 +0000 UTC 2025/12/06 04:30:01 DEBUG : dir/file1(0xc006be1ac0): >close: err= 2025/12/06 04:30:01 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:30:01 DEBUG : dir: Looking for writers 2025/12/06 04:30:01 DEBUG : file1: reading active writers 2025/12/06 04:30:01 DEBUG : Looking for writers 2025/12/06 04:30:01 DEBUG : dir: reading active writers 2025/12/06 04:30:01 DEBUG : >WaitForWriters: 2025/12/06 04:30:01 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (2.93s) === RUN TestRWFileHandleReleaseRead run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:30:01 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:30:01 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:30:01 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:01 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:01 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:01 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:01 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:01 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:01 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:01 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:01 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:30:04 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:30:04 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/06 04:30:04 DEBUG : dir/file1: newRWFileHandle: 2025/12/06 04:30:04 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/06 04:30:04 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/06 04:30:04 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/12/06 04:30:04 DEBUG : dir/file1(0xc006acd840): _readAt: size=256, off=0 2025/12/06 04:30:04 DEBUG : dir/file1(0xc006acd840): openPending: 2025/12/06 04:30:04 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2025/12/06 04:30:04 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/12/06 04:30:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:04 DEBUG : dir/file1(0xc006acd840): >openPending: err= 2025/12/06 04:30:04 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/12/06 04:30:04 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/12/06 04:30:04 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:30:04 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:30:05 DEBUG : dir/file1(0xc006acd840): >_readAt: n=16, err=EOF 2025/12/06 04:30:05 DEBUG : dir/file1(0xc006acd840): RWFileHandle.Release 2025/12/06 04:30:05 DEBUG : dir/file1(0xc006acd840): close: 2025/12/06 04:30:05 DEBUG : dir/file1: vfs cache: setting modification time to 2025-12-06 04:30:04 +0000 UTC 2025/12/06 04:30:05 DEBUG : dir/file1(0xc006acd840): >close: err= 2025/12/06 04:30:05 DEBUG : dir/file1(0xc006acd840): RWFileHandle.Release 2025/12/06 04:30:05 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:30:05 DEBUG : dir: Looking for writers 2025/12/06 04:30:05 DEBUG : file1: reading active writers 2025/12/06 04:30:05 DEBUG : Looking for writers 2025/12/06 04:30:05 DEBUG : dir: reading active writers 2025/12/06 04:30:05 DEBUG : >WaitForWriters: 2025/12/06 04:30:05 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (4.03s) === RUN TestRWFileHandleMethodsWrite run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:30:05 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:30:05 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:30:05 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:05 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:05 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:30:05 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:30:05 DEBUG : file1: newRWFileHandle: 2025/12/06 04:30:05 DEBUG : file1(0xc000b7a400): openPending: 2025/12/06 04:30:05 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/12/06 04:30:05 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/12/06 04:30:05 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:30:05 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:05 DEBUG : file1(0xc000b7a400): >openPending: err= 2025/12/06 04:30:05 DEBUG : file1: >newRWFileHandle: err= 2025/12/06 04:30:05 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:05 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/12/06 04:30:05 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/12/06 04:30:05 DEBUG : file1(0xc000b7a400): _writeAt: size=5, off=0 2025/12/06 04:30:05 DEBUG : file1(0xc000b7a400): >_writeAt: n=5, err= 2025/12/06 04:30:05 DEBUG : file1(0xc000b7a400): _writeAt: size=7, off=5 2025/12/06 04:30:05 DEBUG : file1(0xc000b7a400): >_writeAt: n=7, err= 2025/12/06 04:30:05 DEBUG : file1: vfs cache: truncate to size=11 2025/12/06 04:30:05 DEBUG : file1(0xc000b7a400): close: 2025/12/06 04:30:05 DEBUG : file1: vfs cache: setting modification time to 2025-12-06 04:30:05.775310388 +0000 UTC m=+484.935487509 2025/12/06 04:30:05 INFO : file1: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:05 DEBUG : file1(0xc000b7a400): >close: err= 2025/12/06 04:30:05 DEBUG : file1(0xc000b7a400): close: 2025/12/06 04:30:05 DEBUG : file1(0xc000b7a400): >close: err=file already closed 2025/12/06 04:30:05 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:30:05 DEBUG : Looking for writers 2025/12/06 04:30:05 DEBUG : file1: reading active writers 2025/12/06 04:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/06 04:30:05 DEBUG : Looking for writers 2025/12/06 04:30:05 DEBUG : file1: reading active writers 2025/12/06 04:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/06 04:30:05 DEBUG : Looking for writers 2025/12/06 04:30:05 DEBUG : file1: reading active writers 2025/12/06 04:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/06 04:30:05 DEBUG : Looking for writers 2025/12/06 04:30:05 DEBUG : file1: reading active writers 2025/12/06 04:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/06 04:30:05 DEBUG : file1: vfs cache: starting upload 2025/12/06 04:30:05 DEBUG : Looking for writers 2025/12/06 04:30:05 DEBUG : file1: reading active writers 2025/12/06 04:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/06 04:30:06 DEBUG : Looking for writers 2025/12/06 04:30:06 DEBUG : file1: reading active writers 2025/12/06 04:30:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/06 04:30:06 DEBUG : Looking for writers 2025/12/06 04:30:06 DEBUG : file1: reading active writers 2025/12/06 04:30:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/12/06 04:30:07 DEBUG : Looking for writers 2025/12/06 04:30:07 DEBUG : file1: reading active writers 2025/12/06 04:30:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:30:07 DEBUG : file1: size = 11 OK 2025/12/06 04:30:07 INFO : file1: Copied (new) 2025/12/06 04:30:07 DEBUG : file1: vfs cache: fingerprint now "11" 2025/12/06 04:30:07 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/12/06 04:30:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:07 INFO : file1: vfs cache: upload succeeded try #1 2025/12/06 04:30:08 DEBUG : Looking for writers 2025/12/06 04:30:08 DEBUG : file1: reading active writers 2025/12/06 04:30:08 DEBUG : >WaitForWriters: 2025/12/06 04:30:08 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:30:08 DEBUG : Looking for writers 2025/12/06 04:30:08 DEBUG : file1: reading active writers 2025/12/06 04:30:08 DEBUG : >WaitForWriters: 2025/12/06 04:30:08 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsWrite (2.44s) === RUN TestRWFileHandleWriteAt run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:30:08 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:30:08 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:30:08 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:08 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:08 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:30:08 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:30:08 DEBUG : file1: newRWFileHandle: 2025/12/06 04:30:08 DEBUG : file1(0xc0007d6d40): openPending: 2025/12/06 04:30:08 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/12/06 04:30:08 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/12/06 04:30:08 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:30:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:08 DEBUG : file1(0xc0007d6d40): >openPending: err= 2025/12/06 04:30:08 DEBUG : file1: >newRWFileHandle: err= 2025/12/06 04:30:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:08 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/12/06 04:30:08 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/12/06 04:30:08 DEBUG : file1(0xc0007d6d40): _writeAt: size=7, off=0 2025/12/06 04:30:08 DEBUG : file1(0xc0007d6d40): >_writeAt: n=7, err= 2025/12/06 04:30:08 DEBUG : file1(0xc0007d6d40): _writeAt: size=6, off=5 2025/12/06 04:30:08 DEBUG : file1(0xc0007d6d40): >_writeAt: n=6, err= 2025/12/06 04:30:08 DEBUG : file1(0xc0007d6d40): close: 2025/12/06 04:30:08 DEBUG : file1: vfs cache: setting modification time to 2025-12-06 04:30:08.210007653 +0000 UTC m=+487.370184754 2025/12/06 04:30:08 INFO : file1: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:08 DEBUG : file1(0xc0007d6d40): >close: err= 2025/12/06 04:30:08 DEBUG : file1(0xc0007d6d40): _writeAt: size=5, off=0 2025/12/06 04:30:08 DEBUG : file1(0xc0007d6d40): >_writeAt: n=0, err=file already closed 2025/12/06 04:30:08 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:30:08 DEBUG : Looking for writers 2025/12/06 04:30:08 DEBUG : file1: reading active writers 2025/12/06 04:30:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/06 04:30:08 DEBUG : Looking for writers 2025/12/06 04:30:08 DEBUG : file1: reading active writers 2025/12/06 04:30:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/06 04:30:08 DEBUG : Looking for writers 2025/12/06 04:30:08 DEBUG : file1: reading active writers 2025/12/06 04:30:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/06 04:30:08 DEBUG : Looking for writers 2025/12/06 04:30:08 DEBUG : file1: reading active writers 2025/12/06 04:30:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/06 04:30:08 DEBUG : file1: vfs cache: starting upload 2025/12/06 04:30:08 DEBUG : Looking for writers 2025/12/06 04:30:08 DEBUG : file1: reading active writers 2025/12/06 04:30:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/06 04:30:08 DEBUG : Looking for writers 2025/12/06 04:30:08 DEBUG : file1: reading active writers 2025/12/06 04:30:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/06 04:30:08 DEBUG : file1: size = 11 OK 2025/12/06 04:30:08 INFO : file1: Copied (new) 2025/12/06 04:30:08 DEBUG : file1: vfs cache: fingerprint now "11" 2025/12/06 04:30:08 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/12/06 04:30:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:08 INFO : file1: vfs cache: upload succeeded try #1 2025/12/06 04:30:08 DEBUG : Looking for writers 2025/12/06 04:30:08 DEBUG : file1: reading active writers 2025/12/06 04:30:08 DEBUG : >WaitForWriters: 2025/12/06 04:30:08 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:30:08 DEBUG : Looking for writers 2025/12/06 04:30:08 DEBUG : file1: reading active writers 2025/12/06 04:30:08 DEBUG : >WaitForWriters: 2025/12/06 04:30:08 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting --- PASS: TestRWFileHandleWriteAt (0.70s) === RUN TestRWFileHandleWriteNoWrite run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:30:08 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:30:08 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:30:08 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:08 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:08 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:30:08 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:30:08 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:30:08 DEBUG : file1: newRWFileHandle: 2025/12/06 04:30:08 DEBUG : file1(0xc0007d7800): openPending: 2025/12/06 04:30:08 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/12/06 04:30:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:08 DEBUG : file1(0xc0007d7800): >openPending: err= 2025/12/06 04:30:08 DEBUG : file1: >newRWFileHandle: err= 2025/12/06 04:30:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:08 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/12/06 04:30:08 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/12/06 04:30:08 DEBUG : file1(0xc0007d7800): close: 2025/12/06 04:30:08 DEBUG : file1: vfs cache: setting modification time to 2025-12-06 04:30:08.907262016 +0000 UTC m=+488.067439117 2025/12/06 04:30:08 INFO : file1: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:08 DEBUG : file1(0xc0007d7800): >close: err= 2025/12/06 04:30:08 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/12/06 04:30:08 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/12/06 04:30:08 DEBUG : file2: newRWFileHandle: 2025/12/06 04:30:08 DEBUG : file2(0xc0007d7dc0): openPending: 2025/12/06 04:30:08 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/12/06 04:30:08 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/12/06 04:30:08 DEBUG : file2(0xc0007d7dc0): >openPending: err= 2025/12/06 04:30:08 DEBUG : file2: >newRWFileHandle: err= 2025/12/06 04:30:08 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/12/06 04:30:08 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/12/06 04:30:08 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/12/06 04:30:08 DEBUG : file2(0xc0007d7dc0): RWFileHandle.Flush 2025/12/06 04:30:08 DEBUG : file2(0xc0007d7dc0): RWFileHandle.Release 2025/12/06 04:30:08 DEBUG : file2(0xc0007d7dc0): close: 2025/12/06 04:30:08 DEBUG : file2: vfs cache: setting modification time to 2025-12-06 04:30:08.908088864 +0000 UTC m=+488.068265955 2025/12/06 04:30:08 INFO : file2: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:08 DEBUG : file2(0xc0007d7dc0): >close: err= 2025/12/06 04:30:08 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:30:08 DEBUG : Looking for writers 2025/12/06 04:30:08 DEBUG : file1: reading active writers 2025/12/06 04:30:08 DEBUG : file2: reading active writers 2025/12/06 04:30:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/12/06 04:30:08 DEBUG : Looking for writers 2025/12/06 04:30:08 DEBUG : file1: reading active writers 2025/12/06 04:30:08 DEBUG : file2: reading active writers 2025/12/06 04:30:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/12/06 04:30:08 DEBUG : Looking for writers 2025/12/06 04:30:08 DEBUG : file1: reading active writers 2025/12/06 04:30:08 DEBUG : file2: reading active writers 2025/12/06 04:30:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/12/06 04:30:08 DEBUG : Looking for writers 2025/12/06 04:30:08 DEBUG : file1: reading active writers 2025/12/06 04:30:08 DEBUG : file2: reading active writers 2025/12/06 04:30:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/12/06 04:30:09 DEBUG : file1: vfs cache: starting upload 2025/12/06 04:30:09 DEBUG : file2: vfs cache: starting upload 2025/12/06 04:30:09 DEBUG : Looking for writers 2025/12/06 04:30:09 DEBUG : file1: reading active writers 2025/12/06 04:30:09 DEBUG : file2: reading active writers 2025/12/06 04:30:09 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/12/06 04:30:09 DEBUG : Looking for writers 2025/12/06 04:30:09 DEBUG : file1: reading active writers 2025/12/06 04:30:09 DEBUG : file2: reading active writers 2025/12/06 04:30:09 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/12/06 04:30:09 DEBUG : Looking for writers 2025/12/06 04:30:09 DEBUG : file1: reading active writers 2025/12/06 04:30:09 DEBUG : file2: reading active writers 2025/12/06 04:30:09 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2025/12/06 04:30:10 DEBUG : Looking for writers 2025/12/06 04:30:10 DEBUG : file1: reading active writers 2025/12/06 04:30:10 DEBUG : file2: reading active writers 2025/12/06 04:30:10 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/12/06 04:30:10 DEBUG : file1: size = 0 OK 2025/12/06 04:30:10 INFO : file1: Copied (new) 2025/12/06 04:30:10 DEBUG : file1: vfs cache: fingerprint now "0" 2025/12/06 04:30:10 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/12/06 04:30:10 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:10 INFO : file1: vfs cache: upload succeeded try #1 2025/12/06 04:30:11 DEBUG : file2: size = 0 OK 2025/12/06 04:30:11 INFO : file2: Copied (new) 2025/12/06 04:30:11 DEBUG : file2: vfs cache: fingerprint now "0" 2025/12/06 04:30:11 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/12/06 04:30:11 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/12/06 04:30:11 INFO : file2: vfs cache: upload succeeded try #1 2025/12/06 04:30:11 DEBUG : Looking for writers 2025/12/06 04:30:11 DEBUG : file1: reading active writers 2025/12/06 04:30:11 DEBUG : file2: reading active writers 2025/12/06 04:30:11 DEBUG : >WaitForWriters: 2025/12/06 04:30:11 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:30:11 DEBUG : Looking for writers 2025/12/06 04:30:11 DEBUG : file1: reading active writers 2025/12/06 04:30:11 DEBUG : file2: reading active writers 2025/12/06 04:30:11 DEBUG : >WaitForWriters: 2025/12/06 04:30:11 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting --- PASS: TestRWFileHandleWriteNoWrite (2.40s) === RUN TestRWFileHandleFlushWrite run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:30:11 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:30:11 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:30:11 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:11 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:11 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:30:11 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:30:11 DEBUG : file1: newRWFileHandle: 2025/12/06 04:30:11 DEBUG : file1(0xc000b7be80): openPending: 2025/12/06 04:30:11 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/12/06 04:30:11 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/12/06 04:30:11 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:30:11 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:11 DEBUG : file1(0xc000b7be80): >openPending: err= 2025/12/06 04:30:11 DEBUG : file1: >newRWFileHandle: err= 2025/12/06 04:30:11 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:11 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/12/06 04:30:11 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/12/06 04:30:11 DEBUG : file1(0xc000b7be80): _writeAt: size=5, off=0 2025/12/06 04:30:11 DEBUG : file1(0xc000b7be80): >_writeAt: n=5, err= 2025/12/06 04:30:11 DEBUG : file1(0xc000b7be80): RWFileHandle.Flush 2025/12/06 04:30:11 DEBUG : file1(0xc000b7be80): RWFileHandle.Flush 2025/12/06 04:30:11 DEBUG : file1(0xc000b7be80): close: 2025/12/06 04:30:11 DEBUG : file1: vfs cache: setting modification time to 2025-12-06 04:30:11.312926316 +0000 UTC m=+490.473103447 2025/12/06 04:30:11 INFO : file1: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:11 DEBUG : file1(0xc000b7be80): >close: err= 2025/12/06 04:30:11 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:30:11 DEBUG : Looking for writers 2025/12/06 04:30:11 DEBUG : file1: reading active writers 2025/12/06 04:30:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/06 04:30:11 DEBUG : Looking for writers 2025/12/06 04:30:11 DEBUG : file1: reading active writers 2025/12/06 04:30:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/06 04:30:11 DEBUG : Looking for writers 2025/12/06 04:30:11 DEBUG : file1: reading active writers 2025/12/06 04:30:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/06 04:30:11 DEBUG : Looking for writers 2025/12/06 04:30:11 DEBUG : file1: reading active writers 2025/12/06 04:30:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/06 04:30:11 DEBUG : file1: vfs cache: starting upload 2025/12/06 04:30:11 DEBUG : Looking for writers 2025/12/06 04:30:11 DEBUG : file1: reading active writers 2025/12/06 04:30:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/06 04:30:11 DEBUG : Looking for writers 2025/12/06 04:30:11 DEBUG : file1: reading active writers 2025/12/06 04:30:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/06 04:30:11 DEBUG : Looking for writers 2025/12/06 04:30:11 DEBUG : file1: reading active writers 2025/12/06 04:30:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/12/06 04:30:11 DEBUG : file1: size = 5 OK 2025/12/06 04:30:11 INFO : file1: Copied (new) 2025/12/06 04:30:11 DEBUG : file1: vfs cache: fingerprint now "5" 2025/12/06 04:30:11 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/12/06 04:30:11 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:11 INFO : file1: vfs cache: upload succeeded try #1 2025/12/06 04:30:12 DEBUG : Looking for writers 2025/12/06 04:30:12 DEBUG : file1: reading active writers 2025/12/06 04:30:12 DEBUG : >WaitForWriters: 2025/12/06 04:30:12 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushWrite (12.05s) === RUN TestRWFileHandleReleaseWrite run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:30:23 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:30:23 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:30:23 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:23 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:23 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:30:23 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:30:23 DEBUG : file1: newRWFileHandle: 2025/12/06 04:30:23 DEBUG : file1(0xc000e2c900): openPending: 2025/12/06 04:30:23 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/12/06 04:30:23 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/12/06 04:30:23 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:30:23 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:23 DEBUG : file1(0xc000e2c900): >openPending: err= 2025/12/06 04:30:23 DEBUG : file1: >newRWFileHandle: err= 2025/12/06 04:30:23 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:23 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/12/06 04:30:23 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/12/06 04:30:23 DEBUG : file1(0xc000e2c900): _writeAt: size=5, off=0 2025/12/06 04:30:23 DEBUG : file1(0xc000e2c900): >_writeAt: n=5, err= 2025/12/06 04:30:23 DEBUG : file1(0xc000e2c900): RWFileHandle.Release 2025/12/06 04:30:23 DEBUG : file1(0xc000e2c900): close: 2025/12/06 04:30:23 DEBUG : file1: vfs cache: setting modification time to 2025-12-06 04:30:23.359644556 +0000 UTC m=+502.519821658 2025/12/06 04:30:23 INFO : file1: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:23 DEBUG : file1(0xc000e2c900): >close: err= 2025/12/06 04:30:23 DEBUG : file1(0xc000e2c900): RWFileHandle.Release 2025/12/06 04:30:23 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:30:23 DEBUG : Looking for writers 2025/12/06 04:30:23 DEBUG : file1: reading active writers 2025/12/06 04:30:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/06 04:30:23 DEBUG : Looking for writers 2025/12/06 04:30:23 DEBUG : file1: reading active writers 2025/12/06 04:30:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/06 04:30:23 DEBUG : Looking for writers 2025/12/06 04:30:23 DEBUG : file1: reading active writers 2025/12/06 04:30:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/06 04:30:23 DEBUG : Looking for writers 2025/12/06 04:30:23 DEBUG : file1: reading active writers 2025/12/06 04:30:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/06 04:30:23 DEBUG : file1: vfs cache: starting upload 2025/12/06 04:30:23 DEBUG : Looking for writers 2025/12/06 04:30:23 DEBUG : file1: reading active writers 2025/12/06 04:30:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/06 04:30:23 DEBUG : Looking for writers 2025/12/06 04:30:23 DEBUG : file1: reading active writers 2025/12/06 04:30:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/06 04:30:23 DEBUG : Looking for writers 2025/12/06 04:30:23 DEBUG : file1: reading active writers 2025/12/06 04:30:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/12/06 04:30:24 DEBUG : Looking for writers 2025/12/06 04:30:24 DEBUG : file1: reading active writers 2025/12/06 04:30:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:30:25 DEBUG : Looking for writers 2025/12/06 04:30:25 DEBUG : file1: reading active writers 2025/12/06 04:30:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:30:26 DEBUG : Looking for writers 2025/12/06 04:30:26 DEBUG : file1: reading active writers 2025/12/06 04:30:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:30:27 DEBUG : Looking for writers 2025/12/06 04:30:27 DEBUG : file1: reading active writers 2025/12/06 04:30:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:30:28 DEBUG : Looking for writers 2025/12/06 04:30:28 DEBUG : file1: reading active writers 2025/12/06 04:30:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:30:29 DEBUG : file1: size = 5 OK 2025/12/06 04:30:29 INFO : file1: Copied (new) 2025/12/06 04:30:29 DEBUG : file1: vfs cache: fingerprint now "5" 2025/12/06 04:30:29 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/12/06 04:30:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:29 INFO : file1: vfs cache: upload succeeded try #1 2025/12/06 04:30:29 DEBUG : Looking for writers 2025/12/06 04:30:29 DEBUG : file1: reading active writers 2025/12/06 04:30:29 DEBUG : >WaitForWriters: 2025/12/06 04:30:29 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseWrite (6.50s) === RUN TestRWFileHandleSizeTruncateExisting run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:30:29 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:30:29 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:30:29 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:29 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:29 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:30:33 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_TRUNC, perm=-rwxrwxrwx 2025/12/06 04:30:33 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/12/06 04:30:33 DEBUG : dir/file1: newRWFileHandle: 2025/12/06 04:30:33 DEBUG : dir/file1(0xc000f37e00): openPending: 2025/12/06 04:30:33 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2025/12/06 04:30:33 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/12/06 04:30:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:33 DEBUG : dir/file1(0xc000f37e00): >openPending: err= 2025/12/06 04:30:33 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/06 04:30:33 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/06 04:30:33 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/06 04:30:33 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/12/06 04:30:33 DEBUG : dir/file1(0xc000f37e00): _writeAt: size=5, off=0 2025/12/06 04:30:33 DEBUG : dir/file1(0xc000f37e00): >_writeAt: n=5, err= 2025/12/06 04:30:33 DEBUG : dir/file1(0xc000f37e00): close: 2025/12/06 04:30:33 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/12/06 04:30:33 DEBUG : dir/file1: vfs cache: setting modification time to 2025-12-06 04:30:33.961508454 +0000 UTC m=+513.121685545 2025/12/06 04:30:33 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:33 DEBUG : dir/file1(0xc000f37e00): >close: err= 2025/12/06 04:30:33 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:30:33 DEBUG : dir: Looking for writers 2025/12/06 04:30:33 DEBUG : file1: reading active writers 2025/12/06 04:30:33 DEBUG : Looking for writers 2025/12/06 04:30:33 DEBUG : dir: reading active writers 2025/12/06 04:30:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/06 04:30:33 DEBUG : dir: Looking for writers 2025/12/06 04:30:33 DEBUG : file1: reading active writers 2025/12/06 04:30:33 DEBUG : Looking for writers 2025/12/06 04:30:33 DEBUG : dir: reading active writers 2025/12/06 04:30:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/06 04:30:33 DEBUG : dir: Looking for writers 2025/12/06 04:30:33 DEBUG : file1: reading active writers 2025/12/06 04:30:33 DEBUG : Looking for writers 2025/12/06 04:30:33 DEBUG : dir: reading active writers 2025/12/06 04:30:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/06 04:30:34 DEBUG : dir: Looking for writers 2025/12/06 04:30:34 DEBUG : file1: reading active writers 2025/12/06 04:30:34 DEBUG : Looking for writers 2025/12/06 04:30:34 DEBUG : dir: reading active writers 2025/12/06 04:30:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/06 04:30:34 DEBUG : dir/file1: vfs cache: starting upload 2025/12/06 04:30:34 DEBUG : dir: Looking for writers 2025/12/06 04:30:34 DEBUG : file1: reading active writers 2025/12/06 04:30:34 DEBUG : Looking for writers 2025/12/06 04:30:34 DEBUG : dir: reading active writers 2025/12/06 04:30:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/06 04:30:34 DEBUG : dir: Looking for writers 2025/12/06 04:30:34 DEBUG : file1: reading active writers 2025/12/06 04:30:34 DEBUG : Looking for writers 2025/12/06 04:30:34 DEBUG : dir: reading active writers 2025/12/06 04:30:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/06 04:30:34 DEBUG : dir: Looking for writers 2025/12/06 04:30:34 DEBUG : file1: reading active writers 2025/12/06 04:30:34 DEBUG : Looking for writers 2025/12/06 04:30:34 DEBUG : dir: reading active writers 2025/12/06 04:30:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/12/06 04:30:35 DEBUG : dir: Looking for writers 2025/12/06 04:30:35 DEBUG : file1: reading active writers 2025/12/06 04:30:35 DEBUG : Looking for writers 2025/12/06 04:30:35 DEBUG : dir: reading active writers 2025/12/06 04:30:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:30:36 DEBUG : dir/file1: size = 5 OK 2025/12/06 04:30:36 INFO : dir/file1: Copied (replaced existing) 2025/12/06 04:30:36 DEBUG : dir/file1: vfs cache: fingerprint now "5" 2025/12/06 04:30:36 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/12/06 04:30:36 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:36 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/12/06 04:30:36 DEBUG : dir: Looking for writers 2025/12/06 04:30:36 DEBUG : file1: reading active writers 2025/12/06 04:30:36 DEBUG : Looking for writers 2025/12/06 04:30:36 DEBUG : dir: reading active writers 2025/12/06 04:30:36 DEBUG : >WaitForWriters: 2025/12/06 04:30:36 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeTruncateExisting (17.61s) === RUN TestRWFileHandleSizeCreateExisting run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:30:47 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:30:47 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:30:47 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:47 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:47 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:47 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:47 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:30:47 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:30:47 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:30:47 DEBUG : dir/file1: newRWFileHandle: 2025/12/06 04:30:47 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/06 04:30:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:47 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/06 04:30:47 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/12/06 04:30:47 DEBUG : dir/file1(0xc001240c00): _writeAt: size=5, off=0 2025/12/06 04:30:47 DEBUG : dir/file1(0xc001240c00): openPending: 2025/12/06 04:30:47 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2025/12/06 04:30:47 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/12/06 04:30:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:47 DEBUG : dir/file1(0xc001240c00): >openPending: err= 2025/12/06 04:30:47 DEBUG : dir/file1(0xc001240c00): >_writeAt: n=5, err= 2025/12/06 04:30:47 DEBUG : dir/file1(0xc001240c00): _writeAt: size=15, off=5 2025/12/06 04:30:47 DEBUG : dir/file1(0xc001240c00): >_writeAt: n=15, err= 2025/12/06 04:30:47 DEBUG : dir/file1(0xc001240c00): close: 2025/12/06 04:30:47 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2025/12/06 04:30:47 DEBUG : dir/file1: vfs cache: setting modification time to 2025-12-06 04:30:47.8078773 +0000 UTC m=+526.968054392 2025/12/06 04:30:47 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:47 DEBUG : dir/file1(0xc001240c00): >close: err= 2025/12/06 04:30:47 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:30:47 DEBUG : dir: Looking for writers 2025/12/06 04:30:47 DEBUG : file1: reading active writers 2025/12/06 04:30:47 DEBUG : Looking for writers 2025/12/06 04:30:47 DEBUG : dir: reading active writers 2025/12/06 04:30:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/06 04:30:47 DEBUG : dir: Looking for writers 2025/12/06 04:30:47 DEBUG : file1: reading active writers 2025/12/06 04:30:47 DEBUG : Looking for writers 2025/12/06 04:30:47 DEBUG : dir: reading active writers 2025/12/06 04:30:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/06 04:30:47 DEBUG : dir: Looking for writers 2025/12/06 04:30:47 DEBUG : file1: reading active writers 2025/12/06 04:30:47 DEBUG : Looking for writers 2025/12/06 04:30:47 DEBUG : dir: reading active writers 2025/12/06 04:30:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/06 04:30:47 DEBUG : dir: Looking for writers 2025/12/06 04:30:47 DEBUG : file1: reading active writers 2025/12/06 04:30:47 DEBUG : Looking for writers 2025/12/06 04:30:47 DEBUG : dir: reading active writers 2025/12/06 04:30:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/06 04:30:47 DEBUG : dir/file1: vfs cache: starting upload 2025/12/06 04:30:47 DEBUG : dir: Looking for writers 2025/12/06 04:30:47 DEBUG : file1: reading active writers 2025/12/06 04:30:47 DEBUG : Looking for writers 2025/12/06 04:30:47 DEBUG : dir: reading active writers 2025/12/06 04:30:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/06 04:30:48 DEBUG : dir: Looking for writers 2025/12/06 04:30:48 DEBUG : file1: reading active writers 2025/12/06 04:30:48 DEBUG : Looking for writers 2025/12/06 04:30:48 DEBUG : dir: reading active writers 2025/12/06 04:30:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/06 04:30:48 DEBUG : dir/file1: size = 20 OK 2025/12/06 04:30:48 INFO : dir/file1: Copied (replaced existing) 2025/12/06 04:30:48 DEBUG : dir/file1: vfs cache: fingerprint now "20" 2025/12/06 04:30:48 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/12/06 04:30:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:48 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/12/06 04:30:48 DEBUG : dir: Looking for writers 2025/12/06 04:30:48 DEBUG : file1: reading active writers 2025/12/06 04:30:48 DEBUG : Looking for writers 2025/12/06 04:30:48 DEBUG : dir: reading active writers 2025/12/06 04:30:48 DEBUG : >WaitForWriters: 2025/12/06 04:30:48 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateExisting (1.32s) === RUN TestRWFileHandleSizeCreateNew run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:30:48 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:30:48 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:30:48 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:48 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:48 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:30:48 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:30:48 DEBUG : file1: newRWFileHandle: 2025/12/06 04:30:48 DEBUG : file1(0xc001416080): openPending: 2025/12/06 04:30:48 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/12/06 04:30:48 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:48 DEBUG : file1(0xc001416080): >openPending: err= 2025/12/06 04:30:48 DEBUG : file1: >newRWFileHandle: err= 2025/12/06 04:30:48 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:48 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/12/06 04:30:48 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/12/06 04:30:48 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/12/06 04:30:48 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:30:48 DEBUG : file1(0xc001416080): _writeAt: size=5, off=0 2025/12/06 04:30:48 DEBUG : file1(0xc001416080): >_writeAt: n=5, err= 2025/12/06 04:30:48 DEBUG : file1(0xc001416080): close: 2025/12/06 04:30:48 DEBUG : file1: vfs cache: setting modification time to 2025-12-06 04:30:48.792325783 +0000 UTC m=+527.952502884 2025/12/06 04:30:48 INFO : file1: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:48 DEBUG : file1(0xc001416080): >close: err= 2025/12/06 04:30:48 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:30:48 DEBUG : Looking for writers 2025/12/06 04:30:48 DEBUG : file1: reading active writers 2025/12/06 04:30:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/06 04:30:48 DEBUG : Looking for writers 2025/12/06 04:30:48 DEBUG : file1: reading active writers 2025/12/06 04:30:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/06 04:30:48 DEBUG : Looking for writers 2025/12/06 04:30:48 DEBUG : file1: reading active writers 2025/12/06 04:30:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/06 04:30:48 DEBUG : Looking for writers 2025/12/06 04:30:48 DEBUG : file1: reading active writers 2025/12/06 04:30:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/06 04:30:48 DEBUG : file1: vfs cache: starting upload 2025/12/06 04:30:48 DEBUG : Looking for writers 2025/12/06 04:30:48 DEBUG : file1: reading active writers 2025/12/06 04:30:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/06 04:30:49 DEBUG : file1: size = 5 OK 2025/12/06 04:30:49 INFO : file1: Copied (new) 2025/12/06 04:30:49 DEBUG : file1: vfs cache: fingerprint now "5" 2025/12/06 04:30:49 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:49 INFO : file1: vfs cache: upload succeeded try #1 2025/12/06 04:30:49 DEBUG : Looking for writers 2025/12/06 04:30:49 DEBUG : file1: reading active writers 2025/12/06 04:30:49 DEBUG : >WaitForWriters: 2025/12/06 04:30:49 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateNew (0.43s) === RUN TestRWFileHandleOpenTests === RUN TestRWFileHandleOpenTests/writes run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:30:49 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:30:49 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:30:49 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) === RUN TestRWFileHandleOpenTests/writes/os.O_RDONLY 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a2c40): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a2c40): >openPending: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a2c40): _writeAt: size=5, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a2c40): >_writeAt: n=5, err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a2c40): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.222736721 +0000 UTC m=+528.382913813 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a2c40): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a30c0): _readAt: size=2, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a30c0): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a30c0): >openPending: err= 2025/12/06 04:30:49 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a30c0): >_readAt: n=2, err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a30c0): _writeAt: size=3, off=2 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a30c0): >_writeAt: n=0, err=Bad file descriptor 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a30c0): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.222736721 +0000 UTC m=+528.382913813 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a30c0): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a3580): _readAt: size=512, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a3580): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a3580): >openPending: err= 2025/12/06 04:30:49 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a3580): >_readAt: n=5, err=EOF 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a3580): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.222736721 +0000 UTC m=+528.382913813 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0012a3580): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: Remove: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc000facb60 item 1 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: removed cache file as file deleted 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vDel: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file: >Remove: err= === RUN TestRWFileHandleOpenTests/writes/os.O_WRONLY 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_WRONLY, perm=-rw-rw-rw- 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dc680): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dc680): >openPending: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dc680): _writeAt: size=5, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dc680): >_writeAt: n=5, err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dc680): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.28330268 +0000 UTC m=+528.443479771 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dc680): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_WRONLY, perm=-rw-rw-rw- 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_WRONLY 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dcb00): _readAt: size=2, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dcb00): >_readAt: n=0, err=Bad file descriptor 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dcb00): _writeAt: size=3, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dcb00): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dcb00): >openPending: err= 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc0032b13b0 item 2 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dcb00): >_writeAt: n=3, err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dcb00): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.284244073 +0000 UTC m=+528.444421164 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dcb00): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dd000): _readAt: size=512, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dd000): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dd000): >openPending: err= 2025/12/06 04:30:49 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dd000): >_readAt: n=5, err=EOF 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dd000): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.284244073 +0000 UTC m=+528.444421164 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc0031dd000): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: Remove: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc0032b1570 item 2 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: removed cache file as file deleted 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vDel: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file: >Remove: err= === RUN TestRWFileHandleOpenTests/writes/os.O_RDWR 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_RDWR, perm=-rw-rw-rw- 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416200): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416200): >openPending: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416200): _writeAt: size=5, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416200): >_writeAt: n=5, err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416200): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.344901964 +0000 UTC m=+528.505079056 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416200): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_RDWR, perm=-rw-rw-rw- 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_RDWR 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416700): _readAt: size=2, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416700): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416700): >openPending: err= 2025/12/06 04:30:49 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416700): >_readAt: n=2, err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416700): _writeAt: size=3, off=2 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc0002ec310 item 3 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416700): >_writeAt: n=3, err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416700): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.346014831 +0000 UTC m=+528.506191922 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416700): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416c00): _readAt: size=512, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416c00): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416c00): >openPending: err= 2025/12/06 04:30:49 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416c00): >_readAt: n=5, err=EOF 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416c00): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.346014831 +0000 UTC m=+528.506191922 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc001416c00): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: Remove: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc0002ec4d0 item 3 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: removed cache file as file deleted 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vDel: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file: >Remove: err= 2025/12/06 04:30:49 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:30:49 DEBUG : Looking for writers 2025/12/06 04:30:49 DEBUG : >WaitForWriters: 2025/12/06 04:30:49 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting === RUN TestRWFileHandleOpenTests/full run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:30:49 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:30:49 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:30:49 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) === RUN TestRWFileHandleOpenTests/full/os.O_RDONLY 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84280): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84280): >openPending: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84280): _writeAt: size=5, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84280): >_writeAt: n=5, err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84280): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.408745627 +0000 UTC m=+528.568922718 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84280): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84780): _readAt: size=2, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84780): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84780): >openPending: err= 2025/12/06 04:30:49 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84780): >_readAt: n=2, err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84780): _writeAt: size=3, off=2 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84780): >_writeAt: n=0, err=Bad file descriptor 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84780): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.408745627 +0000 UTC m=+528.568922718 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84780): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84c40): _readAt: size=512, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84c40): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84c40): >openPending: err= 2025/12/06 04:30:49 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84c40): >_readAt: n=5, err=EOF 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84c40): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.408745627 +0000 UTC m=+528.568922718 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84c40): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: Remove: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc000b80e70 item 1 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: removed cache file as file deleted 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vDel: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file: >Remove: err= === RUN TestRWFileHandleOpenTests/full/os.O_WRONLY 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_WRONLY, perm=-rw-rw-rw- 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file(0xc00099d640): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc00099d640): >openPending: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc00099d640): _writeAt: size=5, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc00099d640): >_writeAt: n=5, err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc00099d640): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.473621303 +0000 UTC m=+528.633798394 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc00099d640): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_WRONLY, perm=-rw-rw-rw- 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_WRONLY 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc006b48480): _readAt: size=2, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc006b48480): >_readAt: n=0, err=Bad file descriptor 2025/12/06 04:30:49 DEBUG : open-test-file(0xc006b48480): _writeAt: size=3, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc006b48480): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc006b48480): >openPending: err= 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc0022f61c0 item 2 2025/12/06 04:30:49 DEBUG : open-test-file(0xc006b48480): >_writeAt: n=3, err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc006b48480): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.475054503 +0000 UTC m=+528.635231594 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc006b48480): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc006b48a80): _readAt: size=512, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc006b48a80): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc006b48a80): >openPending: err= 2025/12/06 04:30:49 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/12/06 04:30:49 DEBUG : open-test-file(0xc006b48a80): >_readAt: n=5, err=EOF 2025/12/06 04:30:49 DEBUG : open-test-file(0xc006b48a80): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.475054503 +0000 UTC m=+528.635231594 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc006b48a80): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: Remove: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc0022f6460 item 2 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: removed cache file as file deleted 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vDel: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file: >Remove: err= === RUN TestRWFileHandleOpenTests/full/os.O_RDWR 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_RDWR, perm=-rw-rw-rw- 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84280): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84280): >openPending: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84280): _writeAt: size=5, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84280): >_writeAt: n=5, err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84280): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.507364209 +0000 UTC m=+528.667541301 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84280): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_RDWR, perm=-rw-rw-rw- 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_RDWR 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84780): _readAt: size=2, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84780): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84780): >openPending: err= 2025/12/06 04:30:49 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84780): >_readAt: n=2, err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84780): _writeAt: size=3, off=2 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc001dc77a0 item 3 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84780): >_writeAt: n=3, err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84780): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.50812916 +0000 UTC m=+528.668306252 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84780): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2025/12/06 04:30:49 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/12/06 04:30:49 DEBUG : open-test-file: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : open-test-file: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84c80): _readAt: size=512, off=0 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84c80): openPending: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84c80): >openPending: err= 2025/12/06 04:30:49 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84c80): >_readAt: n=5, err=EOF 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84c80): close: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: setting modification time to 2025-12-06 04:30:49.50812916 +0000 UTC m=+528.668306252 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/12/06 04:30:49 DEBUG : open-test-file(0xc000e84c80): >close: err= 2025/12/06 04:30:49 DEBUG : open-test-file: Remove: 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc001dc7960 item 3 2025/12/06 04:30:49 INFO : open-test-file: vfs cache: removed cache file as file deleted 2025/12/06 04:30:49 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vDel: "open-test-file" 2025/12/06 04:30:49 DEBUG : open-test-file: >Remove: err= 2025/12/06 04:30:49 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:30:49 DEBUG : Looking for writers 2025/12/06 04:30:49 DEBUG : >WaitForWriters: 2025/12/06 04:30:49 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting --- PASS: TestRWFileHandleOpenTests (0.35s) --- PASS: TestRWFileHandleOpenTests/writes (0.19s) --- PASS: TestRWFileHandleOpenTests/writes/os.O_RDONLY (0.00s) --- PASS: TestRWFileHandleOpenTests/writes/os.O_WRONLY (0.00s) --- PASS: TestRWFileHandleOpenTests/writes/os.O_RDWR (0.00s) --- PASS: TestRWFileHandleOpenTests/full (0.16s) --- PASS: TestRWFileHandleOpenTests/full/os.O_RDONLY (0.00s) --- PASS: TestRWFileHandleOpenTests/full/os.O_WRONLY (0.01s) --- PASS: TestRWFileHandleOpenTests/full/os.O_RDWR (0.00s) === RUN TestRWFileModTimeWithOpenWriters run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:30:49 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:30:49 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:30:49 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:30:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:30:49 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:30:49 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:30:49 DEBUG : file1: newRWFileHandle: 2025/12/06 04:30:49 DEBUG : file1(0xc006b49a40): openPending: 2025/12/06 04:30:49 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:30:49 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:49 DEBUG : file1(0xc006b49a40): >openPending: err= 2025/12/06 04:30:49 DEBUG : file1: >newRWFileHandle: err= 2025/12/06 04:30:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:30:49 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/12/06 04:30:49 DEBUG : file1: >OpenFile: fd=file1 (rw), err= read_write_test.go:655: can't set mod time 2025/12/06 04:30:49 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:30:49 DEBUG : Looking for writers 2025/12/06 04:30:49 DEBUG : file1: reading active writers 2025/12/06 04:30:49 DEBUG : file1: active writers 1 2025/12/06 04:30:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2025/12/06 04:30:49 DEBUG : Looking for writers 2025/12/06 04:30:49 DEBUG : file1: reading active writers 2025/12/06 04:30:49 DEBUG : file1: active writers 1 2025/12/06 04:30:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2025/12/06 04:30:49 DEBUG : Looking for writers 2025/12/06 04:30:49 DEBUG : file1: reading active writers 2025/12/06 04:30:49 DEBUG : file1: active writers 1 2025/12/06 04:30:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2025/12/06 04:30:49 DEBUG : Looking for writers 2025/12/06 04:30:49 DEBUG : file1: reading active writers 2025/12/06 04:30:49 DEBUG : file1: active writers 1 2025/12/06 04:30:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2025/12/06 04:30:49 DEBUG : Looking for writers 2025/12/06 04:30:49 DEBUG : file1: reading active writers 2025/12/06 04:30:49 DEBUG : file1: active writers 1 2025/12/06 04:30:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2025/12/06 04:30:49 DEBUG : Looking for writers 2025/12/06 04:30:49 DEBUG : file1: reading active writers 2025/12/06 04:30:49 DEBUG : file1: active writers 1 2025/12/06 04:30:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2025/12/06 04:30:50 DEBUG : Looking for writers 2025/12/06 04:30:50 DEBUG : file1: reading active writers 2025/12/06 04:30:50 DEBUG : file1: active writers 1 2025/12/06 04:30:50 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2025/12/06 04:30:50 DEBUG : Looking for writers 2025/12/06 04:30:50 DEBUG : file1: reading active writers 2025/12/06 04:30:50 DEBUG : file1: active writers 1 2025/12/06 04:30:50 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:30:51 DEBUG : Looking for writers 2025/12/06 04:30:51 DEBUG : file1: reading active writers 2025/12/06 04:30:51 DEBUG : file1: active writers 1 2025/12/06 04:30:51 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:30:52 DEBUG : Looking for writers 2025/12/06 04:30:52 DEBUG : file1: reading active writers 2025/12/06 04:30:52 DEBUG : file1: active writers 1 2025/12/06 04:30:52 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:30:53 DEBUG : Looking for writers 2025/12/06 04:30:53 DEBUG : file1: reading active writers 2025/12/06 04:30:53 DEBUG : file1: active writers 1 2025/12/06 04:30:53 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:30:54 DEBUG : Looking for writers 2025/12/06 04:30:54 DEBUG : file1: reading active writers 2025/12/06 04:30:54 DEBUG : file1: active writers 1 2025/12/06 04:30:54 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:30:55 DEBUG : Looking for writers 2025/12/06 04:30:55 DEBUG : file1: reading active writers 2025/12/06 04:30:55 DEBUG : file1: active writers 1 2025/12/06 04:30:55 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:30:56 DEBUG : Looking for writers 2025/12/06 04:30:56 DEBUG : file1: reading active writers 2025/12/06 04:30:56 DEBUG : file1: active writers 1 2025/12/06 04:30:56 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:30:57 DEBUG : Looking for writers 2025/12/06 04:30:57 DEBUG : file1: reading active writers 2025/12/06 04:30:57 DEBUG : file1: active writers 1 2025/12/06 04:30:57 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:30:58 DEBUG : Looking for writers 2025/12/06 04:30:58 DEBUG : file1: reading active writers 2025/12/06 04:30:58 DEBUG : file1: active writers 1 2025/12/06 04:30:58 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:30:59 DEBUG : Looking for writers 2025/12/06 04:30:59 DEBUG : file1: reading active writers 2025/12/06 04:30:59 DEBUG : file1: active writers 1 2025/12/06 04:30:59 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:00 DEBUG : Looking for writers 2025/12/06 04:31:00 DEBUG : file1: reading active writers 2025/12/06 04:31:00 DEBUG : file1: active writers 1 2025/12/06 04:31:00 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:01 DEBUG : Looking for writers 2025/12/06 04:31:01 DEBUG : file1: reading active writers 2025/12/06 04:31:01 DEBUG : file1: active writers 1 2025/12/06 04:31:01 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:02 DEBUG : Looking for writers 2025/12/06 04:31:02 DEBUG : file1: reading active writers 2025/12/06 04:31:02 DEBUG : file1: active writers 1 2025/12/06 04:31:02 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:03 DEBUG : Looking for writers 2025/12/06 04:31:03 DEBUG : file1: reading active writers 2025/12/06 04:31:03 DEBUG : file1: active writers 1 2025/12/06 04:31:03 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:04 DEBUG : Looking for writers 2025/12/06 04:31:04 DEBUG : file1: reading active writers 2025/12/06 04:31:04 DEBUG : file1: active writers 1 2025/12/06 04:31:04 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:05 DEBUG : Looking for writers 2025/12/06 04:31:05 DEBUG : file1: reading active writers 2025/12/06 04:31:05 DEBUG : file1: active writers 1 2025/12/06 04:31:05 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:06 DEBUG : Looking for writers 2025/12/06 04:31:06 DEBUG : file1: reading active writers 2025/12/06 04:31:06 DEBUG : file1: active writers 1 2025/12/06 04:31:06 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:07 DEBUG : Looking for writers 2025/12/06 04:31:07 DEBUG : file1: reading active writers 2025/12/06 04:31:07 DEBUG : file1: active writers 1 2025/12/06 04:31:07 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:08 DEBUG : Looking for writers 2025/12/06 04:31:08 DEBUG : file1: reading active writers 2025/12/06 04:31:08 DEBUG : file1: active writers 1 2025/12/06 04:31:08 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:09 DEBUG : Looking for writers 2025/12/06 04:31:09 DEBUG : file1: reading active writers 2025/12/06 04:31:09 DEBUG : file1: active writers 1 2025/12/06 04:31:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:10 DEBUG : Looking for writers 2025/12/06 04:31:10 DEBUG : file1: reading active writers 2025/12/06 04:31:10 DEBUG : file1: active writers 1 2025/12/06 04:31:10 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:11 DEBUG : Looking for writers 2025/12/06 04:31:11 DEBUG : file1: reading active writers 2025/12/06 04:31:11 DEBUG : file1: active writers 1 2025/12/06 04:31:11 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:12 DEBUG : Looking for writers 2025/12/06 04:31:12 DEBUG : file1: reading active writers 2025/12/06 04:31:12 DEBUG : file1: active writers 1 2025/12/06 04:31:12 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:13 DEBUG : Looking for writers 2025/12/06 04:31:13 DEBUG : file1: reading active writers 2025/12/06 04:31:13 DEBUG : file1: active writers 1 2025/12/06 04:31:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:14 DEBUG : Looking for writers 2025/12/06 04:31:14 DEBUG : file1: reading active writers 2025/12/06 04:31:14 DEBUG : file1: active writers 1 2025/12/06 04:31:14 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:15 DEBUG : Looking for writers 2025/12/06 04:31:15 DEBUG : file1: reading active writers 2025/12/06 04:31:15 DEBUG : file1: active writers 1 2025/12/06 04:31:15 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:16 DEBUG : Looking for writers 2025/12/06 04:31:16 DEBUG : file1: reading active writers 2025/12/06 04:31:16 DEBUG : file1: active writers 1 2025/12/06 04:31:16 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:17 DEBUG : Looking for writers 2025/12/06 04:31:17 DEBUG : file1: reading active writers 2025/12/06 04:31:17 DEBUG : file1: active writers 1 2025/12/06 04:31:17 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:18 DEBUG : Looking for writers 2025/12/06 04:31:18 DEBUG : file1: reading active writers 2025/12/06 04:31:18 DEBUG : file1: active writers 1 2025/12/06 04:31:18 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:19 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc001343d10 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000c9aa08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824646937152} name:file1 opens:1 downloaders: o: fd:0xc000088e30 info:{ModTime:{wall:13998606279798436763 ext:528729567070 loc:0x42a1c60} ATime:{wall:13998606279798436763 ext:528729567070 loc:0x42a1c60} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false}, } 2025/12/06 04:31:19 DEBUG : >WaitForWriters: 2025/12/06 04:31:19 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting --- SKIP: TestRWFileModTimeWithOpenWriters (30.01s) === RUN TestRWCacheRename run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:31:19 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:31:19 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:31:19 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:31:19 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:31:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:31:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:31:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:31:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:31:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:31:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:31:19 DEBUG : rename_me: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:31:19 DEBUG : rename_me: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:31:19 DEBUG : rename_me: newRWFileHandle: 2025/12/06 04:31:19 DEBUG : rename_me(0xc001302b80): openPending: 2025/12/06 04:31:19 DEBUG : rename_me: vfs cache: truncate to size=0 (not needed as size correct) 2025/12/06 04:31:19 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item rename_me not removed, freed 0 bytes 2025/12/06 04:31:19 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:31:19 DEBUG : Added virtual directory entry vAddFile: "rename_me" 2025/12/06 04:31:19 DEBUG : rename_me(0xc001302b80): >openPending: err= 2025/12/06 04:31:19 DEBUG : rename_me: >newRWFileHandle: err= 2025/12/06 04:31:19 DEBUG : Added virtual directory entry vAddFile: "rename_me" 2025/12/06 04:31:19 DEBUG : rename_me: >Open: fd=rename_me (rw), err= 2025/12/06 04:31:19 DEBUG : rename_me: >OpenFile: fd=rename_me (rw), err= 2025/12/06 04:31:19 DEBUG : rename_me(0xc001302b80): _writeAt: size=5, off=0 2025/12/06 04:31:19 DEBUG : rename_me(0xc001302b80): >_writeAt: n=5, err= 2025/12/06 04:31:19 DEBUG : rename_me(0xc001302b80): close: 2025/12/06 04:31:19 DEBUG : rename_me: vfs cache: setting modification time to 2025-12-06 04:31:19.576366427 +0000 UTC m=+558.736543548 2025/12/06 04:31:19 INFO : rename_me: vfs cache: queuing for upload in 100ms 2025/12/06 04:31:19 DEBUG : rename_me(0xc001302b80): >close: err= 2025/12/06 04:31:19 INFO : rename_me: vfs cache: renamed in cache to "i_was_renamed" 2025/12/06 04:31:19 DEBUG : i_was_renamed: Updating file with 0xc000c72fc0 2025/12/06 04:31:19 DEBUG : Added virtual directory entry vDel: "rename_me" 2025/12/06 04:31:19 DEBUG : Added virtual directory entry vAddFile: "i_was_renamed" 2025/12/06 04:31:19 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:31:19 DEBUG : Looking for writers 2025/12/06 04:31:19 DEBUG : i_was_renamed: reading active writers 2025/12/06 04:31:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/06 04:31:19 DEBUG : Looking for writers 2025/12/06 04:31:19 DEBUG : i_was_renamed: reading active writers 2025/12/06 04:31:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/06 04:31:19 DEBUG : Looking for writers 2025/12/06 04:31:19 DEBUG : i_was_renamed: reading active writers 2025/12/06 04:31:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/06 04:31:19 DEBUG : Looking for writers 2025/12/06 04:31:19 DEBUG : i_was_renamed: reading active writers 2025/12/06 04:31:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/06 04:31:19 DEBUG : i_was_renamed: vfs cache: starting upload 2025/12/06 04:31:19 DEBUG : Looking for writers 2025/12/06 04:31:19 DEBUG : i_was_renamed: reading active writers 2025/12/06 04:31:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/06 04:31:19 DEBUG : Looking for writers 2025/12/06 04:31:19 DEBUG : i_was_renamed: reading active writers 2025/12/06 04:31:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/06 04:31:20 DEBUG : Looking for writers 2025/12/06 04:31:20 DEBUG : i_was_renamed: reading active writers 2025/12/06 04:31:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/12/06 04:31:20 DEBUG : Looking for writers 2025/12/06 04:31:20 DEBUG : i_was_renamed: reading active writers 2025/12/06 04:31:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:21 DEBUG : Looking for writers 2025/12/06 04:31:21 DEBUG : i_was_renamed: reading active writers 2025/12/06 04:31:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:22 DEBUG : Looking for writers 2025/12/06 04:31:22 DEBUG : i_was_renamed: reading active writers 2025/12/06 04:31:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/06 04:31:22 DEBUG : i_was_renamed: size = 5 OK 2025/12/06 04:31:22 INFO : i_was_renamed: Copied (new) 2025/12/06 04:31:22 DEBUG : i_was_renamed: vfs cache: fingerprint now "5" 2025/12/06 04:31:22 DEBUG : i_was_renamed: vfs cache: writeback object to VFS layer 2025/12/06 04:31:22 DEBUG : Added virtual directory entry vAddFile: "i_was_renamed" 2025/12/06 04:31:22 INFO : i_was_renamed: vfs cache: upload succeeded try #1 2025/12/06 04:31:23 DEBUG : Looking for writers 2025/12/06 04:31:23 DEBUG : i_was_renamed: reading active writers 2025/12/06 04:31:23 DEBUG : >WaitForWriters: 2025/12/06 04:31:23 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting --- PASS: TestRWCacheRename (4.54s) === RUN TestRWCacheUpdate run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:31:24 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:31:24 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/06 04:31:24 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:31:24 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:31:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:31:24 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:31:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:31:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" 2025/12/06 04:31:24 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/06 04:31:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-cejokes2pede" read_write_test.go:729: skip as modtime not supported 2025/12/06 04:31:24 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:31:24 DEBUG : Looking for writers 2025/12/06 04:31:24 DEBUG : >WaitForWriters: 2025/12/06 04:31:24 INFO : mega root 'rclone-test-cejokes2pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/06 04:31:24 DEBUG : mega root 'rclone-test-cejokes2pede': vfs cache: cleaner exiting --- SKIP: TestRWCacheUpdate (0.00s) === RUN TestCaseSensitivity run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:31:24 DEBUG : forgetting directory cache 2025/12/06 04:31:26 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:31:26 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:31:26 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:31:26 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:31:26 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:26 DEBUG : FiLeA: Open: flags=O_RDONLY 2025/12/06 04:31:26 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2025/12/06 04:31:26 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2025/12/06 04:31:26 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:31:26 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/12/06 04:31:26 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:26 DEBUG : FiLeA: Open: flags=O_RDONLY 2025/12/06 04:31:26 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2025/12/06 04:31:26 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2025/12/06 04:31:26 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:31:26 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/12/06 04:31:27 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:27 DEBUG : FiLeA: Open: flags=O_RDONLY 2025/12/06 04:31:27 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2025/12/06 04:31:27 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2025/12/06 04:31:27 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:31:27 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/12/06 04:31:27 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:27 DEBUG : FiLeB: Open: flags=O_RDONLY 2025/12/06 04:31:27 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2025/12/06 04:31:27 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2025/12/06 04:31:27 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:31:27 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/12/06 04:31:27 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:27 DEBUG : FilEb: Open: flags=O_RDONLY 2025/12/06 04:31:27 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2025/12/06 04:31:27 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2025/12/06 04:31:27 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:31:27 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/12/06 04:31:27 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:27 DEBUG : FiLeA: Open: flags=O_RDONLY 2025/12/06 04:31:27 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2025/12/06 04:31:27 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2025/12/06 04:31:27 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:31:27 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/12/06 04:31:27 DEBUG : fileA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:27 DEBUG : FiLeA: Open: flags=O_RDONLY 2025/12/06 04:31:27 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2025/12/06 04:31:27 DEBUG : fileA: >OpenFile: fd=FiLeA (r), err= 2025/12/06 04:31:27 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:31:27 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/12/06 04:31:27 DEBUG : filea: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:27 DEBUG : FiLeA: Open: flags=O_RDONLY 2025/12/06 04:31:27 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2025/12/06 04:31:27 DEBUG : filea: >OpenFile: fd=FiLeA (r), err= 2025/12/06 04:31:27 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:31:27 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/12/06 04:31:27 DEBUG : FILEA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:27 DEBUG : FiLeA: Open: flags=O_RDONLY 2025/12/06 04:31:27 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2025/12/06 04:31:27 DEBUG : FILEA: >OpenFile: fd=FiLeA (r), err= 2025/12/06 04:31:27 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:31:27 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/12/06 04:31:28 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:28 DEBUG : FiLeB: Open: flags=O_RDONLY 2025/12/06 04:31:28 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2025/12/06 04:31:28 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2025/12/06 04:31:28 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:31:28 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/12/06 04:31:28 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:28 DEBUG : FilEb: Open: flags=O_RDONLY 2025/12/06 04:31:28 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2025/12/06 04:31:28 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2025/12/06 04:31:28 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:31:28 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/12/06 04:31:28 DEBUG : fileb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:28 ERROR : /: Dir.Stat error: duplicate filename "fileb" detected with case/unicode normalization settings 2025/12/06 04:31:28 DEBUG : fileb: >OpenFile: fd=, err=duplicate filename "fileb" detected with case/unicode normalization settings 2025/12/06 04:31:28 DEBUG : FILEB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:28 ERROR : /: Dir.Stat error: duplicate filename "FILEB" detected with case/unicode normalization settings 2025/12/06 04:31:28 DEBUG : FILEB: >OpenFile: fd=, err=duplicate filename "FILEB" detected with case/unicode normalization settings 2025/12/06 04:31:28 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:28 DEBUG : FiLeA: Open: flags=O_RDONLY 2025/12/06 04:31:28 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2025/12/06 04:31:28 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2025/12/06 04:31:28 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:31:28 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/12/06 04:31:28 DEBUG : fileA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:28 DEBUG : fileA: >OpenFile: fd=, err=file does not exist 2025/12/06 04:31:28 DEBUG : filea: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:28 DEBUG : filea: >OpenFile: fd=, err=file does not exist 2025/12/06 04:31:28 DEBUG : FILEA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:28 DEBUG : FILEA: >OpenFile: fd=, err=file does not exist 2025/12/06 04:31:28 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:28 DEBUG : FiLeB: Open: flags=O_RDONLY 2025/12/06 04:31:28 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2025/12/06 04:31:28 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2025/12/06 04:31:28 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:31:28 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/12/06 04:31:28 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:28 DEBUG : FilEb: Open: flags=O_RDONLY 2025/12/06 04:31:28 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2025/12/06 04:31:28 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2025/12/06 04:31:28 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:31:28 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/12/06 04:31:28 DEBUG : fileb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:28 DEBUG : fileb: >OpenFile: fd=, err=file does not exist 2025/12/06 04:31:28 DEBUG : FILEB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:28 DEBUG : FILEB: >OpenFile: fd=, err=file does not exist 2025/12/06 04:31:28 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:31:28 DEBUG : Looking for writers 2025/12/06 04:31:28 DEBUG : FiLeA: reading active writers 2025/12/06 04:31:28 DEBUG : FiLeB: reading active writers 2025/12/06 04:31:28 DEBUG : FilEb: reading active writers 2025/12/06 04:31:28 DEBUG : >WaitForWriters: 2025/12/06 04:31:28 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:31:28 DEBUG : Looking for writers 2025/12/06 04:31:28 DEBUG : FiLeA: reading active writers 2025/12/06 04:31:28 DEBUG : FiLeB: reading active writers 2025/12/06 04:31:28 DEBUG : FilEb: reading active writers 2025/12/06 04:31:28 DEBUG : >WaitForWriters: --- PASS: TestCaseSensitivity (7.18s) === RUN TestUnicodeNormalization run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:31:31 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:31:31 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:31:31 DEBUG : normal name with no special characters.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:31 DEBUG : normal name with no special characters.txt: Open: flags=O_RDONLY 2025/12/06 04:31:31 DEBUG : normal name with no special characters.txt: >Open: fd=normal name with no special characters.txt (r), err= 2025/12/06 04:31:31 DEBUG : normal name with no special characters.txt: >OpenFile: fd=normal name with no special characters.txt (r), err= 2025/12/06 04:31:31 DEBUG : normal name with no special characters.txt: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:31:31 DEBUG : normal name with no special characters.txt: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/12/06 04:31:31 DEBUG : 測試_Русский___ě_áñ: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:31 DEBUG : 測試_Русский___ě_áñ: Open: flags=O_RDONLY 2025/12/06 04:31:31 DEBUG : 測試_Русский___ě_áñ: >Open: fd=測試_Русский___ě_áñ (r), err= 2025/12/06 04:31:31 DEBUG : 測試_Русский___ě_áñ: >OpenFile: fd=測試_Русский___ě_áñ (r), err= 2025/12/06 04:31:31 DEBUG : 測試_Русский___ě_áñ: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:31:31 DEBUG : 測試_Русский___ě_áñ: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/12/06 04:31:31 DEBUG : normal name with no special characters.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:31 DEBUG : normal name with no special characters.txt: Open: flags=O_RDONLY 2025/12/06 04:31:31 DEBUG : normal name with no special characters.txt: >Open: fd=normal name with no special characters.txt (r), err= 2025/12/06 04:31:31 DEBUG : normal name with no special characters.txt: >OpenFile: fd=normal name with no special characters.txt (r), err= 2025/12/06 04:31:31 DEBUG : normal name with no special characters.txt: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:31:31 DEBUG : normal name with no special characters.txt: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/12/06 04:31:32 DEBUG : 測試_Русский___ě_áñ: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:31:32 DEBUG : 測試_Русский___ě_áñ: >OpenFile: fd=, err=file does not exist 2025/12/06 04:31:32 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:31:32 DEBUG : Looking for writers 2025/12/06 04:31:32 DEBUG : normal name with no special characters.txt: reading active writers 2025/12/06 04:31:32 DEBUG : 測試_Русский___ě_áñ: reading active writers 2025/12/06 04:31:32 DEBUG : >WaitForWriters: --- PASS: TestUnicodeNormalization (11.70s) === RUN TestVFSNew run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:31:42 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:31:42 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:31:42 DEBUG : mega root 'rclone-test-cejokes2pede': Reusing VFS from active cache 2025/12/06 04:31:42 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:31:42 DEBUG : Looking for writers 2025/12/06 04:31:42 DEBUG : >WaitForWriters: 2025/12/06 04:31:42 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:31:42 DEBUG : Looking for writers 2025/12/06 04:31:42 DEBUG : >WaitForWriters: --- PASS: TestVFSNew (0.00s) === RUN TestVFSNewWithOpts run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:31:42 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:31:42 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:31:42 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:31:42 DEBUG : Looking for writers 2025/12/06 04:31:42 DEBUG : >WaitForWriters: --- PASS: TestVFSNewWithOpts (0.00s) === RUN TestVFSRoot run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:31:42 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:31:42 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:31:42 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:31:42 DEBUG : Looking for writers 2025/12/06 04:31:42 DEBUG : >WaitForWriters: --- PASS: TestVFSRoot (0.00s) === RUN TestVFSStat run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:31:42 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:31:42 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:31:45 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:31:45 DEBUG : dir: Looking for writers 2025/12/06 04:31:45 DEBUG : file2: reading active writers 2025/12/06 04:31:45 DEBUG : Looking for writers 2025/12/06 04:31:45 DEBUG : file1: reading active writers 2025/12/06 04:31:45 DEBUG : dir: reading active writers 2025/12/06 04:31:45 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- PASS: TestVFSStat (4.25s) === RUN TestVFSStatParent run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:31:47 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:31:47 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:31:52 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:31:52 DEBUG : dir: Looking for writers 2025/12/06 04:31:52 DEBUG : Looking for writers 2025/12/06 04:31:52 DEBUG : dir: reading active writers 2025/12/06 04:31:52 DEBUG : file1: reading active writers 2025/12/06 04:31:52 DEBUG : >WaitForWriters: --- PASS: TestVFSStatParent (5.43s) === RUN TestVFSOpenFile run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:31:52 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:31:52 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:32:12 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:32:12 DEBUG : file1: Open: flags=O_RDONLY 2025/12/06 04:32:12 DEBUG : file1: >Open: fd=file1 (r), err= 2025/12/06 04:32:12 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/12/06 04:32:12 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:32:12 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2025/12/06 04:32:12 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/12/06 04:32:12 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/12/06 04:32:12 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:32:12 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:32:12 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/12/06 04:32:12 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2025/12/06 04:32:12 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2025/12/06 04:32:12 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/12/06 04:32:12 DEBUG : mega root 'rclone-test-cejokes2pede': File to upload is small (0 bytes), uploading instead of streaming 2025/12/06 04:32:12 DEBUG : dir/new_file.txt: size = 0 OK 2025/12/06 04:32:12 DEBUG : dir/new_file.txt: Size of src and dst objects identical 2025/12/06 04:32:12 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/12/06 04:32:12 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:32:12 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/12/06 04:32:12 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:32:12 DEBUG : dir: Looking for writers 2025/12/06 04:32:12 DEBUG : file2: reading active writers 2025/12/06 04:32:12 DEBUG : new_file.txt: reading active writers 2025/12/06 04:32:12 DEBUG : Looking for writers 2025/12/06 04:32:12 DEBUG : dir: reading active writers 2025/12/06 04:32:12 DEBUG : file1: reading active writers 2025/12/06 04:32:12 DEBUG : >WaitForWriters: --- PASS: TestVFSOpenFile (24.51s) === RUN TestVFSRename run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:32:17 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:32:17 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:32:17 DEBUG : forgetting directory cache 2025/12/06 04:32:17 INFO : dir/file2: Moved (server-side) to: dir/file1 2025/12/06 04:32:17 DEBUG : dir/file1: Updating file with dir/file1 0xc000150840 2025/12/06 04:32:17 DEBUG : dir: Added virtual directory entry vDel: "file2" 2025/12/06 04:32:17 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/06 04:32:18 INFO : dir/file1: Moved (server-side) to: file0 2025/12/06 04:32:18 DEBUG : file0: Updating file with file0 0xc000150840 2025/12/06 04:32:18 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/06 04:32:18 DEBUG : Added virtual directory entry vAddFile: "file0" 2025/12/06 04:32:18 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:32:18 DEBUG : dir: Looking for writers 2025/12/06 04:32:18 DEBUG : Looking for writers 2025/12/06 04:32:18 DEBUG : dir: reading active writers 2025/12/06 04:32:18 DEBUG : file0: reading active writers 2025/12/06 04:32:18 DEBUG : >WaitForWriters: --- PASS: TestVFSRename (3.04s) === RUN TestVFSStatfs run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:32:20 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:32:20 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:32:20 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:32:20 DEBUG : Looking for writers 2025/12/06 04:32:20 DEBUG : >WaitForWriters: --- PASS: TestVFSStatfs (0.06s) === RUN TestVFSMkdir run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:32:20 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:32:20 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:32:20 DEBUG : Added virtual directory entry vAddDir: "/" 2025/12/06 04:32:20 DEBUG : Added virtual directory entry vAddDir: "a" 2025/12/06 04:32:20 DEBUG : Added virtual directory entry vAddDir: "b" 2025/12/06 04:32:22 DEBUG : Added virtual directory entry vAddDir: "c" 2025/12/06 04:32:24 DEBUG : Added virtual directory entry vAddDir: "d" 2025/12/06 04:32:24 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:32:24 DEBUG : Looking for writers 2025/12/06 04:32:24 DEBUG : a: Looking for writers 2025/12/06 04:32:24 DEBUG : b: Looking for writers 2025/12/06 04:32:24 DEBUG : c: Looking for writers 2025/12/06 04:32:24 DEBUG : d: Looking for writers 2025/12/06 04:32:24 DEBUG : Looking for writers 2025/12/06 04:32:24 DEBUG : c: reading active writers 2025/12/06 04:32:24 DEBUG : d: reading active writers 2025/12/06 04:32:24 DEBUG : /: reading active writers 2025/12/06 04:32:24 DEBUG : a: reading active writers 2025/12/06 04:32:24 DEBUG : b: reading active writers 2025/12/06 04:32:24 DEBUG : >WaitForWriters: --- PASS: TestVFSMkdir (22.28s) === RUN TestVFSMkdirAll run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:32:42 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:32:42 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:32:42 DEBUG : Added virtual directory entry vAddDir: "a" 2025/12/06 04:32:42 DEBUG : a: Added virtual directory entry vAddDir: "b" 2025/12/06 04:32:42 DEBUG : a/b: Added virtual directory entry vAddDir: "c" 2025/12/06 04:32:43 DEBUG : a/b/c: Added virtual directory entry vAddDir: "d" 2025/12/06 04:32:43 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:32:43 DEBUG : a/b/c/d: Looking for writers 2025/12/06 04:32:43 DEBUG : a/b/c: Looking for writers 2025/12/06 04:32:43 DEBUG : d: reading active writers 2025/12/06 04:32:43 DEBUG : a/b: Looking for writers 2025/12/06 04:32:43 DEBUG : c: reading active writers 2025/12/06 04:32:43 DEBUG : a: Looking for writers 2025/12/06 04:32:43 DEBUG : b: reading active writers 2025/12/06 04:32:43 DEBUG : Looking for writers 2025/12/06 04:32:43 DEBUG : a: reading active writers 2025/12/06 04:32:43 DEBUG : >WaitForWriters: --- PASS: TestVFSMkdirAll (1.68s) === RUN TestVFSIsMetadataFile run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:32:44 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:32:44 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:32:44 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:32:44 DEBUG : Looking for writers 2025/12/06 04:32:44 DEBUG : >WaitForWriters: --- PASS: TestVFSIsMetadataFile (0.00s) === RUN TestWriteFileHandleMethods run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:32:44 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:32:44 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:32:44 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:32:44 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:32:44 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:32:44 DEBUG : file1: >Open: fd=file1 (w), err= 2025/12/06 04:32:44 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/12/06 04:32:44 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:32:44 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/12/06 04:32:44 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/12/06 04:32:44 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/12/06 04:32:44 DEBUG : mega root 'rclone-test-cejokes2pede': File to upload is small (5 bytes), uploading instead of streaming 2025/12/06 04:32:45 DEBUG : file1: size = 5 OK 2025/12/06 04:32:45 DEBUG : file1: Size of src and dst objects identical 2025/12/06 04:32:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:32:45 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:32:45 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:32:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:32:45 DEBUG : file1: >Open: fd=file1 (w), err= 2025/12/06 04:32:45 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/12/06 04:32:45 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:32:45 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:32:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:32:45 DEBUG : file1: >Open: fd=file1 (w), err= 2025/12/06 04:32:45 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/12/06 04:32:45 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2025/12/06 04:32:45 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/12/06 04:32:45 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/12/06 04:32:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:32:45 DEBUG : file1: >Open: fd=file1 (w), err= 2025/12/06 04:32:45 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/12/06 04:32:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:32:45 DEBUG : mega root 'rclone-test-cejokes2pede': File to upload is small (0 bytes), uploading instead of streaming 2025/12/06 04:32:46 DEBUG : dir: forgetting directory cache 2025/12/06 04:32:46 DEBUG : dir/subdir: forgetting directory cache 2025/12/06 04:32:46 DEBUG : dir/subdir: forgetting directory cache 2025/12/06 04:32:46 DEBUG : forgetting directory cache 2025/12/06 04:32:46 DEBUG : dir: forgetting directory cache 2025/12/06 04:32:47 DEBUG : file1: size = 0 OK 2025/12/06 04:32:47 DEBUG : file1: Size of src and dst objects identical 2025/12/06 04:32:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:32:47 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/12/06 04:32:47 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/12/06 04:32:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:32:47 DEBUG : file1: >Open: fd=file1 (w), err= 2025/12/06 04:32:47 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/12/06 04:32:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:32:47 DEBUG : mega root 'rclone-test-cejokes2pede': File to upload is small (7 bytes), uploading instead of streaming 2025/12/06 04:32:49 DEBUG : file1: size = 7 OK 2025/12/06 04:32:49 DEBUG : file1: Size of src and dst objects identical 2025/12/06 04:32:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:32:49 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:32:49 DEBUG : Looking for writers 2025/12/06 04:32:49 DEBUG : file1: reading active writers 2025/12/06 04:32:49 DEBUG : >WaitForWriters: 2025/12/06 04:32:52 DEBUG : forgetting directory cache --- PASS: TestWriteFileHandleMethods (11.64s) === RUN TestWriteFileHandleWriteAt run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:32:55 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:32:55 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:32:55 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:32:55 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:32:55 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:32:55 DEBUG : file1: >Open: fd=file1 (w), err= 2025/12/06 04:32:55 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/12/06 04:32:55 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:32:55 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/12/06 04:32:56 DEBUG : file1: aborting in-sequence write wait, off=100 2025/12/06 04:32:56 DEBUG : file1: failed to wait for in-sequence write to 100 2025/12/06 04:32:56 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/12/06 04:32:56 DEBUG : mega root 'rclone-test-cejokes2pede': File to upload is small (11 bytes), uploading instead of streaming 2025/12/06 04:32:57 DEBUG : file1: size = 11 OK 2025/12/06 04:32:57 DEBUG : file1: Size of src and dst objects identical 2025/12/06 04:32:57 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:32:57 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor 2025/12/06 04:32:57 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:32:57 DEBUG : Looking for writers 2025/12/06 04:32:57 DEBUG : file1: reading active writers 2025/12/06 04:32:57 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- PASS: TestWriteFileHandleWriteAt (12.46s) === RUN TestWriteFileHandleFlush run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:33:08 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:33:08 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:33:08 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:33:08 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:33:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:33:08 DEBUG : file1: >Open: fd=file1 (w), err= 2025/12/06 04:33:08 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/12/06 04:33:08 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/12/06 04:33:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:33:08 DEBUG : mega root 'rclone-test-cejokes2pede': File to upload is small (5 bytes), uploading instead of streaming 2025/12/06 04:33:11 DEBUG : file1: size = 5 OK 2025/12/06 04:33:11 DEBUG : file1: Size of src and dst objects identical 2025/12/06 04:33:11 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:33:11 DEBUG : file1: WriteFileHandle.Flush nothing to do 2025/12/06 04:33:11 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:33:11 DEBUG : Looking for writers 2025/12/06 04:33:11 DEBUG : file1: reading active writers 2025/12/06 04:33:11 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleFlush (3.50s) === RUN TestWriteFileHandleRelease run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:33:11 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:33:11 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:33:11 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:33:11 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:33:11 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:33:11 DEBUG : file1: >Open: fd=file1 (w), err= 2025/12/06 04:33:11 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/12/06 04:33:11 DEBUG : file1: WriteFileHandle.Release closing 2025/12/06 04:33:11 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:33:11 DEBUG : mega root 'rclone-test-cejokes2pede': File to upload is small (0 bytes), uploading instead of streaming 2025/12/06 04:33:12 DEBUG : file1: size = 0 OK 2025/12/06 04:33:12 DEBUG : file1: Size of src and dst objects identical 2025/12/06 04:33:12 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:33:12 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/12/06 04:33:12 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:33:12 DEBUG : Looking for writers 2025/12/06 04:33:12 DEBUG : file1: reading active writers 2025/12/06 04:33:12 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure 2025/12/06 04:33:17 DEBUG : forgetting directory cache 2025/12/06 04:33:17 DEBUG : dir: forgetting directory cache 2025/12/06 04:33:17 DEBUG : dir: forgetting directory cache --- PASS: TestWriteFileHandleRelease (7.62s) === RUN TestWriteFileModTimeWithOpenWriters run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:33:19 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:33:19 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:33:19 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:33:19 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:33:19 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:33:19 DEBUG : file1: >Open: fd=file1 (w), err= 2025/12/06 04:33:19 DEBUG : file1: >OpenFile: fd=file1 (w), err= write_test.go:321: can't set mod time 2025/12/06 04:33:19 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:33:19 DEBUG : Looking for writers 2025/12/06 04:33:19 DEBUG : file1: reading active writers 2025/12/06 04:33:19 DEBUG : file1: active writers 1 2025/12/06 04:33:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/12/06 04:33:19 DEBUG : Looking for writers 2025/12/06 04:33:19 DEBUG : file1: reading active writers 2025/12/06 04:33:19 DEBUG : file1: active writers 1 2025/12/06 04:33:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/12/06 04:33:19 DEBUG : Looking for writers 2025/12/06 04:33:19 DEBUG : file1: reading active writers 2025/12/06 04:33:19 DEBUG : file1: active writers 1 2025/12/06 04:33:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/12/06 04:33:19 DEBUG : Looking for writers 2025/12/06 04:33:19 DEBUG : file1: reading active writers 2025/12/06 04:33:19 DEBUG : file1: active writers 1 2025/12/06 04:33:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/12/06 04:33:19 DEBUG : Looking for writers 2025/12/06 04:33:19 DEBUG : file1: reading active writers 2025/12/06 04:33:19 DEBUG : file1: active writers 1 2025/12/06 04:33:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/12/06 04:33:19 DEBUG : Looking for writers 2025/12/06 04:33:19 DEBUG : file1: reading active writers 2025/12/06 04:33:19 DEBUG : file1: active writers 1 2025/12/06 04:33:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/12/06 04:33:20 DEBUG : Looking for writers 2025/12/06 04:33:20 DEBUG : file1: reading active writers 2025/12/06 04:33:20 DEBUG : file1: active writers 1 2025/12/06 04:33:20 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/12/06 04:33:20 DEBUG : Looking for writers 2025/12/06 04:33:20 DEBUG : file1: reading active writers 2025/12/06 04:33:20 DEBUG : file1: active writers 1 2025/12/06 04:33:20 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:21 DEBUG : Looking for writers 2025/12/06 04:33:21 DEBUG : file1: reading active writers 2025/12/06 04:33:21 DEBUG : file1: active writers 1 2025/12/06 04:33:21 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:22 DEBUG : Looking for writers 2025/12/06 04:33:22 DEBUG : file1: reading active writers 2025/12/06 04:33:22 DEBUG : file1: active writers 1 2025/12/06 04:33:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:23 DEBUG : Looking for writers 2025/12/06 04:33:23 DEBUG : file1: reading active writers 2025/12/06 04:33:23 DEBUG : file1: active writers 1 2025/12/06 04:33:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:24 DEBUG : Looking for writers 2025/12/06 04:33:24 DEBUG : file1: reading active writers 2025/12/06 04:33:24 DEBUG : file1: active writers 1 2025/12/06 04:33:24 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:25 DEBUG : Looking for writers 2025/12/06 04:33:25 DEBUG : file1: reading active writers 2025/12/06 04:33:25 DEBUG : file1: active writers 1 2025/12/06 04:33:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:26 DEBUG : Looking for writers 2025/12/06 04:33:26 DEBUG : file1: reading active writers 2025/12/06 04:33:26 DEBUG : file1: active writers 1 2025/12/06 04:33:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:27 DEBUG : forgetting directory cache 2025/12/06 04:33:27 DEBUG : Looking for writers 2025/12/06 04:33:27 DEBUG : file1: reading active writers 2025/12/06 04:33:27 DEBUG : file1: active writers 1 2025/12/06 04:33:27 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:28 DEBUG : Looking for writers 2025/12/06 04:33:28 DEBUG : file1: reading active writers 2025/12/06 04:33:28 DEBUG : file1: active writers 1 2025/12/06 04:33:28 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:29 DEBUG : Looking for writers 2025/12/06 04:33:29 DEBUG : file1: reading active writers 2025/12/06 04:33:29 DEBUG : file1: active writers 1 2025/12/06 04:33:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:30 DEBUG : Looking for writers 2025/12/06 04:33:30 DEBUG : file1: reading active writers 2025/12/06 04:33:30 DEBUG : file1: active writers 1 2025/12/06 04:33:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:31 DEBUG : Looking for writers 2025/12/06 04:33:31 DEBUG : file1: reading active writers 2025/12/06 04:33:31 DEBUG : file1: active writers 1 2025/12/06 04:33:31 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:32 DEBUG : Looking for writers 2025/12/06 04:33:32 DEBUG : file1: reading active writers 2025/12/06 04:33:32 DEBUG : file1: active writers 1 2025/12/06 04:33:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:33 DEBUG : Looking for writers 2025/12/06 04:33:33 DEBUG : file1: reading active writers 2025/12/06 04:33:33 DEBUG : file1: active writers 1 2025/12/06 04:33:33 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:34 DEBUG : Looking for writers 2025/12/06 04:33:34 DEBUG : file1: reading active writers 2025/12/06 04:33:34 DEBUG : file1: active writers 1 2025/12/06 04:33:34 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:35 DEBUG : Looking for writers 2025/12/06 04:33:35 DEBUG : file1: reading active writers 2025/12/06 04:33:35 DEBUG : file1: active writers 1 2025/12/06 04:33:35 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:36 DEBUG : Looking for writers 2025/12/06 04:33:36 DEBUG : file1: reading active writers 2025/12/06 04:33:36 DEBUG : file1: active writers 1 2025/12/06 04:33:36 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:37 DEBUG : Looking for writers 2025/12/06 04:33:37 DEBUG : file1: reading active writers 2025/12/06 04:33:37 DEBUG : file1: active writers 1 2025/12/06 04:33:37 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:38 DEBUG : Looking for writers 2025/12/06 04:33:38 DEBUG : file1: reading active writers 2025/12/06 04:33:38 DEBUG : file1: active writers 1 2025/12/06 04:33:38 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:39 DEBUG : Looking for writers 2025/12/06 04:33:39 DEBUG : file1: reading active writers 2025/12/06 04:33:39 DEBUG : file1: active writers 1 2025/12/06 04:33:39 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:40 DEBUG : Looking for writers 2025/12/06 04:33:40 DEBUG : file1: reading active writers 2025/12/06 04:33:40 DEBUG : file1: active writers 1 2025/12/06 04:33:40 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:41 DEBUG : Looking for writers 2025/12/06 04:33:41 DEBUG : file1: reading active writers 2025/12/06 04:33:41 DEBUG : file1: active writers 1 2025/12/06 04:33:41 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:42 DEBUG : Looking for writers 2025/12/06 04:33:42 DEBUG : file1: reading active writers 2025/12/06 04:33:42 DEBUG : file1: active writers 1 2025/12/06 04:33:42 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:43 DEBUG : Looking for writers 2025/12/06 04:33:43 DEBUG : file1: reading active writers 2025/12/06 04:33:43 DEBUG : file1: active writers 1 2025/12/06 04:33:43 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:44 DEBUG : Looking for writers 2025/12/06 04:33:44 DEBUG : file1: reading active writers 2025/12/06 04:33:44 DEBUG : file1: active writers 1 2025/12/06 04:33:44 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:45 DEBUG : Looking for writers 2025/12/06 04:33:45 DEBUG : file1: reading active writers 2025/12/06 04:33:45 DEBUG : file1: active writers 1 2025/12/06 04:33:45 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:46 DEBUG : Looking for writers 2025/12/06 04:33:46 DEBUG : file1: reading active writers 2025/12/06 04:33:46 DEBUG : file1: active writers 1 2025/12/06 04:33:46 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:47 DEBUG : Looking for writers 2025/12/06 04:33:47 DEBUG : file1: reading active writers 2025/12/06 04:33:47 DEBUG : file1: active writers 1 2025/12/06 04:33:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:48 DEBUG : Looking for writers 2025/12/06 04:33:48 DEBUG : file1: reading active writers 2025/12/06 04:33:48 DEBUG : file1: active writers 1 2025/12/06 04:33:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/12/06 04:33:49 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/12/06 04:33:49 DEBUG : >WaitForWriters: --- SKIP: TestWriteFileModTimeWithOpenWriters (30.00s) === RUN TestFileReadAtZeroLength run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:33:49 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:33:49 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:33:49 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:33:49 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:33:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:33:49 DEBUG : file1: >Open: fd=file1 (w), err= 2025/12/06 04:33:49 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/12/06 04:33:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:33:49 DEBUG : mega root 'rclone-test-cejokes2pede': File to upload is small (0 bytes), uploading instead of streaming 2025/12/06 04:33:55 DEBUG : file1: size = 0 OK 2025/12/06 04:33:55 DEBUG : file1: Size of src and dst objects identical 2025/12/06 04:33:55 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:33:55 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/12/06 04:33:55 DEBUG : file1: Open: flags=O_RDONLY 2025/12/06 04:33:55 DEBUG : file1: >Open: fd=file1 (r), err= 2025/12/06 04:33:55 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/12/06 04:33:55 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:33:55 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2025/12/06 04:33:55 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:33:55 DEBUG : Looking for writers 2025/12/06 04:33:55 DEBUG : file1: reading active writers 2025/12/06 04:33:55 DEBUG : >WaitForWriters: --- PASS: TestFileReadAtZeroLength (6.12s) === RUN TestFileReadAtNonZeroLength run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:33:55 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:33:55 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:33:55 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/12/06 04:33:55 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/12/06 04:33:55 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:33:55 DEBUG : file1: >Open: fd=file1 (w), err= 2025/12/06 04:33:55 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/12/06 04:33:55 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:33:55 DEBUG : mega root 'rclone-test-cejokes2pede': File to upload is small (100 bytes), uploading instead of streaming 2025/12/06 04:33:55 DEBUG : file1: size = 100 OK 2025/12/06 04:33:55 DEBUG : file1: Size of src and dst objects identical 2025/12/06 04:33:55 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/12/06 04:33:55 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/12/06 04:33:55 DEBUG : file1: Open: flags=O_RDONLY 2025/12/06 04:33:55 DEBUG : file1: >Open: fd=file1 (r), err= 2025/12/06 04:33:55 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/12/06 04:33:55 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:33:55 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2025/12/06 04:33:56 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:33:56 DEBUG : Looking for writers 2025/12/06 04:33:56 DEBUG : file1: reading active writers 2025/12/06 04:33:56 DEBUG : >WaitForWriters: --- PASS: TestFileReadAtNonZeroLength (0.61s) === RUN TestZipManyFiles run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:33:56 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:33:56 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:33:56 DEBUG : forgetting directory cache 2025/12/06 04:33:56 DEBUG : dir: forgetting directory cache 2025/12/06 04:33:56 DEBUG : fil: forgetting directory cache 2025/12/06 04:33:56 DEBUG : fil/a: forgetting directory cache 2025/12/06 04:33:56 DEBUG : fil/a/b: forgetting directory cache 2025/12/06 04:34:04 DEBUG : flat/f000.txt: Open: flags=O_RDONLY 2025/12/06 04:34:04 DEBUG : flat/f000.txt: >Open: fd=flat/f000.txt (r), err= 2025/12/06 04:34:04 DEBUG : flat/f000.txt: Set virtual modtime to 2025-12-06 04:33:58 +0000 UTC 2025/12/06 04:34:04 DEBUG : flat/f000.txt: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:34:04 DEBUG : flat/f000.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:05 DEBUG : flat/f001.txt: Open: flags=O_RDONLY 2025/12/06 04:34:05 DEBUG : flat/f001.txt: >Open: fd=flat/f001.txt (r), err= 2025/12/06 04:34:05 DEBUG : flat/f001.txt: Set virtual modtime to 2025-12-06 04:34:00 +0000 UTC 2025/12/06 04:34:05 DEBUG : flat/f001.txt: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:34:05 DEBUG : flat/f001.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:05 DEBUG : flat/f002.txt: Open: flags=O_RDONLY 2025/12/06 04:34:05 DEBUG : flat/f002.txt: >Open: fd=flat/f002.txt (r), err= 2025/12/06 04:34:05 DEBUG : flat/f002.txt: Set virtual modtime to 2025-12-06 04:34:02 +0000 UTC 2025/12/06 04:34:05 DEBUG : flat/f002.txt: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:34:05 DEBUG : flat/f002.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:05 DEBUG : flat/f003.txt: Open: flags=O_RDONLY 2025/12/06 04:34:05 DEBUG : flat/f003.txt: >Open: fd=flat/f003.txt (r), err= 2025/12/06 04:34:05 DEBUG : flat/f003.txt: Set virtual modtime to 2025-12-06 04:34:02 +0000 UTC 2025/12/06 04:34:05 DEBUG : flat/f003.txt: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:34:05 DEBUG : dir: forgetting directory cache 2025/12/06 04:34:05 DEBUG : forgetting directory cache 2025/12/06 04:34:05 DEBUG : dir: forgetting directory cache 2025/12/06 04:34:05 DEBUG : flat/f003.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:05 DEBUG : flat/f004.txt: Open: flags=O_RDONLY 2025/12/06 04:34:05 DEBUG : flat/f004.txt: >Open: fd=flat/f004.txt (r), err= 2025/12/06 04:34:05 DEBUG : flat/f004.txt: Set virtual modtime to 2025-12-06 04:34:02 +0000 UTC 2025/12/06 04:34:05 DEBUG : flat/f004.txt: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:34:05 DEBUG : flat/f004.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:05 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:34:05 DEBUG : flat: Looking for writers 2025/12/06 04:34:05 DEBUG : f004.txt: reading active writers 2025/12/06 04:34:05 DEBUG : f000.txt: reading active writers 2025/12/06 04:34:05 DEBUG : f001.txt: reading active writers 2025/12/06 04:34:05 DEBUG : f002.txt: reading active writers 2025/12/06 04:34:05 DEBUG : f003.txt: reading active writers 2025/12/06 04:34:05 DEBUG : Looking for writers 2025/12/06 04:34:05 DEBUG : flat: reading active writers 2025/12/06 04:34:05 DEBUG : >WaitForWriters: 2025/12/06 04:34:11 DEBUG : dir: forgetting directory cache 2025/12/06 04:34:11 DEBUG : forgetting directory cache 2025/12/06 04:34:11 DEBUG : dir: forgetting directory cache --- PASS: TestZipManyFiles (23.70s) === RUN TestZipManySubDirs run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:34:19 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:34:19 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:34:28 DEBUG : a/b/c/deep.txt: Open: flags=O_RDONLY 2025/12/06 04:34:28 DEBUG : a/b/c/deep.txt: >Open: fd=a/b/c/deep.txt (r), err= 2025/12/06 04:34:28 DEBUG : a/b/c/deep.txt: Set virtual modtime to 2025-12-06 04:34:26 +0000 UTC 2025/12/06 04:34:28 DEBUG : a/b/c/deep.txt: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:34:28 DEBUG : a/b/c/deep.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:28 DEBUG : a/b/mid.txt: Open: flags=O_RDONLY 2025/12/06 04:34:28 DEBUG : a/b/mid.txt: >Open: fd=a/b/mid.txt (r), err= 2025/12/06 04:34:28 DEBUG : a/b/mid.txt: Set virtual modtime to 2025-12-06 04:34:24 +0000 UTC 2025/12/06 04:34:28 DEBUG : a/b/mid.txt: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:34:28 DEBUG : a/b/mid.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:28 DEBUG : a/top.txt: Open: flags=O_RDONLY 2025/12/06 04:34:28 DEBUG : a/top.txt: >Open: fd=a/top.txt (r), err= 2025/12/06 04:34:28 DEBUG : a/top.txt: Set virtual modtime to 2025-12-06 04:34:20 +0000 UTC 2025/12/06 04:34:28 DEBUG : a/top.txt: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:34:28 DEBUG : a/top.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:28 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:34:28 DEBUG : a/b/c: Looking for writers 2025/12/06 04:34:28 DEBUG : deep.txt: reading active writers 2025/12/06 04:34:28 DEBUG : a/b: Looking for writers 2025/12/06 04:34:28 DEBUG : c: reading active writers 2025/12/06 04:34:28 DEBUG : mid.txt: reading active writers 2025/12/06 04:34:28 DEBUG : a: Looking for writers 2025/12/06 04:34:28 DEBUG : b: reading active writers 2025/12/06 04:34:28 DEBUG : top.txt: reading active writers 2025/12/06 04:34:28 DEBUG : Looking for writers 2025/12/06 04:34:28 DEBUG : a: reading active writers 2025/12/06 04:34:28 DEBUG : >WaitForWriters: --- PASS: TestZipManySubDirs (10.59s) === RUN TestZipLargeFiles run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:34:30 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:34:30 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:34:31 DEBUG : bigdir/big.bin: Open: flags=O_RDONLY 2025/12/06 04:34:31 DEBUG : bigdir/big.bin: >Open: fd=bigdir/big.bin (r), err= 2025/12/06 04:34:31 DEBUG : bigdir/big.bin: Set virtual modtime to 2025-12-06 04:34:31 +0000 UTC 2025/12/06 04:34:31 DEBUG : bigdir/big.bin: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:34:31 DEBUG : bigdir/big.bin: ChunkedReader.Read at 0 length 4096 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:32 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4096 length 8192 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:32 DEBUG : bigdir/big.bin: ChunkedReader.Read at 12288 length 16384 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:32 DEBUG : bigdir/big.bin: ChunkedReader.Read at 28672 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:32 DEBUG : bigdir/big.bin: ChunkedReader.Read at 61440 length 65536 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:32 DEBUG : bigdir/big.bin: ChunkedReader.Read at 126976 length 131072 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:32 DEBUG : bigdir/big.bin: ChunkedReader.Read at 258048 length 262144 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:32 DEBUG : bigdir/big.bin: ChunkedReader.Read at 520192 length 524288 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:32 DEBUG : bigdir/big.bin: ChunkedReader.Read at 1044480 length 1048576 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:32 DEBUG : bigdir/big.bin: ChunkedReader.Read at 2093056 length 1048576 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:32 DEBUG : bigdir/big.bin: ChunkedReader.Read at 3141632 length 1048576 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:32 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4190208 length 1048576 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:32 DEBUG : bigdir/big.bin: ChunkedReader.Read at 5238784 length 1048576 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:32 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:34:32 DEBUG : bigdir: Looking for writers 2025/12/06 04:34:32 DEBUG : big.bin: reading active writers 2025/12/06 04:34:32 DEBUG : Looking for writers 2025/12/06 04:34:32 DEBUG : bigdir: reading active writers 2025/12/06 04:34:32 DEBUG : >WaitForWriters: 2025/12/06 04:34:40 DEBUG : dir/subdir: forgetting directory cache 2025/12/06 04:34:43 DEBUG : dir: forgetting directory cache 2025/12/06 04:34:43 DEBUG : dir/virtualDir: forgetting directory cache 2025/12/06 04:34:43 DEBUG : forgetting directory cache 2025/12/06 04:34:43 DEBUG : dir: forgetting directory cache 2025/12/06 04:34:43 DEBUG : dir/virtualDir: forgetting directory cache 2025/12/06 04:34:43 DEBUG : dir/virtualDir2: forgetting directory cache --- PASS: TestZipLargeFiles (13.89s) === RUN TestZipDirsInRoot run.go:185: Remote "mega root 'rclone-test-cejokes2pede'", Local "Local file system at /tmp/rclone223539743", Modify Window "876000h0m0s" 2025/12/06 04:34:44 INFO : mega root 'rclone-test-cejokes2pede': poll-interval is not supported by this remote 2025/12/06 04:34:44 NOTICE: mega root 'rclone-test-cejokes2pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/06 04:34:49 DEBUG : dir1/a.txt: Open: flags=O_RDONLY 2025/12/06 04:34:49 DEBUG : dir1/a.txt: >Open: fd=dir1/a.txt (r), err= 2025/12/06 04:34:49 DEBUG : dir1/a.txt: Set virtual modtime to 2025-12-06 04:34:48 +0000 UTC 2025/12/06 04:34:49 DEBUG : dir1/a.txt: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:34:49 DEBUG : dir1/a.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:49 NOTICE: Unsolicited response received on idle HTTP channel starting with "\xd7\xd7\xd7\xd7"; err= 2025/12/06 04:34:49 DEBUG : dir2/b.txt: Open: flags=O_RDONLY 2025/12/06 04:34:49 DEBUG : dir2/b.txt: >Open: fd=dir2/b.txt (r), err= 2025/12/06 04:34:49 DEBUG : dir2/b.txt: Set virtual modtime to 2025-12-06 04:34:48 +0000 UTC 2025/12/06 04:34:49 DEBUG : dir2/b.txt: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:34:49 DEBUG : dir2/b.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:49 NOTICE: Unsolicited response received on idle HTTP channel starting with "aaaa"; err= 2025/12/06 04:34:49 DEBUG : dir3/c.txt: Open: flags=O_RDONLY 2025/12/06 04:34:49 DEBUG : dir3/c.txt: >Open: fd=dir3/c.txt (r), err= 2025/12/06 04:34:49 DEBUG : dir3/c.txt: Set virtual modtime to 2025-12-06 04:34:49 +0000 UTC 2025/12/06 04:34:49 DEBUG : dir3/c.txt: ChunkedReader.openRange at 0 length 134217728 2025/12/06 04:34:50 DEBUG : dir3/c.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/06 04:34:50 NOTICE: Unsolicited response received on idle HTTP channel starting with "rrrr"; err= 2025/12/06 04:34:50 DEBUG : WaitForWriters: timeout=30s 2025/12/06 04:34:50 DEBUG : dir1: Looking for writers 2025/12/06 04:34:50 DEBUG : a.txt: reading active writers 2025/12/06 04:34:50 DEBUG : dir2: Looking for writers 2025/12/06 04:34:50 DEBUG : b.txt: reading active writers 2025/12/06 04:34:50 DEBUG : dir3: Looking for writers 2025/12/06 04:34:50 DEBUG : c.txt: reading active writers 2025/12/06 04:34:50 DEBUG : Looking for writers 2025/12/06 04:34:50 DEBUG : dir1: reading active writers 2025/12/06 04:34:50 DEBUG : dir2: reading active writers 2025/12/06 04:34:50 DEBUG : dir3: reading active writers 2025/12/06 04:34:50 DEBUG : >WaitForWriters: 2025/12/06 04:34:50 DEBUG : dir: forgetting directory cache 2025/12/06 04:34:50 DEBUG : forgetting directory cache 2025/12/06 04:34:50 DEBUG : dir: forgetting directory cache --- PASS: TestZipDirsInRoot (7.28s) FAIL 2025/12/06 04:34:51 DEBUG : mega root 'rclone-test-cejokes2pede': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCaseSensitivity|TestDirCreate|TestDirEntryModTimeInvalidation|TestDirFileOpen|TestDirForgetAll|TestDirForgetPath|TestDirHandleMethods|TestDirHandleReaddir|TestDirHandleReaddirnames|TestDirMetadataExtension|TestDirMethods|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestRWCacheRename|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleFlushWrite|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleReleaseWrite|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeCreateNew|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestRcGetVFS|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSIsMetadataFile|TestVFSMkdir|TestVFSMkdirAll|TestVFSNew|TestVFSNewWithOpts|TestVFSOpenFile|TestVFSRename|TestVFSRoot|TestVFSStat|TestVFSStatParent|TestVFSStatfs|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters|TestZipDirsInRoot|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true)$|^TestRWFileHandleOpenTests$/^full$/^(os.O_RDONLY|os.O_RDONLY|os.O_APPEND|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_SYNC|os.O_RDONLY|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_TRUNC|os.O_RDONLY|os.O_EXCL|os.O_RDONLY|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_SYNC|os.O_RDONLY|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_TRUNC|os.O_RDWR|os.O_RDWR|os.O_APPEND|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_SYNC|os.O_RDWR|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_TRUNC|os.O_RDWR|os.O_EXCL|os.O_RDWR|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_SYNC|os.O_RDWR|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_TRUNC|os.O_WRONLY|os.O_WRONLY|os.O_APPEND|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_SYNC|os.O_WRONLY|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_TRUNC|os.O_WRONLY|os.O_EXCL|os.O_WRONLY|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_SYNC|os.O_WRONLY|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_TRUNC)$|^TestRWFileHandleOpenTests$/^writes$/^(os.O_RDONLY|os.O_RDONLY|os.O_APPEND|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_SYNC|os.O_RDONLY|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_TRUNC|os.O_RDONLY|os.O_EXCL|os.O_RDONLY|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_SYNC|os.O_RDONLY|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_TRUNC|os.O_RDWR|os.O_RDWR|os.O_APPEND|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_SYNC|os.O_RDWR|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_TRUNC|os.O_RDWR|os.O_EXCL|os.O_RDWR|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_SYNC|os.O_RDWR|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_TRUNC|os.O_WRONLY|os.O_WRONLY|os.O_APPEND|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_SYNC|os.O_WRONLY|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_TRUNC|os.O_WRONLY|os.O_EXCL|os.O_WRONLY|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_SYNC|os.O_WRONLY|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_TRUNC)$'" - Finished ERROR in 12m51.086349785s (try 2/5): exit status 1: Failed [TestDirHandleMethods TestDirHandleReaddirnames TestDirForgetPath TestDirStat TestFileOpenWrite TestFileRemove TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false]