"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose" - Starting (try 1/5) 2025/11/29 01:55:01 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-rivajip4banu" 2025/11/29 01:55:01 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/11/29 01:55:01 DEBUG : Starting OpenDrive session with ID: 1c8e102ccf5953d52341e8e8e0927676027bdb63f4da3d63ba59cd54e998be51 2025/11/29 01:55:02 DEBUG : Creating backend with remote "/tmp/rclone1552542830" === RUN TestDirHandleMethods run.go:185: Remote "OpenDrive root 'rclone-test-rivajip4banu'", Local "Local file system at /tmp/rclone1552542830", Modify Window "1s" 2025/11/29 01:55:02 INFO : OpenDrive root 'rclone-test-rivajip4banu': poll-interval is not supported by this remote 2025/11/29 01:55:02 NOTICE: OpenDrive root 'rclone-test-rivajip4banu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 01:55:03 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/11/29 01:55:05 DEBUG : WaitForWriters: timeout=30s 2025/11/29 01:55:05 DEBUG : dir: Looking for writers 2025/11/29 01:55:05 DEBUG : Looking for writers 2025/11/29 01:55:05 DEBUG : dir: reading active writers 2025/11/29 01:55:05 DEBUG : >WaitForWriters: --- PASS: TestDirHandleMethods (4.05s) === RUN TestDirHandleReaddir run.go:185: Remote "OpenDrive root 'rclone-test-rivajip4banu'", Local "Local file system at /tmp/rclone1552542830", Modify Window "1s" 2025/11/29 01:55:06 INFO : OpenDrive root 'rclone-test-rivajip4banu': poll-interval is not supported by this remote 2025/11/29 01:55:06 NOTICE: OpenDrive root 'rclone-test-rivajip4banu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 01:55:07 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/11/29 01:55:09 DEBUG : dir/file2: Uploading chunk 0, size=15, remain=0 2025/11/29 01:55:11 DEBUG : dir/subdir/file3: Uploading chunk 0, size=16, remain=0 2025/11/29 01:55:13 DEBUG : WaitForWriters: timeout=30s 2025/11/29 01:55:13 DEBUG : dir/subdir: Looking for writers 2025/11/29 01:55:13 DEBUG : dir: Looking for writers 2025/11/29 01:55:13 DEBUG : subdir: reading active writers 2025/11/29 01:55:13 DEBUG : file1: reading active writers 2025/11/29 01:55:13 DEBUG : file2: reading active writers 2025/11/29 01:55:13 DEBUG : Looking for writers 2025/11/29 01:55:13 DEBUG : dir: reading active writers 2025/11/29 01:55:13 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddir (8.95s) === RUN TestDirHandleReaddirnames run.go:185: Remote "OpenDrive root 'rclone-test-rivajip4banu'", Local "Local file system at /tmp/rclone1552542830", Modify Window "1s" 2025/11/29 01:55:15 INFO : OpenDrive root 'rclone-test-rivajip4banu': poll-interval is not supported by this remote 2025/11/29 01:55:15 NOTICE: OpenDrive root 'rclone-test-rivajip4banu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 01:55:16 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/11/29 01:55:18 DEBUG : WaitForWriters: timeout=30s 2025/11/29 01:55:18 DEBUG : dir: Looking for writers 2025/11/29 01:55:18 DEBUG : file1: reading active writers 2025/11/29 01:55:18 DEBUG : Looking for writers 2025/11/29 01:55:18 DEBUG : dir: reading active writers 2025/11/29 01:55:18 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- PASS: TestDirHandleReaddirnames (11.39s) === RUN TestDirMethods run.go:185: Remote "OpenDrive root 'rclone-test-rivajip4banu'", Local "Local file system at /tmp/rclone1552542830", Modify Window "1s" 2025/11/29 01:55:26 INFO : OpenDrive root 'rclone-test-rivajip4banu': poll-interval is not supported by this remote 2025/11/29 01:55:26 NOTICE: OpenDrive root 'rclone-test-rivajip4banu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 01:55:27 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/11/29 01:55:29 DEBUG : WaitForWriters: timeout=30s 2025/11/29 01:55:29 DEBUG : dir: Looking for writers 2025/11/29 01:55:29 DEBUG : Looking for writers 2025/11/29 01:55:29 DEBUG : dir: reading active writers 2025/11/29 01:55:29 DEBUG : >WaitForWriters: --- PASS: TestDirMethods (3.55s) === RUN TestDirForgetAll run.go:185: Remote "OpenDrive root 'rclone-test-rivajip4banu'", Local "Local file system at /tmp/rclone1552542830", Modify Window "1s" 2025/11/29 01:55:30 INFO : OpenDrive root 'rclone-test-rivajip4banu': poll-interval is not supported by this remote 2025/11/29 01:55:30 NOTICE: OpenDrive root 'rclone-test-rivajip4banu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 01:55:31 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/11/29 01:55:33 DEBUG : dir: forgetting directory cache 2025/11/29 01:55:33 DEBUG : forgetting directory cache 2025/11/29 01:55:33 DEBUG : dir: forgetting directory cache 2025/11/29 01:55:33 DEBUG : WaitForWriters: timeout=30s 2025/11/29 01:55:33 DEBUG : Looking for writers 2025/11/29 01:55:33 DEBUG : >WaitForWriters: --- PASS: TestDirForgetAll (3.87s) === RUN TestDirForgetPath run.go:185: Remote "OpenDrive root 'rclone-test-rivajip4banu'", Local "Local file system at /tmp/rclone1552542830", Modify Window "1s" 2025/11/29 01:55:34 INFO : OpenDrive root 'rclone-test-rivajip4banu': poll-interval is not supported by this remote 2025/11/29 01:55:34 NOTICE: OpenDrive root 'rclone-test-rivajip4banu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 01:55:35 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/11/29 01:55:36 DEBUG : ForgetPath: relativePath="dir/notfound", type=1 2025/11/29 01:55:36 DEBUG : dir: invalidating directory cache 2025/11/29 01:55:36 DEBUG : >ForgetPath: 2025/11/29 01:55:36 DEBUG : ForgetPath: relativePath="dir", type=0 2025/11/29 01:55:36 DEBUG : invalidating directory cache 2025/11/29 01:55:36 DEBUG : dir: forgetting directory cache 2025/11/29 01:55:36 DEBUG : >ForgetPath: 2025/11/29 01:55:36 DEBUG : ForgetPath: relativePath="not/in/cache", type=0 2025/11/29 01:55:36 DEBUG : >ForgetPath: 2025/11/29 01:55:36 DEBUG : WaitForWriters: timeout=30s 2025/11/29 01:55:36 DEBUG : dir: Looking for writers 2025/11/29 01:55:36 DEBUG : Looking for writers 2025/11/29 01:55:36 DEBUG : dir: reading active writers 2025/11/29 01:55:36 DEBUG : >WaitForWriters: --- PASS: TestDirForgetPath (3.70s) === RUN TestDirWalk run.go:185: Remote "OpenDrive root 'rclone-test-rivajip4banu'", Local "Local file system at /tmp/rclone1552542830", Modify Window "1s" 2025/11/29 01:55:37 INFO : OpenDrive root 'rclone-test-rivajip4banu': poll-interval is not supported by this remote 2025/11/29 01:55:37 NOTICE: OpenDrive root 'rclone-test-rivajip4banu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 01:55:38 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/11/29 01:55:42 DEBUG : fil/a/b/c: Uploading chunk 0, size=15, remain=0 2025/11/29 01:55:44 DEBUG : forgetting directory cache 2025/11/29 01:55:44 DEBUG : dir: forgetting directory cache 2025/11/29 01:55:44 DEBUG : WaitForWriters: timeout=30s 2025/11/29 01:55:44 DEBUG : dir: Looking for writers 2025/11/29 01:55:44 DEBUG : fil/a/b: Looking for writers 2025/11/29 01:55:44 DEBUG : fil/a: Looking for writers 2025/11/29 01:55:44 DEBUG : b: reading active writers 2025/11/29 01:55:44 DEBUG : fil: Looking for writers 2025/11/29 01:55:44 DEBUG : a: reading active writers 2025/11/29 01:55:44 DEBUG : Looking for writers 2025/11/29 01:55:44 DEBUG : dir: reading active writers 2025/11/29 01:55:44 DEBUG : fil: reading active writers 2025/11/29 01:55:44 DEBUG : >WaitForWriters: --- PASS: TestDirWalk (9.73s) === RUN TestDirSetModTime run.go:185: Remote "OpenDrive root 'rclone-test-rivajip4banu'", Local "Local file system at /tmp/rclone1552542830", Modify Window "1s" 2025/11/29 01:55:47 INFO : OpenDrive root 'rclone-test-rivajip4banu': poll-interval is not supported by this remote 2025/11/29 01:55:47 NOTICE: OpenDrive root 'rclone-test-rivajip4banu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 01:55:48 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/11/29 01:55:50 DEBUG : WaitForWriters: timeout=30s 2025/11/29 01:55:50 DEBUG : dir: Looking for writers 2025/11/29 01:55:50 DEBUG : Looking for writers 2025/11/29 01:55:50 DEBUG : dir: reading active writers 2025/11/29 01:55:50 DEBUG : >WaitForWriters: --- PASS: TestDirSetModTime (4.10s) === RUN TestDirStat run.go:185: Remote "OpenDrive root 'rclone-test-rivajip4banu'", Local "Local file system at /tmp/rclone1552542830", Modify Window "1s" 2025/11/29 01:55:51 INFO : OpenDrive root 'rclone-test-rivajip4banu': poll-interval is not supported by this remote 2025/11/29 01:55:51 NOTICE: OpenDrive root 'rclone-test-rivajip4banu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 01:55:52 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/11/29 01:55:54 DEBUG : WaitForWriters: timeout=30s 2025/11/29 01:55:54 DEBUG : dir: Looking for writers 2025/11/29 01:55:54 DEBUG : file1: reading active writers 2025/11/29 01:55:54 DEBUG : Looking for writers 2025/11/29 01:55:54 DEBUG : dir: reading active writers 2025/11/29 01:55:54 DEBUG : >WaitForWriters: --- PASS: TestDirStat (4.11s) === RUN TestDirReadDirAll run.go:185: Remote "OpenDrive root 'rclone-test-rivajip4banu'", Local "Local file system at /tmp/rclone1552542830", Modify Window "1s" 2025/11/29 01:55:55 INFO : OpenDrive root 'rclone-test-rivajip4banu': poll-interval is not supported by this remote 2025/11/29 01:55:55 NOTICE: OpenDrive root 'rclone-test-rivajip4banu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 01:55:56 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/11/29 01:55:58 DEBUG : dir/file2: Uploading chunk 0, size=15, remain=0 2025/11/29 01:56:01 DEBUG : dir/subdir/file3: Uploading chunk 0, size=16, remain=0 === RUN TestDirReadDirAll/Virtual 2025/11/29 01:56:03 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2025/11/29 01:56:03 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2025/11/29 01:56:03 DEBUG : dir: Added virtual directory entry vDel: "file2" 2025/11/29 01:56:03 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2025/11/29 01:56:04 DEBUG : dir/virtualFile: Uploading chunk 0, size=20, remain=0 2025/11/29 01:56:06 DEBUG : dir/virtualDir/testFile: Uploading chunk 0, size=17, remain=0 2025/11/29 01:56:08 DEBUG : dir: invalidating directory cache 2025/11/29 01:56:08 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2025/11/29 01:56:08 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2025/11/29 01:56:08 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2025/11/29 01:56:08 DEBUG : dir/file1: Reset virtual modtime 2025/11/29 01:56:08 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2025/11/29 01:56:08 DEBUG : dir/virtualFile: Reset virtual modtime 2025/11/29 01:56:08 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2025/11/29 01:56:08 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2025/11/29 01:56:08 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/29 01:56:08 DEBUG : dir: invalidating directory cache 2025/11/29 01:56:08 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2025/11/29 01:56:08 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/11/29 01:56:08 DEBUG : dir/virtualFile: Reset virtual modtime 2025/11/29 01:56:08 DEBUG : forgetting directory cache 2025/11/29 01:56:08 DEBUG : dir: forgetting directory cache 2025/11/29 01:56:08 DEBUG : dir/virtualDir: forgetting directory cache 2025/11/29 01:56:08 DEBUG : WaitForWriters: timeout=30s 2025/11/29 01:56:08 DEBUG : dir/virtualDir: Looking for writers 2025/11/29 01:56:08 DEBUG : dir: Looking for writers 2025/11/29 01:56:08 DEBUG : virtualFile2: reading active writers 2025/11/29 01:56:08 DEBUG : virtualFile: reading active writers 2025/11/29 01:56:08 DEBUG : virtualDir: reading active writers 2025/11/29 01:56:08 DEBUG : file1: reading active writers 2025/11/29 01:56:08 DEBUG : Looking for writers 2025/11/29 01:56:08 DEBUG : dir: reading active writers 2025/11/29 01:56:08 DEBUG : >WaitForWriters: --- PASS: TestDirReadDirAll (14.91s) --- PASS: TestDirReadDirAll/Virtual (5.19s) === RUN TestDirOpen run.go:185: Remote "OpenDrive root 'rclone-test-rivajip4banu'", Local "Local file system at /tmp/rclone1552542830", Modify Window "1s" 2025/11/29 01:56:10 INFO : OpenDrive root 'rclone-test-rivajip4banu': poll-interval is not supported by this remote 2025/11/29 01:56:10 NOTICE: OpenDrive root 'rclone-test-rivajip4banu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 01:56:11 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/11/29 01:56:13 ERROR : dir/: Can only open directories read only 2025/11/29 01:56:13 DEBUG : WaitForWriters: timeout=30s 2025/11/29 01:56:13 DEBUG : dir: Looking for writers 2025/11/29 01:56:13 DEBUG : Looking for writers 2025/11/29 01:56:13 DEBUG : dir: reading active writers 2025/11/29 01:56:13 DEBUG : >WaitForWriters: --- PASS: TestDirOpen (4.10s) === RUN TestDirCreate run.go:185: Remote "OpenDrive root 'rclone-test-rivajip4banu'", Local "Local file system at /tmp/rclone1552542830", Modify Window "1s" 2025/11/29 01:56:14 INFO : OpenDrive root 'rclone-test-rivajip4banu': poll-interval is not supported by this remote 2025/11/29 01:56:14 NOTICE: OpenDrive root 'rclone-test-rivajip4banu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 01:56:15 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/11/29 01:56:18 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2025/11/29 01:56:18 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/11/29 01:56:18 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2025/11/29 01:56:18 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/11/29 01:56:18 DEBUG : OpenDrive root 'rclone-test-rivajip4banu': File to upload is small (5 bytes), uploading instead of streaming 2025/11/29 01:56:18 DEBUG : dir/potato: Uploading chunk 0, size=5, remain=0 2025/11/29 01:56:19 DEBUG : dir/potato: size = 5 OK 2025/11/29 01:56:19 DEBUG : dir/potato: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/11/29 01:56:19 DEBUG : dir/potato: Size and md5 of src and dst objects identical 2025/11/29 01:56:19 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/11/29 01:56:19 DEBUG : WaitForWriters: timeout=30s 2025/11/29 01:56:19 DEBUG : dir: Looking for writers 2025/11/29 01:56:19 DEBUG : file1: reading active writers 2025/11/29 01:56:19 DEBUG : potato: reading active writers 2025/11/29 01:56:19 DEBUG : Looking for writers 2025/11/29 01:56:19 DEBUG : dir: reading active writers 2025/11/29 01:56:19 DEBUG : >WaitForWriters: --- PASS: TestDirCreate (6.40s) === RUN TestDirMkdir run.go:185: Remote "OpenDrive root 'rclone-test-rivajip4banu'", Local "Local file system at /tmp/rclone1552542830", Modify Window "1s" 2025/11/29 01:56:21 INFO : OpenDrive root 'rclone-test-rivajip4banu': poll-interval is not supported by this remote 2025/11/29 01:56:21 NOTICE: OpenDrive root 'rclone-test-rivajip4banu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 01:56:22 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/11/29 01:56:24 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/11/29 01:56:25 DEBUG : WaitForWriters: timeout=30s 2025/11/29 01:56:25 DEBUG : dir/sub: Looking for writers 2025/11/29 01:56:25 DEBUG : dir: Looking for writers 2025/11/29 01:56:25 DEBUG : file1: reading active writers 2025/11/29 01:56:25 DEBUG : sub: reading active writers 2025/11/29 01:56:25 DEBUG : Looking for writers 2025/11/29 01:56:25 DEBUG : dir: reading active writers 2025/11/29 01:56:25 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- PASS: TestDirMkdir (13.65s) === RUN TestDirMkdirSub run.go:185: Remote "OpenDrive root 'rclone-test-rivajip4banu'", Local "Local file system at /tmp/rclone1552542830", Modify Window "1s" 2025/11/29 01:56:34 INFO : OpenDrive root 'rclone-test-rivajip4banu': poll-interval is not supported by this remote 2025/11/29 01:56:34 NOTICE: OpenDrive root 'rclone-test-rivajip4banu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 01:56:36 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/11/29 01:56:38 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/11/29 01:56:38 ERROR : dir/sub/: Dir.Mkdir failed to read directory: failed to get folder list: Directory doesn't exist (Error 404) dir_test.go:422: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:422 Error: Received unexpected error: failed to get folder list: Directory doesn't exist (Error 404) Test: TestDirMkdirSub dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:426 Error: Not equal: expected: []string{"subsub,0,true"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "subsub,0,true" -} +([]string) Test: TestDirMkdirSub 2025/11/29 01:56:38 DEBUG : WaitForWriters: timeout=30s 2025/11/29 01:56:38 DEBUG : dir/sub: Looking for writers 2025/11/29 01:56:38 DEBUG : dir: Looking for writers 2025/11/29 01:56:38 DEBUG : file1: reading active writers 2025/11/29 01:56:38 DEBUG : sub: reading active writers 2025/11/29 01:56:38 DEBUG : Looking for writers 2025/11/29 01:56:38 DEBUG : dir: reading active writers 2025/11/29 01:56:38 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (5.60s) panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xb44b05] goroutine 917 [running]: testing.tRunner.func1.2({0x23e1c80, 0x42075c0}) /usr/local/go/src/testing/testing.go:1734 +0x21c testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1737 +0x35e panic({0x23e1c80?, 0x42075c0?}) /usr/local/go/src/runtime/panic.go:792 +0x132 github.com/rclone/rclone/vfs.(*Dir).ReadDirAll(0x0) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir.go:1006 +0x25 github.com/rclone/rclone/vfs.checkListing(0xc001efe380, 0xc001efe380?, {0x0, 0x0, 0x0}) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:245 +0x45 github.com/rclone/rclone/vfs.TestDirMkdirSub(0xc001efe380) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:427 +0x23e testing.tRunner(0xc001efe380, 0x2a183e8) /usr/local/go/src/testing/testing.go:1792 +0xf4 created by testing.(*T).Run in goroutine 1 /usr/local/go/src/testing/testing.go:1851 +0x413 "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose" - Finished ERROR in 1m39.011832341s (try 1/5): exit status 2: Failed [TestDirMkdirSub]