"./vfs.test -test.v -test.timeout 1h0m0s -remote TestSugarSync:Test -verbose -test.run '^(TestDirCreate|TestDirFileOpen|TestDirForgetAll|TestDirForgetPath|TestDirHandleMethods|TestDirHandleReaddir|TestDirHandleReaddirnames|TestDirMethods|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestRWCacheRename|TestRWFileHandleFlushRead|TestRWFileHandleFlushWrite|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleReleaseWrite|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeCreateNew|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSMkdir|TestVFSMkdirAll|TestVFSNewWithOpts|TestVFSOpenFile|TestVFSRename|TestVFSRoot|TestVFSStat|TestVFSStatParent|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true)$|^TestRWFileHandleOpenTests$/^full$/^os.O_RDONLY$|^TestRWFileHandleOpenTests$/^writes$/^os.O_RDONLY$'" - Starting (try 4/5) 2025/03/14 01:54:38 DEBUG : Creating backend with remote "TestSugarSync:Test/rclone-test-fawocov7pimi" 2025/03/14 01:54:38 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/03/14 01:54:41 DEBUG : Creating backend with remote "/tmp/rclone3860715127" === RUN TestDirHandleMethods run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:54:41 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:237: Failed to mkdir "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:54:42 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:54:42 DEBUG : : Looking for writers 2025/03/14 01:54:42 DEBUG : >WaitForWriters: 2025/03/14 01:54:42 ERROR : : error listing: directory not found --- FAIL: TestDirHandleMethods (1.49s) === RUN TestDirHandleReaddir run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:54:42 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:54:44 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:54:44 DEBUG : : Looking for writers 2025/03/14 01:54:44 DEBUG : >WaitForWriters: 2025/03/14 01:54:45 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestDirHandleReaddir (2.92s) === RUN TestDirHandleReaddirnames run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:54:45 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:54:47 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:54:47 DEBUG : : Looking for writers 2025/03/14 01:54:47 DEBUG : >WaitForWriters: run.go:125: removing dir "dir" failed - try 1/3: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:125: removing dir "dir" failed - try 2/3: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:125: removing dir "dir" failed - try 3/3: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:128: removing dir "dir" failed: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:54:52 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestDirHandleReaddirnames (7.19s) === RUN TestDirMethods run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:54:52 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:54:54 ERROR : dir/file1: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:54:54 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:54:54 DEBUG : : Looking for writers 2025/03/14 01:54:54 DEBUG : >WaitForWriters: run.go:125: removing file "dir/file1" failed - try 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:125: removing dir "dir" failed - try 1/3: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestDirMethods (7.39s) === RUN TestDirForgetAll run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:00 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:02 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:02 DEBUG : : Looking for writers 2025/03/14 01:55:02 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetAll (3.36s) === RUN TestDirForgetPath run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:03 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:04 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:04 DEBUG : : Looking for writers 2025/03/14 01:55:04 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetPath (1.65s) === RUN TestDirWalk run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:05 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:05 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:05 DEBUG : : Looking for writers 2025/03/14 01:55:05 DEBUG : >WaitForWriters: 2025/03/14 01:55:06 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:24 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:144 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestDirWalk --- FAIL: TestDirWalk (0.89s) === RUN TestDirSetModTime run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:06 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:06 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:06 DEBUG : : Looking for writers 2025/03/14 01:55:06 DEBUG : >WaitForWriters: --- FAIL: TestDirSetModTime (1.18s) === RUN TestDirStat run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:07 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:08 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:08 DEBUG : : Looking for writers 2025/03/14 01:55:08 DEBUG : >WaitForWriters: 2025/03/14 01:55:08 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:24 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:228 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestDirStat --- FAIL: TestDirStat (1.66s) === RUN TestDirReadDirAll run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:08 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:09 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:09 DEBUG : : Looking for writers 2025/03/14 01:55:09 DEBUG : >WaitForWriters: --- FAIL: TestDirReadDirAll (1.18s) === RUN TestDirOpen run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:10 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:11 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:11 DEBUG : : Looking for writers 2025/03/14 01:55:11 DEBUG : >WaitForWriters: 2025/03/14 01:55:11 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:24 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:333 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestDirOpen --- FAIL: TestDirOpen (1.65s) === RUN TestDirCreate run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:11 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:13 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:13 DEBUG : : Looking for writers 2025/03/14 01:55:13 DEBUG : >WaitForWriters: 2025/03/14 01:55:13 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:24 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:346 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestDirCreate --- FAIL: TestDirCreate (1.86s) === RUN TestDirMkdir run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:13 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:15 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:15 DEBUG : : Looking for writers 2025/03/14 01:55:15 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (2.70s) === RUN TestDirMkdirSub run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:16 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:17 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:17 DEBUG : : Looking for writers 2025/03/14 01:55:17 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (1.69s) === RUN TestDirRemove run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:18 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:19 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:19 DEBUG : : Looking for writers 2025/03/14 01:55:19 DEBUG : >WaitForWriters: 2025/03/14 01:55:19 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:24 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:437 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestDirRemove --- FAIL: TestDirRemove (1.65s) === RUN TestDirRemoveAll run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:19 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:19 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:19 DEBUG : : Looking for writers 2025/03/14 01:55:19 DEBUG : >WaitForWriters: 2025/03/14 01:55:20 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestDirRemoveAll (1.14s) === RUN TestDirRemoveName run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:20 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:20 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:20 DEBUG : : Looking for writers 2025/03/14 01:55:20 DEBUG : >WaitForWriters: 2025/03/14 01:55:21 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:24 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:497 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestDirRemoveName --- FAIL: TestDirRemoveName (0.36s) === RUN TestDirRename run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:21 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:21 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:21 DEBUG : : Looking for writers 2025/03/14 01:55:21 DEBUG : >WaitForWriters: 2025/03/14 01:55:21 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:24 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:519 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestDirRename --- FAIL: TestDirRename (0.37s) === RUN TestDirFileOpen run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:21 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:21 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:21 DEBUG : : Looking for writers 2025/03/14 01:55:21 DEBUG : >WaitForWriters: --- FAIL: TestDirFileOpen (1.19s) === RUN TestFileMethods run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:22 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:25 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:25 DEBUG : : Looking for writers 2025/03/14 01:55:25 DEBUG : >WaitForWriters: 2025/03/14 01:55:26 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:27 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:38 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestFileMethods --- FAIL: TestFileMethods (3.83s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:26 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:27 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:27 DEBUG : : Looking for writers 2025/03/14 01:55:27 DEBUG : >WaitForWriters: 2025/03/14 01:55:27 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:27 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:95 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:159 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestFileSetModTime/cache=off,open=false,write=false === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:27 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:28 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:28 DEBUG : : Looking for writers 2025/03/14 01:55:28 DEBUG : >WaitForWriters: 2025/03/14 01:55:28 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:27 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:95 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:159 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestFileSetModTime/cache=off,open=true,write=false === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:28 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:29 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:29 DEBUG : : Looking for writers 2025/03/14 01:55:29 DEBUG : >WaitForWriters: run.go:125: removing dir "dir" failed - try 1/3: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:125: removing dir "dir" failed - try 2/3: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. === RUN TestFileSetModTime/cache=full,open=false,write=false run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:34 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:55:34 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:55:34 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:34 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:55:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:55:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:34 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:36 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:36 DEBUG : : Looking for writers 2025/03/14 01:55:36 DEBUG : >WaitForWriters: 2025/03/14 01:55:36 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting 2025/03/14 01:55:36 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:27 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:95 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:159 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestFileSetModTime/cache=full,open=false,write=false === RUN TestFileSetModTime/cache=full,open=true,write=false run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:36 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:55:36 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:55:36 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:36 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:36 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:36 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:36 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:38 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:38 DEBUG : : Looking for writers 2025/03/14 01:55:38 DEBUG : >WaitForWriters: 2025/03/14 01:55:38 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:39 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:55:39 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:55:39 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:39 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:39 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:55:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:39 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:55:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:39 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:40 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:40 DEBUG : : Looking for writers 2025/03/14 01:55:40 DEBUG : >WaitForWriters: 2025/03/14 01:55:40 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting 2025/03/14 01:55:41 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestFileSetModTime (15.36s) --- FAIL: TestFileSetModTime/cache=off,open=false,write=false (1.12s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=false (1.13s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=true (6.15s) --- FAIL: TestFileSetModTime/cache=full,open=false,write=false (1.80s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=false (2.69s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=true (2.47s) === RUN TestFileOpenRead run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:41 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:42 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:42 DEBUG : : Looking for writers 2025/03/14 01:55:42 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenRead (1.23s) === RUN TestFileOpenWrite run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:43 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:55:46 ERROR : dir/file1: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:46 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:46 DEBUG : : Looking for writers 2025/03/14 01:55:46 DEBUG : >WaitForWriters: 2025/03/14 01:55:46 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:27 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:232 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestFileOpenWrite --- FAIL: TestFileOpenWrite (3.33s) === RUN TestFileRemove run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:46 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:46 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:46 DEBUG : : Looking for writers 2025/03/14 01:55:46 DEBUG : >WaitForWriters: run.go:125: removing dir "dir" failed - try 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:52 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestFileRemove (6.04s) === RUN TestFileRemoveAll run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:52 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:54 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:54 DEBUG : : Looking for writers 2025/03/14 01:55:54 DEBUG : >WaitForWriters: --- FAIL: TestFileRemoveAll (2.86s) === RUN TestFileOpen run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:55 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:56 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:56 DEBUG : : Looking for writers 2025/03/14 01:55:56 DEBUG : >WaitForWriters: 2025/03/14 01:55:56 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:27 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:277 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestFileOpen --- FAIL: TestFileOpen (0.95s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:56 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:58 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:58 DEBUG : : Looking for writers 2025/03/14 01:55:58 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:55:59 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:55:59 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:55:59 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:59 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:55:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:55:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:55:59 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:55:59 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:55:59 DEBUG : : Looking for writers 2025/03/14 01:55:59 DEBUG : >WaitForWriters: 2025/03/14 01:55:59 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting 2025/03/14 01:56:00 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:27 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestFileRename/minimal,forceCache=false === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:56:00 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:56:00 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:56:00 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:00 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:00 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:00 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:00 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:02 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:56:02 DEBUG : : Looking for writers 2025/03/14 01:56:02 DEBUG : >WaitForWriters: 2025/03/14 01:56:02 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:56:05 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:56:05 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:56:05 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:05 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:56:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:56:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:05 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:07 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:56:07 DEBUG : : Looking for writers 2025/03/14 01:56:07 DEBUG : >WaitForWriters: 2025/03/14 01:56:07 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:56:08 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:56:08 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:56:08 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:08 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:56:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:56:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:08 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:10 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:56:10 DEBUG : : Looking for writers 2025/03/14 01:56:10 DEBUG : >WaitForWriters: 2025/03/14 01:56:10 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:56:11 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:56:11 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:56:11 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:11 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:56:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:56:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:11 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:11 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:56:11 DEBUG : : Looking for writers 2025/03/14 01:56:11 DEBUG : >WaitForWriters: 2025/03/14 01:56:11 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting --- FAIL: TestFileRename (16.69s) --- FAIL: TestFileRename/off,forceCache=false (2.82s) --- FAIL: TestFileRename/minimal,forceCache=false (0.94s) --- FAIL: TestFileRename/minimal,forceCache=true (5.13s) --- FAIL: TestFileRename/writes,forceCache=false (3.41s) --- FAIL: TestFileRename/writes,forceCache=true (2.59s) --- FAIL: TestFileRename/full,forceCache=false (1.79s) === RUN TestReadFileHandleMethods run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:56:13 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:14 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:56:14 DEBUG : : Looking for writers 2025/03/14 01:56:14 DEBUG : >WaitForWriters: 2025/03/14 01:56:14 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:18 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:40 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestReadFileHandleMethods --- FAIL: TestReadFileHandleMethods (1.74s) === RUN TestReadFileHandleSeek run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:56:14 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:14 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:56:14 DEBUG : : Looking for writers 2025/03/14 01:56:14 DEBUG : >WaitForWriters: 2025/03/14 01:56:15 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestReadFileHandleSeek (1.18s) === RUN TestReadFileHandleReadAt run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:56:15 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:18 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:56:18 DEBUG : : Looking for writers 2025/03/14 01:56:18 DEBUG : >WaitForWriters: run.go:125: removing dir "dir" failed - try 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:125: removing dir "dir" failed - try 2/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:24 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestReadFileHandleReadAt (8.96s) === RUN TestReadFileHandleFlush run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:56:24 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:25 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:56:25 DEBUG : : Looking for writers 2025/03/14 01:56:25 DEBUG : >WaitForWriters: 2025/03/14 01:56:25 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:18 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:182 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestReadFileHandleFlush --- FAIL: TestReadFileHandleFlush (0.38s) === RUN TestReadFileHandleRelease run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:56:25 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:27 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:56:27 DEBUG : : Looking for writers 2025/03/14 01:56:27 DEBUG : >WaitForWriters: 2025/03/14 01:56:27 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:18 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:210 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestReadFileHandleRelease --- FAIL: TestReadFileHandleRelease (2.26s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:56:27 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:56:27 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:56:27 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:27 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:27 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:27 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:56:27 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:27 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:27 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:56:27 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:27 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/14 01:56:33 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:56:33 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/14 01:56:33 DEBUG : pacer: Reducing sleep to 15ms run.go:281: Retry Put of "dir/file1" to sugarsync root 'Test/rclone-test-fawocov7pimi': 1/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:56:36 DEBUG : pacer: Reducing sleep to 11.25ms 2025/03/14 01:56:36 DEBUG : pacer: Reducing sleep to 10ms run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:36 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:56:36 DEBUG : : Looking for writers 2025/03/14 01:56:36 DEBUG : >WaitForWriters: 2025/03/14 01:56:36 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting 2025/03/14 01:56:37 ERROR : dir: error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:39 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:72 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestRWFileHandleMethodsRead --- FAIL: TestRWFileHandleMethodsRead (10.32s) === RUN TestRWFileHandleSeek run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:56:37 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:56:37 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:56:37 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:37 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:37 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:37 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:37 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:38 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:56:38 DEBUG : : Looking for writers 2025/03/14 01:56:38 DEBUG : >WaitForWriters: 2025/03/14 01:56:38 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting 2025/03/14 01:56:38 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:39 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:118 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestRWFileHandleSeek --- FAIL: TestRWFileHandleSeek (0.38s) === RUN TestRWFileHandleReadAt run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:56:38 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:56:38 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:56:38 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:38 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:38 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:38 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:38 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/14 01:56:45 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:56:45 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/14 01:56:45 DEBUG : pacer: Reducing sleep to 15ms run.go:281: Retry Put of "dir/file1" to sugarsync root 'Test/rclone-test-fawocov7pimi': 1/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:56:48 DEBUG : pacer: Reducing sleep to 11.25ms run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:48 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:56:48 DEBUG : : Looking for writers 2025/03/14 01:56:48 DEBUG : >WaitForWriters: 2025/03/14 01:56:48 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting 2025/03/14 01:56:48 DEBUG : pacer: Reducing sleep to 10ms --- FAIL: TestRWFileHandleReadAt (13.31s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:56:51 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:56:51 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:56:51 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:51 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:56:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:56:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:51 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:52 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:56:52 DEBUG : : Looking for writers 2025/03/14 01:56:52 DEBUG : >WaitForWriters: 2025/03/14 01:56:52 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleFlushRead (1.81s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:56:53 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:56:53 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:56:53 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:53 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:56:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:56:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:53 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:54 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:56:54 DEBUG : : Looking for writers 2025/03/14 01:56:54 DEBUG : >WaitForWriters: 2025/03/14 01:56:54 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting 2025/03/14 01:56:55 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestRWFileHandleReleaseRead (1.74s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:56:55 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:56:55 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:56:55 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:55 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:55 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:55 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:55 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/14 01:56:55 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/14 01:56:55 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:55 DEBUG : file1: >OpenFile: fd=, err=couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. read_write_test.go:44: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:44 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:58 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:266 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestRWFileHandleMethodsWrite 2025/03/14 01:56:55 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:56:55 DEBUG : : Looking for writers 2025/03/14 01:56:55 DEBUG : >WaitForWriters: 2025/03/14 01:56:55 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting 2025/03/14 01:56:55 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:44 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:58 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:266 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestRWFileHandleMethodsWrite --- FAIL: TestRWFileHandleMethodsWrite (0.38s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:56:55 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:56:55 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:56:55 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:55 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:55 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:55 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:56:55 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/14 01:56:55 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/14 01:56:55 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/14 01:56:55 DEBUG : file1: newRWFileHandle: 2025/03/14 01:56:55 DEBUG : file1(0xc000bab840): openPending: 2025/03/14 01:56:55 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/03/14 01:56:55 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/14 01:56:55 DEBUG : file1(0xc000bab840): >openPending: err= 2025/03/14 01:56:55 DEBUG : file1: >newRWFileHandle: err= 2025/03/14 01:56:55 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/14 01:56:55 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/03/14 01:56:55 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/03/14 01:56:55 DEBUG : file1(0xc000bab840): _writeAt: size=7, off=0 2025/03/14 01:56:55 DEBUG : file1(0xc000bab840): >_writeAt: n=7, err= 2025/03/14 01:56:55 DEBUG : file1(0xc000bab840): _writeAt: size=6, off=5 2025/03/14 01:56:55 DEBUG : file1(0xc000bab840): >_writeAt: n=6, err= 2025/03/14 01:56:55 DEBUG : file1(0xc000bab840): close: 2025/03/14 01:56:55 DEBUG : file1: vfs cache: setting modification time to 2025-03-14 01:56:55.719083978 +0000 UTC m=+136.966835305 2025/03/14 01:56:55 INFO : file1: vfs cache: queuing for upload in 100ms 2025/03/14 01:56:55 DEBUG : file1(0xc000bab840): >close: err= 2025/03/14 01:56:55 DEBUG : file1(0xc000bab840): _writeAt: size=5, off=0 2025/03/14 01:56:55 DEBUG : file1(0xc000bab840): >_writeAt: n=0, err=file already closed 2025/03/14 01:56:55 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:56:55 DEBUG : : Looking for writers 2025/03/14 01:56:55 DEBUG : file1: reading active writers 2025/03/14 01:56:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/03/14 01:56:55 DEBUG : : Looking for writers 2025/03/14 01:56:55 DEBUG : file1: reading active writers 2025/03/14 01:56:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/03/14 01:56:55 DEBUG : : Looking for writers 2025/03/14 01:56:55 DEBUG : file1: reading active writers 2025/03/14 01:56:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/03/14 01:56:55 DEBUG : : Looking for writers 2025/03/14 01:56:55 DEBUG : file1: reading active writers 2025/03/14 01:56:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/03/14 01:56:55 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:56:55 DEBUG : : Looking for writers 2025/03/14 01:56:55 DEBUG : file1: reading active writers 2025/03/14 01:56:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/03/14 01:56:56 DEBUG : : Looking for writers 2025/03/14 01:56:56 DEBUG : file1: reading active writers 2025/03/14 01:56:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/03/14 01:56:56 DEBUG : : Looking for writers 2025/03/14 01:56:56 DEBUG : file1: reading active writers 2025/03/14 01:56:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/03/14 01:56:56 DEBUG : : Looking for writers 2025/03/14 01:56:56 DEBUG : file1: reading active writers 2025/03/14 01:56:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:56:57 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:57 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:56:57 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:56:57 DEBUG : : Looking for writers 2025/03/14 01:56:57 DEBUG : file1: reading active writers 2025/03/14 01:56:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:56:58 DEBUG : : Looking for writers 2025/03/14 01:56:58 DEBUG : file1: reading active writers 2025/03/14 01:56:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:56:59 DEBUG : : Looking for writers 2025/03/14 01:56:59 DEBUG : file1: reading active writers 2025/03/14 01:56:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:00 DEBUG : : Looking for writers 2025/03/14 01:57:00 DEBUG : file1: reading active writers 2025/03/14 01:57:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:01 DEBUG : : Looking for writers 2025/03/14 01:57:01 DEBUG : file1: reading active writers 2025/03/14 01:57:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:02 DEBUG : : Looking for writers 2025/03/14 01:57:02 DEBUG : file1: reading active writers 2025/03/14 01:57:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:03 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:57:03 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/14 01:57:03 DEBUG : : Looking for writers 2025/03/14 01:57:03 DEBUG : file1: reading active writers 2025/03/14 01:57:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:04 DEBUG : pacer: Reducing sleep to 15ms 2025/03/14 01:57:04 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10 2025/03/14 01:57:04 DEBUG : pacer: Reducing sleep to 11.25ms 2025/03/14 01:57:04 DEBUG : : Looking for writers 2025/03/14 01:57:04 DEBUG : file1: reading active writers 2025/03/14 01:57:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:05 DEBUG : pacer: Reducing sleep to 10ms 2025/03/14 01:57:05 DEBUG : : Looking for writers 2025/03/14 01:57:05 DEBUG : file1: reading active writers 2025/03/14 01:57:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:06 DEBUG : : Looking for writers 2025/03/14 01:57:06 DEBUG : file1: reading active writers 2025/03/14 01:57:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:07 DEBUG : : Looking for writers 2025/03/14 01:57:07 DEBUG : file1: reading active writers 2025/03/14 01:57:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:09 DEBUG : : Looking for writers 2025/03/14 01:57:09 DEBUG : file1: reading active writers 2025/03/14 01:57:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:09 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:57:09 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/14 01:57:10 DEBUG : : Looking for writers 2025/03/14 01:57:10 DEBUG : file1: reading active writers 2025/03/14 01:57:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:10 DEBUG : pacer: Reducing sleep to 15ms 2025/03/14 01:57:10 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 1/10 2025/03/14 01:57:10 DEBUG : pacer: Reducing sleep to 11.25ms 2025/03/14 01:57:11 DEBUG : : Looking for writers 2025/03/14 01:57:11 DEBUG : file1: reading active writers 2025/03/14 01:57:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:11 DEBUG : pacer: Reducing sleep to 10ms 2025/03/14 01:57:11 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:57:11 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:57:11 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:57:12 DEBUG : : Looking for writers 2025/03/14 01:57:12 DEBUG : file1: reading active writers 2025/03/14 01:57:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:12 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:57:12 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:57:12 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:57:13 DEBUG : : Looking for writers 2025/03/14 01:57:13 DEBUG : file1: reading active writers 2025/03/14 01:57:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:13 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:57:13 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:57:14 DEBUG : : Looking for writers 2025/03/14 01:57:14 DEBUG : file1: reading active writers 2025/03/14 01:57:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:15 DEBUG : : Looking for writers 2025/03/14 01:57:15 DEBUG : file1: reading active writers 2025/03/14 01:57:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:15 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:57:16 DEBUG : : Looking for writers 2025/03/14 01:57:16 DEBUG : file1: reading active writers 2025/03/14 01:57:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:17 DEBUG : : Looking for writers 2025/03/14 01:57:17 DEBUG : file1: reading active writers 2025/03/14 01:57:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:18 DEBUG : : Looking for writers 2025/03/14 01:57:18 DEBUG : file1: reading active writers 2025/03/14 01:57:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:19 DEBUG : : Looking for writers 2025/03/14 01:57:19 DEBUG : file1: reading active writers 2025/03/14 01:57:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:19 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:57:19 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/14 01:57:19 DEBUG : pacer: Reducing sleep to 15ms 2025/03/14 01:57:19 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10 2025/03/14 01:57:20 DEBUG : : Looking for writers 2025/03/14 01:57:20 DEBUG : file1: reading active writers 2025/03/14 01:57:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:20 DEBUG : pacer: Reducing sleep to 11.25ms 2025/03/14 01:57:20 DEBUG : pacer: Reducing sleep to 10ms 2025/03/14 01:57:20 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:57:20 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:57:21 DEBUG : : Looking for writers 2025/03/14 01:57:21 DEBUG : file1: reading active writers 2025/03/14 01:57:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:22 DEBUG : : Looking for writers 2025/03/14 01:57:22 DEBUG : file1: reading active writers 2025/03/14 01:57:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:23 DEBUG : : Looking for writers 2025/03/14 01:57:23 DEBUG : file1: reading active writers 2025/03/14 01:57:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:23 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:57:24 DEBUG : : Looking for writers 2025/03/14 01:57:24 DEBUG : file1: reading active writers 2025/03/14 01:57:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:24 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:57:24 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:57:25 DEBUG : : Looking for writers 2025/03/14 01:57:25 DEBUG : file1: reading active writers 2025/03/14 01:57:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:25 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a933b0 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000bc2108 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824646050112} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13973826429626636746 ext:136966835305 loc:0x3e83980} ATime:{wall:13973826429626647126 ext:136966845685 loc:0x3e83980} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/03/14 01:57:25 DEBUG : >WaitForWriters: fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache 2025/03/14 01:57:28 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:57:28 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:57:28 DEBUG : : Looking for writers 2025/03/14 01:57:28 DEBUG : file1: reading active writers 2025/03/14 01:57:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/03/14 01:57:28 DEBUG : : Looking for writers 2025/03/14 01:57:28 DEBUG : file1: reading active writers 2025/03/14 01:57:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/03/14 01:57:28 DEBUG : : Looking for writers 2025/03/14 01:57:28 DEBUG : file1: reading active writers 2025/03/14 01:57:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/03/14 01:57:28 DEBUG : : Looking for writers 2025/03/14 01:57:28 DEBUG : file1: reading active writers 2025/03/14 01:57:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/03/14 01:57:28 DEBUG : : Looking for writers 2025/03/14 01:57:28 DEBUG : file1: reading active writers 2025/03/14 01:57:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/03/14 01:57:28 DEBUG : : Looking for writers 2025/03/14 01:57:28 DEBUG : file1: reading active writers 2025/03/14 01:57:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/03/14 01:57:29 DEBUG : : Looking for writers 2025/03/14 01:57:29 DEBUG : file1: reading active writers 2025/03/14 01:57:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/03/14 01:57:29 DEBUG : : Looking for writers 2025/03/14 01:57:29 DEBUG : file1: reading active writers 2025/03/14 01:57:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:30 DEBUG : : Looking for writers 2025/03/14 01:57:30 DEBUG : file1: reading active writers 2025/03/14 01:57:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:31 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:57:31 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:57:31 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:57:31 DEBUG : : Looking for writers 2025/03/14 01:57:31 DEBUG : file1: reading active writers 2025/03/14 01:57:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:32 DEBUG : : Looking for writers 2025/03/14 01:57:32 DEBUG : file1: reading active writers 2025/03/14 01:57:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:33 DEBUG : : Looking for writers 2025/03/14 01:57:33 DEBUG : file1: reading active writers 2025/03/14 01:57:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:34 DEBUG : : Looking for writers 2025/03/14 01:57:34 DEBUG : file1: reading active writers 2025/03/14 01:57:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:35 DEBUG : : Looking for writers 2025/03/14 01:57:35 DEBUG : file1: reading active writers 2025/03/14 01:57:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:36 DEBUG : : Looking for writers 2025/03/14 01:57:36 DEBUG : file1: reading active writers 2025/03/14 01:57:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:37 DEBUG : : Looking for writers 2025/03/14 01:57:37 DEBUG : file1: reading active writers 2025/03/14 01:57:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:38 DEBUG : : Looking for writers 2025/03/14 01:57:38 DEBUG : file1: reading active writers 2025/03/14 01:57:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:39 DEBUG : : Looking for writers 2025/03/14 01:57:39 DEBUG : file1: reading active writers 2025/03/14 01:57:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:40 DEBUG : : Looking for writers 2025/03/14 01:57:40 DEBUG : file1: reading active writers 2025/03/14 01:57:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:41 DEBUG : : Looking for writers 2025/03/14 01:57:41 DEBUG : file1: reading active writers 2025/03/14 01:57:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:42 DEBUG : : Looking for writers 2025/03/14 01:57:42 DEBUG : file1: reading active writers 2025/03/14 01:57:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:43 DEBUG : : Looking for writers 2025/03/14 01:57:43 DEBUG : file1: reading active writers 2025/03/14 01:57:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:44 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:57:44 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:57:44 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:57:44 DEBUG : : Looking for writers 2025/03/14 01:57:44 DEBUG : file1: reading active writers 2025/03/14 01:57:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:45 DEBUG : : Looking for writers 2025/03/14 01:57:45 DEBUG : file1: reading active writers 2025/03/14 01:57:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:46 DEBUG : : Looking for writers 2025/03/14 01:57:46 DEBUG : file1: reading active writers 2025/03/14 01:57:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:47 DEBUG : : Looking for writers 2025/03/14 01:57:47 DEBUG : file1: reading active writers 2025/03/14 01:57:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:48 DEBUG : : Looking for writers 2025/03/14 01:57:48 DEBUG : file1: reading active writers 2025/03/14 01:57:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:49 DEBUG : : Looking for writers 2025/03/14 01:57:49 DEBUG : file1: reading active writers 2025/03/14 01:57:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:50 DEBUG : : Looking for writers 2025/03/14 01:57:50 DEBUG : file1: reading active writers 2025/03/14 01:57:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:51 DEBUG : : Looking for writers 2025/03/14 01:57:51 DEBUG : file1: reading active writers 2025/03/14 01:57:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:52 DEBUG : : Looking for writers 2025/03/14 01:57:52 DEBUG : file1: reading active writers 2025/03/14 01:57:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:53 DEBUG : : Looking for writers 2025/03/14 01:57:53 DEBUG : file1: reading active writers 2025/03/14 01:57:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:54 DEBUG : : Looking for writers 2025/03/14 01:57:54 DEBUG : file1: reading active writers 2025/03/14 01:57:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:55 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/03/14 01:57:55 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/03/14 01:57:55 DEBUG : : Looking for writers 2025/03/14 01:57:55 DEBUG : file1: reading active writers 2025/03/14 01:57:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:56 DEBUG : : Looking for writers 2025/03/14 01:57:56 DEBUG : file1: reading active writers 2025/03/14 01:57:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:57 DEBUG : : Looking for writers 2025/03/14 01:57:57 DEBUG : file1: reading active writers 2025/03/14 01:57:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:57:58 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a933b0 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000bc2108 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824646050112} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13973826429626636746 ext:136966835305 loc:0x3e83980} ATime:{wall:13973826429626647126 ext:136966845685 loc:0x3e83980} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/03/14 01:57:58 DEBUG : >WaitForWriters: 2025/03/14 01:57:58 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting 2025/03/14 01:57:59 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:276 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestRWFileHandleWriteAt --- FAIL: TestRWFileHandleWriteAt (64.13s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:57:59 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:57:59 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:57:59 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:57:59 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:57:59 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:57:59 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:57:59 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/14 01:57:59 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/14 01:57:59 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/14 01:57:59 DEBUG : file1: newRWFileHandle: 2025/03/14 01:57:59 DEBUG : file1(0xc000b4e980): openPending: 2025/03/14 01:57:59 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/03/14 01:57:59 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/14 01:57:59 DEBUG : file1(0xc000b4e980): >openPending: err= 2025/03/14 01:57:59 DEBUG : file1: >newRWFileHandle: err= 2025/03/14 01:57:59 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/14 01:57:59 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/03/14 01:57:59 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/03/14 01:57:59 DEBUG : file1(0xc000b4e980): close: 2025/03/14 01:57:59 DEBUG : file1: vfs cache: setting modification time to 2025-03-14 01:57:59.783385156 +0000 UTC m=+201.031136483 2025/03/14 01:57:59 INFO : file1: vfs cache: queuing for upload in 100ms 2025/03/14 01:57:59 DEBUG : file1(0xc000b4e980): >close: err= 2025/03/14 01:57:59 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/03/14 01:57:59 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/03/14 01:57:59 DEBUG : file2: newRWFileHandle: 2025/03/14 01:57:59 DEBUG : file2(0xc000b4eac0): openPending: 2025/03/14 01:57:59 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/03/14 01:57:59 DEBUG : : Added virtual directory entry vAddFile: "file2" 2025/03/14 01:57:59 DEBUG : file2(0xc000b4eac0): >openPending: err= 2025/03/14 01:57:59 DEBUG : file2: >newRWFileHandle: err= 2025/03/14 01:57:59 DEBUG : : Added virtual directory entry vAddFile: "file2" 2025/03/14 01:57:59 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/03/14 01:57:59 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/03/14 01:57:59 DEBUG : file2(0xc000b4eac0): RWFileHandle.Flush 2025/03/14 01:57:59 DEBUG : file2(0xc000b4eac0): RWFileHandle.Release 2025/03/14 01:57:59 DEBUG : file2(0xc000b4eac0): close: 2025/03/14 01:57:59 DEBUG : file2: vfs cache: setting modification time to 2025-03-14 01:57:59.784129084 +0000 UTC m=+201.031880412 2025/03/14 01:57:59 INFO : file2: vfs cache: queuing for upload in 100ms 2025/03/14 01:57:59 DEBUG : file2(0xc000b4eac0): >close: err= 2025/03/14 01:57:59 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:57:59 DEBUG : : Looking for writers 2025/03/14 01:57:59 DEBUG : file1: reading active writers 2025/03/14 01:57:59 DEBUG : file2: reading active writers 2025/03/14 01:57:59 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/03/14 01:57:59 DEBUG : : Looking for writers 2025/03/14 01:57:59 DEBUG : file1: reading active writers 2025/03/14 01:57:59 DEBUG : file2: reading active writers 2025/03/14 01:57:59 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/03/14 01:57:59 DEBUG : : Looking for writers 2025/03/14 01:57:59 DEBUG : file1: reading active writers 2025/03/14 01:57:59 DEBUG : file2: reading active writers 2025/03/14 01:57:59 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/03/14 01:57:59 DEBUG : : Looking for writers 2025/03/14 01:57:59 DEBUG : file1: reading active writers 2025/03/14 01:57:59 DEBUG : file2: reading active writers 2025/03/14 01:57:59 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/03/14 01:57:59 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:57:59 DEBUG : file2: vfs cache: starting upload 2025/03/14 01:57:59 DEBUG : : Looking for writers 2025/03/14 01:57:59 DEBUG : file1: reading active writers 2025/03/14 01:57:59 DEBUG : file2: reading active writers 2025/03/14 01:57:59 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/03/14 01:58:00 DEBUG : : Looking for writers 2025/03/14 01:58:00 DEBUG : file2: reading active writers 2025/03/14 01:58:00 DEBUG : file1: reading active writers 2025/03/14 01:58:00 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/03/14 01:58:00 DEBUG : : Looking for writers 2025/03/14 01:58:00 DEBUG : file1: reading active writers 2025/03/14 01:58:00 DEBUG : file2: reading active writers 2025/03/14 01:58:00 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2025/03/14 01:58:00 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:00 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:00 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:58:01 DEBUG : : Looking for writers 2025/03/14 01:58:01 DEBUG : file2: reading active writers 2025/03/14 01:58:01 DEBUG : file1: reading active writers 2025/03/14 01:58:01 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:02 DEBUG : : Looking for writers 2025/03/14 01:58:02 DEBUG : file1: reading active writers 2025/03/14 01:58:02 DEBUG : file2: reading active writers 2025/03/14 01:58:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:03 DEBUG : : Looking for writers 2025/03/14 01:58:03 DEBUG : file1: reading active writers 2025/03/14 01:58:03 DEBUG : file2: reading active writers 2025/03/14 01:58:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:04 DEBUG : : Looking for writers 2025/03/14 01:58:04 DEBUG : file1: reading active writers 2025/03/14 01:58:04 DEBUG : file2: reading active writers 2025/03/14 01:58:04 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:05 DEBUG : : Looking for writers 2025/03/14 01:58:05 DEBUG : file1: reading active writers 2025/03/14 01:58:05 DEBUG : file2: reading active writers 2025/03/14 01:58:05 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:05 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:58:05 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/14 01:58:05 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:58:05 DEBUG : pacer: Rate limited, increasing sleep to 40ms 2025/03/14 01:58:05 DEBUG : pacer: Reducing sleep to 30ms 2025/03/14 01:58:05 ERROR : file2: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:05 DEBUG : file2: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10 2025/03/14 01:58:05 DEBUG : pacer: Reducing sleep to 22.5ms 2025/03/14 01:58:05 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10 2025/03/14 01:58:05 DEBUG : pacer: Reducing sleep to 16.875ms 2025/03/14 01:58:05 ERROR : file2: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:05 ERROR : file2: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:05 DEBUG : pacer: Reducing sleep to 12.65625ms 2025/03/14 01:58:05 DEBUG : file2: vfs cache: starting upload 2025/03/14 01:58:05 DEBUG : pacer: Reducing sleep to 10ms 2025/03/14 01:58:05 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:05 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:06 DEBUG : : Looking for writers 2025/03/14 01:58:06 DEBUG : file1: reading active writers 2025/03/14 01:58:06 DEBUG : file2: reading active writers 2025/03/14 01:58:06 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:06 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:58:06 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:06 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:07 DEBUG : : Looking for writers 2025/03/14 01:58:07 DEBUG : file1: reading active writers 2025/03/14 01:58:07 DEBUG : file2: reading active writers 2025/03/14 01:58:07 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:07 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:58:08 DEBUG : : Looking for writers 2025/03/14 01:58:08 DEBUG : file1: reading active writers 2025/03/14 01:58:08 DEBUG : file2: reading active writers 2025/03/14 01:58:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:09 DEBUG : : Looking for writers 2025/03/14 01:58:09 DEBUG : file1: reading active writers 2025/03/14 01:58:09 DEBUG : file2: reading active writers 2025/03/14 01:58:09 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:10 DEBUG : : Looking for writers 2025/03/14 01:58:10 DEBUG : file1: reading active writers 2025/03/14 01:58:10 DEBUG : file2: reading active writers 2025/03/14 01:58:10 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:11 DEBUG : : Looking for writers 2025/03/14 01:58:11 DEBUG : file2: reading active writers 2025/03/14 01:58:11 DEBUG : file1: reading active writers 2025/03/14 01:58:11 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:11 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:58:11 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/14 01:58:11 DEBUG : file2: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10 2025/03/14 01:58:11 DEBUG : pacer: Reducing sleep to 15ms 2025/03/14 01:58:11 ERROR : file2: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:11 ERROR : file2: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:11 DEBUG : file2: vfs cache: starting upload 2025/03/14 01:58:12 DEBUG : : Looking for writers 2025/03/14 01:58:12 DEBUG : file1: reading active writers 2025/03/14 01:58:12 DEBUG : file2: reading active writers 2025/03/14 01:58:12 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:12 DEBUG : pacer: Reducing sleep to 11.25ms 2025/03/14 01:58:13 DEBUG : : Looking for writers 2025/03/14 01:58:13 DEBUG : file1: reading active writers 2025/03/14 01:58:13 DEBUG : file2: reading active writers 2025/03/14 01:58:13 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:14 DEBUG : : Looking for writers 2025/03/14 01:58:14 DEBUG : file1: reading active writers 2025/03/14 01:58:14 DEBUG : file2: reading active writers 2025/03/14 01:58:14 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:14 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:58:14 DEBUG : pacer: Rate limited, increasing sleep to 22.5ms 2025/03/14 01:58:14 DEBUG : pacer: Reducing sleep to 16.875ms 2025/03/14 01:58:14 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10 2025/03/14 01:58:15 DEBUG : : Looking for writers 2025/03/14 01:58:15 DEBUG : file1: reading active writers 2025/03/14 01:58:15 DEBUG : file2: reading active writers 2025/03/14 01:58:15 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:15 DEBUG : pacer: Reducing sleep to 12.65625ms 2025/03/14 01:58:16 DEBUG : : Looking for writers 2025/03/14 01:58:16 DEBUG : file1: reading active writers 2025/03/14 01:58:16 DEBUG : file2: reading active writers 2025/03/14 01:58:16 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:16 DEBUG : pacer: Reducing sleep to 10ms 2025/03/14 01:58:17 DEBUG : : Looking for writers 2025/03/14 01:58:17 DEBUG : file1: reading active writers 2025/03/14 01:58:17 DEBUG : file2: reading active writers 2025/03/14 01:58:17 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:17 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:58:17 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/14 01:58:17 DEBUG : file2: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10 2025/03/14 01:58:17 DEBUG : pacer: Reducing sleep to 15ms 2025/03/14 01:58:17 ERROR : file2: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:17 ERROR : file2: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:18 DEBUG : : Looking for writers 2025/03/14 01:58:18 DEBUG : file2: reading active writers 2025/03/14 01:58:18 DEBUG : file1: reading active writers 2025/03/14 01:58:18 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:18 DEBUG : file2: vfs cache: starting upload 2025/03/14 01:58:18 DEBUG : pacer: Reducing sleep to 11.25ms 2025/03/14 01:58:19 DEBUG : : Looking for writers 2025/03/14 01:58:19 DEBUG : file2: reading active writers 2025/03/14 01:58:19 DEBUG : file1: reading active writers 2025/03/14 01:58:19 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:20 DEBUG : : Looking for writers 2025/03/14 01:58:20 DEBUG : file1: reading active writers 2025/03/14 01:58:20 DEBUG : file2: reading active writers 2025/03/14 01:58:20 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:20 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:58:20 DEBUG : pacer: Rate limited, increasing sleep to 22.5ms 2025/03/14 01:58:20 DEBUG : pacer: Reducing sleep to 16.875ms 2025/03/14 01:58:20 ERROR : file1: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:20 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 1/10 2025/03/14 01:58:20 DEBUG : pacer: Reducing sleep to 12.65625ms 2025/03/14 01:58:21 DEBUG : : Looking for writers 2025/03/14 01:58:21 DEBUG : file1: reading active writers 2025/03/14 01:58:21 DEBUG : file2: reading active writers 2025/03/14 01:58:21 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:22 DEBUG : : Looking for writers 2025/03/14 01:58:22 DEBUG : file1: reading active writers 2025/03/14 01:58:22 DEBUG : file2: reading active writers 2025/03/14 01:58:22 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:23 DEBUG : : Looking for writers 2025/03/14 01:58:23 DEBUG : file1: reading active writers 2025/03/14 01:58:23 DEBUG : file2: reading active writers 2025/03/14 01:58:23 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:23 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:58:23 DEBUG : pacer: Rate limited, increasing sleep to 25.3125ms 2025/03/14 01:58:23 DEBUG : file2: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10 2025/03/14 01:58:23 DEBUG : pacer: Reducing sleep to 18.984375ms 2025/03/14 01:58:23 ERROR : file2: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:23 ERROR : file2: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:24 DEBUG : : Looking for writers 2025/03/14 01:58:24 DEBUG : file1: reading active writers 2025/03/14 01:58:24 DEBUG : file2: reading active writers 2025/03/14 01:58:24 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:25 DEBUG : : Looking for writers 2025/03/14 01:58:25 DEBUG : file1: reading active writers 2025/03/14 01:58:25 DEBUG : file2: reading active writers 2025/03/14 01:58:25 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:25 DEBUG : file2: vfs cache: starting upload 2025/03/14 01:58:25 DEBUG : pacer: Reducing sleep to 14.238281ms 2025/03/14 01:58:26 DEBUG : : Looking for writers 2025/03/14 01:58:26 DEBUG : file1: reading active writers 2025/03/14 01:58:26 DEBUG : file2: reading active writers 2025/03/14 01:58:26 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:26 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:58:26 DEBUG : pacer: Rate limited, increasing sleep to 28.476562ms 2025/03/14 01:58:26 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 2/10 2025/03/14 01:58:26 DEBUG : pacer: Reducing sleep to 21.357421ms 2025/03/14 01:58:27 DEBUG : : Looking for writers 2025/03/14 01:58:27 DEBUG : file1: reading active writers 2025/03/14 01:58:27 DEBUG : file2: reading active writers 2025/03/14 01:58:27 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:27 DEBUG : pacer: Reducing sleep to 16.018065ms 2025/03/14 01:58:27 ERROR : file1: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:27 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:28 DEBUG : : Looking for writers 2025/03/14 01:58:28 DEBUG : file1: reading active writers 2025/03/14 01:58:28 DEBUG : file2: reading active writers 2025/03/14 01:58:28 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:29 DEBUG : : Looking for writers 2025/03/14 01:58:29 DEBUG : file1: reading active writers 2025/03/14 01:58:29 DEBUG : file2: reading active writers 2025/03/14 01:58:29 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:29 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:58:29 DEBUG : pacer: Reducing sleep to 12.013548ms 2025/03/14 01:58:29 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:29 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:29 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:58:29 DEBUG : pacer: Rate limited, increasing sleep to 24.027096ms 2025/03/14 01:58:29 DEBUG : file2: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10 2025/03/14 01:58:29 ERROR : Exiting even though 0 writers active and 2 cache items in use after 30s Cache{ "file1": &{c:0xc000a93950 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000bc2908 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824646052160} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13973826498410414660 ext:201031136483 loc:0x3e83980} ATime:{wall:13973826498410547624 ext:201031269457 loc:0x3e83980} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc000a93950 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000bc2a08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824646052416} name:file2 opens:0 downloaders: o: fd: info:{ModTime:{wall:13973826498411158588 ext:201031880412 loc:0x3e83980} ATime:{wall:13973826498411299468 ext:201032021291 loc:0x3e83980} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/03/14 01:58:29 DEBUG : >WaitForWriters: 2025/03/14 01:58:29 DEBUG : pacer: Reducing sleep to 18.020322ms 2025/03/14 01:58:29 DEBUG : pacer: Reducing sleep to 13.515241ms 2025/03/14 01:58:29 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:29 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:58:29 DEBUG : : Looking for writers 2025/03/14 01:58:29 DEBUG : file2: reading active writers 2025/03/14 01:58:29 DEBUG : file1: reading active writers 2025/03/14 01:58:29 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/03/14 01:58:29 DEBUG : : Looking for writers 2025/03/14 01:58:29 DEBUG : file1: reading active writers 2025/03/14 01:58:29 DEBUG : file2: reading active writers 2025/03/14 01:58:29 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/03/14 01:58:29 DEBUG : : Looking for writers 2025/03/14 01:58:29 DEBUG : file1: reading active writers 2025/03/14 01:58:29 DEBUG : file2: reading active writers 2025/03/14 01:58:29 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/03/14 01:58:30 DEBUG : : Looking for writers 2025/03/14 01:58:30 DEBUG : file1: reading active writers 2025/03/14 01:58:30 DEBUG : file2: reading active writers 2025/03/14 01:58:30 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/03/14 01:58:30 DEBUG : : Looking for writers 2025/03/14 01:58:30 DEBUG : file1: reading active writers 2025/03/14 01:58:30 DEBUG : file2: reading active writers 2025/03/14 01:58:30 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/03/14 01:58:30 DEBUG : pacer: Reducing sleep to 10.13643ms 2025/03/14 01:58:30 ERROR : file2: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:30 ERROR : file2: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:30 DEBUG : : Looking for writers 2025/03/14 01:58:30 DEBUG : file1: reading active writers 2025/03/14 01:58:30 DEBUG : file2: reading active writers 2025/03/14 01:58:30 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/03/14 01:58:30 DEBUG : : Looking for writers 2025/03/14 01:58:30 DEBUG : file1: reading active writers 2025/03/14 01:58:30 DEBUG : file2: reading active writers 2025/03/14 01:58:30 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2025/03/14 01:58:31 DEBUG : : Looking for writers 2025/03/14 01:58:31 DEBUG : file1: reading active writers 2025/03/14 01:58:31 DEBUG : file2: reading active writers 2025/03/14 01:58:31 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:32 DEBUG : : Looking for writers 2025/03/14 01:58:32 DEBUG : file1: reading active writers 2025/03/14 01:58:32 DEBUG : file2: reading active writers 2025/03/14 01:58:32 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:32 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:58:32 DEBUG : pacer: Reducing sleep to 10ms 2025/03/14 01:58:32 ERROR : file1: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:32 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:33 DEBUG : : Looking for writers 2025/03/14 01:58:33 DEBUG : file1: reading active writers 2025/03/14 01:58:33 DEBUG : file2: reading active writers 2025/03/14 01:58:33 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:33 DEBUG : file2: vfs cache: starting upload 2025/03/14 01:58:34 ERROR : file2: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:34 ERROR : file2: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:34 DEBUG : : Looking for writers 2025/03/14 01:58:34 DEBUG : file1: reading active writers 2025/03/14 01:58:34 DEBUG : file2: reading active writers 2025/03/14 01:58:34 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:35 DEBUG : : Looking for writers 2025/03/14 01:58:35 DEBUG : file1: reading active writers 2025/03/14 01:58:35 DEBUG : file2: reading active writers 2025/03/14 01:58:35 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:36 DEBUG : : Looking for writers 2025/03/14 01:58:36 DEBUG : file1: reading active writers 2025/03/14 01:58:36 DEBUG : file2: reading active writers 2025/03/14 01:58:36 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:37 DEBUG : : Looking for writers 2025/03/14 01:58:37 DEBUG : file1: reading active writers 2025/03/14 01:58:37 DEBUG : file2: reading active writers 2025/03/14 01:58:37 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:38 DEBUG : : Looking for writers 2025/03/14 01:58:38 DEBUG : file1: reading active writers 2025/03/14 01:58:38 DEBUG : file2: reading active writers 2025/03/14 01:58:38 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:39 DEBUG : : Looking for writers 2025/03/14 01:58:39 DEBUG : file1: reading active writers 2025/03/14 01:58:39 DEBUG : file2: reading active writers 2025/03/14 01:58:39 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:39 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:58:40 DEBUG : : Looking for writers 2025/03/14 01:58:40 DEBUG : file1: reading active writers 2025/03/14 01:58:40 DEBUG : file2: reading active writers 2025/03/14 01:58:40 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:40 DEBUG : file2: vfs cache: starting upload 2025/03/14 01:58:41 DEBUG : : Looking for writers 2025/03/14 01:58:41 DEBUG : file1: reading active writers 2025/03/14 01:58:41 DEBUG : file2: reading active writers 2025/03/14 01:58:41 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:42 ERROR : file2: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:42 ERROR : file2: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:42 DEBUG : : Looking for writers 2025/03/14 01:58:42 DEBUG : file1: reading active writers 2025/03/14 01:58:42 DEBUG : file2: reading active writers 2025/03/14 01:58:42 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:43 DEBUG : : Looking for writers 2025/03/14 01:58:43 DEBUG : file1: reading active writers 2025/03/14 01:58:43 DEBUG : file2: reading active writers 2025/03/14 01:58:43 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:44 DEBUG : : Looking for writers 2025/03/14 01:58:44 DEBUG : file1: reading active writers 2025/03/14 01:58:44 DEBUG : file2: reading active writers 2025/03/14 01:58:44 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:45 DEBUG : : Looking for writers 2025/03/14 01:58:45 DEBUG : file1: reading active writers 2025/03/14 01:58:45 DEBUG : file2: reading active writers 2025/03/14 01:58:45 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:46 DEBUG : : Looking for writers 2025/03/14 01:58:46 DEBUG : file1: reading active writers 2025/03/14 01:58:46 DEBUG : file2: reading active writers 2025/03/14 01:58:46 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:47 DEBUG : : Looking for writers 2025/03/14 01:58:47 DEBUG : file2: reading active writers 2025/03/14 01:58:47 DEBUG : file1: reading active writers 2025/03/14 01:58:47 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:48 DEBUG : : Looking for writers 2025/03/14 01:58:48 DEBUG : file1: reading active writers 2025/03/14 01:58:48 DEBUG : file2: reading active writers 2025/03/14 01:58:48 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:48 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:58:48 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/14 01:58:48 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10 2025/03/14 01:58:48 DEBUG : pacer: Reducing sleep to 15ms 2025/03/14 01:58:48 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:48 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:49 DEBUG : : Looking for writers 2025/03/14 01:58:49 DEBUG : file1: reading active writers 2025/03/14 01:58:49 DEBUG : file2: reading active writers 2025/03/14 01:58:49 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:50 DEBUG : : Looking for writers 2025/03/14 01:58:50 DEBUG : file1: reading active writers 2025/03/14 01:58:50 DEBUG : file2: reading active writers 2025/03/14 01:58:50 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:51 DEBUG : : Looking for writers 2025/03/14 01:58:51 DEBUG : file1: reading active writers 2025/03/14 01:58:51 DEBUG : file2: reading active writers 2025/03/14 01:58:51 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:52 DEBUG : : Looking for writers 2025/03/14 01:58:52 DEBUG : file2: reading active writers 2025/03/14 01:58:52 DEBUG : file1: reading active writers 2025/03/14 01:58:52 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:53 DEBUG : : Looking for writers 2025/03/14 01:58:53 DEBUG : file1: reading active writers 2025/03/14 01:58:53 DEBUG : file2: reading active writers 2025/03/14 01:58:53 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:54 DEBUG : : Looking for writers 2025/03/14 01:58:54 DEBUG : file1: reading active writers 2025/03/14 01:58:54 DEBUG : file2: reading active writers 2025/03/14 01:58:54 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:54 DEBUG : file2: vfs cache: starting upload 2025/03/14 01:58:55 DEBUG : pacer: Reducing sleep to 11.25ms 2025/03/14 01:58:55 ERROR : file2: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:55 ERROR : file2: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:58:55 DEBUG : : Looking for writers 2025/03/14 01:58:55 DEBUG : file1: reading active writers 2025/03/14 01:58:55 DEBUG : file2: reading active writers 2025/03/14 01:58:55 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:56 DEBUG : : Looking for writers 2025/03/14 01:58:56 DEBUG : file1: reading active writers 2025/03/14 01:58:56 DEBUG : file2: reading active writers 2025/03/14 01:58:56 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:57 DEBUG : : Looking for writers 2025/03/14 01:58:57 DEBUG : file1: reading active writers 2025/03/14 01:58:57 DEBUG : file2: reading active writers 2025/03/14 01:58:57 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:58 DEBUG : : Looking for writers 2025/03/14 01:58:58 DEBUG : file1: reading active writers 2025/03/14 01:58:58 DEBUG : file2: reading active writers 2025/03/14 01:58:58 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:59 DEBUG : : Looking for writers 2025/03/14 01:58:59 DEBUG : file1: reading active writers 2025/03/14 01:58:59 DEBUG : file2: reading active writers 2025/03/14 01:58:59 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/03/14 01:58:59 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/03/14 01:58:59 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/03/14 01:58:59 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 2 (was 2) in use 2, to upload 2, uploading 0, total size 0 (was 0) 2025/03/14 01:58:59 ERROR : Exiting even though 0 writers active and 2 cache items in use after 30s Cache{ "file1": &{c:0xc000a93950 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000bc2908 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824646052160} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13973826498410414660 ext:201031136483 loc:0x3e83980} ATime:{wall:13973826498410547624 ext:201031269457 loc:0x3e83980} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc000a93950 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000bc2a08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824646052416} name:file2 opens:0 downloaders: o: fd: info:{ModTime:{wall:13973826498411158588 ext:201031880412 loc:0x3e83980} ATime:{wall:13973826498411299468 ext:201032021291 loc:0x3e83980} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/03/14 01:58:59 DEBUG : >WaitForWriters: 2025/03/14 01:58:59 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting 2025/03/14 01:59:00 DEBUG : pacer: Reducing sleep to 10ms --- FAIL: TestRWFileHandleWriteNoWrite (62.37s) === RUN TestRWFileHandleFlushWrite run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:59:01 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:59:01 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:59:01 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:59:01 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:59:01 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:59:01 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:59:01 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:59:01 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:59:01 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:59:01 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:59:01 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/14 01:59:01 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/14 01:59:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/14 01:59:02 DEBUG : file1: newRWFileHandle: 2025/03/14 01:59:02 DEBUG : file1(0xc000b73580): openPending: 2025/03/14 01:59:02 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/03/14 01:59:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/14 01:59:02 DEBUG : file1(0xc000b73580): >openPending: err= 2025/03/14 01:59:02 DEBUG : file1: >newRWFileHandle: err= 2025/03/14 01:59:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/14 01:59:02 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/03/14 01:59:02 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/03/14 01:59:02 DEBUG : file1(0xc000b73580): _writeAt: size=5, off=0 2025/03/14 01:59:02 DEBUG : file1(0xc000b73580): >_writeAt: n=5, err= 2025/03/14 01:59:02 DEBUG : file1(0xc000b73580): RWFileHandle.Flush 2025/03/14 01:59:02 DEBUG : file1(0xc000b73580): RWFileHandle.Flush 2025/03/14 01:59:02 DEBUG : file1(0xc000b73580): close: 2025/03/14 01:59:02 DEBUG : file1: vfs cache: setting modification time to 2025-03-14 01:59:02.69121236 +0000 UTC m=+263.938963687 2025/03/14 01:59:02 INFO : file1: vfs cache: queuing for upload in 100ms 2025/03/14 01:59:02 DEBUG : file1(0xc000b73580): >close: err= 2025/03/14 01:59:02 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:59:02 DEBUG : : Looking for writers 2025/03/14 01:59:02 DEBUG : file1: reading active writers 2025/03/14 01:59:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/03/14 01:59:02 DEBUG : : Looking for writers 2025/03/14 01:59:02 DEBUG : file1: reading active writers 2025/03/14 01:59:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/03/14 01:59:02 DEBUG : : Looking for writers 2025/03/14 01:59:02 DEBUG : file1: reading active writers 2025/03/14 01:59:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/03/14 01:59:02 DEBUG : : Looking for writers 2025/03/14 01:59:02 DEBUG : file1: reading active writers 2025/03/14 01:59:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/03/14 01:59:02 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:59:02 DEBUG : : Looking for writers 2025/03/14 01:59:02 DEBUG : file1: reading active writers 2025/03/14 01:59:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/03/14 01:59:03 DEBUG : : Looking for writers 2025/03/14 01:59:03 DEBUG : file1: reading active writers 2025/03/14 01:59:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/03/14 01:59:03 DEBUG : : Looking for writers 2025/03/14 01:59:03 DEBUG : file1: reading active writers 2025/03/14 01:59:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/03/14 01:59:03 DEBUG : : Looking for writers 2025/03/14 01:59:03 DEBUG : file1: reading active writers 2025/03/14 01:59:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:04 ERROR : file1: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:04 ERROR : file1: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:04 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:04 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:59:04 DEBUG : : Looking for writers 2025/03/14 01:59:04 DEBUG : file1: reading active writers 2025/03/14 01:59:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:05 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:05 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:05 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:59:05 DEBUG : : Looking for writers 2025/03/14 01:59:05 DEBUG : file1: reading active writers 2025/03/14 01:59:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:06 DEBUG : : Looking for writers 2025/03/14 01:59:06 DEBUG : file1: reading active writers 2025/03/14 01:59:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:07 DEBUG : : Looking for writers 2025/03/14 01:59:07 DEBUG : file1: reading active writers 2025/03/14 01:59:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:08 DEBUG : : Looking for writers 2025/03/14 01:59:08 DEBUG : file1: reading active writers 2025/03/14 01:59:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:09 DEBUG : : Looking for writers 2025/03/14 01:59:09 DEBUG : file1: reading active writers 2025/03/14 01:59:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:10 DEBUG : : Looking for writers 2025/03/14 01:59:10 DEBUG : file1: reading active writers 2025/03/14 01:59:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:11 DEBUG : : Looking for writers 2025/03/14 01:59:11 DEBUG : file1: reading active writers 2025/03/14 01:59:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:12 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:59:12 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/14 01:59:12 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10 2025/03/14 01:59:12 DEBUG : : Looking for writers 2025/03/14 01:59:12 DEBUG : file1: reading active writers 2025/03/14 01:59:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:13 DEBUG : pacer: Reducing sleep to 15ms 2025/03/14 01:59:13 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:13 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:13 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:59:13 DEBUG : : Looking for writers 2025/03/14 01:59:13 DEBUG : file1: reading active writers 2025/03/14 01:59:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:14 DEBUG : pacer: Reducing sleep to 11.25ms 2025/03/14 01:59:14 DEBUG : : Looking for writers 2025/03/14 01:59:14 DEBUG : file1: reading active writers 2025/03/14 01:59:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:15 DEBUG : : Looking for writers 2025/03/14 01:59:15 DEBUG : file1: reading active writers 2025/03/14 01:59:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:16 DEBUG : : Looking for writers 2025/03/14 01:59:16 DEBUG : file1: reading active writers 2025/03/14 01:59:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:17 DEBUG : : Looking for writers 2025/03/14 01:59:17 DEBUG : file1: reading active writers 2025/03/14 01:59:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:18 DEBUG : : Looking for writers 2025/03/14 01:59:18 DEBUG : file1: reading active writers 2025/03/14 01:59:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:18 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:59:18 DEBUG : pacer: Rate limited, increasing sleep to 22.5ms 2025/03/14 01:59:18 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10 2025/03/14 01:59:19 DEBUG : pacer: Reducing sleep to 16.875ms 2025/03/14 01:59:19 DEBUG : : Looking for writers 2025/03/14 01:59:19 DEBUG : file1: reading active writers 2025/03/14 01:59:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:20 DEBUG : : Looking for writers 2025/03/14 01:59:20 DEBUG : file1: reading active writers 2025/03/14 01:59:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:21 DEBUG : : Looking for writers 2025/03/14 01:59:21 DEBUG : file1: reading active writers 2025/03/14 01:59:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:22 DEBUG : : Looking for writers 2025/03/14 01:59:22 DEBUG : file1: reading active writers 2025/03/14 01:59:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:23 DEBUG : : Looking for writers 2025/03/14 01:59:23 DEBUG : file1: reading active writers 2025/03/14 01:59:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:24 DEBUG : : Looking for writers 2025/03/14 01:59:24 DEBUG : file1: reading active writers 2025/03/14 01:59:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:25 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:59:25 DEBUG : pacer: Rate limited, increasing sleep to 33.75ms 2025/03/14 01:59:25 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 1/10 2025/03/14 01:59:25 DEBUG : pacer: Reducing sleep to 25.3125ms 2025/03/14 01:59:25 DEBUG : : Looking for writers 2025/03/14 01:59:25 DEBUG : file1: reading active writers 2025/03/14 01:59:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:26 DEBUG : pacer: Reducing sleep to 18.984375ms 2025/03/14 01:59:26 ERROR : file1: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:26 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:26 DEBUG : : Looking for writers 2025/03/14 01:59:26 DEBUG : file1: reading active writers 2025/03/14 01:59:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:27 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:59:27 DEBUG : pacer: Reducing sleep to 14.238281ms 2025/03/14 01:59:27 DEBUG : : Looking for writers 2025/03/14 01:59:27 DEBUG : file1: reading active writers 2025/03/14 01:59:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:28 DEBUG : : Looking for writers 2025/03/14 01:59:28 DEBUG : file1: reading active writers 2025/03/14 01:59:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:29 DEBUG : : Looking for writers 2025/03/14 01:59:29 DEBUG : file1: reading active writers 2025/03/14 01:59:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:30 DEBUG : : Looking for writers 2025/03/14 01:59:30 DEBUG : file1: reading active writers 2025/03/14 01:59:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:31 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:59:31 DEBUG : pacer: Rate limited, increasing sleep to 28.476562ms 2025/03/14 01:59:31 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10 2025/03/14 01:59:31 DEBUG : pacer: Reducing sleep to 21.357421ms 2025/03/14 01:59:31 DEBUG : : Looking for writers 2025/03/14 01:59:31 DEBUG : file1: reading active writers 2025/03/14 01:59:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:32 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00021ec30 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000bf2108 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824646246720} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13973826565963976776 ext:263938963687 loc:0x3e83980} ATime:{wall:13973826565963995041 ext:263938981951 loc:0x3e83980} Size:5 Rs:[{Pos:0 Size:5}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/03/14 01:59:32 DEBUG : >WaitForWriters: 2025/03/14 01:59:32 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting 2025/03/14 01:59:32 DEBUG : pacer: Reducing sleep to 16.018065ms 2025/03/14 01:59:32 ERROR : file1: Failed to copy: failed to upload file: Put "https://api.sugarsync.com/file/:sc:9068489:215_5283058582/data": context canceled 2025/03/14 01:59:32 INFO : file1: vfs cache: upload canceled 2025/03/14 01:59:33 DEBUG : pacer: Reducing sleep to 12.013548ms 2025/03/14 01:59:34 DEBUG : pacer: Reducing sleep to 10ms --- PASS: TestRWFileHandleFlushWrite (33.01s) === RUN TestRWFileHandleReleaseWrite run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 01:59:34 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 01:59:34 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 01:59:34 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:59:34 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:59:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:59:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:59:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:59:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:59:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 01:59:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 01:59:34 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/14 01:59:34 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/14 01:59:35 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/14 01:59:35 DEBUG : file1: newRWFileHandle: 2025/03/14 01:59:35 DEBUG : file1(0xc000bab040): openPending: 2025/03/14 01:59:35 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/03/14 01:59:35 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/14 01:59:35 DEBUG : file1(0xc000bab040): >openPending: err= 2025/03/14 01:59:35 DEBUG : file1: >newRWFileHandle: err= 2025/03/14 01:59:35 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/14 01:59:35 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/03/14 01:59:35 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/03/14 01:59:35 DEBUG : file1(0xc000bab040): _writeAt: size=5, off=0 2025/03/14 01:59:35 DEBUG : file1(0xc000bab040): >_writeAt: n=5, err= 2025/03/14 01:59:35 DEBUG : file1(0xc000bab040): RWFileHandle.Release 2025/03/14 01:59:35 DEBUG : file1(0xc000bab040): close: 2025/03/14 01:59:35 DEBUG : file1: vfs cache: setting modification time to 2025-03-14 01:59:35.692271285 +0000 UTC m=+296.940022622 2025/03/14 01:59:35 INFO : file1: vfs cache: queuing for upload in 100ms 2025/03/14 01:59:35 DEBUG : file1(0xc000bab040): >close: err= 2025/03/14 01:59:35 DEBUG : file1(0xc000bab040): RWFileHandle.Release 2025/03/14 01:59:35 DEBUG : WaitForWriters: timeout=30s 2025/03/14 01:59:35 DEBUG : : Looking for writers 2025/03/14 01:59:35 DEBUG : file1: reading active writers 2025/03/14 01:59:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/03/14 01:59:35 DEBUG : : Looking for writers 2025/03/14 01:59:35 DEBUG : file1: reading active writers 2025/03/14 01:59:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/03/14 01:59:35 DEBUG : : Looking for writers 2025/03/14 01:59:35 DEBUG : file1: reading active writers 2025/03/14 01:59:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/03/14 01:59:35 DEBUG : : Looking for writers 2025/03/14 01:59:35 DEBUG : file1: reading active writers 2025/03/14 01:59:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/03/14 01:59:35 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:59:35 DEBUG : : Looking for writers 2025/03/14 01:59:35 DEBUG : file1: reading active writers 2025/03/14 01:59:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/03/14 01:59:36 DEBUG : : Looking for writers 2025/03/14 01:59:36 DEBUG : file1: reading active writers 2025/03/14 01:59:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/03/14 01:59:36 DEBUG : : Looking for writers 2025/03/14 01:59:36 DEBUG : file1: reading active writers 2025/03/14 01:59:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/03/14 01:59:36 DEBUG : : Looking for writers 2025/03/14 01:59:36 DEBUG : file1: reading active writers 2025/03/14 01:59:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:37 DEBUG : : Looking for writers 2025/03/14 01:59:37 DEBUG : file1: reading active writers 2025/03/14 01:59:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:38 DEBUG : : Looking for writers 2025/03/14 01:59:38 DEBUG : file1: reading active writers 2025/03/14 01:59:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:39 DEBUG : : Looking for writers 2025/03/14 01:59:39 DEBUG : file1: reading active writers 2025/03/14 01:59:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:40 DEBUG : : Looking for writers 2025/03/14 01:59:40 DEBUG : file1: reading active writers 2025/03/14 01:59:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:41 DEBUG : : Looking for writers 2025/03/14 01:59:41 DEBUG : file1: reading active writers 2025/03/14 01:59:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:42 DEBUG : : Looking for writers 2025/03/14 01:59:42 DEBUG : file1: reading active writers 2025/03/14 01:59:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:43 DEBUG : : Looking for writers 2025/03/14 01:59:43 DEBUG : file1: reading active writers 2025/03/14 01:59:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:44 DEBUG : : Looking for writers 2025/03/14 01:59:44 DEBUG : file1: reading active writers 2025/03/14 01:59:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:45 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 01:59:45 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/14 01:59:45 DEBUG : pacer: Reducing sleep to 15ms 2025/03/14 01:59:45 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10 2025/03/14 01:59:45 DEBUG : : Looking for writers 2025/03/14 01:59:45 DEBUG : file1: reading active writers 2025/03/14 01:59:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:46 DEBUG : pacer: Reducing sleep to 11.25ms 2025/03/14 01:59:46 DEBUG : : Looking for writers 2025/03/14 01:59:46 DEBUG : file1: reading active writers 2025/03/14 01:59:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:47 DEBUG : pacer: Reducing sleep to 10ms 2025/03/14 01:59:47 ERROR : file1: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:47 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:47 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:59:47 DEBUG : : Looking for writers 2025/03/14 01:59:47 DEBUG : file1: reading active writers 2025/03/14 01:59:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:48 DEBUG : : Looking for writers 2025/03/14 01:59:48 DEBUG : file1: reading active writers 2025/03/14 01:59:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:49 ERROR : file1: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:49 ERROR : file1: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:49 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:49 DEBUG : : Looking for writers 2025/03/14 01:59:49 DEBUG : file1: reading active writers 2025/03/14 01:59:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:50 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:59:50 DEBUG : : Looking for writers 2025/03/14 01:59:50 DEBUG : file1: reading active writers 2025/03/14 01:59:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:50 ERROR : file1: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:50 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:51 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:59:51 DEBUG : : Looking for writers 2025/03/14 01:59:51 DEBUG : file1: reading active writers 2025/03/14 01:59:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:52 ERROR : file1: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:52 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:52 DEBUG : : Looking for writers 2025/03/14 01:59:52 DEBUG : file1: reading active writers 2025/03/14 01:59:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:53 DEBUG : : Looking for writers 2025/03/14 01:59:53 DEBUG : file1: reading active writers 2025/03/14 01:59:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:54 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:59:54 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:54 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:54 DEBUG : : Looking for writers 2025/03/14 01:59:54 DEBUG : file1: reading active writers 2025/03/14 01:59:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:55 DEBUG : : Looking for writers 2025/03/14 01:59:55 DEBUG : file1: reading active writers 2025/03/14 01:59:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:56 DEBUG : : Looking for writers 2025/03/14 01:59:56 DEBUG : file1: reading active writers 2025/03/14 01:59:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:57 DEBUG : file1: vfs cache: starting upload 2025/03/14 01:59:57 DEBUG : : Looking for writers 2025/03/14 01:59:57 DEBUG : file1: reading active writers 2025/03/14 01:59:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:58 ERROR : file1: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:58 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 01:59:58 DEBUG : : Looking for writers 2025/03/14 01:59:58 DEBUG : file1: reading active writers 2025/03/14 01:59:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 01:59:59 DEBUG : : Looking for writers 2025/03/14 01:59:59 DEBUG : file1: reading active writers 2025/03/14 01:59:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:00 DEBUG : : Looking for writers 2025/03/14 02:00:00 DEBUG : file1: reading active writers 2025/03/14 02:00:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:01 DEBUG : : Looking for writers 2025/03/14 02:00:01 DEBUG : file1: reading active writers 2025/03/14 02:00:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:02 DEBUG : : Looking for writers 2025/03/14 02:00:02 DEBUG : file1: reading active writers 2025/03/14 02:00:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:03 DEBUG : : Looking for writers 2025/03/14 02:00:03 DEBUG : file1: reading active writers 2025/03/14 02:00:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:04 DEBUG : file1: vfs cache: starting upload 2025/03/14 02:00:04 DEBUG : : Looking for writers 2025/03/14 02:00:04 DEBUG : file1: reading active writers 2025/03/14 02:00:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:05 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:05 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:05 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000ac42d0 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000bc3208 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824646054464} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13973826601398515893 ext:296940022622 loc:0x3e83980} ATime:{wall:13973826601398545428 ext:296940052147 loc:0x3e83980} Size:5 Rs:[{Pos:0 Size:5}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/03/14 02:00:05 DEBUG : >WaitForWriters: 2025/03/14 02:00:05 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting run.go:125: removing file "file1" failed - try 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:125: removing file "file1" failed - try 2/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:125: removing file "file1" failed - try 3/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:128: removing file "file1" failed: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:10 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestRWFileHandleReleaseWrite (35.13s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:00:10 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:00:10 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 02:00:10 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:10 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:10 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:10 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:10 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:10 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:00:10 DEBUG : : Looking for writers 2025/03/14 02:00:10 DEBUG : >WaitForWriters: 2025/03/14 02:00:10 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting run.go:125: removing file "file1" failed - try 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:13 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestRWFileHandleSizeTruncateExisting (3.11s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:00:13 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:00:13 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 02:00:13 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:13 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:13 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:13 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:13 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:14 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:00:14 DEBUG : : Looking for writers 2025/03/14 02:00:14 DEBUG : >WaitForWriters: 2025/03/14 02:00:14 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting 2025/03/14 02:00:14 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:39 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:502 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestRWFileHandleSizeCreateExisting --- FAIL: TestRWFileHandleSizeCreateExisting (1.08s) === RUN TestRWFileHandleSizeCreateNew run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:00:14 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:00:14 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 02:00:14 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:14 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:14 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:14 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:14 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/14 02:00:14 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/14 02:00:14 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/14 02:00:14 DEBUG : file1: newRWFileHandle: 2025/03/14 02:00:14 DEBUG : file1(0xc000b4fe80): openPending: 2025/03/14 02:00:14 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/03/14 02:00:14 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/14 02:00:14 DEBUG : file1(0xc000b4fe80): >openPending: err= 2025/03/14 02:00:14 DEBUG : file1: >newRWFileHandle: err= 2025/03/14 02:00:14 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/14 02:00:14 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/03/14 02:00:14 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/03/14 02:00:14 DEBUG : file1(0xc000b4fe80): _writeAt: size=5, off=0 2025/03/14 02:00:14 DEBUG : file1(0xc000b4fe80): >_writeAt: n=5, err= 2025/03/14 02:00:14 DEBUG : file1(0xc000b4fe80): close: 2025/03/14 02:00:14 DEBUG : file1: vfs cache: setting modification time to 2025-03-14 02:00:14.535199453 +0000 UTC m=+335.782950771 2025/03/14 02:00:14 INFO : file1: vfs cache: queuing for upload in 100ms 2025/03/14 02:00:14 DEBUG : file1(0xc000b4fe80): >close: err= 2025/03/14 02:00:14 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:00:14 DEBUG : : Looking for writers 2025/03/14 02:00:14 DEBUG : file1: reading active writers 2025/03/14 02:00:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/03/14 02:00:14 DEBUG : : Looking for writers 2025/03/14 02:00:14 DEBUG : file1: reading active writers 2025/03/14 02:00:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/03/14 02:00:14 DEBUG : : Looking for writers 2025/03/14 02:00:14 DEBUG : file1: reading active writers 2025/03/14 02:00:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/03/14 02:00:14 DEBUG : : Looking for writers 2025/03/14 02:00:14 DEBUG : file1: reading active writers 2025/03/14 02:00:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/03/14 02:00:14 DEBUG : file1: vfs cache: starting upload 2025/03/14 02:00:14 DEBUG : : Looking for writers 2025/03/14 02:00:14 DEBUG : file1: reading active writers 2025/03/14 02:00:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/03/14 02:00:14 DEBUG : : Looking for writers 2025/03/14 02:00:14 DEBUG : file1: reading active writers 2025/03/14 02:00:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/03/14 02:00:15 DEBUG : : Looking for writers 2025/03/14 02:00:15 DEBUG : file1: reading active writers 2025/03/14 02:00:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/03/14 02:00:15 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:15 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:15 DEBUG : file1: vfs cache: starting upload 2025/03/14 02:00:15 DEBUG : : Looking for writers 2025/03/14 02:00:15 DEBUG : file1: reading active writers 2025/03/14 02:00:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:16 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:16 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:16 DEBUG : : Looking for writers 2025/03/14 02:00:16 DEBUG : file1: reading active writers 2025/03/14 02:00:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:16 DEBUG : file1: vfs cache: starting upload 2025/03/14 02:00:17 DEBUG : : Looking for writers 2025/03/14 02:00:17 DEBUG : file1: reading active writers 2025/03/14 02:00:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:18 ERROR : file1: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:18 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:18 DEBUG : : Looking for writers 2025/03/14 02:00:18 DEBUG : file1: reading active writers 2025/03/14 02:00:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:19 DEBUG : file1: vfs cache: starting upload 2025/03/14 02:00:19 DEBUG : : Looking for writers 2025/03/14 02:00:19 DEBUG : file1: reading active writers 2025/03/14 02:00:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:20 DEBUG : : Looking for writers 2025/03/14 02:00:20 DEBUG : file1: reading active writers 2025/03/14 02:00:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:20 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:20 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:21 DEBUG : : Looking for writers 2025/03/14 02:00:21 DEBUG : file1: reading active writers 2025/03/14 02:00:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:22 DEBUG : file1: vfs cache: starting upload 2025/03/14 02:00:22 DEBUG : : Looking for writers 2025/03/14 02:00:22 DEBUG : file1: reading active writers 2025/03/14 02:00:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:23 DEBUG : : Looking for writers 2025/03/14 02:00:23 DEBUG : file1: reading active writers 2025/03/14 02:00:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:24 DEBUG : : Looking for writers 2025/03/14 02:00:24 DEBUG : file1: reading active writers 2025/03/14 02:00:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:25 DEBUG : : Looking for writers 2025/03/14 02:00:25 DEBUG : file1: reading active writers 2025/03/14 02:00:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:26 DEBUG : : Looking for writers 2025/03/14 02:00:26 DEBUG : file1: reading active writers 2025/03/14 02:00:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:27 DEBUG : : Looking for writers 2025/03/14 02:00:27 DEBUG : file1: reading active writers 2025/03/14 02:00:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:28 DEBUG : : Looking for writers 2025/03/14 02:00:28 DEBUG : file1: reading active writers 2025/03/14 02:00:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:29 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 02:00:29 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/14 02:00:29 DEBUG : : Looking for writers 2025/03/14 02:00:29 DEBUG : file1: reading active writers 2025/03/14 02:00:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:29 DEBUG : pacer: Reducing sleep to 15ms 2025/03/14 02:00:29 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10 2025/03/14 02:00:30 DEBUG : pacer: Reducing sleep to 11.25ms 2025/03/14 02:00:30 DEBUG : : Looking for writers 2025/03/14 02:00:30 DEBUG : file1: reading active writers 2025/03/14 02:00:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:31 DEBUG : pacer: Reducing sleep to 10ms 2025/03/14 02:00:31 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:31 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:31 DEBUG : : Looking for writers 2025/03/14 02:00:31 DEBUG : file1: reading active writers 2025/03/14 02:00:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:32 DEBUG : : Looking for writers 2025/03/14 02:00:32 DEBUG : file1: reading active writers 2025/03/14 02:00:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:33 DEBUG : : Looking for writers 2025/03/14 02:00:33 DEBUG : file1: reading active writers 2025/03/14 02:00:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:34 DEBUG : file1: vfs cache: starting upload 2025/03/14 02:00:34 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:34 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:34 DEBUG : : Looking for writers 2025/03/14 02:00:34 DEBUG : file1: reading active writers 2025/03/14 02:00:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:35 DEBUG : : Looking for writers 2025/03/14 02:00:35 DEBUG : file1: reading active writers 2025/03/14 02:00:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:36 DEBUG : : Looking for writers 2025/03/14 02:00:36 DEBUG : file1: reading active writers 2025/03/14 02:00:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:37 DEBUG : : Looking for writers 2025/03/14 02:00:37 DEBUG : file1: reading active writers 2025/03/14 02:00:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:38 DEBUG : : Looking for writers 2025/03/14 02:00:38 DEBUG : file1: reading active writers 2025/03/14 02:00:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:39 DEBUG : : Looking for writers 2025/03/14 02:00:39 DEBUG : file1: reading active writers 2025/03/14 02:00:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:40 DEBUG : : Looking for writers 2025/03/14 02:00:40 DEBUG : file1: reading active writers 2025/03/14 02:00:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:41 DEBUG : file1: vfs cache: starting upload 2025/03/14 02:00:41 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:41 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:41 DEBUG : : Looking for writers 2025/03/14 02:00:41 DEBUG : file1: reading active writers 2025/03/14 02:00:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:42 DEBUG : : Looking for writers 2025/03/14 02:00:42 DEBUG : file1: reading active writers 2025/03/14 02:00:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:43 DEBUG : : Looking for writers 2025/03/14 02:00:43 DEBUG : file1: reading active writers 2025/03/14 02:00:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:44 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00021f950 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc0005c2f08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824639762240} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13973826643117375197 ext:335782950771 loc:0x3e83980} ATime:{wall:13973826643117393170 ext:335782968753 loc:0x3e83980} Size:5 Rs:[{Pos:0 Size:5}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/03/14 02:00:44 DEBUG : >WaitForWriters: 2025/03/14 02:00:44 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateNew (31.25s) === RUN TestRWFileHandleOpenTests === RUN TestRWFileHandleOpenTests/writes run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:00:45 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:00:45 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 02:00:45 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:45 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:45 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:45 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 02:00:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:45 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:45 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/14 02:00:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" === RUN TestRWFileHandleOpenTests/writes/os.O_RDONLY 2025/03/14 02:00:45 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/14 02:00:46 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. read_write_test.go:564: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:564 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:644 Error: Should be true Test: TestRWFileHandleOpenTests/writes/os.O_RDONLY 2025/03/14 02:00:46 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:46 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:00:46 DEBUG : : Looking for writers 2025/03/14 02:00:46 DEBUG : >WaitForWriters: 2025/03/14 02:00:46 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting 2025/03/14 02:00:46 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. === NAME TestRWFileHandleOpenTests/writes run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestRWFileHandleOpenTests/writes === RUN TestRWFileHandleOpenTests/full run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:00:46 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:00:46 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 02:00:46 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:46 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:46 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:46 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" === RUN TestRWFileHandleOpenTests/full/os.O_RDONLY 2025/03/14 02:00:46 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/14 02:00:46 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2025/03/14 02:00:46 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2025/03/14 02:00:46 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/14 02:00:46 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2025/03/14 02:00:46 DEBUG : open-test-file: newRWFileHandle: 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa2c0): openPending: 2025/03/14 02:00:46 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2025/03/14 02:00:46 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa2c0): >openPending: err= 2025/03/14 02:00:46 DEBUG : open-test-file: >newRWFileHandle: err= 2025/03/14 02:00:46 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2025/03/14 02:00:46 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/03/14 02:00:46 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa2c0): _writeAt: size=5, off=0 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa2c0): >_writeAt: n=5, err= 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa2c0): close: 2025/03/14 02:00:46 DEBUG : open-test-file: vfs cache: setting modification time to 2025-03-14 02:00:46.849364811 +0000 UTC m=+368.097116137 2025/03/14 02:00:46 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa2c0): >close: err= 2025/03/14 02:00:46 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2025/03/14 02:00:46 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/03/14 02:00:46 DEBUG : open-test-file: newRWFileHandle: 2025/03/14 02:00:46 DEBUG : open-test-file: >newRWFileHandle: err= 2025/03/14 02:00:46 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/03/14 02:00:46 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa380): _readAt: size=2, off=0 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa380): openPending: 2025/03/14 02:00:46 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/03/14 02:00:46 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa380): >openPending: err= 2025/03/14 02:00:46 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa380): >_readAt: n=2, err= 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa380): _writeAt: size=3, off=2 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa380): >_writeAt: n=0, err=Bad file descriptor 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa380): close: 2025/03/14 02:00:46 DEBUG : open-test-file: vfs cache: setting modification time to 2025-03-14 02:00:46.849364811 +0000 UTC m=+368.097116137 2025/03/14 02:00:46 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa380): >close: err= 2025/03/14 02:00:46 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2025/03/14 02:00:46 DEBUG : open-test-file: Open: flags=O_RDONLY 2025/03/14 02:00:46 DEBUG : open-test-file: newRWFileHandle: 2025/03/14 02:00:46 DEBUG : open-test-file: >newRWFileHandle: err= 2025/03/14 02:00:46 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2025/03/14 02:00:46 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa3c0): _readAt: size=512, off=0 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa3c0): openPending: 2025/03/14 02:00:46 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2025/03/14 02:00:46 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa3c0): >openPending: err= 2025/03/14 02:00:46 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa3c0): >_readAt: n=5, err=EOF 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa3c0): close: 2025/03/14 02:00:46 DEBUG : open-test-file: vfs cache: setting modification time to 2025-03-14 02:00:46.849364811 +0000 UTC m=+368.097116137 2025/03/14 02:00:46 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2025/03/14 02:00:46 DEBUG : open-test-file(0xc000baa3c0): >close: err= 2025/03/14 02:00:46 DEBUG : open-test-file: Remove: 2025/03/14 02:00:46 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc000b9e150 item 1 2025/03/14 02:00:46 INFO : open-test-file: vfs cache: removed cache file as file deleted 2025/03/14 02:00:46 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2025/03/14 02:00:46 DEBUG : : Added virtual directory entry vDel: "open-test-file" 2025/03/14 02:00:46 DEBUG : open-test-file: >Remove: err= 2025/03/14 02:00:46 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:00:46 DEBUG : : Looking for writers 2025/03/14 02:00:46 DEBUG : >WaitForWriters: 2025/03/14 02:00:46 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting 2025/03/14 02:00:48 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. === NAME TestRWFileHandleOpenTests/full fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestRWFileHandleOpenTests (2.76s) --- FAIL: TestRWFileHandleOpenTests/writes (1.07s) --- FAIL: TestRWFileHandleOpenTests/writes/os.O_RDONLY (0.85s) --- FAIL: TestRWFileHandleOpenTests/full (1.69s) --- PASS: TestRWFileHandleOpenTests/full/os.O_RDONLY (0.22s) === RUN TestRWFileModTimeWithOpenWriters run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:00:48 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:00:48 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 02:00:48 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:48 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:48 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:48 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:48 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/14 02:00:48 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/14 02:00:48 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:48 DEBUG : file1: >OpenFile: fd=, err=couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. read_write_test.go:44: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:44 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:58 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:653 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestRWFileModTimeWithOpenWriters 2025/03/14 02:00:48 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:00:48 DEBUG : : Looking for writers 2025/03/14 02:00:48 DEBUG : >WaitForWriters: 2025/03/14 02:00:48 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting 2025/03/14 02:00:49 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestRWFileModTimeWithOpenWriters (1.13s) === RUN TestRWCacheRename run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:00:49 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:00:49 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/14 02:00:49 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:49 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:49 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:49 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-fawocov7pimi" 2025/03/14 02:00:49 DEBUG : rename_me: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/14 02:00:49 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/14 02:00:49 DEBUG : rename_me: Open: flags=O_WRONLY|O_CREATE 2025/03/14 02:00:49 DEBUG : rename_me: newRWFileHandle: 2025/03/14 02:00:49 DEBUG : rename_me(0xc000c967c0): openPending: 2025/03/14 02:00:49 DEBUG : rename_me: vfs cache: truncate to size=0 (not needed as size correct) 2025/03/14 02:00:49 DEBUG : : Added virtual directory entry vAddFile: "rename_me" 2025/03/14 02:00:49 DEBUG : rename_me(0xc000c967c0): >openPending: err= 2025/03/14 02:00:49 DEBUG : rename_me: >newRWFileHandle: err= 2025/03/14 02:00:49 DEBUG : : Added virtual directory entry vAddFile: "rename_me" 2025/03/14 02:00:49 DEBUG : rename_me: >Open: fd=rename_me (rw), err= 2025/03/14 02:00:49 DEBUG : rename_me: >OpenFile: fd=rename_me (rw), err= 2025/03/14 02:00:49 DEBUG : rename_me(0xc000c967c0): _writeAt: size=5, off=0 2025/03/14 02:00:49 DEBUG : rename_me(0xc000c967c0): >_writeAt: n=5, err= 2025/03/14 02:00:49 DEBUG : rename_me(0xc000c967c0): close: 2025/03/14 02:00:49 DEBUG : rename_me: vfs cache: setting modification time to 2025-03-14 02:00:49.702974451 +0000 UTC m=+370.950725788 2025/03/14 02:00:49 INFO : rename_me: vfs cache: queuing for upload in 100ms 2025/03/14 02:00:49 DEBUG : rename_me(0xc000c967c0): >close: err= 2025/03/14 02:00:49 INFO : rename_me: vfs cache: renamed in cache to "i_was_renamed" 2025/03/14 02:00:49 DEBUG : i_was_renamed: Updating file with 0xc000192d80 2025/03/14 02:00:49 DEBUG : : Added virtual directory entry vDel: "rename_me" 2025/03/14 02:00:49 DEBUG : : Added virtual directory entry vAddFile: "i_was_renamed" 2025/03/14 02:00:49 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:00:49 DEBUG : : Looking for writers 2025/03/14 02:00:49 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:00:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/03/14 02:00:49 DEBUG : : Looking for writers 2025/03/14 02:00:49 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:00:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/03/14 02:00:49 DEBUG : : Looking for writers 2025/03/14 02:00:49 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:00:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/03/14 02:00:49 DEBUG : : Looking for writers 2025/03/14 02:00:49 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:00:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/03/14 02:00:49 DEBUG : i_was_renamed: vfs cache: starting upload 2025/03/14 02:00:49 DEBUG : : Looking for writers 2025/03/14 02:00:49 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:00:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/03/14 02:00:50 DEBUG : : Looking for writers 2025/03/14 02:00:50 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:00:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/03/14 02:00:50 DEBUG : : Looking for writers 2025/03/14 02:00:50 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:00:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/03/14 02:00:50 DEBUG : : Looking for writers 2025/03/14 02:00:50 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:00:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:51 ERROR : i_was_renamed: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:51 ERROR : i_was_renamed: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:51 ERROR : i_was_renamed: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:51 DEBUG : i_was_renamed: vfs cache: starting upload 2025/03/14 02:00:51 DEBUG : : Looking for writers 2025/03/14 02:00:51 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:00:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:52 ERROR : i_was_renamed: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:52 ERROR : i_was_renamed: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:52 DEBUG : i_was_renamed: vfs cache: starting upload 2025/03/14 02:00:52 DEBUG : : Looking for writers 2025/03/14 02:00:52 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:00:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:53 DEBUG : : Looking for writers 2025/03/14 02:00:53 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:00:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:54 DEBUG : : Looking for writers 2025/03/14 02:00:54 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:00:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:55 DEBUG : : Looking for writers 2025/03/14 02:00:55 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:00:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:56 DEBUG : : Looking for writers 2025/03/14 02:00:56 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:00:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:57 DEBUG : : Looking for writers 2025/03/14 02:00:57 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:00:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:58 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 02:00:58 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/14 02:00:58 DEBUG : i_was_renamed: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10 2025/03/14 02:00:58 DEBUG : pacer: Reducing sleep to 15ms 2025/03/14 02:00:58 DEBUG : : Looking for writers 2025/03/14 02:00:58 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:00:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:00:59 DEBUG : pacer: Reducing sleep to 11.25ms 2025/03/14 02:00:59 ERROR : i_was_renamed: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:59 ERROR : i_was_renamed: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:00:59 DEBUG : : Looking for writers 2025/03/14 02:00:59 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:00:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:00 DEBUG : i_was_renamed: vfs cache: starting upload 2025/03/14 02:01:00 DEBUG : pacer: Reducing sleep to 10ms 2025/03/14 02:01:00 ERROR : i_was_renamed: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:01:00 ERROR : i_was_renamed: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:01:00 DEBUG : : Looking for writers 2025/03/14 02:01:00 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:01 DEBUG : : Looking for writers 2025/03/14 02:01:01 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:02 DEBUG : i_was_renamed: vfs cache: starting upload 2025/03/14 02:01:02 ERROR : i_was_renamed: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:01:02 ERROR : i_was_renamed: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:01:02 DEBUG : : Looking for writers 2025/03/14 02:01:02 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:03 DEBUG : : Looking for writers 2025/03/14 02:01:03 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:04 DEBUG : : Looking for writers 2025/03/14 02:01:04 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:05 DEBUG : i_was_renamed: vfs cache: starting upload 2025/03/14 02:01:05 DEBUG : : Looking for writers 2025/03/14 02:01:05 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:06 ERROR : i_was_renamed: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:01:06 ERROR : i_was_renamed: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:01:06 DEBUG : : Looking for writers 2025/03/14 02:01:06 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:07 DEBUG : : Looking for writers 2025/03/14 02:01:07 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:08 DEBUG : : Looking for writers 2025/03/14 02:01:08 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:09 DEBUG : : Looking for writers 2025/03/14 02:01:09 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:10 DEBUG : : Looking for writers 2025/03/14 02:01:10 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:11 DEBUG : : Looking for writers 2025/03/14 02:01:11 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:12 DEBUG : i_was_renamed: vfs cache: starting upload 2025/03/14 02:01:12 DEBUG : : Looking for writers 2025/03/14 02:01:12 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:13 DEBUG : : Looking for writers 2025/03/14 02:01:13 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:14 DEBUG : : Looking for writers 2025/03/14 02:01:14 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:15 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 02:01:15 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/14 02:01:15 DEBUG : i_was_renamed: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10 2025/03/14 02:01:15 DEBUG : : Looking for writers 2025/03/14 02:01:15 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:16 DEBUG : pacer: Reducing sleep to 15ms 2025/03/14 02:01:16 ERROR : i_was_renamed: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:01:16 ERROR : i_was_renamed: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:01:16 DEBUG : : Looking for writers 2025/03/14 02:01:16 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:17 DEBUG : : Looking for writers 2025/03/14 02:01:17 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:18 DEBUG : : Looking for writers 2025/03/14 02:01:18 DEBUG : i_was_renamed: reading active writers 2025/03/14 02:01:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/14 02:01:19 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "rename_me": &{c:0xc000c503c0 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000de2308 notify:{wait:0 notify:0 lock:0 head: tail:} checker:0} name:rename_me opens:0 downloaders: o: fd: info:{ModTime:{wall:13973826680867536320 ext:370952148063 loc:0x3e83980} ATime:{wall:13973826680867536320 ext:370952148063 loc:0x3e83980} Size:0 Rs:[] Fingerprint: Dirty:false} writeBackID:0 pendingAccesses:0 modified:false beingReset:false}, "i_was_renamed": &{c:0xc000c503c0 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000de2208 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824648278592} name:i_was_renamed opens:0 downloaders: o: fd: info:{ModTime:{wall:13973826680866114035 ext:370950725788 loc:0x3e83980} ATime:{wall:13973826680867141341 ext:370951753084 loc:0x3e83980} Size:5 Rs:[{Pos:0 Size:5}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/03/14 02:01:19 DEBUG : >WaitForWriters: 2025/03/14 02:01:19 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': vfs cache: cleaner exiting 2025/03/14 02:01:19 DEBUG : pacer: Reducing sleep to 11.25ms 2025/03/14 02:01:20 DEBUG : pacer: Reducing sleep to 10ms run.go:125: removing file "i_was_renamed" failed - try 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- PASS: TestRWCacheRename (33.16s) === RUN TestUnicodeNormalization run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" run.go:285: Failed to put "normal name with no special characters.txt" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:01:24 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestUnicodeNormalization (1.60s) === RUN TestVFSNewWithOpts run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:01:24 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:01:24 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:01:24 DEBUG : : Looking for writers 2025/03/14 02:01:24 DEBUG : >WaitForWriters: 2025/03/14 02:01:24 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestVFSNewWithOpts --- FAIL: TestVFSNewWithOpts (0.18s) === RUN TestVFSRoot run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:01:24 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:01:24 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:01:24 DEBUG : : Looking for writers 2025/03/14 02:01:24 DEBUG : >WaitForWriters: 2025/03/14 02:01:24 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestVFSRoot --- FAIL: TestVFSRoot (0.18s) === RUN TestVFSStat run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:01:24 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:01:33 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 02:01:33 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/14 02:01:33 DEBUG : pacer: Reducing sleep to 15ms 2025/03/14 02:01:33 ERROR : file1: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:281: Retry Put of "file1" to sugarsync root 'Test/rclone-test-fawocov7pimi': 1/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 02:01:35 DEBUG : pacer: Reducing sleep to 11.25ms 2025/03/14 02:01:40 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 02:01:40 DEBUG : pacer: Rate limited, increasing sleep to 22.5ms run.go:281: Retry Put of "file1" to sugarsync root 'Test/rclone-test-fawocov7pimi': 2/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 02:01:42 DEBUG : pacer: Reducing sleep to 16.875ms 2025/03/14 02:01:43 DEBUG : pacer: Reducing sleep to 12.65625ms run.go:285: Failed to put "file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:01:43 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:01:43 DEBUG : : Looking for writers 2025/03/14 02:01:43 DEBUG : >WaitForWriters: 2025/03/14 02:01:43 DEBUG : pacer: Reducing sleep to 10ms 2025/03/14 02:01:43 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:189 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestVFSStat --- FAIL: TestVFSStat (18.95s) === RUN TestVFSStatParent run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:01:43 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:01:50 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 02:01:50 DEBUG : pacer: Rate limited, increasing sleep to 20ms run.go:281: Retry Put of "file1" to sugarsync root 'Test/rclone-test-fawocov7pimi': 1/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server) 2025/03/14 02:01:52 DEBUG : pacer: Reducing sleep to 15ms 2025/03/14 02:01:53 DEBUG : pacer: Reducing sleep to 11.25ms run.go:285: Failed to put "file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:01:53 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:01:53 DEBUG : : Looking for writers 2025/03/14 02:01:53 DEBUG : >WaitForWriters: 2025/03/14 02:01:53 DEBUG : pacer: Reducing sleep to 10ms 2025/03/14 02:01:53 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:224 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestVFSStatParent --- FAIL: TestVFSStatParent (10.00s) === RUN TestVFSOpenFile run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:01:53 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "file1" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:01:54 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:01:54 DEBUG : : Looking for writers 2025/03/14 02:01:54 DEBUG : >WaitForWriters: 2025/03/14 02:01:56 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestVFSOpenFile (2.79s) === RUN TestVFSRename run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:01:56 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file2" to "sugarsync root 'Test/rclone-test-fawocov7pimi'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:01:58 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:01:58 DEBUG : : Looking for writers 2025/03/14 02:01:58 DEBUG : >WaitForWriters: 2025/03/14 02:01:59 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestVFSRename (2.73s) === RUN TestVFSMkdir run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:01:59 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:01:59 DEBUG : : Added virtual directory entry vAddDir: "/" 2025/03/14 02:02:00 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:02:00 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:02:00 DEBUG : : Looking for writers 2025/03/14 02:02:00 DEBUG : : Looking for writers 2025/03/14 02:02:00 DEBUG : /: reading active writers 2025/03/14 02:02:00 DEBUG : >WaitForWriters: 2025/03/14 02:02:01 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestVFSMkdir (2.53s) === RUN TestVFSMkdirAll run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:02:01 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:02:01 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:02:01 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:02:01 DEBUG : : Looking for writers 2025/03/14 02:02:01 DEBUG : >WaitForWriters: --- FAIL: TestVFSMkdirAll (1.12s) === RUN TestWriteFileHandleMethods run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:02:02 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:02:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/14 02:02:03 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:02:03 DEBUG : file1: >OpenFile: fd=, err=couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. write_test.go:25: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:25 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:93 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestWriteFileHandleMethods 2025/03/14 02:02:03 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:02:03 DEBUG : : Looking for writers 2025/03/14 02:02:03 DEBUG : >WaitForWriters: 2025/03/14 02:02:03 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:25 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:93 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestWriteFileHandleMethods --- FAIL: TestWriteFileHandleMethods (0.85s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:02:03 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:02:03 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/14 02:02:03 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/14 02:02:03 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/14 02:02:03 DEBUG : file1: >Open: fd=file1 (w), err= 2025/03/14 02:02:03 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/03/14 02:02:03 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/14 02:02:03 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/03/14 02:02:04 DEBUG : file1: aborting in-sequence write wait, off=100 2025/03/14 02:02:04 DEBUG : file1: failed to wait for in-sequence write to 100 2025/03/14 02:02:04 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/03/14 02:02:04 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': File to upload is small (11 bytes), uploading instead of streaming 2025/03/14 02:02:06 ERROR : file1: WriteFileHandle.New Rcat failed: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:02:06 DEBUG : file1: Remove: 2025/03/14 02:02:06 DEBUG : : Added virtual directory entry vDel: "file1" 2025/03/14 02:02:06 DEBUG : file1: >Remove: err= write_test.go:221: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:221 Error: Received unexpected error: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestWriteFileHandleWriteAt 2025/03/14 02:02:06 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor dir_test.go:249: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:249 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:231 Error: Not equal: expected: []string{"file1,11,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=14) "file1,11,false" -} +([]string) Test: TestWriteFileHandleWriteAt 2025/03/14 02:02:07 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:02:07 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:02:07 DEBUG : : Looking for writers 2025/03/14 02:02:07 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleWriteAt (4.87s) === RUN TestWriteFileHandleFlush run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:02:08 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:02:08 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/14 02:02:09 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:02:09 DEBUG : file1: >OpenFile: fd=, err=couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. write_test.go:25: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:25 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:239 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestWriteFileHandleFlush 2025/03/14 02:02:09 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:02:09 DEBUG : : Looking for writers 2025/03/14 02:02:09 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleFlush (1.59s) === RUN TestWriteFileHandleRelease run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:02:09 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:02:09 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/14 02:02:10 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:02:10 DEBUG : file1: >OpenFile: fd=, err=couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. write_test.go:25: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:25 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:271 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestWriteFileHandleRelease 2025/03/14 02:02:10 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:02:10 DEBUG : : Looking for writers 2025/03/14 02:02:10 DEBUG : >WaitForWriters: 2025/03/14 02:02:10 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:25 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:271 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestWriteFileHandleRelease --- FAIL: TestWriteFileHandleRelease (0.84s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:02:10 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:02:10 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/14 02:02:10 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:02:10 DEBUG : file1: >OpenFile: fd=, err=couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. write_test.go:25: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:25 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:318 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestWriteFileModTimeWithOpenWriters 2025/03/14 02:02:10 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:02:10 DEBUG : : Looking for writers 2025/03/14 02:02:10 DEBUG : >WaitForWriters: 2025/03/14 02:02:11 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:25 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:318 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestWriteFileModTimeWithOpenWriters --- FAIL: TestWriteFileModTimeWithOpenWriters (0.34s) === RUN TestFileReadAtZeroLength run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:02:11 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:02:11 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/14 02:02:11 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:02:11 DEBUG : file1: >OpenFile: fd=, err=couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. write_test.go:25: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:25 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestFileReadAtZeroLength 2025/03/14 02:02:11 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:02:11 DEBUG : : Looking for writers 2025/03/14 02:02:11 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (1.11s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "sugarsync root 'Test/rclone-test-fawocov7pimi'", Local "Local file system at /tmp/rclone3860715127", Modify Window "876000h0m0s" 2025/03/14 02:02:12 INFO : sugarsync root 'Test/rclone-test-fawocov7pimi': poll-interval is not supported by this remote 2025/03/14 02:02:12 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/14 02:02:12 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/14 02:02:12 DEBUG : file1: >OpenFile: fd=, err=couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. write_test.go:25: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:25 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestFileReadAtNonZeroLength 2025/03/14 02:02:12 DEBUG : WaitForWriters: timeout=30s 2025/03/14 02:02:12 DEBUG : : Looking for writers 2025/03/14 02:02:12 DEBUG : >WaitForWriters: 2025/03/14 02:02:13 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:164: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:25 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestFileReadAtNonZeroLength --- FAIL: TestFileReadAtNonZeroLength (0.84s) FAIL 2025/03/14 02:02:13 DEBUG : sugarsync root 'Test/rclone-test-fawocov7pimi': Purge remote 2025/03/14 02:02:13 NOTICE: purge failed: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. "./vfs.test -test.v -test.timeout 1h0m0s -remote TestSugarSync:Test -verbose -test.run '^(TestDirCreate|TestDirFileOpen|TestDirForgetAll|TestDirForgetPath|TestDirHandleMethods|TestDirHandleReaddir|TestDirHandleReaddirnames|TestDirMethods|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestRWCacheRename|TestRWFileHandleFlushRead|TestRWFileHandleFlushWrite|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleReleaseWrite|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeCreateNew|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSMkdir|TestVFSMkdirAll|TestVFSNewWithOpts|TestVFSOpenFile|TestVFSRename|TestVFSRoot|TestVFSStat|TestVFSStatParent|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true)$|^TestRWFileHandleOpenTests$/^full$/^os.O_RDONLY$|^TestRWFileHandleOpenTests$/^writes$/^os.O_RDONLY$'" - Finished ERROR in 7m34.543904712s (try 4/5): exit status 1: Failed [TestDirHandleMethods TestDirHandleReaddir TestDirHandleReaddirnames TestDirMethods TestDirForgetAll TestDirForgetPath TestDirWalk TestDirSetModTime TestDirStat TestDirReadDirAll TestDirOpen TestDirCreate TestDirMkdir TestDirMkdirSub TestDirRemove TestDirRemoveAll TestDirRemoveName TestDirRename TestDirFileOpen TestFileMethods TestFileSetModTime/cache=off,open=false,write=false TestFileSetModTime/cache=off,open=true,write=false TestFileSetModTime/cache=off,open=true,write=true TestFileSetModTime/cache=full,open=false,write=false TestFileSetModTime/cache=full,open=true,write=false TestFileSetModTime/cache=full,open=true,write=true TestFileOpenRead TestFileOpenWrite TestFileRemove TestFileRemoveAll TestFileOpen TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false TestReadFileHandleMethods TestReadFileHandleSeek TestReadFileHandleReadAt TestReadFileHandleFlush TestReadFileHandleRelease TestRWFileHandleMethodsRead TestRWFileHandleSeek TestRWFileHandleReadAt TestRWFileHandleFlushRead TestRWFileHandleReleaseRead TestRWFileHandleMethodsWrite TestRWFileHandleWriteAt TestRWFileHandleWriteNoWrite TestRWFileHandleReleaseWrite TestRWFileHandleSizeTruncateExisting TestRWFileHandleSizeCreateExisting TestRWFileHandleOpenTests/writes/os.O_RDONLY TestRWFileHandleOpenTests/full TestRWFileModTimeWithOpenWriters TestUnicodeNormalization TestVFSNewWithOpts TestVFSRoot TestVFSStat TestVFSStatParent TestVFSOpenFile TestVFSRename TestVFSMkdir TestVFSMkdirAll TestWriteFileHandleMethods TestWriteFileHandleWriteAt TestWriteFileHandleFlush TestWriteFileHandleRelease TestWriteFileModTimeWithOpenWriters TestFileReadAtZeroLength TestFileReadAtNonZeroLength]