"./vfs.test -test.v -test.timeout 1h0m0s -remote TestCryptSwift: -verbose -test.run '^(TestDirSetModTime|TestDirWalk|TestFileOpenWrite|TestFileRemoveAll|TestReadFileHandleReadAt|TestVFSOpenFile)$|^TestFileRename$/^minimal,forceCache=false$'" - Starting (try 2/5) 2024/10/03 03:26:15 DEBUG : Creating backend with remote "TestCryptSwift:rclone-test-kijapem1dabi" 2024/10/03 03:26:15 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/10/03 03:26:15 DEBUG : Creating backend with remote "memstore:crypt/rclone-test-kijapem1dabi.bin" 2024/10/03 03:26:15 DEBUG : Swift container crypt path rclone-test-kijapem1dabi.bin: Auto set use_segments_container to true 2024/10/03 03:26:16 DEBUG : Creating backend with remote "memstore:crypt/rclone-test-kijapem1dabi" 2024/10/03 03:26:16 DEBUG : Swift container crypt path rclone-test-kijapem1dabi: Auto set use_segments_container to true 2024/10/03 03:26:16 DEBUG : Creating backend with remote "/tmp/rclone2570629509" === RUN TestDirWalk run.go:180: Remote "Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi'", Local "Local file system at /tmp/rclone2570629509", Modify Window "1ns" 2024/10/03 03:26:16 INFO : Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi': poll-interval is not supported by this remote 2024/10/03 03:26:36 DEBUG : dir/file1: md5 = 615b5fbac8f0f0eb137148194187a389 OK 2024/10/03 03:26:37 DEBUG : fil/a/b/c: md5 = 78ef2b86f22275e08ca2896586242bf4 OK 2024/10/03 03:26:37 DEBUG : : forgetting directory cache 2024/10/03 03:26:37 DEBUG : dir: forgetting directory cache 2024/10/03 03:26:38 DEBUG : WaitForWriters: timeout=30s 2024/10/03 03:26:38 DEBUG : dir: Looking for writers 2024/10/03 03:26:38 DEBUG : fil/a/b: Looking for writers 2024/10/03 03:26:38 DEBUG : fil/a: Looking for writers 2024/10/03 03:26:38 DEBUG : b: reading active writers 2024/10/03 03:26:38 DEBUG : fil: Looking for writers 2024/10/03 03:26:38 DEBUG : a: reading active writers 2024/10/03 03:26:38 DEBUG : : Looking for writers 2024/10/03 03:26:38 DEBUG : dir: reading active writers 2024/10/03 03:26:38 DEBUG : fil: reading active writers 2024/10/03 03:26:38 DEBUG : >WaitForWriters: --- PASS: TestDirWalk (41.98s) === RUN TestDirSetModTime run.go:180: Remote "Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi'", Local "Local file system at /tmp/rclone2570629509", Modify Window "1ns" 2024/10/03 03:26:58 INFO : Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi': poll-interval is not supported by this remote 2024/10/03 03:26:58 DEBUG : dir/file1: md5 = edea8ceb74560c7076585bc2440cf5a3 OK 2024/10/03 03:26:59 DEBUG : WaitForWriters: timeout=30s 2024/10/03 03:26:59 DEBUG : dir: Looking for writers 2024/10/03 03:26:59 DEBUG : : Looking for writers 2024/10/03 03:26:59 DEBUG : dir: reading active writers 2024/10/03 03:26:59 DEBUG : >WaitForWriters: --- PASS: TestDirSetModTime (20.82s) === RUN TestFileOpenWrite run.go:180: Remote "Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi'", Local "Local file system at /tmp/rclone2570629509", Modify Window "1ns" 2024/10/03 03:27:19 INFO : Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi': poll-interval is not supported by this remote 2024/10/03 03:27:19 DEBUG : dir/file1: md5 = 60a215f21c55c69581cd0d3e275e9ff6 OK 2024/10/03 03:27:20 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/03 03:27:20 DEBUG : Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi': File to upload is small (25 bytes), uploading instead of streaming 2024/10/03 03:27:20 DEBUG : dir/file1: md5 = 814292f47cc4a8f9b7938419f61ec034 OK 2024/10/03 03:27:20 NOTICE: Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2024/10/03 03:27:20 DEBUG : dir/file1: Size of src and dst objects identical 2024/10/03 03:27:20 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/03 03:27:20 DEBUG : WaitForWriters: timeout=30s 2024/10/03 03:27:20 DEBUG : dir: Looking for writers 2024/10/03 03:27:20 DEBUG : file1: reading active writers 2024/10/03 03:27:20 DEBUG : : Looking for writers 2024/10/03 03:27:20 DEBUG : dir: reading active writers 2024/10/03 03:27:20 DEBUG : >WaitForWriters: --- PASS: TestFileOpenWrite (1.73s) === RUN TestFileRemoveAll run.go:180: Remote "Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi'", Local "Local file system at /tmp/rclone2570629509", Modify Window "1ns" 2024/10/03 03:27:21 INFO : Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi': poll-interval is not supported by this remote 2024/10/03 03:27:21 DEBUG : dir/file1: md5 = 93d11c19a2458c8dfa50396460776133 OK 2024/10/03 03:27:21 DEBUG : dir/file1: Remove: 2024/10/03 03:27:41 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/03 03:27:41 DEBUG : dir/file1: >Remove: err= 2024/10/03 03:27:42 DEBUG : dir/file1: Remove: 2024/10/03 03:27:42 DEBUG : dir/file1: >Remove: err=Read only file system 2024/10/03 03:27:42 DEBUG : WaitForWriters: timeout=30s 2024/10/03 03:27:42 DEBUG : dir: Looking for writers 2024/10/03 03:27:42 DEBUG : : Looking for writers 2024/10/03 03:27:42 DEBUG : dir: reading active writers 2024/10/03 03:27:42 DEBUG : >WaitForWriters: --- PASS: TestFileRemoveAll (20.93s) === RUN TestFileRename === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi'", Local "Local file system at /tmp/rclone2570629509", Modify Window "1ns" 2024/10/03 03:27:42 INFO : Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi': poll-interval is not supported by this remote 2024/10/03 03:27:42 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/03 03:27:42 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestCryptSwift/rclone-test-kijapem1dabi" 2024/10/03 03:27:42 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestCryptSwift/rclone-test-kijapem1dabi" 2024/10/03 03:27:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestCryptSwift/rclone-test-kijapem1dabi" 2024/10/03 03:27:42 DEBUG : Config file has changed externally - reloading 2024/10/03 03:27:42 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/03 03:27:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestCryptSwift/rclone-test-kijapem1dabi" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestCryptSwift/rclone-test-kijapem1dabi" 2024/10/03 03:27:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestCryptSwift/rclone-test-kijapem1dabi" 2024/10/03 03:27:42 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/03 03:27:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestCryptSwift/rclone-test-kijapem1dabi" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestCryptSwift/rclone-test-kijapem1dabi" 2024/10/03 03:27:42 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/03 03:28:02 DEBUG : dir/file1: md5 = 29eeb3df326773af12dcb7cde4c4e8f9 OK 2024/10/03 03:28:02 DEBUG : WaitForWriters: timeout=30s 2024/10/03 03:28:02 DEBUG : dir: Looking for writers 2024/10/03 03:28:02 DEBUG : file1: reading active writers 2024/10/03 03:28:02 DEBUG : : Looking for writers 2024/10/03 03:28:02 DEBUG : dir: reading active writers 2024/10/03 03:28:02 DEBUG : >WaitForWriters: 2024/10/03 03:28:04 INFO : dir/file1: Copied (server-side copy) to: newLeaf 2024/10/03 03:28:24 INFO : dir/file1: Deleted 2024/10/03 03:28:24 DEBUG : newLeaf: Updating file with newLeaf 0xc0002c0c00 2024/10/03 03:28:24 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/03 03:28:24 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/03 03:28:24 INFO : newLeaf: Copied (server-side copy) to: dir/file1 2024/10/03 03:28:24 INFO : newLeaf: Deleted 2024/10/03 03:28:24 DEBUG : dir/file1: Updating file with dir/file1 0xc0002c0c00 2024/10/03 03:28:24 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/03 03:28:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/03 03:28:24 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/03 03:28:24 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/10/03 03:28:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/03 03:28:24 DEBUG : dir/file1: File is currently open, delaying rename 0xc0002c0c00 2024/10/03 03:28:24 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/03 03:28:24 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/03 03:28:24 DEBUG : Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi': File to upload is small (25 bytes), uploading instead of streaming 2024/10/03 03:28:42 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2024/10/03 03:28:42 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2024/10/03 03:28:42 INFO : vfs cache: cleaned: objects 2 (was 2) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/03 03:28:45 DEBUG : dir/file1: md5 = be43de109aad04a818b6ab1315f8ddcd OK 2024/10/03 03:28:45 DEBUG : dir/file1: Size of src and dst objects identical 2024/10/03 03:28:45 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/03 03:28:45 DEBUG : newLeaf: Running delayed rename now 2024/10/03 03:28:45 INFO : dir/file1: Copied (server-side copy) to: newLeaf 2024/10/03 03:28:45 INFO : dir/file1: Deleted 2024/10/03 03:28:45 DEBUG : newLeaf: Updating file with newLeaf 0xc0002c0c00 2024/10/03 03:28:45 DEBUG : WaitForWriters: timeout=30s 2024/10/03 03:28:45 DEBUG : dir: Looking for writers 2024/10/03 03:28:45 DEBUG : : Looking for writers 2024/10/03 03:28:45 DEBUG : dir: reading active writers 2024/10/03 03:28:45 DEBUG : newLeaf: reading active writers 2024/10/03 03:28:45 DEBUG : >WaitForWriters: 2024/10/03 03:28:45 DEBUG : WaitForWriters: timeout=30s 2024/10/03 03:28:45 DEBUG : dir: Looking for writers 2024/10/03 03:28:45 DEBUG : : Looking for writers 2024/10/03 03:28:45 DEBUG : newLeaf: reading active writers 2024/10/03 03:28:45 DEBUG : dir: reading active writers 2024/10/03 03:28:45 DEBUG : >WaitForWriters: 2024/10/03 03:28:45 DEBUG : vfs cache: cleaner exiting --- PASS: TestFileRename (63.92s) --- PASS: TestFileRename/minimal,forceCache=false (63.92s) === RUN TestReadFileHandleReadAt run.go:180: Remote "Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi'", Local "Local file system at /tmp/rclone2570629509", Modify Window "1ns" 2024/10/03 03:28:46 INFO : Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi': poll-interval is not supported by this remote 2024/10/03 03:29:06 DEBUG : dir/file1: md5 = c0f9b2cf699a32a3a78698d418b64e32 OK 2024/10/03 03:29:06 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/03 03:29:06 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/03 03:29:06 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/10/03 03:29:06 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/10/03 03:29:06 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/03 03:29:06 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2024/10/03 03:29:06 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2024/10/03 03:29:06 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2024/10/03 03:29:06 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2024/10/03 03:29:06 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2024/10/03 03:29:06 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2024/10/03 03:29:06 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2024/10/03 03:29:06 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2024/10/03 03:29:06 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2024/10/03 03:29:06 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2024/10/03 03:29:06 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2024/10/03 03:29:06 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2024/10/03 03:29:06 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2024/10/03 03:29:06 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2024/10/03 03:29:06 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2024/10/03 03:29:06 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2024/10/03 03:29:06 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2024/10/03 03:29:06 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2024/10/03 03:29:06 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2024/10/03 03:29:06 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2024/10/03 03:29:06 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2024/10/03 03:29:06 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2024/10/03 03:29:06 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2024/10/03 03:29:06 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2024/10/03 03:29:06 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2024/10/03 03:29:06 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2024/10/03 03:29:06 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2024/10/03 03:29:06 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2024/10/03 03:29:06 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2024/10/03 03:29:06 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2024/10/03 03:29:06 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2024/10/03 03:29:06 DEBUG : WaitForWriters: timeout=30s 2024/10/03 03:29:06 DEBUG : dir: Looking for writers 2024/10/03 03:29:06 DEBUG : file1: reading active writers 2024/10/03 03:29:06 DEBUG : : Looking for writers 2024/10/03 03:29:06 DEBUG : dir: reading active writers 2024/10/03 03:29:06 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (21.02s) === RUN TestVFSOpenFile run.go:180: Remote "Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi'", Local "Local file system at /tmp/rclone2570629509", Modify Window "1ns" 2024/10/03 03:29:07 INFO : Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi': poll-interval is not supported by this remote 2024/10/03 03:29:07 DEBUG : file1: md5 = 0ddffcd79692472c6ca1278b42623e23 OK 2024/10/03 03:29:27 DEBUG : dir/file2: md5 = c5c965b8ad281082cd38b8b71481fbdd OK 2024/10/03 03:29:27 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/03 03:29:27 DEBUG : file1: Open: flags=O_RDONLY 2024/10/03 03:29:27 DEBUG : file1: >Open: fd=file1 (r), err= 2024/10/03 03:29:27 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2024/10/03 03:29:27 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/03 03:29:27 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2024/10/03 03:29:27 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/03 03:29:28 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2024/10/03 03:29:28 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/03 03:29:28 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2024/10/03 03:29:28 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2024/10/03 03:29:28 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2024/10/03 03:29:28 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2024/10/03 03:29:28 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2024/10/03 03:29:28 DEBUG : Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi': File to upload is small (0 bytes), uploading instead of streaming 2024/10/03 03:29:28 DEBUG : dir/new_file.txt: md5 = 400eadef544fd4e7cef0b8811b9df5cc OK 2024/10/03 03:29:28 DEBUG : dir/new_file.txt: Size of src and dst objects identical 2024/10/03 03:29:28 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2024/10/03 03:29:28 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/03 03:29:28 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2024/10/03 03:29:28 DEBUG : WaitForWriters: timeout=30s 2024/10/03 03:29:28 DEBUG : dir: Looking for writers 2024/10/03 03:29:28 DEBUG : new_file.txt: reading active writers 2024/10/03 03:29:28 DEBUG : file2: reading active writers 2024/10/03 03:29:28 DEBUG : : Looking for writers 2024/10/03 03:29:28 DEBUG : dir: reading active writers 2024/10/03 03:29:28 DEBUG : file1: reading active writers 2024/10/03 03:29:28 DEBUG : >WaitForWriters: --- PASS: TestVFSOpenFile (42.29s) PASS 2024/10/03 03:29:49 DEBUG : Encrypted drive 'TestCryptSwift:rclone-test-kijapem1dabi': Purge remote 2024/10/03 03:29:49 DEBUG : Waiting for deletions to finish "./vfs.test -test.v -test.timeout 1h0m0s -remote TestCryptSwift: -verbose -test.run '^(TestDirSetModTime|TestDirWalk|TestFileOpenWrite|TestFileRemoveAll|TestReadFileHandleReadAt|TestVFSOpenFile)$|^TestFileRename$/^minimal,forceCache=false$'" - Finished OK in 3m34.046158953s (try 2/5)