"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose" - Starting (try 1/5) 2025/12/22 04:25:40 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-qucimah7wuda" 2025/12/22 04:25:40 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/12/22 04:25:41 DEBUG : Starting OpenDrive session with ID: f0076f262a633199ac869523eeaf1fa4611b9d1a26abbfa15deaea9bf981b425 2025/12/22 04:25:41 DEBUG : Creating backend with remote "/tmp/rclone3308364961" === RUN TestDirHandleMethods run.go:185: Remote "OpenDrive root 'rclone-test-qucimah7wuda'", Local "Local file system at /tmp/rclone3308364961", Modify Window "1s" 2025/12/22 04:25:41 INFO : OpenDrive root 'rclone-test-qucimah7wuda': poll-interval is not supported by this remote 2025/12/22 04:25:41 NOTICE: OpenDrive root 'rclone-test-qucimah7wuda': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/22 04:25:43 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/12/22 04:25:44 DEBUG : WaitForWriters: timeout=30s 2025/12/22 04:25:44 DEBUG : dir: Looking for writers 2025/12/22 04:25:44 DEBUG : Looking for writers 2025/12/22 04:25:44 DEBUG : dir: reading active writers 2025/12/22 04:25:44 DEBUG : >WaitForWriters: --- PASS: TestDirHandleMethods (4.28s) === RUN TestDirHandleReaddir run.go:185: Remote "OpenDrive root 'rclone-test-qucimah7wuda'", Local "Local file system at /tmp/rclone3308364961", Modify Window "1s" 2025/12/22 04:25:46 INFO : OpenDrive root 'rclone-test-qucimah7wuda': poll-interval is not supported by this remote 2025/12/22 04:25:46 NOTICE: OpenDrive root 'rclone-test-qucimah7wuda': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/22 04:25:47 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/12/22 04:25:49 DEBUG : dir/file2: Uploading chunk 0, size=15, remain=0 2025/12/22 04:25:51 DEBUG : dir/subdir/file3: Uploading chunk 0, size=16, remain=0 2025/12/22 04:25:53 DEBUG : WaitForWriters: timeout=30s 2025/12/22 04:25:53 DEBUG : dir/subdir: Looking for writers 2025/12/22 04:25:53 DEBUG : dir: Looking for writers 2025/12/22 04:25:53 DEBUG : file1: reading active writers 2025/12/22 04:25:53 DEBUG : file2: reading active writers 2025/12/22 04:25:53 DEBUG : subdir: reading active writers 2025/12/22 04:25:53 DEBUG : Looking for writers 2025/12/22 04:25:53 DEBUG : dir: reading active writers 2025/12/22 04:25:53 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddir (8.97s) === RUN TestDirHandleReaddirnames run.go:185: Remote "OpenDrive root 'rclone-test-qucimah7wuda'", Local "Local file system at /tmp/rclone3308364961", Modify Window "1s" 2025/12/22 04:25:55 INFO : OpenDrive root 'rclone-test-qucimah7wuda': poll-interval is not supported by this remote 2025/12/22 04:25:55 NOTICE: OpenDrive root 'rclone-test-qucimah7wuda': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/22 04:25:56 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/12/22 04:25:58 DEBUG : WaitForWriters: timeout=30s 2025/12/22 04:25:58 DEBUG : dir: Looking for writers 2025/12/22 04:25:58 DEBUG : file1: reading active writers 2025/12/22 04:25:58 DEBUG : Looking for writers 2025/12/22 04:25:58 DEBUG : dir: reading active writers 2025/12/22 04:25:58 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddirnames (4.04s) === RUN TestDirMethods run.go:185: Remote "OpenDrive root 'rclone-test-qucimah7wuda'", Local "Local file system at /tmp/rclone3308364961", Modify Window "1s" 2025/12/22 04:25:59 INFO : OpenDrive root 'rclone-test-qucimah7wuda': poll-interval is not supported by this remote 2025/12/22 04:25:59 NOTICE: OpenDrive root 'rclone-test-qucimah7wuda': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/22 04:26:00 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/12/22 04:26:01 DEBUG : WaitForWriters: timeout=30s 2025/12/22 04:26:01 DEBUG : dir: Looking for writers 2025/12/22 04:26:01 DEBUG : Looking for writers 2025/12/22 04:26:01 DEBUG : dir: reading active writers 2025/12/22 04:26:01 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: folder not empty 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: TestDirMethods (12.42s) === RUN TestDirForgetAll run.go:185: Remote "OpenDrive root 'rclone-test-qucimah7wuda'", Local "Local file system at /tmp/rclone3308364961", Modify Window "1s" 2025/12/22 04:26:11 INFO : OpenDrive root 'rclone-test-qucimah7wuda': poll-interval is not supported by this remote 2025/12/22 04:26:11 NOTICE: OpenDrive root 'rclone-test-qucimah7wuda': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/22 04:26:12 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/12/22 04:26:14 DEBUG : dir: forgetting directory cache 2025/12/22 04:26:14 DEBUG : forgetting directory cache 2025/12/22 04:26:14 DEBUG : dir: forgetting directory cache 2025/12/22 04:26:14 DEBUG : WaitForWriters: timeout=30s 2025/12/22 04:26:14 DEBUG : Looking for writers 2025/12/22 04:26:14 DEBUG : >WaitForWriters: --- PASS: TestDirForgetAll (3.91s) === RUN TestDirForgetPath run.go:185: Remote "OpenDrive root 'rclone-test-qucimah7wuda'", Local "Local file system at /tmp/rclone3308364961", Modify Window "1s" 2025/12/22 04:26:15 INFO : OpenDrive root 'rclone-test-qucimah7wuda': poll-interval is not supported by this remote 2025/12/22 04:26:15 NOTICE: OpenDrive root 'rclone-test-qucimah7wuda': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/22 04:26:16 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/12/22 04:26:18 DEBUG : ForgetPath: relativePath="dir/notfound", type=1 2025/12/22 04:26:18 DEBUG : dir: invalidating directory cache 2025/12/22 04:26:18 DEBUG : >ForgetPath: 2025/12/22 04:26:18 DEBUG : ForgetPath: relativePath="dir", type=0 2025/12/22 04:26:18 DEBUG : invalidating directory cache 2025/12/22 04:26:18 DEBUG : dir: forgetting directory cache 2025/12/22 04:26:18 DEBUG : >ForgetPath: 2025/12/22 04:26:18 DEBUG : ForgetPath: relativePath="not/in/cache", type=0 2025/12/22 04:26:18 DEBUG : >ForgetPath: 2025/12/22 04:26:18 DEBUG : WaitForWriters: timeout=30s 2025/12/22 04:26:18 DEBUG : dir: Looking for writers 2025/12/22 04:26:18 DEBUG : Looking for writers 2025/12/22 04:26:18 DEBUG : dir: reading active writers 2025/12/22 04:26:18 DEBUG : >WaitForWriters: --- PASS: TestDirForgetPath (3.87s) === RUN TestDirWalk run.go:185: Remote "OpenDrive root 'rclone-test-qucimah7wuda'", Local "Local file system at /tmp/rclone3308364961", Modify Window "1s" 2025/12/22 04:26:19 INFO : OpenDrive root 'rclone-test-qucimah7wuda': poll-interval is not supported by this remote 2025/12/22 04:26:19 NOTICE: OpenDrive root 'rclone-test-qucimah7wuda': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/22 04:26:20 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/12/22 04:26:23 DEBUG : fil/a/b/c: Uploading chunk 0, size=15, remain=0 2025/12/22 04:26:25 DEBUG : forgetting directory cache 2025/12/22 04:26:25 DEBUG : dir: forgetting directory cache 2025/12/22 04:26:26 DEBUG : WaitForWriters: timeout=30s 2025/12/22 04:26:26 DEBUG : dir: Looking for writers 2025/12/22 04:26:26 DEBUG : fil/a/b: Looking for writers 2025/12/22 04:26:26 DEBUG : fil/a: Looking for writers 2025/12/22 04:26:26 DEBUG : b: reading active writers 2025/12/22 04:26:26 DEBUG : fil: Looking for writers 2025/12/22 04:26:26 DEBUG : a: reading active writers 2025/12/22 04:26:26 DEBUG : Looking for writers 2025/12/22 04:26:26 DEBUG : dir: reading active writers 2025/12/22 04:26:26 DEBUG : fil: reading active writers 2025/12/22 04:26:26 DEBUG : >WaitForWriters: --- PASS: TestDirWalk (9.55s) === RUN TestDirSetModTime run.go:185: Remote "OpenDrive root 'rclone-test-qucimah7wuda'", Local "Local file system at /tmp/rclone3308364961", Modify Window "1s" 2025/12/22 04:26:28 INFO : OpenDrive root 'rclone-test-qucimah7wuda': poll-interval is not supported by this remote 2025/12/22 04:26:28 NOTICE: OpenDrive root 'rclone-test-qucimah7wuda': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/22 04:26:29 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/12/22 04:26:31 DEBUG : WaitForWriters: timeout=30s 2025/12/22 04:26:31 DEBUG : dir: Looking for writers 2025/12/22 04:26:31 DEBUG : Looking for writers 2025/12/22 04:26:31 DEBUG : dir: reading active writers 2025/12/22 04:26:31 DEBUG : >WaitForWriters: --- PASS: TestDirSetModTime (3.85s) === RUN TestDirStat run.go:185: Remote "OpenDrive root 'rclone-test-qucimah7wuda'", Local "Local file system at /tmp/rclone3308364961", Modify Window "1s" 2025/12/22 04:26:32 INFO : OpenDrive root 'rclone-test-qucimah7wuda': poll-interval is not supported by this remote 2025/12/22 04:26:32 NOTICE: OpenDrive root 'rclone-test-qucimah7wuda': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/22 04:26:33 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/12/22 04:26:35 DEBUG : WaitForWriters: timeout=30s 2025/12/22 04:26:35 DEBUG : dir: Looking for writers 2025/12/22 04:26:35 DEBUG : file1: reading active writers 2025/12/22 04:26:35 DEBUG : Looking for writers 2025/12/22 04:26:35 DEBUG : dir: reading active writers 2025/12/22 04:26:35 DEBUG : >WaitForWriters: --- PASS: TestDirStat (3.89s) === RUN TestDirReadDirAll run.go:185: Remote "OpenDrive root 'rclone-test-qucimah7wuda'", Local "Local file system at /tmp/rclone3308364961", Modify Window "1s" 2025/12/22 04:26:36 INFO : OpenDrive root 'rclone-test-qucimah7wuda': poll-interval is not supported by this remote 2025/12/22 04:26:36 NOTICE: OpenDrive root 'rclone-test-qucimah7wuda': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/22 04:26:37 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/12/22 04:26:39 DEBUG : dir/file2: Uploading chunk 0, size=15, remain=0 2025/12/22 04:26:41 DEBUG : dir/subdir/file3: Uploading chunk 0, size=16, remain=0 === RUN TestDirReadDirAll/Virtual 2025/12/22 04:26:43 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2025/12/22 04:26:43 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2025/12/22 04:26:43 DEBUG : dir: Added virtual directory entry vDel: "file2" 2025/12/22 04:26:43 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2025/12/22 04:26:44 DEBUG : dir/virtualFile: Uploading chunk 0, size=20, remain=0 2025/12/22 04:26:46 DEBUG : dir/virtualDir/testFile: Uploading chunk 0, size=17, remain=0 2025/12/22 04:26:48 DEBUG : dir: invalidating directory cache 2025/12/22 04:26:48 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2025/12/22 04:26:48 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2025/12/22 04:26:48 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2025/12/22 04:26:48 DEBUG : dir/file1: Reset virtual modtime 2025/12/22 04:26:48 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2025/12/22 04:26:48 DEBUG : dir/virtualFile: Reset virtual modtime 2025/12/22 04:26:48 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2025/12/22 04:26:48 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2025/12/22 04:26:48 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/22 04:26:48 DEBUG : dir: invalidating directory cache 2025/12/22 04:26:48 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/12/22 04:26:48 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2025/12/22 04:26:48 DEBUG : dir/virtualFile: Reset virtual modtime 2025/12/22 04:26:48 DEBUG : forgetting directory cache 2025/12/22 04:26:48 DEBUG : dir: forgetting directory cache 2025/12/22 04:26:48 DEBUG : dir/virtualDir: forgetting directory cache 2025/12/22 04:26:48 DEBUG : WaitForWriters: timeout=30s 2025/12/22 04:26:48 DEBUG : dir/virtualDir: Looking for writers 2025/12/22 04:26:48 DEBUG : dir: Looking for writers 2025/12/22 04:26:48 DEBUG : virtualDir: reading active writers 2025/12/22 04:26:48 DEBUG : file1: reading active writers 2025/12/22 04:26:48 DEBUG : virtualFile2: reading active writers 2025/12/22 04:26:48 DEBUG : virtualFile: reading active writers 2025/12/22 04:26:48 DEBUG : Looking for writers 2025/12/22 04:26:48 DEBUG : dir: reading active writers 2025/12/22 04:26:48 DEBUG : >WaitForWriters: --- PASS: TestDirReadDirAll (14.39s) --- PASS: TestDirReadDirAll/Virtual (5.25s) === RUN TestDirOpen run.go:185: Remote "OpenDrive root 'rclone-test-qucimah7wuda'", Local "Local file system at /tmp/rclone3308364961", Modify Window "1s" 2025/12/22 04:26:50 INFO : OpenDrive root 'rclone-test-qucimah7wuda': poll-interval is not supported by this remote 2025/12/22 04:26:50 NOTICE: OpenDrive root 'rclone-test-qucimah7wuda': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/22 04:26:52 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure 2025/12/22 04:27:01 ERROR : dir/: Can only open directories read only 2025/12/22 04:27:01 DEBUG : WaitForWriters: timeout=30s 2025/12/22 04:27:01 DEBUG : dir: Looking for writers 2025/12/22 04:27:01 DEBUG : Looking for writers 2025/12/22 04:27:01 DEBUG : dir: reading active writers 2025/12/22 04:27:01 DEBUG : >WaitForWriters: --- PASS: TestDirOpen (11.23s) === RUN TestDirCreate run.go:185: Remote "OpenDrive root 'rclone-test-qucimah7wuda'", Local "Local file system at /tmp/rclone3308364961", Modify Window "1s" 2025/12/22 04:27:02 INFO : OpenDrive root 'rclone-test-qucimah7wuda': poll-interval is not supported by this remote 2025/12/22 04:27:02 NOTICE: OpenDrive root 'rclone-test-qucimah7wuda': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/22 04:27:03 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/12/22 04:27:05 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2025/12/22 04:27:05 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/12/22 04:27:05 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2025/12/22 04:27:05 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/12/22 04:27:05 DEBUG : OpenDrive root 'rclone-test-qucimah7wuda': File to upload is small (5 bytes), uploading instead of streaming 2025/12/22 04:27:05 DEBUG : dir/potato: Uploading chunk 0, size=5, remain=0 2025/12/22 04:27:06 DEBUG : dir/potato: size = 5 OK 2025/12/22 04:27:06 DEBUG : dir/potato: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/12/22 04:27:06 DEBUG : dir/potato: Size and md5 of src and dst objects identical 2025/12/22 04:27:06 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/12/22 04:27:06 DEBUG : WaitForWriters: timeout=30s 2025/12/22 04:27:06 DEBUG : dir: Looking for writers 2025/12/22 04:27:06 DEBUG : file1: reading active writers 2025/12/22 04:27:06 DEBUG : potato: reading active writers 2025/12/22 04:27:06 DEBUG : Looking for writers 2025/12/22 04:27:06 DEBUG : dir: reading active writers 2025/12/22 04:27:06 DEBUG : >WaitForWriters: --- PASS: TestDirCreate (6.03s) === RUN TestDirMkdir run.go:185: Remote "OpenDrive root 'rclone-test-qucimah7wuda'", Local "Local file system at /tmp/rclone3308364961", Modify Window "1s" 2025/12/22 04:27:08 INFO : OpenDrive root 'rclone-test-qucimah7wuda': poll-interval is not supported by this remote 2025/12/22 04:27:08 NOTICE: OpenDrive root 'rclone-test-qucimah7wuda': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/22 04:27:09 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/12/22 04:27:11 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/12/22 04:27:12 DEBUG : WaitForWriters: timeout=30s 2025/12/22 04:27:12 DEBUG : dir/sub: Looking for writers 2025/12/22 04:27:12 DEBUG : dir: Looking for writers 2025/12/22 04:27:12 DEBUG : file1: reading active writers 2025/12/22 04:27:12 DEBUG : sub: reading active writers 2025/12/22 04:27:12 DEBUG : Looking for writers 2025/12/22 04:27:12 DEBUG : dir: reading active writers 2025/12/22 04:27:12 DEBUG : >WaitForWriters: --- PASS: TestDirMkdir (5.81s) === RUN TestDirMkdirSub run.go:185: Remote "OpenDrive root 'rclone-test-qucimah7wuda'", Local "Local file system at /tmp/rclone3308364961", Modify Window "1s" 2025/12/22 04:27:14 INFO : OpenDrive root 'rclone-test-qucimah7wuda': poll-interval is not supported by this remote 2025/12/22 04:27:14 NOTICE: OpenDrive root 'rclone-test-qucimah7wuda': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/22 04:27:15 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/12/22 04:27:17 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/12/22 04:27:17 ERROR : dir/sub/: Dir.Mkdir failed to create 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/12/22 04:27:17 DEBUG : WaitForWriters: timeout=30s 2025/12/22 04:27:17 DEBUG : dir/sub: Looking for writers 2025/12/22 04:27:17 DEBUG : dir: Looking for writers 2025/12/22 04:27:17 DEBUG : sub: reading active writers 2025/12/22 04:27:17 DEBUG : file1: reading active writers 2025/12/22 04:27:17 DEBUG : Looking for writers 2025/12/22 04:27:17 DEBUG : dir: reading active writers 2025/12/22 04:27:17 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (5.13s) 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=0xb44d45] goroutine 885 [running]: testing.tRunner.func1.2({0x23ed460, 0x421d5e0}) /usr/local/go/src/testing/testing.go:1734 +0x21c testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1737 +0x35e panic({0x23ed460?, 0x421d5e0?}) /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(0xc000873880, 0xc000873880?, {0x0, 0x0, 0x0}) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:245 +0x45 github.com/rclone/rclone/vfs.TestDirMkdirSub(0xc000873880) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:427 +0x23e testing.tRunner(0xc000873880, 0x2a26888) /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 1m38.360219086s (try 1/5): exit status 2: Failed [TestDirMkdirSub]