"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose" - Starting (try 1/5) 2025/09/29 03:13:12 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-zekiyih0cace" 2025/09/29 03:13:12 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/09/29 03:13:13 DEBUG : Starting OpenDrive session with ID: 084dacd350f3b0a0c7872e8c7fc97ed8af50d4be6d4bceca345f6beb3d9010a0 2025/09/29 03:13:13 DEBUG : Creating backend with remote "/tmp/rclone79766279" === RUN TestDirHandleMethods run.go:180: Remote "OpenDrive root 'rclone-test-zekiyih0cace'", Local "Local file system at /tmp/rclone79766279", Modify Window "1s" 2025/09/29 03:13:13 INFO : OpenDrive root 'rclone-test-zekiyih0cace': poll-interval is not supported by this remote 2025/09/29 03:13:13 NOTICE: OpenDrive root 'rclone-test-zekiyih0cace': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/29 03:13:15 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/09/29 03:13:17 DEBUG : WaitForWriters: timeout=30s 2025/09/29 03:13:17 DEBUG : dir: Looking for writers 2025/09/29 03:13:17 DEBUG : Looking for writers 2025/09/29 03:13:17 DEBUG : dir: reading active writers 2025/09/29 03:13:17 DEBUG : >WaitForWriters: --- PASS: TestDirHandleMethods (4.38s) === RUN TestDirHandleReaddir run.go:180: Remote "OpenDrive root 'rclone-test-zekiyih0cace'", Local "Local file system at /tmp/rclone79766279", Modify Window "1s" 2025/09/29 03:13:18 INFO : OpenDrive root 'rclone-test-zekiyih0cace': poll-interval is not supported by this remote 2025/09/29 03:13:18 NOTICE: OpenDrive root 'rclone-test-zekiyih0cace': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/29 03:13:19 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/09/29 03:13:21 DEBUG : dir/file2: Uploading chunk 0, size=15, remain=0 2025/09/29 03:13:23 DEBUG : dir/subdir/file3: Uploading chunk 0, size=16, remain=0 2025/09/29 03:13:25 DEBUG : WaitForWriters: timeout=30s 2025/09/29 03:13:25 DEBUG : dir/subdir: Looking for writers 2025/09/29 03:13:25 DEBUG : dir: Looking for writers 2025/09/29 03:13:25 DEBUG : file2: reading active writers 2025/09/29 03:13:25 DEBUG : subdir: reading active writers 2025/09/29 03:13:25 DEBUG : file1: reading active writers 2025/09/29 03:13:25 DEBUG : Looking for writers 2025/09/29 03:13:25 DEBUG : dir: reading active writers 2025/09/29 03:13:25 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddir (9.84s) === RUN TestDirHandleReaddirnames run.go:180: Remote "OpenDrive root 'rclone-test-zekiyih0cace'", Local "Local file system at /tmp/rclone79766279", Modify Window "1s" 2025/09/29 03:13:28 INFO : OpenDrive root 'rclone-test-zekiyih0cace': poll-interval is not supported by this remote 2025/09/29 03:13:28 NOTICE: OpenDrive root 'rclone-test-zekiyih0cace': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/29 03:13:29 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/09/29 03:13:31 DEBUG : WaitForWriters: timeout=30s 2025/09/29 03:13:31 DEBUG : dir: Looking for writers 2025/09/29 03:13:31 DEBUG : file1: reading active writers 2025/09/29 03:13:31 DEBUG : Looking for writers 2025/09/29 03:13:31 DEBUG : dir: reading active writers 2025/09/29 03:13:31 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddirnames (4.25s) === RUN TestDirMethods run.go:180: Remote "OpenDrive root 'rclone-test-zekiyih0cace'", Local "Local file system at /tmp/rclone79766279", Modify Window "1s" 2025/09/29 03:13:32 INFO : OpenDrive root 'rclone-test-zekiyih0cace': poll-interval is not supported by this remote 2025/09/29 03:13:32 NOTICE: OpenDrive root 'rclone-test-zekiyih0cace': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/29 03:13:33 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/09/29 03:13:36 DEBUG : WaitForWriters: timeout=30s 2025/09/29 03:13:36 DEBUG : dir: Looking for writers 2025/09/29 03:13:36 DEBUG : Looking for writers 2025/09/29 03:13:36 DEBUG : dir: reading active writers 2025/09/29 03:13:36 DEBUG : >WaitForWriters: --- PASS: TestDirMethods (5.16s) === RUN TestDirForgetAll run.go:180: Remote "OpenDrive root 'rclone-test-zekiyih0cace'", Local "Local file system at /tmp/rclone79766279", Modify Window "1s" 2025/09/29 03:13:37 INFO : OpenDrive root 'rclone-test-zekiyih0cace': poll-interval is not supported by this remote 2025/09/29 03:13:37 NOTICE: OpenDrive root 'rclone-test-zekiyih0cace': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/29 03:13:38 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/09/29 03:13:40 DEBUG : dir: forgetting directory cache 2025/09/29 03:13:40 DEBUG : forgetting directory cache 2025/09/29 03:13:40 DEBUG : dir: forgetting directory cache 2025/09/29 03:13:40 DEBUG : WaitForWriters: timeout=30s 2025/09/29 03:13:40 DEBUG : Looking for writers 2025/09/29 03:13:40 DEBUG : >WaitForWriters: --- PASS: TestDirForgetAll (4.36s) === RUN TestDirForgetPath run.go:180: Remote "OpenDrive root 'rclone-test-zekiyih0cace'", Local "Local file system at /tmp/rclone79766279", Modify Window "1s" 2025/09/29 03:13:41 INFO : OpenDrive root 'rclone-test-zekiyih0cace': poll-interval is not supported by this remote 2025/09/29 03:13:41 NOTICE: OpenDrive root 'rclone-test-zekiyih0cace': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/29 03:13:43 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/09/29 03:13:44 DEBUG : ForgetPath: relativePath="dir/notfound", type=1 2025/09/29 03:13:44 DEBUG : dir: invalidating directory cache 2025/09/29 03:13:44 DEBUG : >ForgetPath: 2025/09/29 03:13:44 DEBUG : ForgetPath: relativePath="dir", type=0 2025/09/29 03:13:44 DEBUG : invalidating directory cache 2025/09/29 03:13:44 DEBUG : dir: forgetting directory cache 2025/09/29 03:13:44 DEBUG : >ForgetPath: 2025/09/29 03:13:44 DEBUG : ForgetPath: relativePath="not/in/cache", type=0 2025/09/29 03:13:44 DEBUG : >ForgetPath: 2025/09/29 03:13:44 DEBUG : WaitForWriters: timeout=30s 2025/09/29 03:13:44 DEBUG : dir: Looking for writers 2025/09/29 03:13:44 DEBUG : Looking for writers 2025/09/29 03:13:44 DEBUG : dir: reading active writers 2025/09/29 03:13:44 DEBUG : >WaitForWriters: --- PASS: TestDirForgetPath (4.21s) === RUN TestDirWalk run.go:180: Remote "OpenDrive root 'rclone-test-zekiyih0cace'", Local "Local file system at /tmp/rclone79766279", Modify Window "1s" 2025/09/29 03:13:46 INFO : OpenDrive root 'rclone-test-zekiyih0cace': poll-interval is not supported by this remote 2025/09/29 03:13:46 NOTICE: OpenDrive root 'rclone-test-zekiyih0cace': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/29 03:13:47 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/09/29 03:13:51 DEBUG : fil/a/b/c: Uploading chunk 0, size=15, remain=0 2025/09/29 03:13:53 DEBUG : forgetting directory cache 2025/09/29 03:13:53 DEBUG : dir: forgetting directory cache 2025/09/29 03:13:53 DEBUG : WaitForWriters: timeout=30s 2025/09/29 03:13:53 DEBUG : dir: Looking for writers 2025/09/29 03:13:53 DEBUG : fil/a/b: Looking for writers 2025/09/29 03:13:53 DEBUG : fil/a: Looking for writers 2025/09/29 03:13:53 DEBUG : b: reading active writers 2025/09/29 03:13:53 DEBUG : fil: Looking for writers 2025/09/29 03:13:53 DEBUG : a: reading active writers 2025/09/29 03:13:53 DEBUG : Looking for writers 2025/09/29 03:13:53 DEBUG : fil: reading active writers 2025/09/29 03:13:53 DEBUG : dir: reading active writers 2025/09/29 03:13:53 DEBUG : >WaitForWriters: --- PASS: TestDirWalk (10.31s) === RUN TestDirSetModTime run.go:180: Remote "OpenDrive root 'rclone-test-zekiyih0cace'", Local "Local file system at /tmp/rclone79766279", Modify Window "1s" 2025/09/29 03:13:56 INFO : OpenDrive root 'rclone-test-zekiyih0cace': poll-interval is not supported by this remote 2025/09/29 03:13:56 NOTICE: OpenDrive root 'rclone-test-zekiyih0cace': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/29 03:13:57 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/09/29 03:13:59 DEBUG : WaitForWriters: timeout=30s 2025/09/29 03:13:59 DEBUG : dir: Looking for writers 2025/09/29 03:13:59 DEBUG : Looking for writers 2025/09/29 03:13:59 DEBUG : dir: reading active writers 2025/09/29 03:13:59 DEBUG : >WaitForWriters: --- PASS: TestDirSetModTime (4.04s) === RUN TestDirStat run.go:180: Remote "OpenDrive root 'rclone-test-zekiyih0cace'", Local "Local file system at /tmp/rclone79766279", Modify Window "1s" 2025/09/29 03:14:00 INFO : OpenDrive root 'rclone-test-zekiyih0cace': poll-interval is not supported by this remote 2025/09/29 03:14:00 NOTICE: OpenDrive root 'rclone-test-zekiyih0cace': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/29 03:14:01 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/09/29 03:14:03 DEBUG : WaitForWriters: timeout=30s 2025/09/29 03:14:03 DEBUG : dir: Looking for writers 2025/09/29 03:14:03 DEBUG : file1: reading active writers 2025/09/29 03:14:03 DEBUG : Looking for writers 2025/09/29 03:14:03 DEBUG : dir: reading active writers 2025/09/29 03:14:03 DEBUG : >WaitForWriters: --- PASS: TestDirStat (4.25s) === RUN TestDirReadDirAll run.go:180: Remote "OpenDrive root 'rclone-test-zekiyih0cace'", Local "Local file system at /tmp/rclone79766279", Modify Window "1s" 2025/09/29 03:14:04 INFO : OpenDrive root 'rclone-test-zekiyih0cace': poll-interval is not supported by this remote 2025/09/29 03:14:04 NOTICE: OpenDrive root 'rclone-test-zekiyih0cace': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/29 03:14:05 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/09/29 03:14:07 DEBUG : dir/file2: Uploading chunk 0, size=15, remain=0 2025/09/29 03:14:10 DEBUG : dir/subdir/file3: Uploading chunk 0, size=16, remain=0 === RUN TestDirReadDirAll/Virtual 2025/09/29 03:14:13 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2025/09/29 03:14:13 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2025/09/29 03:14:13 DEBUG : dir: Added virtual directory entry vDel: "file2" 2025/09/29 03:14:13 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2025/09/29 03:14:13 DEBUG : dir/virtualFile: Uploading chunk 0, size=20, remain=0 2025/09/29 03:14:16 DEBUG : dir/virtualDir/testFile: Uploading chunk 0, size=17, remain=0 2025/09/29 03:14:18 DEBUG : dir: invalidating directory cache 2025/09/29 03:14:18 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2025/09/29 03:14:18 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2025/09/29 03:14:18 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2025/09/29 03:14:18 DEBUG : dir/file1: Reset virtual modtime 2025/09/29 03:14:18 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2025/09/29 03:14:18 DEBUG : dir/virtualFile: Reset virtual modtime 2025/09/29 03:14:18 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2025/09/29 03:14:18 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2025/09/29 03:14:18 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/09/29 03:14:18 DEBUG : dir: invalidating directory cache 2025/09/29 03:14:18 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2025/09/29 03:14:18 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/09/29 03:14:18 DEBUG : dir/virtualFile: Reset virtual modtime 2025/09/29 03:14:18 DEBUG : forgetting directory cache 2025/09/29 03:14:18 DEBUG : dir: forgetting directory cache 2025/09/29 03:14:18 DEBUG : dir/virtualDir: forgetting directory cache 2025/09/29 03:14:18 DEBUG : WaitForWriters: timeout=30s 2025/09/29 03:14:18 DEBUG : dir/virtualDir: Looking for writers 2025/09/29 03:14:18 DEBUG : dir: Looking for writers 2025/09/29 03:14:18 DEBUG : virtualFile2: reading active writers 2025/09/29 03:14:18 DEBUG : virtualFile: reading active writers 2025/09/29 03:14:18 DEBUG : virtualDir: reading active writers 2025/09/29 03:14:18 DEBUG : file1: reading active writers 2025/09/29 03:14:18 DEBUG : Looking for writers 2025/09/29 03:14:18 DEBUG : dir: reading active writers 2025/09/29 03:14:18 DEBUG : >WaitForWriters: --- PASS: TestDirReadDirAll (16.05s) --- PASS: TestDirReadDirAll/Virtual (5.40s) === RUN TestDirOpen run.go:180: Remote "OpenDrive root 'rclone-test-zekiyih0cace'", Local "Local file system at /tmp/rclone79766279", Modify Window "1s" 2025/09/29 03:14:20 INFO : OpenDrive root 'rclone-test-zekiyih0cace': poll-interval is not supported by this remote 2025/09/29 03:14:20 NOTICE: OpenDrive root 'rclone-test-zekiyih0cace': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/29 03:14:21 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/09/29 03:14:23 ERROR : dir/: Can only open directories read only 2025/09/29 03:14:23 DEBUG : WaitForWriters: timeout=30s 2025/09/29 03:14:23 DEBUG : dir: Looking for writers 2025/09/29 03:14:23 DEBUG : Looking for writers 2025/09/29 03:14:23 DEBUG : dir: reading active writers 2025/09/29 03:14:23 DEBUG : >WaitForWriters: --- PASS: TestDirOpen (4.02s) === RUN TestDirCreate run.go:180: Remote "OpenDrive root 'rclone-test-zekiyih0cace'", Local "Local file system at /tmp/rclone79766279", Modify Window "1s" 2025/09/29 03:14:24 INFO : OpenDrive root 'rclone-test-zekiyih0cace': poll-interval is not supported by this remote 2025/09/29 03:14:24 NOTICE: OpenDrive root 'rclone-test-zekiyih0cace': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/29 03:14:25 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/09/29 03:14:28 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2025/09/29 03:14:28 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/09/29 03:14:28 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2025/09/29 03:14:28 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/09/29 03:14:28 DEBUG : OpenDrive root 'rclone-test-zekiyih0cace': File to upload is small (5 bytes), uploading instead of streaming 2025/09/29 03:14:28 DEBUG : dir/potato: Uploading chunk 0, size=5, remain=0 2025/09/29 03:14:30 DEBUG : dir/potato: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/09/29 03:14:30 DEBUG : dir/potato: Size and md5 of src and dst objects identical 2025/09/29 03:14:30 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/09/29 03:14:30 DEBUG : WaitForWriters: timeout=30s 2025/09/29 03:14:30 DEBUG : dir: Looking for writers 2025/09/29 03:14:30 DEBUG : file1: reading active writers 2025/09/29 03:14:30 DEBUG : potato: reading active writers 2025/09/29 03:14:30 DEBUG : Looking for writers 2025/09/29 03:14:30 DEBUG : dir: reading active writers 2025/09/29 03:14:30 DEBUG : >WaitForWriters: --- PASS: TestDirCreate (6.81s) === RUN TestDirMkdir run.go:180: Remote "OpenDrive root 'rclone-test-zekiyih0cace'", Local "Local file system at /tmp/rclone79766279", Modify Window "1s" 2025/09/29 03:14:31 INFO : OpenDrive root 'rclone-test-zekiyih0cace': poll-interval is not supported by this remote 2025/09/29 03:14:31 NOTICE: OpenDrive root 'rclone-test-zekiyih0cace': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/09/29 03:14:32 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/09/29 03:14:34 ERROR : dir/: Dir.Mkdir failed to read directory: failed to get folder list: Directory does not exist (Error 404) 2025/09/29 03:14:35 ERROR : dir/: Dir.Mkdir failed to read directory: failed to get folder list: Directory does not exist (Error 404) dir_test.go:397: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:397 Error: Received unexpected error: failed to get folder list: Directory does not exist (Error 404) Test: TestDirMkdir dir_test.go:398: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:398 Error: Should be true Test: TestDirMkdir 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:401 Error: Not equal: expected: []string{"file1,14,false", "sub,0,true"} actual : []string{"file1,14,false"} Diff: --- Expected +++ Actual @@ -1,4 +1,3 @@ -([]string) (len=2) { - (string) (len=14) "file1,14,false", - (string) (len=10) "sub,0,true" +([]string) (len=1) { + (string) (len=14) "file1,14,false" } Test: TestDirMkdir 2025/09/29 03:14:35 DEBUG : WaitForWriters: timeout=30s 2025/09/29 03:14:35 DEBUG : dir: Looking for writers 2025/09/29 03:14:35 DEBUG : file1: reading active writers 2025/09/29 03:14:35 DEBUG : Looking for writers 2025/09/29 03:14:35 DEBUG : dir: reading active writers 2025/09/29 03:14:35 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (4.89s) 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=0x1f537a5] goroutine 818 [running]: testing.tRunner.func1.2({0x2340140, 0x4097470}) /usr/local/go/src/testing/testing.go:1734 +0x21c testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1737 +0x35e panic({0x2340140?, 0x4097470?}) /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(0xc00081dc00, 0xc00081dc00?, {0x0, 0x0, 0x0}) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:245 +0x45 github.com/rclone/rclone/vfs.TestDirMkdir(0xc00081dc00) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:402 +0x229 testing.tRunner(0xc00081dc00, 0x2952a08) /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 1m23.79063332s (try 1/5): exit status 2: Failed [TestDirMkdir]