"./vfs.test -test.v -test.timeout 1h0m0s -remote TestChunkerChunk50bYandex: -verbose -size-limit 1024 -test.run '^(TestDirForgetPath|TestRWFileHandleFlushRead|TestRWFileHandleSizeTruncateExisting)$'" - Starting (try 2/5) 2024/11/01 03:52:31 DEBUG : Creating backend with remote "TestChunkerChunk50bYandex:rclone-test-puyirah5fasu" 2024/11/01 03:52:31 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/01 03:52:31 DEBUG : Creating backend with remote "TestYandex:rclone-test-puyirah5fasu" 2024/11/01 03:52:31 DEBUG : Reset feature "ListR" 2024/11/01 03:52:31 DEBUG : Creating backend with remote "/tmp/rclone1548337932" === RUN TestDirForgetPath run.go:180: Remote "Chunked 'TestChunkerChunk50bYandex:rclone-test-puyirah5fasu'", Local "Local file system at /tmp/rclone1548337932", Modify Window "1ns" 2024/11/01 03:52:31 INFO : Chunked 'TestChunkerChunk50bYandex:rclone-test-puyirah5fasu': poll-interval is not supported by this remote 2024/11/01 03:52:38 INFO : dir/file1.rclone_chunk.001_9cbuzl: Moved (server-side) to: dir/file1 2024/11/01 03:52:39 DEBUG : : ForgetPath: relativePath="dir/notfound", type=1 2024/11/01 03:52:39 DEBUG : dir: invalidating directory cache 2024/11/01 03:52:39 DEBUG : : >ForgetPath: 2024/11/01 03:52:39 DEBUG : : ForgetPath: relativePath="dir", type=0 2024/11/01 03:52:39 DEBUG : : invalidating directory cache 2024/11/01 03:52:39 DEBUG : dir: forgetting directory cache 2024/11/01 03:52:39 DEBUG : : >ForgetPath: 2024/11/01 03:52:39 DEBUG : : ForgetPath: relativePath="not/in/cache", type=0 2024/11/01 03:52:39 DEBUG : : >ForgetPath: 2024/11/01 03:52:39 DEBUG : WaitForWriters: timeout=30s 2024/11/01 03:52:39 DEBUG : dir: Looking for writers 2024/11/01 03:52:39 DEBUG : : Looking for writers 2024/11/01 03:52:39 DEBUG : dir: reading active writers 2024/11/01 03:52:39 DEBUG : >WaitForWriters: --- PASS: TestDirForgetPath (13.03s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "Chunked 'TestChunkerChunk50bYandex:rclone-test-puyirah5fasu'", Local "Local file system at /tmp/rclone1548337932", Modify Window "1ns" 2024/11/01 03:52:44 INFO : Chunked 'TestChunkerChunk50bYandex:rclone-test-puyirah5fasu': poll-interval is not supported by this remote 2024/11/01 03:52:44 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/01 03:52:44 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestChunkerChunk50bYandex/rclone-test-puyirah5fasu" 2024/11/01 03:52:44 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestChunkerChunk50bYandex/rclone-test-puyirah5fasu" 2024/11/01 03:52:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestChunkerChunk50bYandex/rclone-test-puyirah5fasu" 2024/11/01 03:52:44 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 03:52:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestChunkerChunk50bYandex/rclone-test-puyirah5fasu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestChunkerChunk50bYandex/rclone-test-puyirah5fasu" 2024/11/01 03:52:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestChunkerChunk50bYandex/rclone-test-puyirah5fasu" 2024/11/01 03:52:44 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 03:52:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestChunkerChunk50bYandex/rclone-test-puyirah5fasu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestChunkerChunk50bYandex/rclone-test-puyirah5fasu" 2024/11/01 03:52:44 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/01 03:52:50 INFO : dir/file1.rclone_chunk.001_9cc73k: Moved (server-side) to: dir/file1 fstest.go:121: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:121 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:126 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:145 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:40 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:216 Error: Should be true Test: TestRWFileHandleFlushRead Messages: dir/file1: Modification time difference too big |-208127h47m42.500000001s| > 1ns (want 2001-02-03 04:05:06.499999999 +0000 UTC vs got 2024-11-01 03:52:49 +0000 UTC) (precision 1ns) 2024/11/01 03:52:51 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/11/01 03:52:51 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/01 03:52:51 DEBUG : dir/file1: newRWFileHandle: 2024/11/01 03:52:51 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/01 03:52:51 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/01 03:52:51 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/11/01 03:52:51 DEBUG : dir/file1(0xc0001423c0): RWFileHandle.Flush 2024/11/01 03:52:51 DEBUG : dir/file1(0xc0001423c0): _readAt: size=256, off=0 2024/11/01 03:52:51 DEBUG : dir/file1(0xc0001423c0): openPending: 2024/11/01 03:52:51 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2024-11-01 03:52:49 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/11/01 03:52:51 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/11/01 03:52:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 03:52:51 DEBUG : dir/file1(0xc0001423c0): >openPending: err= 2024/11/01 03:52:51 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2024/11/01 03:52:51 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/01 03:52:51 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/01 03:52:51 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/11/01 03:52:52 DEBUG : dir/file1(0xc0001423c0): >_readAt: n=16, err=EOF 2024/11/01 03:52:52 DEBUG : dir/file1(0xc0001423c0): RWFileHandle.Flush 2024/11/01 03:52:52 DEBUG : dir/file1(0xc0001423c0): RWFileHandle.Flush 2024/11/01 03:52:52 DEBUG : dir/file1(0xc0001423c0): close: 2024/11/01 03:52:52 DEBUG : dir/file1: vfs cache: setting modification time to 2024-11-01 03:52:49 +0000 UTC 2024/11/01 03:52:52 DEBUG : dir/file1(0xc0001423c0): >close: err= 2024/11/01 03:52:52 DEBUG : WaitForWriters: timeout=30s 2024/11/01 03:52:52 DEBUG : dir: Looking for writers 2024/11/01 03:52:52 DEBUG : file1: reading active writers 2024/11/01 03:52:52 DEBUG : : Looking for writers 2024/11/01 03:52:52 DEBUG : dir: reading active writers 2024/11/01 03:52:52 DEBUG : >WaitForWriters: 2024/11/01 03:52:52 DEBUG : vfs cache: cleaner exiting --- FAIL: TestRWFileHandleFlushRead (11.83s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "Chunked 'TestChunkerChunk50bYandex:rclone-test-puyirah5fasu'", Local "Local file system at /tmp/rclone1548337932", Modify Window "1ns" 2024/11/01 03:52:56 INFO : Chunked 'TestChunkerChunk50bYandex:rclone-test-puyirah5fasu': poll-interval is not supported by this remote 2024/11/01 03:52:56 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/01 03:52:56 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestChunkerChunk50bYandex/rclone-test-puyirah5fasu" 2024/11/01 03:52:56 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestChunkerChunk50bYandex/rclone-test-puyirah5fasu" 2024/11/01 03:52:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestChunkerChunk50bYandex/rclone-test-puyirah5fasu" 2024/11/01 03:52:56 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 03:52:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestChunkerChunk50bYandex/rclone-test-puyirah5fasu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestChunkerChunk50bYandex/rclone-test-puyirah5fasu" 2024/11/01 03:52:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestChunkerChunk50bYandex/rclone-test-puyirah5fasu" 2024/11/01 03:52:56 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/01 03:52:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestChunkerChunk50bYandex/rclone-test-puyirah5fasu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestChunkerChunk50bYandex/rclone-test-puyirah5fasu" 2024/11/01 03:52:56 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/01 03:53:01 INFO : dir/file1.rclone_chunk.001_9ccjo6: Moved (server-side) to: dir/file1 2024/11/01 03:53:02 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_TRUNC, perm=-rwxrwxrwx 2024/11/01 03:53:02 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/11/01 03:53:02 DEBUG : dir/file1: newRWFileHandle: 2024/11/01 03:53:02 DEBUG : dir/file1(0xc00085a740): openPending: 2024/11/01 03:53:02 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06.499999999 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/11/01 03:53:02 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/11/01 03:53:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 03:53:02 DEBUG : dir/file1(0xc00085a740): >openPending: err= 2024/11/01 03:53:02 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/11/01 03:53:02 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/01 03:53:02 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/01 03:53:02 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/11/01 03:53:02 DEBUG : dir/file1(0xc00085a740): _writeAt: size=5, off=0 2024/11/01 03:53:02 DEBUG : dir/file1(0xc00085a740): >_writeAt: n=5, err= 2024/11/01 03:53:02 DEBUG : dir/file1(0xc00085a740): close: 2024/11/01 03:53:02 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2024/11/01 03:53:02 DEBUG : dir/file1: vfs cache: setting modification time to 2024-11-01 03:53:02.914789421 +0000 UTC m=+31.290435028 2024/11/01 03:53:02 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/11/01 03:53:02 DEBUG : dir/file1(0xc00085a740): >close: err= 2024/11/01 03:53:02 DEBUG : WaitForWriters: timeout=30s 2024/11/01 03:53:02 DEBUG : dir: Looking for writers 2024/11/01 03:53:02 DEBUG : file1: reading active writers 2024/11/01 03:53:02 DEBUG : : Looking for writers 2024/11/01 03:53:02 DEBUG : dir: reading active writers 2024/11/01 03:53:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/11/01 03:53:02 DEBUG : dir: Looking for writers 2024/11/01 03:53:02 DEBUG : file1: reading active writers 2024/11/01 03:53:02 DEBUG : : Looking for writers 2024/11/01 03:53:02 DEBUG : dir: reading active writers 2024/11/01 03:53:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/11/01 03:53:02 DEBUG : dir: Looking for writers 2024/11/01 03:53:02 DEBUG : file1: reading active writers 2024/11/01 03:53:02 DEBUG : : Looking for writers 2024/11/01 03:53:02 DEBUG : dir: reading active writers 2024/11/01 03:53:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/11/01 03:53:02 DEBUG : dir: Looking for writers 2024/11/01 03:53:02 DEBUG : file1: reading active writers 2024/11/01 03:53:02 DEBUG : : Looking for writers 2024/11/01 03:53:02 DEBUG : dir: reading active writers 2024/11/01 03:53:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/11/01 03:53:03 DEBUG : dir/file1: vfs cache: starting upload 2024/11/01 03:53:03 DEBUG : dir/file1: skip slow MD5 on source file, hashing in-transit 2024/11/01 03:53:03 DEBUG : dir: Looking for writers 2024/11/01 03:53:03 DEBUG : file1: reading active writers 2024/11/01 03:53:03 DEBUG : : Looking for writers 2024/11/01 03:53:03 DEBUG : dir: reading active writers 2024/11/01 03:53:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/11/01 03:53:03 DEBUG : dir: Looking for writers 2024/11/01 03:53:03 DEBUG : file1: reading active writers 2024/11/01 03:53:03 DEBUG : : Looking for writers 2024/11/01 03:53:03 DEBUG : dir: reading active writers 2024/11/01 03:53:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/11/01 03:53:03 DEBUG : dir: Looking for writers 2024/11/01 03:53:03 DEBUG : file1: reading active writers 2024/11/01 03:53:03 DEBUG : : Looking for writers 2024/11/01 03:53:03 DEBUG : dir: reading active writers 2024/11/01 03:53:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/11/01 03:53:04 DEBUG : dir: Looking for writers 2024/11/01 03:53:04 DEBUG : file1: reading active writers 2024/11/01 03:53:04 DEBUG : : Looking for writers 2024/11/01 03:53:04 DEBUG : dir: reading active writers 2024/11/01 03:53:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/11/01 03:53:05 DEBUG : dir: Looking for writers 2024/11/01 03:53:05 DEBUG : file1: reading active writers 2024/11/01 03:53:05 DEBUG : : Looking for writers 2024/11/01 03:53:05 DEBUG : dir: reading active writers 2024/11/01 03:53:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/11/01 03:53:06 DEBUG : dir: Looking for writers 2024/11/01 03:53:06 DEBUG : file1: reading active writers 2024/11/01 03:53:06 DEBUG : : Looking for writers 2024/11/01 03:53:06 DEBUG : dir: reading active writers 2024/11/01 03:53:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/11/01 03:53:07 DEBUG : dir: Looking for writers 2024/11/01 03:53:07 DEBUG : file1: reading active writers 2024/11/01 03:53:07 DEBUG : : Looking for writers 2024/11/01 03:53:07 DEBUG : dir: reading active writers 2024/11/01 03:53:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/11/01 03:53:08 DEBUG : dir: Looking for writers 2024/11/01 03:53:08 DEBUG : file1: reading active writers 2024/11/01 03:53:08 DEBUG : : Looking for writers 2024/11/01 03:53:08 DEBUG : dir: reading active writers 2024/11/01 03:53:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/11/01 03:53:08 INFO : dir/file1: Deleted 2024/11/01 03:53:09 DEBUG : dir: Looking for writers 2024/11/01 03:53:09 DEBUG : file1: reading active writers 2024/11/01 03:53:09 DEBUG : : Looking for writers 2024/11/01 03:53:09 DEBUG : dir: reading active writers 2024/11/01 03:53:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/11/01 03:53:09 INFO : dir/file1.rclone_chunk.001_9ccpun: Moved (server-side) to: dir/file1 2024/11/01 03:53:09 DEBUG : dir/file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2024/11/01 03:53:09 INFO : dir/file1: Copied (replaced existing) 2024/11/01 03:53:09 DEBUG : dir/file1: vfs cache: fingerprint now "5,2024-11-01 03:53:02.914789421 +0000 UTC,5d41402abc4b2a76b9719d911017c592" 2024/11/01 03:53:09 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/11/01 03:53:09 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/01 03:53:09 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/11/01 03:53:10 DEBUG : dir: Looking for writers 2024/11/01 03:53:10 DEBUG : file1: reading active writers 2024/11/01 03:53:10 DEBUG : : Looking for writers 2024/11/01 03:53:10 DEBUG : dir: reading active writers 2024/11/01 03:53:10 DEBUG : >WaitForWriters: 2024/11/01 03:53:10 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeTruncateExisting (17.65s) FAIL 2024/11/01 03:53:14 DEBUG : Chunked 'TestChunkerChunk50bYandex:rclone-test-puyirah5fasu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestChunkerChunk50bYandex: -verbose -size-limit 1024 -test.run '^(TestDirForgetPath|TestRWFileHandleFlushRead|TestRWFileHandleSizeTruncateExisting)$'" - Finished ERROR in 44.067027142s (try 2/5): exit status 1: Failed [TestRWFileHandleFlushRead]