"./vfs.test -test.v -test.timeout 1h0m0s -remote TestHubic: -verbose -test.run '^(TestCaseSensitivity|TestDirCreate|TestDirForgetAll|TestDirForgetPath|TestDirHandleReaddir|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestFileRename|TestFileSetModTime|TestRWFileHandleFlushWrite|TestRcGetVFS|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSNew|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters)$/^(cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true|minimal,forceCache=false|off,forceCache=false|writes,forceCache=true)$'" - Starting (try 2/5) 2021/06/01 05:11:55 DEBUG : Creating backend with remote "TestHubic:rclone-test-xapapic0sodoter0ramirik3" 2021/06/01 05:11:55 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2021/06/01 05:11:56 DEBUG : Hubic: Got swift credentials (expiry 2021-06-02 07:01:49 +0200 +0200 in 23h49m52.939890972s) 2021/06/01 05:11:56 DEBUG : Creating backend with remote "/tmp/rclone756981349" === RUN TestDirHandleReaddir run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:11:56 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:11:56 INFO : Swift container rclone-test-xapapic0sodoter0ramirik3: Container "rclone-test-xapapic0sodoter0ramirik3" created 2021/06/01 05:12:02 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:12:02 DEBUG : dir/subdir: Looking for writers 2021/06/01 05:12:02 DEBUG : dir: Looking for writers 2021/06/01 05:12:02 DEBUG : file1: reading active writers 2021/06/01 05:12:02 DEBUG : file2: reading active writers 2021/06/01 05:12:02 DEBUG : subdir: reading active writers 2021/06/01 05:12:02 DEBUG : : Looking for writers 2021/06/01 05:12:02 DEBUG : dir: reading active writers 2021/06/01 05:12:02 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddir (10.36s) === RUN TestDirForgetAll run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:12:06 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:12:09 DEBUG : dir: forgetting directory cache 2021/06/01 05:12:09 DEBUG : : forgetting directory cache 2021/06/01 05:12:09 DEBUG : dir: forgetting directory cache 2021/06/01 05:12:09 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:12:09 DEBUG : : Looking for writers 2021/06/01 05:12:09 DEBUG : >WaitForWriters: --- PASS: TestDirForgetAll (3.80s) === RUN TestDirForgetPath run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:12:10 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:12:12 DEBUG : : ForgetPath: relativePath="dir/notfound", type=3 2021/06/01 05:12:12 DEBUG : dir: invalidating directory cache 2021/06/01 05:12:12 DEBUG : : >ForgetPath: 2021/06/01 05:12:12 DEBUG : : ForgetPath: relativePath="dir", type=2 2021/06/01 05:12:12 DEBUG : : invalidating directory cache 2021/06/01 05:12:12 DEBUG : dir: forgetting directory cache 2021/06/01 05:12:12 DEBUG : : >ForgetPath: 2021/06/01 05:12:12 DEBUG : : ForgetPath: relativePath="not/in/cache", type=2 2021/06/01 05:12:12 DEBUG : : >ForgetPath: 2021/06/01 05:12:12 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:12:12 DEBUG : dir: Looking for writers 2021/06/01 05:12:12 DEBUG : : Looking for writers 2021/06/01 05:12:12 DEBUG : dir: reading active writers 2021/06/01 05:12:12 DEBUG : >WaitForWriters: --- PASS: TestDirForgetPath (6.43s) === RUN TestDirWalk run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:12:16 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:12:21 DEBUG : : forgetting directory cache 2021/06/01 05:12:21 DEBUG : dir: forgetting directory cache 2021/06/01 05:12:21 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:12:21 DEBUG : dir: Looking for writers 2021/06/01 05:12:21 DEBUG : fil/a/b: Looking for writers 2021/06/01 05:12:21 DEBUG : fil/a: Looking for writers 2021/06/01 05:12:21 DEBUG : b: reading active writers 2021/06/01 05:12:21 DEBUG : fil: Looking for writers 2021/06/01 05:12:21 DEBUG : a: reading active writers 2021/06/01 05:12:21 DEBUG : : Looking for writers 2021/06/01 05:12:21 DEBUG : dir: reading active writers 2021/06/01 05:12:21 DEBUG : fil: reading active writers 2021/06/01 05:12:21 DEBUG : >WaitForWriters: --- PASS: TestDirWalk (8.16s) === RUN TestDirSetModTime run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:12:24 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:12:27 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:12:27 DEBUG : dir: Looking for writers 2021/06/01 05:12:27 DEBUG : : Looking for writers 2021/06/01 05:12:27 DEBUG : dir: reading active writers 2021/06/01 05:12:27 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:293: Sleeping for 6s just to make sure --- PASS: TestDirSetModTime (10.59s) === RUN TestDirStat run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:12:35 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:12:38 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:12:38 DEBUG : dir: Looking for writers 2021/06/01 05:12:38 DEBUG : file1: reading active writers 2021/06/01 05:12:38 DEBUG : : Looking for writers 2021/06/01 05:12:38 DEBUG : dir: reading active writers 2021/06/01 05:12:38 DEBUG : >WaitForWriters: --- PASS: TestDirStat (3.92s) === RUN TestDirReadDirAll run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:12:39 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:12:48 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:12:48 DEBUG : dir/subdir: Looking for writers 2021/06/01 05:12:48 DEBUG : file3: reading active writers 2021/06/01 05:12:48 DEBUG : dir: Looking for writers 2021/06/01 05:12:48 DEBUG : file1: reading active writers 2021/06/01 05:12:48 DEBUG : file2: reading active writers 2021/06/01 05:12:48 DEBUG : subdir: reading active writers 2021/06/01 05:12:48 DEBUG : : Looking for writers 2021/06/01 05:12:48 DEBUG : dir: reading active writers 2021/06/01 05:12:48 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:169 run.go:339 vfs_test.go:54 dir_test.go:334 Error: Should be true Test: TestDirReadDirAll Messages: listing wrong, want got dir/subdir/file3 (16) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:169 run.go:339 vfs_test.go:54 dir_test.go:334 Error: Should be true Test: TestDirReadDirAll Messages: Unexpected file "dir/subdir/file3" --- FAIL: TestDirReadDirAll (18.74s) === RUN TestDirOpen run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:12:58 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:293: Sleeping for 7s just to make sure 2021/06/01 05:13:11 ERROR : dir/: Can only open directories read only 2021/06/01 05:13:11 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:13:11 DEBUG : dir: Looking for writers 2021/06/01 05:13:11 DEBUG : : Looking for writers 2021/06/01 05:13:11 DEBUG : dir: reading active writers 2021/06/01 05:13:11 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:169 run.go:339 vfs_test.go:54 dir_test.go:348 Error: Should be true Test: TestDirOpen Messages: listing wrong, want got dir/file1 (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:169 run.go:339 vfs_test.go:54 dir_test.go:348 Error: Should be true Test: TestDirOpen Messages: Unexpected file "dir/file1" --- FAIL: TestDirOpen (21.55s) === RUN TestDirCreate run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:13:19 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:13:22 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2021/06/01 05:13:22 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2021/06/01 05:13:22 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2021/06/01 05:13:22 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2021/06/01 05:13:22 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: File to upload is small (5 bytes), uploading instead of streaming 2021/06/01 05:13:24 DEBUG : dir/potato: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2021/06/01 05:13:24 INFO : dir/potato: Copied (new) 2021/06/01 05:13:24 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2021/06/01 05:13:24 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:13:24 DEBUG : dir: Looking for writers 2021/06/01 05:13:24 DEBUG : file1: reading active writers 2021/06/01 05:13:24 DEBUG : potato: reading active writers 2021/06/01 05:13:24 DEBUG : : Looking for writers 2021/06/01 05:13:24 DEBUG : dir: reading active writers 2021/06/01 05:13:24 DEBUG : >WaitForWriters: --- PASS: TestDirCreate (6.26s) === RUN TestDirMkdir run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:13:25 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:13:28 DEBUG : dir: Added virtual directory entry vAddDir: "sub" fstest.go:251: Filtering empty directory "dir/sub" 2021/06/01 05:13:29 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:13:29 DEBUG : dir/sub: Looking for writers 2021/06/01 05:13:29 DEBUG : dir: Looking for writers 2021/06/01 05:13:29 DEBUG : file1: reading active writers 2021/06/01 05:13:29 DEBUG : sub: reading active writers 2021/06/01 05:13:29 DEBUG : : Looking for writers 2021/06/01 05:13:29 DEBUG : dir: reading active writers 2021/06/01 05:13:29 DEBUG : >WaitForWriters: --- PASS: TestDirMkdir (4.68s) === RUN TestDirMkdirSub run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:13:30 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:13:33 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2021/06/01 05:13:33 DEBUG : dir/sub: Added virtual directory entry vAddDir: "subsub" fstest.go:251: Filtering empty directory "dir/sub" fstest.go:251: Filtering empty directory "dir/sub/subsub" 2021/06/01 05:13:33 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:13:33 DEBUG : dir/sub/subsub: Looking for writers 2021/06/01 05:13:33 DEBUG : dir/sub: Looking for writers 2021/06/01 05:13:33 DEBUG : subsub: reading active writers 2021/06/01 05:13:33 DEBUG : dir: Looking for writers 2021/06/01 05:13:33 DEBUG : file1: reading active writers 2021/06/01 05:13:33 DEBUG : sub: reading active writers 2021/06/01 05:13:33 DEBUG : : Looking for writers 2021/06/01 05:13:33 DEBUG : dir: reading active writers 2021/06/01 05:13:33 DEBUG : >WaitForWriters: --- PASS: TestDirMkdirSub (5.02s) === RUN TestDirRemove run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:13:35 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:13:38 ERROR : dir/: Dir.Remove not empty 2021/06/01 05:13:38 DEBUG : dir/file1: Remove: 2021/06/01 05:13:38 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/06/01 05:13:39 DEBUG : dir/file1: >Remove: err= 2021/06/01 05:13:39 DEBUG : : Added virtual directory entry vDel: "dir" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:293: Sleeping for 6s just to make sure 2021/06/01 05:13:46 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:13:46 DEBUG : : Looking for writers 2021/06/01 05:13:46 DEBUG : >WaitForWriters: --- PASS: TestDirRemove (11.45s) === RUN TestDirRemoveAll run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:13:47 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:13:49 DEBUG : dir/file1: Remove: 2021/06/01 05:13:49 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/06/01 05:13:50 DEBUG : dir/file1: >Remove: err= 2021/06/01 05:13:50 DEBUG : : Added virtual directory entry vDel: "dir" 2021/06/01 05:13:50 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:13:50 DEBUG : : Looking for writers 2021/06/01 05:13:50 DEBUG : >WaitForWriters: --- PASS: TestDirRemoveAll (5.00s) === RUN TestDirRemoveName run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:13:52 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:13:53 DEBUG : dir/file1: Remove: 2021/06/01 05:13:53 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/06/01 05:13:54 DEBUG : dir/file1: >Remove: err= fstest.go:251: Filtering empty directory "dir" 2021/06/01 05:13:54 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:13:54 DEBUG : dir: Looking for writers 2021/06/01 05:13:54 DEBUG : : Looking for writers 2021/06/01 05:13:54 DEBUG : dir: reading active writers 2021/06/01 05:13:54 DEBUG : >WaitForWriters: --- PASS: TestDirRemoveName (3.14s) === RUN TestDirRename run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:13:55 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 dir_test.go:22 dir_test.go:521 Error: Should be true Test: TestDirRename Messages: listing wrong, want dir/file1 (14) got fstest.go:204: Not found "dir/file1" fstest.go:207: Error Trace: fstest.go:207 fstest.go:311 fstest.go:339 fstest.go:351 dir_test.go:22 dir_test.go:521 Error: Not equal: expected: 0 actual : 1 Test: TestDirRename Messages: 1 objects not found dir_test.go:25: Error Trace: dir_test.go:25 dir_test.go:521 Error: Received unexpected error: file does not exist Test: TestDirRename --- FAIL: TestDirRename (10.51s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:14:05 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:14:12 DEBUG : Can set mod time: true 2021/06/01 05:14:13 DEBUG : dir/file1: Applied pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC OK 2021/06/01 05:14:13 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:14:13 DEBUG : dir: Looking for writers 2021/06/01 05:14:13 DEBUG : file1: reading active writers 2021/06/01 05:14:13 DEBUG : : Looking for writers 2021/06/01 05:14:13 DEBUG : dir: reading active writers 2021/06/01 05:14:13 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:14:15 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:14:18 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/06/01 05:14:18 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2021/06/01 05:14:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/06/01 05:14:18 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: File to upload is small (0 bytes), uploading instead of streaming 2021/06/01 05:14:20 DEBUG : dir/file1: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2021/06/01 05:14:20 INFO : dir/file1: Copied (new) 2021/06/01 05:14:21 DEBUG : dir/file1: Applied pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC OK 2021/06/01 05:14:21 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/06/01 05:14:21 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:14:21 DEBUG : dir: Looking for writers 2021/06/01 05:14:21 DEBUG : file1: reading active writers 2021/06/01 05:14:21 DEBUG : : Looking for writers 2021/06/01 05:14:21 DEBUG : dir: reading active writers 2021/06/01 05:14:21 DEBUG : >WaitForWriters: 2021/06/01 05:14:23 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:14:23 DEBUG : dir: Looking for writers 2021/06/01 05:14:23 DEBUG : file1: reading active writers 2021/06/01 05:14:23 DEBUG : : Looking for writers 2021/06/01 05:14:23 DEBUG : dir: reading active writers 2021/06/01 05:14:23 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:14:24 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:14:28 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/06/01 05:14:28 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2021/06/01 05:14:28 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/06/01 05:14:28 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: File to upload is small (5 bytes), uploading instead of streaming 2021/06/01 05:14:30 DEBUG : dir/file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2021/06/01 05:14:30 INFO : dir/file1: Copied (new) 2021/06/01 05:14:30 DEBUG : dir/file1: Applied pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC OK 2021/06/01 05:14:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/06/01 05:14:30 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:14:30 DEBUG : dir: Looking for writers 2021/06/01 05:14:30 DEBUG : file1: reading active writers 2021/06/01 05:14:30 DEBUG : : Looking for writers 2021/06/01 05:14:30 DEBUG : dir: reading active writers 2021/06/01 05:14:30 DEBUG : >WaitForWriters: 2021/06/01 05:14:31 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:14:31 DEBUG : dir: Looking for writers 2021/06/01 05:14:31 DEBUG : file1: reading active writers 2021/06/01 05:14:31 DEBUG : : Looking for writers 2021/06/01 05:14:31 DEBUG : dir: reading active writers 2021/06/01 05:14:31 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:293: Sleeping for 6s just to make sure --- PASS: TestFileSetModTime (33.67s) --- PASS: TestFileSetModTime/cache=off,open=false,write=false (9.93s) --- PASS: TestFileSetModTime/cache=off,open=true,write=false (8.99s) --- PASS: TestFileSetModTime/cache=off,open=true,write=true (14.75s) === RUN TestFileOpenRead run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:14:39 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:14:42 DEBUG : dir/file1: Open: flags=O_RDONLY 2021/06/01 05:14:42 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2021/06/01 05:14:42 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2021/06/01 05:14:43 DEBUG : dir/file1: ChunkedReader.Read at 0 length 512 chunkOffset 0 chunkSize 134217728 2021/06/01 05:14:43 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:14:43 DEBUG : dir: Looking for writers 2021/06/01 05:14:43 DEBUG : file1: reading active writers 2021/06/01 05:14:43 DEBUG : : Looking for writers 2021/06/01 05:14:43 DEBUG : dir: reading active writers 2021/06/01 05:14:43 DEBUG : >WaitForWriters: --- PASS: TestFileOpenRead (5.14s) === RUN TestFileOpenWrite run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:14:44 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 file_test.go:27 file_test.go:232 Error: Should be true Test: TestFileOpenWrite Messages: listing wrong, want dir/file1 (14) got fstest.go:204: Not found "dir/file1" fstest.go:207: Error Trace: fstest.go:207 fstest.go:311 fstest.go:339 fstest.go:351 file_test.go:27 file_test.go:232 Error: Not equal: expected: 0 actual : 1 Test: TestFileOpenWrite Messages: 1 objects not found file_test.go:30: Error Trace: file_test.go:30 file_test.go:232 Error: Received unexpected error: file does not exist Test: TestFileOpenWrite --- FAIL: TestFileOpenWrite (11.11s) === RUN TestFileRemove run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:14:55 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache file_test.go:30: Error Trace: file_test.go:30 file_test.go:252 Error: Received unexpected error: file does not exist Test: TestFileRemove --- FAIL: TestFileRemove (2.08s) === RUN TestFileRemoveAll run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:14:57 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache file_test.go:30: Error Trace: file_test.go:30 file_test.go:266 Error: Received unexpected error: file does not exist Test: TestFileRemoveAll --- FAIL: TestFileRemoveAll (2.11s) === RUN TestFileOpen run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:14:59 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache file_test.go:30: Error Trace: file_test.go:30 file_test.go:280 Error: Received unexpected error: file does not exist Test: TestFileOpen --- FAIL: TestFileOpen (2.71s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:15:02 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache file_test.go:30: Error Trace: file_test.go:30 file_test.go:306 file_test.go:418 Error: Received unexpected error: file does not exist Test: TestFileRename/off,forceCache=false === RUN TestFileRename/minimal,forceCache=false run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:15:04 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:15:04 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestHubic/rclone-test-xapapic0sodoter0ramirik3" 2021/06/01 05:15:04 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestHubic/rclone-test-xapapic0sodoter0ramirik3" 2021/06/01 05:15:04 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestHubic/rclone-test-xapapic0sodoter0ramirik3" 2021/06/01 05:15:04 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2021/06/01 05:15:07 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:15:07 DEBUG : dir: Looking for writers 2021/06/01 05:15:07 DEBUG : file1: reading active writers 2021/06/01 05:15:07 DEBUG : : Looking for writers 2021/06/01 05:15:07 DEBUG : dir: reading active writers 2021/06/01 05:15:07 DEBUG : >WaitForWriters: 2021/06/01 05:15:10 DEBUG : dir/file1: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2021/06/01 05:15:10 INFO : dir/file1: Copied (server-side copy) to: newLeaf 2021/06/01 05:15:10 INFO : dir/file1: Deleted 2021/06/01 05:15:10 DEBUG : newLeaf: Updating file with newLeaf 0xc000792300 2021/06/01 05:15:10 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/06/01 05:15:10 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/06/01 05:15:13 DEBUG : newLeaf: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2021/06/01 05:15:13 INFO : newLeaf: Copied (server-side copy) to: dir/file1 2021/06/01 05:15:13 INFO : newLeaf: Deleted 2021/06/01 05:15:13 DEBUG : dir/file1: Updating file with dir/file1 0xc000792300 2021/06/01 05:15:13 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2021/06/01 05:15:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/06/01 05:15:14 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/06/01 05:15:14 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2021/06/01 05:15:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/06/01 05:15:14 DEBUG : dir/file1: File is currently open, delaying rename 0xc000792300 2021/06/01 05:15:14 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/06/01 05:15:14 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/06/01 05:15:14 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: File to upload is small (25 bytes), uploading instead of streaming 2021/06/01 05:15:16 DEBUG : dir/file1: md5 = c7247bead226dfd7bd970c17229f4044 OK 2021/06/01 05:15:16 INFO : dir/file1: Copied (new) 2021/06/01 05:15:16 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/06/01 05:15:16 DEBUG : newLeaf: Running delayed rename now 2021/06/01 05:15:18 DEBUG : dir/file1: md5 = c7247bead226dfd7bd970c17229f4044 OK 2021/06/01 05:15:18 INFO : dir/file1: Copied (server-side copy) to: newLeaf 2021/06/01 05:15:18 INFO : dir/file1: Deleted 2021/06/01 05:15:18 DEBUG : newLeaf: Updating file with newLeaf 0xc000792300 2021/06/01 05:15:18 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:15:18 DEBUG : dir: Looking for writers 2021/06/01 05:15:18 DEBUG : : Looking for writers 2021/06/01 05:15:18 DEBUG : dir: reading active writers 2021/06/01 05:15:18 DEBUG : newLeaf: reading active writers 2021/06/01 05:15:18 DEBUG : >WaitForWriters: 2021/06/01 05:15:19 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:15:19 DEBUG : dir: Looking for writers 2021/06/01 05:15:19 DEBUG : : Looking for writers 2021/06/01 05:15:19 DEBUG : dir: reading active writers 2021/06/01 05:15:19 DEBUG : newLeaf: reading active writers 2021/06/01 05:15:19 DEBUG : >WaitForWriters: 2021/06/01 05:15:19 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:15:20 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:15:20 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestHubic/rclone-test-xapapic0sodoter0ramirik3" 2021/06/01 05:15:20 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestHubic/rclone-test-xapapic0sodoter0ramirik3" 2021/06/01 05:15:20 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestHubic/rclone-test-xapapic0sodoter0ramirik3" 2021/06/01 05:15:20 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2021/06/01 05:15:23 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2021/06/01 05:15:23 DEBUG : dir/file1: newRWFileHandle: 2021/06/01 05:15:23 DEBUG : dir/file1(0xc000a17000): openPending: 2021/06/01 05:15:23 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2021/06/01 05:15:23 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/06/01 05:15:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/06/01 05:15:23 DEBUG : dir/file1(0xc000a17000): >openPending: err= 2021/06/01 05:15:23 DEBUG : dir/file1: vfs cache: truncate to size=0 2021/06/01 05:15:23 DEBUG : dir/file1: >newRWFileHandle: err= 2021/06/01 05:15:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/06/01 05:15:23 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/06/01 05:15:23 DEBUG : dir/file1(0xc000a17000): _writeAt: size=14, off=0 2021/06/01 05:15:23 DEBUG : dir/file1(0xc000a17000): >_writeAt: n=14, err= 2021/06/01 05:15:23 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2021/06/01 05:15:23 DEBUG : dir/file1(0xc000a17000): close: 2021/06/01 05:15:23 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2021/06/01 05:15:23 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2021/06/01 05:15:23 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2021/06/01 05:15:23 DEBUG : dir/file1(0xc000a17000): >close: err= 2021/06/01 05:15:23 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:15:23 DEBUG : dir: Looking for writers 2021/06/01 05:15:23 DEBUG : file1: reading active writers 2021/06/01 05:15:23 DEBUG : : Looking for writers 2021/06/01 05:15:23 DEBUG : dir: reading active writers 2021/06/01 05:15:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2021/06/01 05:15:23 DEBUG : dir: Looking for writers 2021/06/01 05:15:23 DEBUG : file1: reading active writers 2021/06/01 05:15:23 DEBUG : : Looking for writers 2021/06/01 05:15:23 DEBUG : dir: reading active writers 2021/06/01 05:15:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2021/06/01 05:15:23 DEBUG : dir: Looking for writers 2021/06/01 05:15:23 DEBUG : file1: reading active writers 2021/06/01 05:15:23 DEBUG : : Looking for writers 2021/06/01 05:15:23 DEBUG : dir: reading active writers 2021/06/01 05:15:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2021/06/01 05:15:23 DEBUG : dir: Looking for writers 2021/06/01 05:15:23 DEBUG : file1: reading active writers 2021/06/01 05:15:23 DEBUG : : Looking for writers 2021/06/01 05:15:23 DEBUG : dir: reading active writers 2021/06/01 05:15:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2021/06/01 05:15:23 DEBUG : dir/file1: vfs cache: starting upload 2021/06/01 05:15:23 DEBUG : dir: Looking for writers 2021/06/01 05:15:23 DEBUG : file1: reading active writers 2021/06/01 05:15:23 DEBUG : : Looking for writers 2021/06/01 05:15:23 DEBUG : dir: reading active writers 2021/06/01 05:15:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2021/06/01 05:15:24 DEBUG : dir: Looking for writers 2021/06/01 05:15:24 DEBUG : file1: reading active writers 2021/06/01 05:15:24 DEBUG : : Looking for writers 2021/06/01 05:15:24 DEBUG : dir: reading active writers 2021/06/01 05:15:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2021/06/01 05:15:24 DEBUG : dir: Looking for writers 2021/06/01 05:15:24 DEBUG : file1: reading active writers 2021/06/01 05:15:24 DEBUG : : Looking for writers 2021/06/01 05:15:24 DEBUG : dir: reading active writers 2021/06/01 05:15:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2021/06/01 05:15:25 DEBUG : dir: Looking for writers 2021/06/01 05:15:25 DEBUG : file1: reading active writers 2021/06/01 05:15:25 DEBUG : : Looking for writers 2021/06/01 05:15:25 DEBUG : dir: reading active writers 2021/06/01 05:15:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/06/01 05:15:26 DEBUG : dir: Looking for writers 2021/06/01 05:15:26 DEBUG : file1: reading active writers 2021/06/01 05:15:26 DEBUG : : Looking for writers 2021/06/01 05:15:26 DEBUG : dir: reading active writers 2021/06/01 05:15:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/06/01 05:15:27 DEBUG : dir: Looking for writers 2021/06/01 05:15:27 DEBUG : file1: reading active writers 2021/06/01 05:15:27 DEBUG : : Looking for writers 2021/06/01 05:15:27 DEBUG : dir: reading active writers 2021/06/01 05:15:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/06/01 05:15:27 DEBUG : dir/file1: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2021/06/01 05:15:27 INFO : dir/file1: Copied (replaced existing) 2021/06/01 05:15:27 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2021/06/01 05:15:27 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2021/06/01 05:15:27 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/06/01 05:15:27 INFO : dir/file1: vfs cache: upload succeeded try #1 2021/06/01 05:15:28 DEBUG : dir: Looking for writers 2021/06/01 05:15:28 DEBUG : file1: reading active writers 2021/06/01 05:15:28 DEBUG : : Looking for writers 2021/06/01 05:15:28 DEBUG : dir: reading active writers 2021/06/01 05:15:28 DEBUG : >WaitForWriters: 2021/06/01 05:15:28 DEBUG : dir/file1: Open: flags=O_RDONLY 2021/06/01 05:15:28 DEBUG : dir/file1: newRWFileHandle: 2021/06/01 05:15:28 DEBUG : dir/file1: >newRWFileHandle: err= 2021/06/01 05:15:28 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/06/01 05:15:28 DEBUG : dir/file1(0xc00043a6c0): _readAt: size=512, off=0 2021/06/01 05:15:28 DEBUG : dir/file1(0xc00043a6c0): openPending: 2021/06/01 05:15:28 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2021/06/01 05:15:28 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/06/01 05:15:28 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/06/01 05:15:28 DEBUG : dir/file1(0xc00043a6c0): >openPending: err= 2021/06/01 05:15:28 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2021/06/01 05:15:28 DEBUG : dir/file1(0xc00043a6c0): >_readAt: n=14, err=EOF 2021/06/01 05:15:28 DEBUG : dir/file1(0xc00043a6c0): close: 2021/06/01 05:15:28 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2021/06/01 05:15:28 DEBUG : dir/file1(0xc00043a6c0): >close: err= 2021/06/01 05:15:30 DEBUG : dir/file1: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2021/06/01 05:15:30 INFO : dir/file1: Copied (server-side copy) to: newLeaf 2021/06/01 05:15:31 INFO : dir/file1: Deleted 2021/06/01 05:15:31 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2021/06/01 05:15:31 DEBUG : newLeaf: Updating file with newLeaf 0xc000a6a6c0 2021/06/01 05:15:31 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/06/01 05:15:31 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want newLeaf (14) got fstest.go:204: Not found "newLeaf" fstest.go:207: Error Trace: fstest.go:207 fstest.go:311 fstest.go:339 fstest.go:351 file_test.go:350 file_test.go:418 Error: Not equal: expected: 0 actual : 1 Test: TestFileRename/writes,forceCache=true Messages: 1 objects not found 2021/06/01 05:15:42 DEBUG : newLeaf: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2021/06/01 05:15:42 INFO : newLeaf: Copied (server-side copy) to: dir/file1 2021/06/01 05:15:43 INFO : newLeaf: Deleted 2021/06/01 05:15:43 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2021/06/01 05:15:43 DEBUG : dir/file1: Updating file with dir/file1 0xc000a6a6c0 2021/06/01 05:15:43 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2021/06/01 05:15:43 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/06/01 05:15:44 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/06/01 05:15:44 DEBUG : dir/file1: newRWFileHandle: 2021/06/01 05:15:44 DEBUG : dir/file1(0xc000a177c0): openPending: 2021/06/01 05:15:44 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2021/06/01 05:15:44 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/06/01 05:15:44 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/06/01 05:15:44 DEBUG : dir/file1(0xc000a177c0): >openPending: err= 2021/06/01 05:15:44 DEBUG : dir/file1: vfs cache: truncate to size=0 2021/06/01 05:15:44 DEBUG : dir/file1: >newRWFileHandle: err= 2021/06/01 05:15:44 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/06/01 05:15:44 DEBUG : dir/file1(0xc000a177c0): _writeAt: size=25, off=0 2021/06/01 05:15:44 DEBUG : dir/file1(0xc000a177c0): >_writeAt: n=25, err= 2021/06/01 05:15:46 DEBUG : dir/file1: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2021/06/01 05:15:46 INFO : dir/file1: Copied (server-side copy) to: newLeaf 2021/06/01 05:15:47 INFO : dir/file1: Deleted 2021/06/01 05:15:47 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2021/06/01 05:15:47 DEBUG : newLeaf: Updating file with newLeaf 0xc000a6a6c0 2021/06/01 05:15:47 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/06/01 05:15:47 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/06/01 05:15:47 DEBUG : newLeaf(0xc000a177c0): close: 2021/06/01 05:15:47 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2021/06/01 05:15:47 DEBUG : newLeaf: vfs cache: setting modification time to 2021-06-01 05:15:44.00548784 +0000 UTC m=+228.160357219 2021/06/01 05:15:47 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2021/06/01 05:15:47 DEBUG : newLeaf(0xc000a177c0): >close: err= 2021/06/01 05:15:47 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:15:47 DEBUG : dir: Looking for writers 2021/06/01 05:15:47 DEBUG : : Looking for writers 2021/06/01 05:15:47 DEBUG : dir: reading active writers 2021/06/01 05:15:47 DEBUG : newLeaf: reading active writers 2021/06/01 05:15:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2021/06/01 05:15:47 DEBUG : dir: Looking for writers 2021/06/01 05:15:47 DEBUG : : Looking for writers 2021/06/01 05:15:47 DEBUG : dir: reading active writers 2021/06/01 05:15:47 DEBUG : newLeaf: reading active writers 2021/06/01 05:15:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2021/06/01 05:15:47 DEBUG : dir: Looking for writers 2021/06/01 05:15:47 DEBUG : : Looking for writers 2021/06/01 05:15:47 DEBUG : dir: reading active writers 2021/06/01 05:15:47 DEBUG : newLeaf: reading active writers 2021/06/01 05:15:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2021/06/01 05:15:47 DEBUG : dir: Looking for writers 2021/06/01 05:15:47 DEBUG : : Looking for writers 2021/06/01 05:15:47 DEBUG : dir: reading active writers 2021/06/01 05:15:47 DEBUG : newLeaf: reading active writers 2021/06/01 05:15:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2021/06/01 05:15:47 DEBUG : newLeaf: vfs cache: starting upload 2021/06/01 05:15:47 DEBUG : dir: Looking for writers 2021/06/01 05:15:47 DEBUG : : Looking for writers 2021/06/01 05:15:47 DEBUG : dir: reading active writers 2021/06/01 05:15:47 DEBUG : newLeaf: reading active writers 2021/06/01 05:15:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2021/06/01 05:15:47 DEBUG : dir: Looking for writers 2021/06/01 05:15:47 DEBUG : : Looking for writers 2021/06/01 05:15:47 DEBUG : dir: reading active writers 2021/06/01 05:15:47 DEBUG : newLeaf: reading active writers 2021/06/01 05:15:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2021/06/01 05:15:47 DEBUG : dir: Looking for writers 2021/06/01 05:15:47 DEBUG : : Looking for writers 2021/06/01 05:15:47 DEBUG : dir: reading active writers 2021/06/01 05:15:47 DEBUG : newLeaf: reading active writers 2021/06/01 05:15:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2021/06/01 05:15:48 DEBUG : dir: Looking for writers 2021/06/01 05:15:48 DEBUG : : Looking for writers 2021/06/01 05:15:48 DEBUG : dir: reading active writers 2021/06/01 05:15:48 DEBUG : newLeaf: reading active writers 2021/06/01 05:15:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/06/01 05:15:49 DEBUG : dir: Looking for writers 2021/06/01 05:15:49 DEBUG : : Looking for writers 2021/06/01 05:15:49 DEBUG : dir: reading active writers 2021/06/01 05:15:49 DEBUG : newLeaf: reading active writers 2021/06/01 05:15:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/06/01 05:15:49 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2021/06/01 05:15:49 INFO : newLeaf: Copied (replaced existing) 2021/06/01 05:15:49 DEBUG : newLeaf: vfs cache: fingerprint now "25,2021-06-01 05:15:44.00548784 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2021/06/01 05:15:49 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2021/06/01 05:15:49 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/06/01 05:15:49 INFO : newLeaf: vfs cache: upload succeeded try #1 2021/06/01 05:15:50 DEBUG : dir: Looking for writers 2021/06/01 05:15:50 DEBUG : : Looking for writers 2021/06/01 05:15:50 DEBUG : dir: reading active writers 2021/06/01 05:15:50 DEBUG : newLeaf: reading active writers 2021/06/01 05:15:50 DEBUG : >WaitForWriters: 2021/06/01 05:15:50 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:15:50 DEBUG : dir: Looking for writers 2021/06/01 05:15:50 DEBUG : : Looking for writers 2021/06/01 05:15:50 DEBUG : newLeaf: reading active writers 2021/06/01 05:15:50 DEBUG : dir: reading active writers 2021/06/01 05:15:50 DEBUG : >WaitForWriters: 2021/06/01 05:15:50 DEBUG : vfs cache: cleaner exiting --- FAIL: TestFileRename (51.45s) --- FAIL: TestFileRename/off,forceCache=false (2.36s) --- PASS: TestFileRename/minimal,forceCache=false (15.57s) --- FAIL: TestFileRename/writes,forceCache=true (33.52s) === RUN TestRcGetVFS rc_test.go:29: Error Trace: rc_test.go:29 Error: "more than one VFS active - need \"fs\" parameter" does not contain "no VFS active" Test: TestRcGetVFS run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:15:53 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache rc_test.go:36: Error Trace: rc_test.go:36 Error: Received unexpected error: more than one VFS active - need "fs" parameter github.com/rclone/rclone/vfs.getVFS /home/rclone/go/src/github.com/rclone/rclone/vfs/rc.go:38 github.com/rclone/rclone/vfs.TestRcGetVFS /home/rclone/go/src/github.com/rclone/rclone/vfs/rc_test.go:35 testing.tRunner /usr/local/go/src/testing/testing.go:1123 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1374 Test: TestRcGetVFS 2021/06/01 05:15:53 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:15:53 DEBUG : : Looking for writers 2021/06/01 05:15:53 DEBUG : >WaitForWriters: --- FAIL: TestRcGetVFS (0.24s) === RUN TestReadFileHandleMethods run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:15:54 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache 2021/06/01 05:15:56 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2021/06/01 05:15:56 DEBUG : dir/file1: >OpenFile: fd=, err=file does not exist read_test.go:22: Error Trace: read_test.go:22 read_test.go:40 Error: Received unexpected error: file does not exist Test: TestReadFileHandleMethods --- FAIL: TestReadFileHandleMethods (2.00s) === RUN TestReadFileHandleSeek run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:15:56 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache 2021/06/01 05:15:58 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2021/06/01 05:15:58 DEBUG : dir/file1: >OpenFile: fd=, err=file does not exist read_test.go:22: Error Trace: read_test.go:22 read_test.go:83 Error: Received unexpected error: file does not exist Test: TestReadFileHandleSeek --- FAIL: TestReadFileHandleSeek (1.85s) === RUN TestReadFileHandleReadAt run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:15:58 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache 2021/06/01 05:16:00 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2021/06/01 05:16:00 DEBUG : dir/file1: >OpenFile: fd=, err=file does not exist read_test.go:22: Error Trace: read_test.go:22 read_test.go:126 Error: Received unexpected error: file does not exist Test: TestReadFileHandleReadAt --- FAIL: TestReadFileHandleReadAt (2.06s) === RUN TestReadFileHandleFlush run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:16:00 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache 2021/06/01 05:16:01 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2021/06/01 05:16:01 DEBUG : dir/file1: >OpenFile: fd=, err=file does not exist read_test.go:22: Error Trace: read_test.go:22 read_test.go:182 Error: Received unexpected error: file does not exist Test: TestReadFileHandleFlush --- FAIL: TestReadFileHandleFlush (1.38s) === RUN TestReadFileHandleRelease run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:16:01 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache 2021/06/01 05:16:04 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2021/06/01 05:16:04 DEBUG : dir/file1: >OpenFile: fd=, err=file does not exist read_test.go:22: Error Trace: read_test.go:22 read_test.go:211 Error: Received unexpected error: file does not exist Test: TestReadFileHandleRelease --- FAIL: TestReadFileHandleRelease (3.04s) === RUN TestRWFileHandleFlushWrite run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:16:04 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:16:04 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestHubic/rclone-test-xapapic0sodoter0ramirik3" 2021/06/01 05:16:04 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestHubic/rclone-test-xapapic0sodoter0ramirik3" 2021/06/01 05:16:04 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestHubic/rclone-test-xapapic0sodoter0ramirik3" 2021/06/01 05:16:04 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2021/06/01 05:16:04 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2021/06/01 05:16:04 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2021/06/01 05:16:04 DEBUG : file1: newRWFileHandle: 2021/06/01 05:16:04 DEBUG : file1(0xc00058a180): openPending: 2021/06/01 05:16:04 DEBUG : file1: vfs cache: truncate to size=0 2021/06/01 05:16:04 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:16:04 DEBUG : file1(0xc00058a180): >openPending: err= 2021/06/01 05:16:04 DEBUG : file1: >newRWFileHandle: err= 2021/06/01 05:16:04 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:16:04 DEBUG : file1: >Open: fd=file1 (rw), err= 2021/06/01 05:16:04 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2021/06/01 05:16:04 DEBUG : file1(0xc00058a180): _writeAt: size=5, off=0 2021/06/01 05:16:04 DEBUG : file1(0xc00058a180): >_writeAt: n=5, err= 2021/06/01 05:16:04 DEBUG : file1(0xc00058a180): RWFileHandle.Flush 2021/06/01 05:16:04 DEBUG : file1(0xc00058a180): RWFileHandle.Flush 2021/06/01 05:16:04 DEBUG : file1(0xc00058a180): close: 2021/06/01 05:16:04 DEBUG : file1: vfs cache: setting modification time to 2021-06-01 05:16:04.934781591 +0000 UTC m=+249.089650943 2021/06/01 05:16:04 INFO : file1: vfs cache: queuing for upload in 100ms 2021/06/01 05:16:04 DEBUG : file1(0xc00058a180): >close: err= 2021/06/01 05:16:04 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:16:04 DEBUG : dir: Looking for writers 2021/06/01 05:16:04 DEBUG : : Looking for writers 2021/06/01 05:16:04 DEBUG : dir: reading active writers 2021/06/01 05:16:04 DEBUG : file1: reading active writers 2021/06/01 05:16:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2021/06/01 05:16:04 DEBUG : dir: Looking for writers 2021/06/01 05:16:04 DEBUG : : Looking for writers 2021/06/01 05:16:04 DEBUG : dir: reading active writers 2021/06/01 05:16:04 DEBUG : file1: reading active writers 2021/06/01 05:16:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2021/06/01 05:16:04 DEBUG : dir: Looking for writers 2021/06/01 05:16:04 DEBUG : : Looking for writers 2021/06/01 05:16:04 DEBUG : file1: reading active writers 2021/06/01 05:16:04 DEBUG : dir: reading active writers 2021/06/01 05:16:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2021/06/01 05:16:05 DEBUG : dir: Looking for writers 2021/06/01 05:16:05 DEBUG : : Looking for writers 2021/06/01 05:16:05 DEBUG : dir: reading active writers 2021/06/01 05:16:05 DEBUG : file1: reading active writers 2021/06/01 05:16:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2021/06/01 05:16:05 DEBUG : file1: vfs cache: starting upload 2021/06/01 05:16:05 DEBUG : dir: Looking for writers 2021/06/01 05:16:05 DEBUG : : Looking for writers 2021/06/01 05:16:05 DEBUG : dir: reading active writers 2021/06/01 05:16:05 DEBUG : file1: reading active writers 2021/06/01 05:16:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2021/06/01 05:16:05 DEBUG : dir: Looking for writers 2021/06/01 05:16:05 DEBUG : : Looking for writers 2021/06/01 05:16:05 DEBUG : dir: reading active writers 2021/06/01 05:16:05 DEBUG : file1: reading active writers 2021/06/01 05:16:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2021/06/01 05:16:05 DEBUG : dir: Looking for writers 2021/06/01 05:16:05 DEBUG : : Looking for writers 2021/06/01 05:16:05 DEBUG : file1: reading active writers 2021/06/01 05:16:05 DEBUG : dir: reading active writers 2021/06/01 05:16:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2021/06/01 05:16:06 DEBUG : dir: Looking for writers 2021/06/01 05:16:06 DEBUG : : Looking for writers 2021/06/01 05:16:06 DEBUG : dir: reading active writers 2021/06/01 05:16:06 DEBUG : file1: reading active writers 2021/06/01 05:16:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/06/01 05:16:07 DEBUG : file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2021/06/01 05:16:07 INFO : file1: Copied (new) 2021/06/01 05:16:07 DEBUG : file1: vfs cache: fingerprint now "5,2021-06-01 05:16:04.934781591 +0000 UTC,5d41402abc4b2a76b9719d911017c592" 2021/06/01 05:16:07 DEBUG : file1: vfs cache: writeback object to VFS layer 2021/06/01 05:16:07 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:16:07 INFO : file1: vfs cache: upload succeeded try #1 2021/06/01 05:16:07 DEBUG : dir: Looking for writers 2021/06/01 05:16:07 DEBUG : : Looking for writers 2021/06/01 05:16:07 DEBUG : dir: reading active writers 2021/06/01 05:16:07 DEBUG : file1: reading active writers 2021/06/01 05:16:07 DEBUG : >WaitForWriters: 2021/06/01 05:16:07 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushWrite (6.43s) === RUN TestCaseSensitivity run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:16:16 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache 2021/06/01 05:16:16 INFO : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: poll-interval is not supported by this remote 2021/06/01 05:16:16 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2021/06/01 05:16:16 DEBUG : FiLeA: Open: flags=O_RDONLY 2021/06/01 05:16:16 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2021/06/01 05:16:16 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2021/06/01 05:16:16 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2021/06/01 05:16:16 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2021/06/01 05:16:16 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2021/06/01 05:16:16 DEBUG : FiLeA: >OpenFile: fd=, err=file does not exist vfs_case_test.go:130: Error Trace: vfs_case_test.go:130 vfs_case_test.go:48 Error: Expected value not to be nil. Test: TestCaseSensitivity vfs_case_test.go:131: Error Trace: vfs_case_test.go:131 vfs_case_test.go:48 Error: Received unexpected error: file does not exist Test: TestCaseSensitivity vfs_case_test.go:141: Error Trace: vfs_case_test.go:141 vfs_case_test.go:48 Error: Should be true Test: TestCaseSensitivity 2021/06/01 05:16:16 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:16:16 DEBUG : : Looking for writers 2021/06/01 05:16:16 DEBUG : FiLeA: reading active writers 2021/06/01 05:16:16 DEBUG : FiLeB: reading active writers 2021/06/01 05:16:16 DEBUG : FilEb: reading active writers 2021/06/01 05:16:16 DEBUG : >WaitForWriters: 2021/06/01 05:16:16 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:16:16 DEBUG : : Looking for writers 2021/06/01 05:16:16 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:293: Sleeping for 6s just to make sure --- FAIL: TestCaseSensitivity (18.45s) === RUN TestVFSNew vfs_test.go:134: Error Trace: vfs_test.go:134 vfs_test.go:137 Error: Not equal: expected: 0 actual : 2 Test: TestVFSNew run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:16:29 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache vfs_test.go:134: Error Trace: vfs_test.go:134 vfs_test.go:147 Error: Not equal: expected: 1 actual : 2 Test: TestVFSNew 2021/06/01 05:16:29 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache vfs_test.go:134: Error Trace: vfs_test.go:134 vfs_test.go:154 Error: Not equal: expected: 1 actual : 2 Test: TestVFSNew vfs_test.go:134: Error Trace: vfs_test.go:134 vfs_test.go:159 Error: Not equal: expected: 1 actual : 2 Test: TestVFSNew 2021/06/01 05:16:29 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:16:29 DEBUG : : Looking for writers 2021/06/01 05:16:29 DEBUG : >WaitForWriters: vfs_test.go:134: Error Trace: vfs_test.go:134 vfs_test.go:163 Error: Not equal: expected: 0 actual : 2 Test: TestVFSNew --- FAIL: TestVFSNew (0.54s) === RUN TestWriteFileHandleMethods run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:16:29 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache 2021/06/01 05:16:29 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2021/06/01 05:16:29 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2021/06/01 05:16:29 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:16:29 DEBUG : file1: >Open: fd=file1 (w), err= 2021/06/01 05:16:29 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2021/06/01 05:16:29 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:16:29 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2021/06/01 05:16:29 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2021/06/01 05:16:29 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2021/06/01 05:16:29 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: File to upload is small (5 bytes), uploading instead of streaming 2021/06/01 05:16:31 DEBUG : file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2021/06/01 05:16:31 INFO : file1: Copied (new) 2021/06/01 05:16:31 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:16:31 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2021/06/01 05:16:31 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2021/06/01 05:16:31 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:16:31 DEBUG : file1: >Open: fd=file1 (w), err= 2021/06/01 05:16:31 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2021/06/01 05:16:31 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2021/06/01 05:16:31 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2021/06/01 05:16:31 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:16:31 DEBUG : file1: >Open: fd=file1 (w), err= 2021/06/01 05:16:31 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2021/06/01 05:16:31 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2021/06/01 05:16:31 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2021/06/01 05:16:31 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2021/06/01 05:16:31 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:16:31 DEBUG : file1: >Open: fd=file1 (w), err= 2021/06/01 05:16:31 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2021/06/01 05:16:31 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:16:31 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: File to upload is small (0 bytes), uploading instead of streaming 2021/06/01 05:16:33 DEBUG : file1: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2021/06/01 05:16:33 INFO : file1: Copied (new) 2021/06/01 05:16:33 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:16:33 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2021/06/01 05:16:33 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2021/06/01 05:16:33 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:16:33 DEBUG : file1: >Open: fd=file1 (w), err= 2021/06/01 05:16:33 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2021/06/01 05:16:33 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:16:33 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: File to upload is small (7 bytes), uploading instead of streaming 2021/06/01 05:16:36 DEBUG : file1: md5 = 9141de76717e095d4dd05f1e686ad6a8 OK 2021/06/01 05:16:36 INFO : file1: Copied (new) 2021/06/01 05:16:36 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:16:36 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:16:36 DEBUG : : Looking for writers 2021/06/01 05:16:36 DEBUG : file1: reading active writers 2021/06/01 05:16:36 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleMethods (8.18s) === RUN TestWriteFileHandleWriteAt run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:16:38 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache 2021/06/01 05:16:38 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2021/06/01 05:16:38 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2021/06/01 05:16:38 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:16:38 DEBUG : file1: >Open: fd=file1 (w), err= 2021/06/01 05:16:38 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2021/06/01 05:16:38 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes write_test.go:144: Error Trace: write_test.go:144 Error: Received unexpected error: permission denied Test: TestWriteFileHandleWriteAt write_test.go:145: Error Trace: write_test.go:145 Error: Not equal: expected: 5 actual : 0 Test: TestWriteFileHandleWriteAt write_test.go:148: Error Trace: write_test.go:148 Error: Not equal: expected: 5 actual : 0 Test: TestWriteFileHandleWriteAt write_test.go:149: Error Trace: write_test.go:149 Error: Should be true Test: TestWriteFileHandleWriteAt 2021/06/01 05:16:38 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2021/06/01 05:16:39 DEBUG : file1: aborting in-sequence write wait, off=100 2021/06/01 05:16:39 DEBUG : file1: failed to wait for in-sequence write to 100 2021/06/01 05:16:39 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2021/06/01 05:16:39 DEBUG : file1: waiting for in-sequence write to 5 for 1s 2021/06/01 05:16:40 DEBUG : file1: aborting in-sequence write wait, off=5 2021/06/01 05:16:40 DEBUG : file1: failed to wait for in-sequence write to 5 2021/06/01 05:16:40 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes write_test.go:158: Error Trace: write_test.go:158 Error: Received unexpected error: Illegal seek Test: TestWriteFileHandleWriteAt write_test.go:159: Error Trace: write_test.go:159 Error: Not equal: expected: 6 actual : 0 Test: TestWriteFileHandleWriteAt 2021/06/01 05:16:40 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor dir_test.go:252: Error Trace: dir_test.go:252 write_test.go:172 Error: Not equal: expected: []string{"file1,11,false"} actual : []string{"file1,7,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=14) "file1,11,false" + (string) (len=13) "file1,7,false" } Test: TestWriteFileHandleWriteAt fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 write_test.go:176 Error: Should be true Test: TestWriteFileHandleWriteAt Messages: listing wrong, want file1 (11) got fstest.go:204: Not found "file1" fstest.go:207: Error Trace: fstest.go:207 fstest.go:311 fstest.go:339 write_test.go:176 Error: Not equal: expected: 0 actual : 1 Test: TestWriteFileHandleWriteAt Messages: 1 objects not found 2021/06/01 05:16:47 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:16:47 DEBUG : : Looking for writers 2021/06/01 05:16:47 DEBUG : file1: reading active writers 2021/06/01 05:16:47 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleWriteAt (9.95s) === RUN TestWriteFileHandleFlush run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:16:48 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache 2021/06/01 05:16:48 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2021/06/01 05:16:48 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2021/06/01 05:16:48 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:16:48 DEBUG : file1: >Open: fd=file1 (w), err= 2021/06/01 05:16:48 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2021/06/01 05:16:48 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2021/06/01 05:16:48 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes write_test.go:185: Error Trace: write_test.go:185 Error: Received unexpected error: permission denied Test: TestWriteFileHandleFlush dir_test.go:252: Error Trace: dir_test.go:252 write_test.go:189 Error: Not equal: expected: []string{"file1,0,false"} actual : []string{"file1,7,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=13) "file1,0,false" + (string) (len=13) "file1,7,false" } Test: TestWriteFileHandleFlush 2021/06/01 05:16:48 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes write_test.go:193: Error Trace: write_test.go:193 Error: Received unexpected error: permission denied Test: TestWriteFileHandleFlush write_test.go:194: Error Trace: write_test.go:194 Error: Not equal: expected: 5 actual : 0 Test: TestWriteFileHandleFlush 2021/06/01 05:16:48 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2021/06/01 05:16:48 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes write_test.go:198: Error Trace: write_test.go:198 Error: Received unexpected error: permission denied Test: TestWriteFileHandleFlush write_test.go:199: Error Trace: write_test.go:199 Error: Should be true Test: TestWriteFileHandleFlush 2021/06/01 05:16:48 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2021/06/01 05:16:48 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes write_test.go:203: Error Trace: write_test.go:203 Error: Received unexpected error: permission denied Test: TestWriteFileHandleFlush write_test.go:204: Error Trace: write_test.go:204 Error: Should be true Test: TestWriteFileHandleFlush dir_test.go:252: Error Trace: dir_test.go:252 write_test.go:209 Error: Not equal: expected: []string{"file1,5,false"} actual : []string{"file1,7,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=13) "file1,5,false" + (string) (len=13) "file1,7,false" } Test: TestWriteFileHandleFlush 2021/06/01 05:16:48 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:16:48 DEBUG : : Looking for writers 2021/06/01 05:16:48 DEBUG : file1: reading active writers 2021/06/01 05:16:48 DEBUG : file1: active writers 1 2021/06/01 05:16:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2021/06/01 05:16:48 DEBUG : : Looking for writers 2021/06/01 05:16:48 DEBUG : file1: reading active writers 2021/06/01 05:16:48 DEBUG : file1: active writers 1 2021/06/01 05:16:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2021/06/01 05:16:48 DEBUG : : Looking for writers 2021/06/01 05:16:48 DEBUG : file1: reading active writers 2021/06/01 05:16:48 DEBUG : file1: active writers 1 2021/06/01 05:16:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2021/06/01 05:16:48 DEBUG : : Looking for writers 2021/06/01 05:16:48 DEBUG : file1: reading active writers 2021/06/01 05:16:48 DEBUG : file1: active writers 1 2021/06/01 05:16:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2021/06/01 05:16:48 DEBUG : : Looking for writers 2021/06/01 05:16:48 DEBUG : file1: reading active writers 2021/06/01 05:16:48 DEBUG : file1: active writers 1 2021/06/01 05:16:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2021/06/01 05:16:48 DEBUG : : Looking for writers 2021/06/01 05:16:48 DEBUG : file1: reading active writers 2021/06/01 05:16:48 DEBUG : file1: active writers 1 2021/06/01 05:16:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2021/06/01 05:16:48 DEBUG : : Looking for writers 2021/06/01 05:16:48 DEBUG : file1: reading active writers 2021/06/01 05:16:48 DEBUG : file1: active writers 1 2021/06/01 05:16:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2021/06/01 05:16:49 DEBUG : : Looking for writers 2021/06/01 05:16:49 DEBUG : file1: reading active writers 2021/06/01 05:16:49 DEBUG : file1: active writers 1 2021/06/01 05:16:49 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:16:50 DEBUG : : Looking for writers 2021/06/01 05:16:50 DEBUG : file1: reading active writers 2021/06/01 05:16:50 DEBUG : file1: active writers 1 2021/06/01 05:16:50 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:16:51 DEBUG : : Looking for writers 2021/06/01 05:16:51 DEBUG : file1: reading active writers 2021/06/01 05:16:51 DEBUG : file1: active writers 1 2021/06/01 05:16:51 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:16:52 DEBUG : : Looking for writers 2021/06/01 05:16:52 DEBUG : file1: reading active writers 2021/06/01 05:16:52 DEBUG : file1: active writers 1 2021/06/01 05:16:52 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:16:53 DEBUG : : Looking for writers 2021/06/01 05:16:53 DEBUG : file1: reading active writers 2021/06/01 05:16:53 DEBUG : file1: active writers 1 2021/06/01 05:16:53 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:16:54 DEBUG : : Looking for writers 2021/06/01 05:16:54 DEBUG : file1: reading active writers 2021/06/01 05:16:54 DEBUG : file1: active writers 1 2021/06/01 05:16:54 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:16:55 DEBUG : : Looking for writers 2021/06/01 05:16:55 DEBUG : file1: reading active writers 2021/06/01 05:16:55 DEBUG : file1: active writers 1 2021/06/01 05:16:55 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:16:56 DEBUG : : Looking for writers 2021/06/01 05:16:56 DEBUG : file1: reading active writers 2021/06/01 05:16:56 DEBUG : file1: active writers 1 2021/06/01 05:16:56 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:16:57 DEBUG : : Looking for writers 2021/06/01 05:16:57 DEBUG : file1: reading active writers 2021/06/01 05:16:57 DEBUG : file1: active writers 1 2021/06/01 05:16:57 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:16:58 ERROR : Exiting even though 1 writers active and 0 cache items in use after 10s Cache: 2021/06/01 05:16:58 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleFlush (10.36s) === RUN TestWriteFileModTimeWithOpenWriters run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:16:58 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache 2021/06/01 05:16:58 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2021/06/01 05:16:58 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2021/06/01 05:16:58 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:16:58 DEBUG : file1: >Open: fd=file1 (w), err= 2021/06/01 05:16:58 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2021/06/01 05:16:58 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes write_test.go:271: Error Trace: write_test.go:271 Error: Received unexpected error: permission denied Test: TestWriteFileModTimeWithOpenWriters 2021/06/01 05:16:58 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:16:58 DEBUG : : Looking for writers 2021/06/01 05:16:58 DEBUG : file1: reading active writers 2021/06/01 05:16:58 DEBUG : file1: active writers 2 2021/06/01 05:16:58 DEBUG : Still 2 writers active and 0 cache items in use, waiting 10ms 2021/06/01 05:16:58 DEBUG : : Looking for writers 2021/06/01 05:16:58 DEBUG : file1: reading active writers 2021/06/01 05:16:58 DEBUG : file1: active writers 2 2021/06/01 05:16:58 DEBUG : Still 2 writers active and 0 cache items in use, waiting 20ms 2021/06/01 05:16:58 DEBUG : : Looking for writers 2021/06/01 05:16:58 DEBUG : file1: reading active writers 2021/06/01 05:16:58 DEBUG : file1: active writers 2 2021/06/01 05:16:58 DEBUG : Still 2 writers active and 0 cache items in use, waiting 40ms 2021/06/01 05:16:58 DEBUG : : Looking for writers 2021/06/01 05:16:58 DEBUG : file1: reading active writers 2021/06/01 05:16:58 DEBUG : file1: active writers 2 2021/06/01 05:16:58 DEBUG : Still 2 writers active and 0 cache items in use, waiting 80ms 2021/06/01 05:16:58 DEBUG : : Looking for writers 2021/06/01 05:16:58 DEBUG : file1: reading active writers 2021/06/01 05:16:58 DEBUG : file1: active writers 2 2021/06/01 05:16:58 DEBUG : Still 2 writers active and 0 cache items in use, waiting 160ms 2021/06/01 05:16:58 DEBUG : : Looking for writers 2021/06/01 05:16:58 DEBUG : file1: reading active writers 2021/06/01 05:16:58 DEBUG : file1: active writers 2 2021/06/01 05:16:58 DEBUG : Still 2 writers active and 0 cache items in use, waiting 320ms 2021/06/01 05:16:59 DEBUG : : Looking for writers 2021/06/01 05:16:59 DEBUG : file1: reading active writers 2021/06/01 05:16:59 DEBUG : file1: active writers 2 2021/06/01 05:16:59 DEBUG : Still 2 writers active and 0 cache items in use, waiting 640ms 2021/06/01 05:16:59 DEBUG : : Looking for writers 2021/06/01 05:16:59 DEBUG : file1: reading active writers 2021/06/01 05:16:59 DEBUG : file1: active writers 2 2021/06/01 05:16:59 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:00 DEBUG : : Looking for writers 2021/06/01 05:17:00 DEBUG : file1: reading active writers 2021/06/01 05:17:00 DEBUG : file1: active writers 2 2021/06/01 05:17:00 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:01 DEBUG : : Looking for writers 2021/06/01 05:17:01 DEBUG : file1: reading active writers 2021/06/01 05:17:01 DEBUG : file1: active writers 2 2021/06/01 05:17:01 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:02 DEBUG : : Looking for writers 2021/06/01 05:17:02 DEBUG : file1: reading active writers 2021/06/01 05:17:02 DEBUG : file1: active writers 2 2021/06/01 05:17:02 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:03 DEBUG : : Looking for writers 2021/06/01 05:17:03 DEBUG : file1: reading active writers 2021/06/01 05:17:03 DEBUG : file1: active writers 2 2021/06/01 05:17:03 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:04 DEBUG : : Looking for writers 2021/06/01 05:17:04 DEBUG : file1: reading active writers 2021/06/01 05:17:04 DEBUG : file1: active writers 2 2021/06/01 05:17:04 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:05 DEBUG : : Looking for writers 2021/06/01 05:17:05 DEBUG : file1: reading active writers 2021/06/01 05:17:05 DEBUG : file1: active writers 2 2021/06/01 05:17:05 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:06 DEBUG : : Looking for writers 2021/06/01 05:17:06 DEBUG : file1: reading active writers 2021/06/01 05:17:06 DEBUG : file1: active writers 2 2021/06/01 05:17:06 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:07 DEBUG : : Looking for writers 2021/06/01 05:17:07 DEBUG : file1: reading active writers 2021/06/01 05:17:07 DEBUG : file1: active writers 2 2021/06/01 05:17:07 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:08 ERROR : Exiting even though 2 writers active and 0 cache items in use after 10s Cache: 2021/06/01 05:17:08 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileModTimeWithOpenWriters (10.59s) === RUN TestFileReadAtZeroLength run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:17:09 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache 2021/06/01 05:17:09 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2021/06/01 05:17:09 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2021/06/01 05:17:09 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:17:09 DEBUG : file1: >Open: fd=file1 (w), err= 2021/06/01 05:17:09 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2021/06/01 05:17:09 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2021/06/01 05:17:09 DEBUG : file1: Open: flags=O_RDONLY 2021/06/01 05:17:09 DEBUG : file1: >Open: fd=file1 (r), err= 2021/06/01 05:17:09 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2021/06/01 05:17:09 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 write_test.go:315: Error Trace: write_test.go:315 write_test.go:325 Error: Received unexpected error: Object Not Found Test: TestFileReadAtZeroLength 2021/06/01 05:17:09 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:17:09 DEBUG : : Looking for writers 2021/06/01 05:17:09 DEBUG : file1: reading active writers 2021/06/01 05:17:09 DEBUG : file1: active writers 2 2021/06/01 05:17:09 DEBUG : Still 2 writers active and 0 cache items in use, waiting 10ms 2021/06/01 05:17:09 DEBUG : : Looking for writers 2021/06/01 05:17:09 DEBUG : file1: reading active writers 2021/06/01 05:17:09 DEBUG : file1: active writers 2 2021/06/01 05:17:09 DEBUG : Still 2 writers active and 0 cache items in use, waiting 20ms 2021/06/01 05:17:09 DEBUG : : Looking for writers 2021/06/01 05:17:09 DEBUG : file1: reading active writers 2021/06/01 05:17:09 DEBUG : file1: active writers 2 2021/06/01 05:17:09 DEBUG : Still 2 writers active and 0 cache items in use, waiting 40ms 2021/06/01 05:17:09 DEBUG : : Looking for writers 2021/06/01 05:17:09 DEBUG : file1: reading active writers 2021/06/01 05:17:09 DEBUG : file1: active writers 2 2021/06/01 05:17:09 DEBUG : Still 2 writers active and 0 cache items in use, waiting 80ms 2021/06/01 05:17:09 DEBUG : : Looking for writers 2021/06/01 05:17:09 DEBUG : file1: reading active writers 2021/06/01 05:17:09 DEBUG : file1: active writers 2 2021/06/01 05:17:09 DEBUG : Still 2 writers active and 0 cache items in use, waiting 160ms 2021/06/01 05:17:09 DEBUG : : Looking for writers 2021/06/01 05:17:09 DEBUG : file1: reading active writers 2021/06/01 05:17:09 DEBUG : file1: active writers 2 2021/06/01 05:17:09 DEBUG : Still 2 writers active and 0 cache items in use, waiting 320ms 2021/06/01 05:17:09 DEBUG : : Looking for writers 2021/06/01 05:17:09 DEBUG : file1: reading active writers 2021/06/01 05:17:09 DEBUG : file1: active writers 2 2021/06/01 05:17:09 DEBUG : Still 2 writers active and 0 cache items in use, waiting 640ms 2021/06/01 05:17:10 DEBUG : : Looking for writers 2021/06/01 05:17:10 DEBUG : file1: reading active writers 2021/06/01 05:17:10 DEBUG : file1: active writers 2 2021/06/01 05:17:10 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:11 DEBUG : : Looking for writers 2021/06/01 05:17:11 DEBUG : file1: reading active writers 2021/06/01 05:17:11 DEBUG : file1: active writers 2 2021/06/01 05:17:11 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:12 DEBUG : : Looking for writers 2021/06/01 05:17:12 DEBUG : file1: reading active writers 2021/06/01 05:17:12 DEBUG : file1: active writers 2 2021/06/01 05:17:12 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:13 DEBUG : : Looking for writers 2021/06/01 05:17:13 DEBUG : file1: reading active writers 2021/06/01 05:17:13 DEBUG : file1: active writers 2 2021/06/01 05:17:13 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:14 DEBUG : : Looking for writers 2021/06/01 05:17:14 DEBUG : file1: reading active writers 2021/06/01 05:17:14 DEBUG : file1: active writers 2 2021/06/01 05:17:14 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:15 DEBUG : : Looking for writers 2021/06/01 05:17:15 DEBUG : file1: reading active writers 2021/06/01 05:17:15 DEBUG : file1: active writers 2 2021/06/01 05:17:15 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:16 DEBUG : : Looking for writers 2021/06/01 05:17:16 DEBUG : file1: reading active writers 2021/06/01 05:17:16 DEBUG : file1: active writers 2 2021/06/01 05:17:16 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:17 DEBUG : : Looking for writers 2021/06/01 05:17:17 DEBUG : file1: reading active writers 2021/06/01 05:17:17 DEBUG : file1: active writers 2 2021/06/01 05:17:17 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:18 DEBUG : : Looking for writers 2021/06/01 05:17:18 DEBUG : file1: reading active writers 2021/06/01 05:17:18 DEBUG : file1: active writers 2 2021/06/01 05:17:18 DEBUG : Still 2 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:19 ERROR : Exiting even though 2 writers active and 0 cache items in use after 10s Cache: 2021/06/01 05:17:19 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (11.53s) === RUN TestFileReadAtNonZeroLength run.go:176: Remote "Hubic Swift container rclone-test-xapapic0sodoter0ramirik3", Local "Local file system at /tmp/rclone756981349", Modify Window "1ns" 2021/06/01 05:17:20 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Re-using VFS from active cache 2021/06/01 05:17:20 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2021/06/01 05:17:20 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2021/06/01 05:17:20 DEBUG : : Added virtual directory entry vAddFile: "file1" 2021/06/01 05:17:20 DEBUG : file1: >Open: fd=file1 (w), err= 2021/06/01 05:17:20 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2021/06/01 05:17:20 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes write_test.go:295: Error Trace: write_test.go:295 write_test.go:329 Error: Received unexpected error: permission denied Test: TestFileReadAtNonZeroLength 2021/06/01 05:17:20 DEBUG : WaitForWriters: timeout=10s 2021/06/01 05:17:20 DEBUG : : Looking for writers 2021/06/01 05:17:20 DEBUG : file1: reading active writers 2021/06/01 05:17:20 DEBUG : file1: active writers 3 2021/06/01 05:17:20 DEBUG : Still 3 writers active and 0 cache items in use, waiting 10ms 2021/06/01 05:17:20 DEBUG : : Looking for writers 2021/06/01 05:17:20 DEBUG : file1: reading active writers 2021/06/01 05:17:20 DEBUG : file1: active writers 3 2021/06/01 05:17:20 DEBUG : Still 3 writers active and 0 cache items in use, waiting 20ms 2021/06/01 05:17:20 DEBUG : : Looking for writers 2021/06/01 05:17:20 DEBUG : file1: reading active writers 2021/06/01 05:17:20 DEBUG : file1: active writers 3 2021/06/01 05:17:20 DEBUG : Still 3 writers active and 0 cache items in use, waiting 40ms 2021/06/01 05:17:20 DEBUG : : Looking for writers 2021/06/01 05:17:20 DEBUG : file1: reading active writers 2021/06/01 05:17:20 DEBUG : file1: active writers 3 2021/06/01 05:17:20 DEBUG : Still 3 writers active and 0 cache items in use, waiting 80ms 2021/06/01 05:17:20 DEBUG : : Looking for writers 2021/06/01 05:17:20 DEBUG : file1: reading active writers 2021/06/01 05:17:20 DEBUG : file1: active writers 3 2021/06/01 05:17:20 DEBUG : Still 3 writers active and 0 cache items in use, waiting 160ms 2021/06/01 05:17:20 DEBUG : : Looking for writers 2021/06/01 05:17:20 DEBUG : file1: reading active writers 2021/06/01 05:17:20 DEBUG : file1: active writers 3 2021/06/01 05:17:20 DEBUG : Still 3 writers active and 0 cache items in use, waiting 320ms 2021/06/01 05:17:21 DEBUG : : Looking for writers 2021/06/01 05:17:21 DEBUG : file1: reading active writers 2021/06/01 05:17:21 DEBUG : file1: active writers 3 2021/06/01 05:17:21 DEBUG : Still 3 writers active and 0 cache items in use, waiting 640ms 2021/06/01 05:17:21 DEBUG : : Looking for writers 2021/06/01 05:17:21 DEBUG : file1: reading active writers 2021/06/01 05:17:21 DEBUG : file1: active writers 3 2021/06/01 05:17:21 DEBUG : Still 3 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:22 DEBUG : : Looking for writers 2021/06/01 05:17:22 DEBUG : file1: reading active writers 2021/06/01 05:17:22 DEBUG : file1: active writers 3 2021/06/01 05:17:22 DEBUG : Still 3 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:23 DEBUG : : Looking for writers 2021/06/01 05:17:23 DEBUG : file1: reading active writers 2021/06/01 05:17:23 DEBUG : file1: active writers 3 2021/06/01 05:17:23 DEBUG : Still 3 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:24 DEBUG : : Looking for writers 2021/06/01 05:17:24 DEBUG : file1: reading active writers 2021/06/01 05:17:24 DEBUG : file1: active writers 3 2021/06/01 05:17:24 DEBUG : Still 3 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:25 DEBUG : : Looking for writers 2021/06/01 05:17:25 DEBUG : file1: reading active writers 2021/06/01 05:17:25 DEBUG : file1: active writers 3 2021/06/01 05:17:25 DEBUG : Still 3 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:26 DEBUG : : Looking for writers 2021/06/01 05:17:26 DEBUG : file1: reading active writers 2021/06/01 05:17:26 DEBUG : file1: active writers 3 2021/06/01 05:17:26 DEBUG : Still 3 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:27 DEBUG : : Looking for writers 2021/06/01 05:17:27 DEBUG : file1: reading active writers 2021/06/01 05:17:27 DEBUG : file1: active writers 3 2021/06/01 05:17:27 DEBUG : Still 3 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:28 DEBUG : : Looking for writers 2021/06/01 05:17:28 DEBUG : file1: reading active writers 2021/06/01 05:17:28 DEBUG : file1: active writers 3 2021/06/01 05:17:28 DEBUG : Still 3 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:29 DEBUG : : Looking for writers 2021/06/01 05:17:29 DEBUG : file1: reading active writers 2021/06/01 05:17:29 DEBUG : file1: active writers 3 2021/06/01 05:17:29 DEBUG : Still 3 writers active and 0 cache items in use, waiting 1s 2021/06/01 05:17:30 ERROR : Exiting even though 3 writers active and 0 cache items in use after 10s Cache: 2021/06/01 05:17:30 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (13.63s) FAIL 2021/06/01 05:17:34 DEBUG : Hubic Swift container rclone-test-xapapic0sodoter0ramirik3: Purge remote 2021/06/01 05:17:34 DEBUG : Waiting for deletions to finish 2021/06/01 05:17:34 INFO : Swift container rclone-test-xapapic0sodoter0ramirik3: Container "rclone-test-xapapic0sodoter0ramirik3" removed "./vfs.test -test.v -test.timeout 1h0m0s -remote TestHubic: -verbose -test.run '^(TestCaseSensitivity|TestDirCreate|TestDirForgetAll|TestDirForgetPath|TestDirHandleReaddir|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestFileRename|TestFileSetModTime|TestRWFileHandleFlushWrite|TestRcGetVFS|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSNew|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters)$/^(cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true|minimal,forceCache=false|off,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 5m38.877272252s (try 2/5): exit status 1: Failed [TestDirReadDirAll TestDirOpen TestDirRename TestFileOpenWrite TestFileRemove TestFileRemoveAll TestFileOpen TestFileRename/off,forceCache=false TestFileRename/writes,forceCache=true TestRcGetVFS TestReadFileHandleMethods TestReadFileHandleSeek TestReadFileHandleReadAt TestReadFileHandleFlush TestReadFileHandleRelease TestCaseSensitivity TestVFSNew TestWriteFileHandleWriteAt TestWriteFileHandleFlush TestWriteFileModTimeWithOpenWriters TestFileReadAtZeroLength TestFileReadAtNonZeroLength]