"./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|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileModTimeWithOpenWriters|TestRcGetVFS|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSMkdir|TestVFSMkdirAll|TestVFSNew|TestVFSNewWithOpts|TestVFSOpenFile|TestVFSRename|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)$'" - Starting (try 3/5) 2025/03/13 08:10:58 DEBUG : Creating backend with remote "TestSugarSync:Test/rclone-test-xuzolic9ciga" 2025/03/13 08:10:58 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/03/13 08:11:01 DEBUG : Creating backend with remote "/tmp/rclone1019958746" === RUN TestDirHandleMethods run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:11:01 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:237: Failed to mkdir "sugarsync root 'Test/rclone-test-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:11:01 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:11:01 DEBUG : : Looking for writers 2025/03/13 08:11:01 DEBUG : >WaitForWriters: 2025/03/13 08:11:01 ERROR : : error listing: directory not found --- FAIL: TestDirHandleMethods (0.61s) === RUN TestDirHandleReaddir run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:11:01 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:11:05 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:11:05 DEBUG : : Looking for writers 2025/03/13 08:11:05 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddir (4.57s) === RUN TestDirHandleReaddirnames run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:11:06 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:11:08 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:11:08 DEBUG : : Looking for writers 2025/03/13 08:11:08 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddirnames (3.35s) === RUN TestDirMethods run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:11:09 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:11:10 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:11:10 DEBUG : : Looking for writers 2025/03/13 08:11:10 DEBUG : >WaitForWriters: 2025/03/13 08:11:11 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: TestDirMethods (1.76s) === RUN TestDirForgetAll run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:11:11 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:11:13 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:11:13 DEBUG : : Looking for writers 2025/03/13 08:11:13 DEBUG : >WaitForWriters: 2025/03/13 08:11: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:86 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestDirForgetAll --- FAIL: TestDirForgetAll (2.27s) === RUN TestDirForgetPath run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:11:13 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:11:16 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/13 08:11:16 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:11:16 DEBUG : : Looking for writers 2025/03/13 08:11:16 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/13 08:11:22 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: TestDirForgetPath (8.39s) === RUN TestDirWalk run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:11:22 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:11:24 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:11:24 DEBUG : : Looking for writers 2025/03/13 08:11:24 DEBUG : >WaitForWriters: 2025/03/13 08:11:25 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/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 (3.06s) === RUN TestDirSetModTime run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:11:25 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:11:29 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. dir_test.go:28: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:212 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestDirSetModTime 2025/03/13 08:11:29 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:11:29 DEBUG : : Looking for writers 2025/03/13 08:11:29 DEBUG : >WaitForWriters: 2025/03/13 08:11:30 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/src/github.com/rclone/rclone/vfs/dir_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:212 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestDirSetModTime --- FAIL: TestDirSetModTime (5.28s) === RUN TestDirStat run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:11:30 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:11:31 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:11:31 DEBUG : : Looking for writers 2025/03/13 08:11:31 DEBUG : >WaitForWriters: 2025/03/13 08:11:32 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/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.98s) === RUN TestDirReadDirAll run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:11:32 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:11:32 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:11:32 DEBUG : : Looking for writers 2025/03/13 08:11:32 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: 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/13 08:11:39 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: TestDirReadDirAll (7.23s) === RUN TestDirOpen run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:11:39 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:11:44 ERROR : dir/: Can only open directories read only 2025/03/13 08:11:44 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:11:44 DEBUG : dir: Looking for writers 2025/03/13 08:11:44 DEBUG : : Looking for writers 2025/03/13 08:11:44 DEBUG : dir: reading active writers 2025/03/13 08:11:44 DEBUG : >WaitForWriters: 2025/03/13 08:11:44 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: TestDirOpen --- FAIL: TestDirOpen (5.16s) === RUN TestDirCreate run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:11:44 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:11:47 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/13 08:11:47 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:11:47 DEBUG : : Looking for writers 2025/03/13 08:11:47 DEBUG : >WaitForWriters: 2025/03/13 08:11:47 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:25 /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 (2.61s) === RUN TestDirMkdir run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:11:47 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:11:48 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:11:48 DEBUG : : Looking for writers 2025/03/13 08:11:48 DEBUG : >WaitForWriters: 2025/03/13 08:11:49 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:388 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestDirMkdir --- FAIL: TestDirMkdir (1.78s) === RUN TestDirMkdirSub run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:11:49 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:11:55 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/03/13 08:11:56 ERROR : dir/sub/: Dir.Mkdir failed to create directory: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. dir_test.go:421: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:421 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestDirMkdirSub 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/dir_test.go:425 Error: Not equal: expected: []string{"subsub,0,true"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "subsub,0,true" -} +([]string) Test: TestDirMkdirSub 2025/03/13 08:11:56 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:11:56 DEBUG : dir/sub: Looking for writers 2025/03/13 08:11:56 DEBUG : dir: Looking for writers 2025/03/13 08:11:56 DEBUG : file1: reading active writers 2025/03/13 08:11:56 DEBUG : sub: reading active writers 2025/03/13 08:11:56 DEBUG : : Looking for writers 2025/03/13 08:11:56 DEBUG : dir: reading active writers 2025/03/13 08:11:56 DEBUG : >WaitForWriters: run.go:125: removing dir "dir/sub" 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/sub" failed - try 2/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:125: removing dir "dir/sub" failed - try 3/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:128: removing dir "dir/sub" failed: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:125: removing dir "dir" failed - try 1/3: directory not empty run.go:125: removing dir "dir" failed - try 2/3: directory not empty run.go:125: removing dir "dir" failed - try 3/3: directory not empty run.go:128: removing dir "dir" failed: directory not empty fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache 2025/03/13 08:12:17 ERROR : dir: 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: TestDirMkdirSub (27.84s) === RUN TestDirRemove run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:12:17 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:12:17 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:12:17 DEBUG : : Looking for writers 2025/03/13 08:12:17 DEBUG : >WaitForWriters: 2025/03/13 08:12:19 ERROR : dir/sub: 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 (2.01s) === RUN TestDirRemoveAll run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:12:19 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:12:20 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-xuzolic9ciga'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:12:20 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:12:20 DEBUG : : Looking for writers 2025/03/13 08:12:20 DEBUG : >WaitForWriters: 2025/03/13 08:12:21 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/dir_test.go:24 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:476 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestDirRemoveAll --- FAIL: TestDirRemoveAll (2.44s) === RUN TestDirRemoveName run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:12:21 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:12:25 ERROR : dir/sub: 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/13 08:12:25 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:12:25 DEBUG : : Looking for writers 2025/03/13 08:12:25 DEBUG : >WaitForWriters: 2025/03/13 08:12: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/fstest.go:276 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:25 /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 (4.39s) === RUN TestDirRename run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:12:25 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:12: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/13 08:12:28 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:12:28 DEBUG : : Looking for writers 2025/03/13 08:12:28 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. 2025/03/13 08:12:32 ERROR : dir/sub: 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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:25 /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 (6.27s) === RUN TestDirFileOpen run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:12:32 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:12:33 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:12:33 DEBUG : : Looking for writers 2025/03/13 08:12:33 DEBUG : >WaitForWriters: run.go:125: removing dir "dir/sub" 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 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. --- FAIL: TestDirFileOpen (8.97s) === RUN TestFileMethods run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:12:41 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:12:45 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:12:45 DEBUG : : Looking for writers 2025/03/13 08:12:45 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. --- FAIL: TestFileMethods (8.71s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:12:49 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:12:54 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/13 08:12:54 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:12:54 DEBUG : : Looking for writers 2025/03/13 08:12:54 DEBUG : >WaitForWriters: 2025/03/13 08:12:55 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/fstest.go:276 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /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-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:12:55 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:12:55 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:12:55 DEBUG : : Looking for writers 2025/03/13 08:12:55 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:12:59 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:00 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:00 DEBUG : : Looking for writers 2025/03/13 08:13:00 DEBUG : >WaitForWriters: 2025/03/13 08:13: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: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=true === RUN TestFileSetModTime/cache=full,open=false,write=false run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:00 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:13:00 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:13:00 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:00 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:00 DEBUG : Config file has changed externally - reloading 2025/03/13 08:13:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/13 08:13:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/13 08:13:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:00 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': 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-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:01 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:01 DEBUG : : Looking for writers 2025/03/13 08:13:01 DEBUG : >WaitForWriters: 2025/03/13 08:13:01 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting 2025/03/13 08:13:02 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-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:02 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:13:02 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:13:02 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:02 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:02 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:02 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:02 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': 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-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:02 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:02 DEBUG : : Looking for writers 2025/03/13 08:13:02 DEBUG : >WaitForWriters: 2025/03/13 08:13:02 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:03 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:13:03 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:13:03 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:03 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/13 08:13:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/13 08:13:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:03 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': 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-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:04 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:04 DEBUG : : Looking for writers 2025/03/13 08:13:04 DEBUG : >WaitForWriters: 2025/03/13 08:13:04 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting 2025/03/13 08:13:05 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.31s) --- FAIL: TestFileSetModTime/cache=off,open=false,write=false (5.38s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=false (4.00s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=true (1.75s) --- FAIL: TestFileSetModTime/cache=full,open=false,write=false (1.19s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=false (1.23s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=true (1.75s) === RUN TestFileOpenRead run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:05 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:06 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:06 DEBUG : : Looking for writers 2025/03/13 08:13:06 DEBUG : >WaitForWriters: 2025/03/13 08:13: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. --- FAIL: TestFileOpenRead (1.99s) === RUN TestFileOpenWrite run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:07 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:09 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:09 DEBUG : : Looking for writers 2025/03/13 08:13:09 DEBUG : >WaitForWriters: 2025/03/13 08:13:10 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/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.04s) === RUN TestFileRemove run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:10 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:12 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:12 DEBUG : : Looking for writers 2025/03/13 08:13:12 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. 2025/03/13 08:13:16 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.80s) === RUN TestFileRemoveAll run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:16 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:17 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:17 DEBUG : : Looking for writers 2025/03/13 08:13:17 DEBUG : >WaitForWriters: 2025/03/13 08:13:18 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: TestFileRemoveAll (1.97s) === RUN TestFileOpen run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:18 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:13:25 ERROR : dir/: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. file_test.go:31: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:31 /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 2025/03/13 08:13:25 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:25 DEBUG : dir: Looking for writers 2025/03/13 08:13:25 DEBUG : : Looking for writers 2025/03/13 08:13:25 DEBUG : dir: reading active writers 2025/03/13 08:13:25 DEBUG : >WaitForWriters: 2025/03/13 08:13:26 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/src/github.com/rclone/rclone/vfs/file_test.go:31 /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 (7.39s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:26 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:26 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:26 DEBUG : : Looking for writers 2025/03/13 08:13:26 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. 2025/03/13 08:13:31 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. === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:31 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:13:31 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:13:31 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:31 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:31 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:31 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:31 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': 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-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:31 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:31 DEBUG : : Looking for writers 2025/03/13 08:13:31 DEBUG : >WaitForWriters: 2025/03/13 08:13:31 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting 2025/03/13 08:13:31 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-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:31 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:13:31 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:13:31 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:31 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:31 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:31 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:31 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': 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-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:31 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:31 DEBUG : : Looking for writers 2025/03/13 08:13:31 DEBUG : >WaitForWriters: 2025/03/13 08:13:31 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting 2025/03/13 08:13:32 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=true === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:32 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:13:32 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:13:32 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:32 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:32 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:32 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:32 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': 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-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:33 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:33 DEBUG : : Looking for writers 2025/03/13 08:13:33 DEBUG : >WaitForWriters: 2025/03/13 08:13:33 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting 2025/03/13 08:13:34 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. === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:34 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:13:34 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:13:34 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:34 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:34 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:34 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:34 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': 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-xuzolic9ciga'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:35 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:35 DEBUG : : Looking for writers 2025/03/13 08:13:35 DEBUG : >WaitForWriters: 2025/03/13 08:13:35 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting 2025/03/13 08:13:36 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. === RUN TestFileRename/full,forceCache=false run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:36 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:13:36 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:13:36 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:36 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:36 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:36 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:36 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': 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-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:37 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:37 DEBUG : : Looking for writers 2025/03/13 08:13:37 DEBUG : >WaitForWriters: 2025/03/13 08:13:37 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting --- FAIL: TestFileRename (12.71s) --- FAIL: TestFileRename/off,forceCache=false (5.11s) --- FAIL: TestFileRename/minimal,forceCache=false (0.38s) --- FAIL: TestFileRename/minimal,forceCache=true (0.39s) --- FAIL: TestFileRename/writes,forceCache=false (1.98s) --- FAIL: TestFileRename/writes,forceCache=true (2.78s) --- FAIL: TestFileRename/full,forceCache=false (2.07s) === RUN TestRcGetVFS run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:39 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:13:39 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:13:39 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:39 DEBUG : : Looking for writers 2025/03/13 08:13:39 DEBUG : >WaitForWriters: 2025/03/13 08:13:40 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: TestRcGetVFS (1.54s) === RUN TestReadFileHandleMethods run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:40 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:41 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:41 DEBUG : : Looking for writers 2025/03/13 08:13:41 DEBUG : >WaitForWriters: 2025/03/13 08:13:41 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.15s) === RUN TestReadFileHandleSeek run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:41 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:41 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:41 DEBUG : : Looking for writers 2025/03/13 08:13:41 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleSeek (1.24s) === RUN TestReadFileHandleReadAt run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:42 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:45 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:45 DEBUG : : Looking for writers 2025/03/13 08:13:45 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleReadAt (3.42s) === RUN TestReadFileHandleFlush run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:46 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:13:51 ERROR : dir: 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/13 08:13:51 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:51 DEBUG : : Looking for writers 2025/03/13 08:13:51 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleFlush (8.74s) === RUN TestReadFileHandleRelease run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:55 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:57 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:57 DEBUG : : Looking for writers 2025/03/13 08:13:57 DEBUG : >WaitForWriters: 2025/03/13 08:13:58 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_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 (3.49s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:13:58 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:13:58 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:13:58 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:58 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:58 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:58 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/13 08:13:58 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:58 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:58 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/13 08:13:58 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:13:58 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': 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-xuzolic9ciga'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:13:59 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:13:59 DEBUG : : Looking for writers 2025/03/13 08:13:59 DEBUG : >WaitForWriters: 2025/03/13 08:13:59 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting 2025/03/13 08:14:00 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 (1.88s) === RUN TestRWFileHandleSeek run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:14:00 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:14:00 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:14:00 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:00 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:00 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:00 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:00 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/13 08:14:03 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/13 08:14:03 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:14:03 DEBUG : : Looking for writers 2025/03/13 08:14:03 DEBUG : >WaitForWriters: 2025/03/13 08:14:03 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting 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. --- FAIL: TestRWFileHandleSeek (8.77s) === RUN TestRWFileHandleReadAt run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:14:09 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:14:09 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:14:09 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:09 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/13 08:14:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/13 08:14:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:09 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': 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-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:14:10 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:14:10 DEBUG : : Looking for writers 2025/03/13 08:14:10 DEBUG : >WaitForWriters: 2025/03/13 08:14:10 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting 2025/03/13 08:14:11 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: TestRWFileHandleReadAt (2.43s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:14:11 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:14:11 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:14:11 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:11 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:11 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:11 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:11 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/13 08:14:14 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-xuzolic9ciga'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:14:14 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:14:14 DEBUG : : Looking for writers 2025/03/13 08:14:14 DEBUG : >WaitForWriters: 2025/03/13 08:14:14 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting 2025/03/13 08:14: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:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:216 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestRWFileHandleFlushRead --- FAIL: TestRWFileHandleFlushRead (2.62s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:14:14 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:14:14 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:14:14 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:14 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:14 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:14 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:14 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/13 08:14:17 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/03/13 08:14:18 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/03/13 08:14:18 DEBUG : dir/file1: newRWFileHandle: 2025/03/13 08:14:18 DEBUG : dir/file1: >newRWFileHandle: err= 2025/03/13 08:14:18 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/03/13 08:14:18 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/03/13 08:14:18 DEBUG : dir/file1(0xc0000e3d40): _readAt: size=256, off=0 2025/03/13 08:14:18 DEBUG : dir/file1(0xc0000e3d40): openPending: 2025/03/13 08:14:18 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2025/03/13 08:14:18 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/03/13 08:14:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/03/13 08:14:18 DEBUG : dir/file1(0xc0000e3d40): >openPending: err= 2025/03/13 08:14:18 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/03/13 08:14:18 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/03/13 08:14:18 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/03/13 08:14:18 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/03/13 08:14:19 DEBUG : dir/file1(0xc0000e3d40): >_readAt: n=16, err=EOF 2025/03/13 08:14:19 DEBUG : dir/file1(0xc0000e3d40): RWFileHandle.Release 2025/03/13 08:14:19 DEBUG : dir/file1(0xc0000e3d40): close: 2025/03/13 08:14:19 DEBUG : dir/file1: vfs cache: setting modification time to 2025-03-13 01:14:15 -0700 -0700 2025/03/13 08:14:19 DEBUG : dir/file1(0xc0000e3d40): >close: err= 2025/03/13 08:14:19 DEBUG : dir/file1(0xc0000e3d40): RWFileHandle.Release 2025/03/13 08:14:19 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:14:19 DEBUG : dir: Looking for writers 2025/03/13 08:14:19 DEBUG : file1: reading active writers 2025/03/13 08:14:19 DEBUG : : Looking for writers 2025/03/13 08:14:19 DEBUG : dir: reading active writers 2025/03/13 08:14:19 DEBUG : >WaitForWriters: 2025/03/13 08:14:19 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting 2025/03/13 08:14:20 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: TestRWFileHandleReleaseRead --- FAIL: TestRWFileHandleReleaseRead (5.73s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:14:20 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:14:20 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:14:20 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:20 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:20 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:20 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:20 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/13 08:14:20 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/13 08:14:20 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/13 08:14:20 DEBUG : file1: newRWFileHandle: 2025/03/13 08:14:20 DEBUG : file1(0xc000984900): openPending: 2025/03/13 08:14:20 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/03/13 08:14:20 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:14:20 DEBUG : file1(0xc000984900): >openPending: err= 2025/03/13 08:14:20 DEBUG : file1: >newRWFileHandle: err= 2025/03/13 08:14:20 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:14:20 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/03/13 08:14:20 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/03/13 08:14:20 DEBUG : file1(0xc000984900): _writeAt: size=5, off=0 2025/03/13 08:14:20 DEBUG : file1(0xc000984900): >_writeAt: n=5, err= 2025/03/13 08:14:20 DEBUG : file1(0xc000984900): _writeAt: size=7, off=5 2025/03/13 08:14:20 DEBUG : file1(0xc000984900): >_writeAt: n=7, err= 2025/03/13 08:14:20 DEBUG : file1: vfs cache: truncate to size=11 2025/03/13 08:14:20 DEBUG : file1(0xc000984900): close: 2025/03/13 08:14:20 DEBUG : file1: vfs cache: setting modification time to 2025-03-13 08:14:20.237874023 +0000 UTC m=+201.770398637 2025/03/13 08:14:20 INFO : file1: vfs cache: queuing for upload in 100ms 2025/03/13 08:14:20 DEBUG : file1(0xc000984900): >close: err= 2025/03/13 08:14:20 DEBUG : file1(0xc000984900): close: 2025/03/13 08:14:20 DEBUG : file1(0xc000984900): >close: err=file already closed 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/read_write_test.go:332 Error: Not equal: expected: []string{"file1,11,false"} actual : []string{"dir,0,true", "file1,11,false"} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) (len=1) { +([]string) (len=2) { + (string) (len=10) "dir,0,true", (string) (len=14) "file1,11,false" Test: TestRWFileHandleMethodsWrite 2025/03/13 08:14:20 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:14:20 DEBUG : dir: Looking for writers 2025/03/13 08:14:20 DEBUG : : Looking for writers 2025/03/13 08:14:20 DEBUG : dir: reading active writers 2025/03/13 08:14:20 DEBUG : file1: reading active writers 2025/03/13 08:14:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/03/13 08:14:20 DEBUG : dir: Looking for writers 2025/03/13 08:14:20 DEBUG : : Looking for writers 2025/03/13 08:14:20 DEBUG : dir: reading active writers 2025/03/13 08:14:20 DEBUG : file1: reading active writers 2025/03/13 08:14:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/03/13 08:14:20 DEBUG : dir: Looking for writers 2025/03/13 08:14:20 DEBUG : : Looking for writers 2025/03/13 08:14:20 DEBUG : dir: reading active writers 2025/03/13 08:14:20 DEBUG : file1: reading active writers 2025/03/13 08:14:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/03/13 08:14:20 DEBUG : dir: Looking for writers 2025/03/13 08:14:20 DEBUG : : Looking for writers 2025/03/13 08:14:20 DEBUG : dir: reading active writers 2025/03/13 08:14:20 DEBUG : file1: reading active writers 2025/03/13 08:14:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/03/13 08:14:20 DEBUG : file1: vfs cache: starting upload 2025/03/13 08:14:20 DEBUG : dir: Looking for writers 2025/03/13 08:14:20 DEBUG : : Looking for writers 2025/03/13 08:14:20 DEBUG : dir: reading active writers 2025/03/13 08:14:20 DEBUG : file1: reading active writers 2025/03/13 08:14:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/03/13 08:14:20 DEBUG : dir: Looking for writers 2025/03/13 08:14:20 DEBUG : : Looking for writers 2025/03/13 08:14:20 DEBUG : dir: reading active writers 2025/03/13 08:14:20 DEBUG : file1: reading active writers 2025/03/13 08:14:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/03/13 08:14:20 DEBUG : dir: Looking for writers 2025/03/13 08:14:20 DEBUG : : Looking for writers 2025/03/13 08:14:20 DEBUG : dir: reading active writers 2025/03/13 08:14:20 DEBUG : file1: reading active writers 2025/03/13 08:14:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/03/13 08:14:21 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:14:21 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/13 08:14:21 DEBUG : file1: vfs cache: starting upload 2025/03/13 08:14:21 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:14:21 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/13 08:14:21 DEBUG : dir: Looking for writers 2025/03/13 08:14:21 DEBUG : : Looking for writers 2025/03/13 08:14:21 DEBUG : dir: reading active writers 2025/03/13 08:14:21 DEBUG : file1: reading active writers 2025/03/13 08:14:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/13 08:14:21 DEBUG : file1: vfs cache: starting upload 2025/03/13 08:14:22 DEBUG : dir: Looking for writers 2025/03/13 08:14:22 DEBUG : : Looking for writers 2025/03/13 08:14:22 DEBUG : dir: reading active writers 2025/03/13 08:14:22 DEBUG : file1: reading active writers 2025/03/13 08:14:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/13 08:14:22 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:14:22 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 create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:14:23 DEBUG : dir: Looking for writers 2025/03/13 08:14:23 DEBUG : : Looking for writers 2025/03/13 08:14:23 DEBUG : file1: reading active writers 2025/03/13 08:14:23 DEBUG : dir: reading active writers 2025/03/13 08:14:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/13 08:14:23 DEBUG : file1: vfs cache: starting upload 2025/03/13 08:14:24 DEBUG : dir: Looking for writers 2025/03/13 08:14:24 DEBUG : : Looking for writers 2025/03/13 08:14:24 DEBUG : dir: reading active writers 2025/03/13 08:14:24 DEBUG : file1: reading active writers 2025/03/13 08:14:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/13 08:14:25 DEBUG : dir: Looking for writers 2025/03/13 08:14:25 DEBUG : : Looking for writers 2025/03/13 08:14:25 DEBUG : file1: reading active writers 2025/03/13 08:14:25 DEBUG : dir: reading active writers 2025/03/13 08:14:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/13 08:14:25 INFO : file1: Copied (new) 2025/03/13 08:14:25 DEBUG : file1: vfs cache: fingerprint now "11" 2025/03/13 08:14:25 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/03/13 08:14:25 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:14:25 INFO : file1: vfs cache: upload succeeded try #4 2025/03/13 08:14:26 DEBUG : dir: Looking for writers 2025/03/13 08:14:26 DEBUG : : Looking for writers 2025/03/13 08:14:26 DEBUG : dir: reading active writers 2025/03/13 08:14:26 DEBUG : file1: reading active writers 2025/03/13 08:14:26 DEBUG : >WaitForWriters: 2025/03/13 08:14:27 ERROR : dir: 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/13 08:14:27 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:14:27 DEBUG : dir: Looking for writers 2025/03/13 08:14:27 DEBUG : : Looking for writers 2025/03/13 08:14:27 DEBUG : file1: reading active writers 2025/03/13 08:14:27 DEBUG : dir: reading active writers 2025/03/13 08:14:27 DEBUG : >WaitForWriters: 2025/03/13 08:14:28 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting run.go:125: removing file "dir/file1" failed - try 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:14:33 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: TestRWFileHandleMethodsWrite (13.57s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:14:33 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:14:33 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:14:33 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:33 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:33 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:33 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:33 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/13 08:14:33 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/13 08:14:33 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/13 08:14:33 DEBUG : file1: newRWFileHandle: 2025/03/13 08:14:33 DEBUG : file1(0xc000984680): openPending: 2025/03/13 08:14:33 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/03/13 08:14:33 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:14:33 DEBUG : file1(0xc000984680): >openPending: err= 2025/03/13 08:14:33 DEBUG : file1: >newRWFileHandle: err= 2025/03/13 08:14:33 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:14:33 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/03/13 08:14:33 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/03/13 08:14:33 DEBUG : file1(0xc000984680): _writeAt: size=7, off=0 2025/03/13 08:14:33 DEBUG : file1(0xc000984680): >_writeAt: n=7, err= 2025/03/13 08:14:33 DEBUG : file1(0xc000984680): _writeAt: size=6, off=5 2025/03/13 08:14:33 DEBUG : file1(0xc000984680): >_writeAt: n=6, err= 2025/03/13 08:14:33 DEBUG : file1(0xc000984680): close: 2025/03/13 08:14:33 DEBUG : file1: vfs cache: setting modification time to 2025-03-13 08:14:33.806383 +0000 UTC m=+215.338907614 2025/03/13 08:14:33 INFO : file1: vfs cache: queuing for upload in 100ms 2025/03/13 08:14:33 DEBUG : file1(0xc000984680): >close: err= 2025/03/13 08:14:33 DEBUG : file1(0xc000984680): _writeAt: size=5, off=0 2025/03/13 08:14:33 DEBUG : file1(0xc000984680): >_writeAt: n=0, err=file already closed 2025/03/13 08:14:33 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:14:33 DEBUG : : Looking for writers 2025/03/13 08:14:33 DEBUG : file1: reading active writers 2025/03/13 08:14:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/03/13 08:14:33 DEBUG : : Looking for writers 2025/03/13 08:14:33 DEBUG : file1: reading active writers 2025/03/13 08:14:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/03/13 08:14:33 DEBUG : : Looking for writers 2025/03/13 08:14:33 DEBUG : file1: reading active writers 2025/03/13 08:14:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/03/13 08:14:33 DEBUG : : Looking for writers 2025/03/13 08:14:33 DEBUG : file1: reading active writers 2025/03/13 08:14:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/03/13 08:14:33 DEBUG : file1: vfs cache: starting upload 2025/03/13 08:14:33 DEBUG : : Looking for writers 2025/03/13 08:14:33 DEBUG : file1: reading active writers 2025/03/13 08:14:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/03/13 08:14:34 DEBUG : : Looking for writers 2025/03/13 08:14:34 DEBUG : file1: reading active writers 2025/03/13 08:14:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/03/13 08:14:34 DEBUG : : Looking for writers 2025/03/13 08:14:34 DEBUG : file1: reading active writers 2025/03/13 08:14:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/03/13 08:14:35 DEBUG : : Looking for writers 2025/03/13 08:14:35 DEBUG : file1: reading active writers 2025/03/13 08:14:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/13 08:14:35 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:14:35 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/13 08:14:35 DEBUG : file1: vfs cache: starting upload 2025/03/13 08:14:35 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:14:35 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/13 08:14:36 DEBUG : : Looking for writers 2025/03/13 08:14:36 DEBUG : file1: reading active writers 2025/03/13 08:14:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/13 08:14:36 DEBUG : file1: vfs cache: starting upload 2025/03/13 08:14:37 DEBUG : : Looking for writers 2025/03/13 08:14:37 DEBUG : file1: reading active writers 2025/03/13 08:14:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/13 08:14:38 DEBUG : : Looking for writers 2025/03/13 08:14:38 DEBUG : file1: reading active writers 2025/03/13 08:14:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/13 08:14:38 INFO : file1: Copied (new) 2025/03/13 08:14:38 DEBUG : file1: vfs cache: fingerprint now "11" 2025/03/13 08:14:38 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/03/13 08:14:38 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:14:38 INFO : file1: vfs cache: upload succeeded try #3 2025/03/13 08:14:39 DEBUG : : Looking for writers 2025/03/13 08:14:39 DEBUG : file1: reading active writers 2025/03/13 08:14:39 DEBUG : >WaitForWriters: 2025/03/13 08:14:39 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/13 08:14:39 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:14:39 DEBUG : : Looking for writers 2025/03/13 08:14:39 DEBUG : file1: reading active writers 2025/03/13 08:14:39 DEBUG : >WaitForWriters: 2025/03/13 08:14:39 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteAt (7.99s) === RUN TestRWFileHandleFlushWrite run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:14:41 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:14:41 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:14:41 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:41 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:41 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:41 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/13 08:14:41 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:41 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:41 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/13 08:14:41 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:41 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/13 08:14:41 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/13 08:14:42 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:14:42 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:424 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestRWFileHandleFlushWrite 2025/03/13 08:14:42 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:14:42 DEBUG : : Looking for writers 2025/03/13 08:14:42 DEBUG : >WaitForWriters: 2025/03/13 08:14:42 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting 2025/03/13 08:14:42 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:424 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestRWFileHandleFlushWrite --- FAIL: TestRWFileHandleFlushWrite (0.89s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:14:42 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:14:42 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:14:42 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:42 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:42 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:42 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:42 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': 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-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:14:42 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:14:42 DEBUG : : Looking for writers 2025/03/13 08:14:42 DEBUG : >WaitForWriters: 2025/03/13 08:14:42 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting 2025/03/13 08:14:43 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 (1.13s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:14:43 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:14:43 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:14:43 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:43 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:43 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:43 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:43 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': 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-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:14:43 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:14:43 DEBUG : : Looking for writers 2025/03/13 08:14:43 DEBUG : >WaitForWriters: 2025/03/13 08:14:43 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeCreateExisting (1.18s) === RUN TestRWFileModTimeWithOpenWriters run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:14:44 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:14:44 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:14:44 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:44 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/13 08:14:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/13 08:14:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:44 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/13 08:14:44 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/13 08:14:45 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:14:45 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/13 08:14:45 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:14:45 DEBUG : : Looking for writers 2025/03/13 08:14:45 DEBUG : >WaitForWriters: 2025/03/13 08:14:45 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting --- FAIL: TestRWFileModTimeWithOpenWriters (1.70s) === RUN TestRWCacheRename run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:14:46 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:14:46 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 08:14:46 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:46 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/13 08:14:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/13 08:14:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-xuzolic9ciga" 2025/03/13 08:14:46 DEBUG : rename_me: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/13 08:14:46 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/13 08:14:47 DEBUG : rename_me: Open: flags=O_WRONLY|O_CREATE 2025/03/13 08:14:47 DEBUG : rename_me: newRWFileHandle: 2025/03/13 08:14:47 DEBUG : rename_me(0xc000ba0d00): openPending: 2025/03/13 08:14:47 DEBUG : rename_me: vfs cache: truncate to size=0 (not needed as size correct) 2025/03/13 08:14:47 DEBUG : : Added virtual directory entry vAddFile: "rename_me" 2025/03/13 08:14:47 DEBUG : rename_me(0xc000ba0d00): >openPending: err= 2025/03/13 08:14:47 DEBUG : rename_me: >newRWFileHandle: err= 2025/03/13 08:14:47 DEBUG : : Added virtual directory entry vAddFile: "rename_me" 2025/03/13 08:14:47 DEBUG : rename_me: >Open: fd=rename_me (rw), err= 2025/03/13 08:14:47 DEBUG : rename_me: >OpenFile: fd=rename_me (rw), err= 2025/03/13 08:14:47 DEBUG : rename_me(0xc000ba0d00): _writeAt: size=5, off=0 2025/03/13 08:14:47 DEBUG : rename_me(0xc000ba0d00): >_writeAt: n=5, err= 2025/03/13 08:14:47 DEBUG : rename_me(0xc000ba0d00): close: 2025/03/13 08:14:47 DEBUG : rename_me: vfs cache: setting modification time to 2025-03-13 08:14:47.234316485 +0000 UTC m=+228.766841098 2025/03/13 08:14:47 INFO : rename_me: vfs cache: queuing for upload in 100ms 2025/03/13 08:14:47 DEBUG : rename_me(0xc000ba0d00): >close: err= 2025/03/13 08:14:47 INFO : rename_me: vfs cache: renamed in cache to "i_was_renamed" 2025/03/13 08:14:47 DEBUG : i_was_renamed: Updating file with 0xc00019f080 2025/03/13 08:14:47 DEBUG : : Added virtual directory entry vDel: "rename_me" 2025/03/13 08:14:47 DEBUG : : Added virtual directory entry vAddFile: "i_was_renamed" 2025/03/13 08:14:47 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:14:47 DEBUG : : Looking for writers 2025/03/13 08:14:47 DEBUG : i_was_renamed: reading active writers 2025/03/13 08:14:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/03/13 08:14:47 DEBUG : : Looking for writers 2025/03/13 08:14:47 DEBUG : i_was_renamed: reading active writers 2025/03/13 08:14:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/03/13 08:14:47 DEBUG : : Looking for writers 2025/03/13 08:14:47 DEBUG : i_was_renamed: reading active writers 2025/03/13 08:14:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/03/13 08:14:47 DEBUG : : Looking for writers 2025/03/13 08:14:47 DEBUG : i_was_renamed: reading active writers 2025/03/13 08:14:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/03/13 08:14:47 DEBUG : i_was_renamed: vfs cache: starting upload 2025/03/13 08:14:47 DEBUG : : Looking for writers 2025/03/13 08:14:47 DEBUG : i_was_renamed: reading active writers 2025/03/13 08:14:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/03/13 08:14:47 DEBUG : : Looking for writers 2025/03/13 08:14:47 DEBUG : i_was_renamed: reading active writers 2025/03/13 08:14:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/03/13 08:14:47 DEBUG : : Looking for writers 2025/03/13 08:14:47 DEBUG : i_was_renamed: reading active writers 2025/03/13 08:14:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/03/13 08:14:48 DEBUG : : Looking for writers 2025/03/13 08:14:48 DEBUG : i_was_renamed: reading active writers 2025/03/13 08:14:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/13 08:14:49 DEBUG : : Looking for writers 2025/03/13 08:14:49 DEBUG : i_was_renamed: reading active writers 2025/03/13 08:14:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/03/13 08:14:50 INFO : i_was_renamed: Copied (new) 2025/03/13 08:14:50 DEBUG : i_was_renamed: vfs cache: fingerprint now "5" 2025/03/13 08:14:50 DEBUG : i_was_renamed: vfs cache: writeback object to VFS layer 2025/03/13 08:14:50 DEBUG : : Added virtual directory entry vAddFile: "i_was_renamed" 2025/03/13 08:14:50 INFO : i_was_renamed: vfs cache: upload succeeded try #1 2025/03/13 08:14:50 DEBUG : : Looking for writers 2025/03/13 08:14:50 DEBUG : i_was_renamed: reading active writers 2025/03/13 08:14:50 DEBUG : >WaitForWriters: 2025/03/13 08:14:50 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': vfs cache: cleaner exiting 2025/03/13 08:14:51 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: TestRWCacheRename --- FAIL: TestRWCacheRename (4.75s) === RUN TestUnicodeNormalization run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" run.go:285: Failed to put "normal name with no special characters.txt" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:14:53 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.94s) === RUN TestVFSNew run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:14:53 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:14:53 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': Reusing VFS from active cache 2025/03/13 08:14:53 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:14:53 DEBUG : : Looking for writers 2025/03/13 08:14:53 DEBUG : >WaitForWriters: 2025/03/13 08:14:53 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:14:53 DEBUG : : Looking for writers 2025/03/13 08:14:53 DEBUG : >WaitForWriters: --- PASS: TestVFSNew (0.98s) === RUN TestVFSNewWithOpts run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:14:54 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:14:54 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:14:54 DEBUG : : Looking for writers 2025/03/13 08:14:54 DEBUG : >WaitForWriters: --- PASS: TestVFSNewWithOpts (1.52s) === RUN TestVFSStat run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:14:55 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:14:57 ERROR : file1: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. run.go:285: Failed to put "file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:14:57 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:14:57 DEBUG : : Looking for writers 2025/03/13 08:14:57 DEBUG : >WaitForWriters: 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. --- FAIL: TestVFSStat (6.11s) === RUN TestVFSStatParent run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:15:01 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "file1" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:15:03 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:15:03 DEBUG : : Looking for writers 2025/03/13 08:15:03 DEBUG : >WaitForWriters: 2025/03/13 08:15:04 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: TestVFSStatParent (2.41s) === RUN TestVFSOpenFile run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:15:04 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file2" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:15:06 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:15:06 DEBUG : : Looking for writers 2025/03/13 08:15:06 DEBUG : >WaitForWriters: 2025/03/13 08:15: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/vfs_test.go:257 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestVFSOpenFile --- FAIL: TestVFSOpenFile (2.75s) === RUN TestVFSRename run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:15:06 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote run.go:285: Failed to put "dir/file2" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:15:10 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:15:10 DEBUG : : Looking for writers 2025/03/13 08:15:10 DEBUG : >WaitForWriters: --- FAIL: TestVFSRename (7.42s) === RUN TestVFSMkdir run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:15:14 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:15:15 ERROR : /: Dir.Mkdir failed to read directory: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. vfs_test.go:376: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:376 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestVFSMkdir 2025/03/13 08:15:15 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:15:15 DEBUG : : Looking for writers 2025/03/13 08:15:15 DEBUG : >WaitForWriters: --- FAIL: TestVFSMkdir (2.46s) === RUN TestVFSMkdirAll run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:15:16 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:15:19 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. vfs_test.go:426: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:426 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestVFSMkdirAll 2025/03/13 08:15:19 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:15:19 DEBUG : : Looking for writers 2025/03/13 08:15:19 DEBUG : >WaitForWriters: 2025/03/13 08:15:19 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: TestVFSMkdirAll (3.18s) === RUN TestWriteFileHandleMethods run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:15:19 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:15:19 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/13 08:15:20 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/13 08:15:20 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:15:20 DEBUG : file1: >Open: fd=file1 (w), err= 2025/03/13 08:15:20 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/03/13 08:15:20 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:15:20 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/03/13 08:15:20 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/03/13 08:15:20 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/03/13 08:15:20 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': File to upload is small (5 bytes), uploading instead of streaming 2025/03/13 08:15:22 NOTICE: sugarsync root 'Test/rclone-test-xuzolic9ciga': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2025/03/13 08:15:22 DEBUG : file1: Size of src and dst objects identical 2025/03/13 08:15:22 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:15:23 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/13 08:15:23 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/13 08:15:23 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:15:23 DEBUG : file1: >Open: fd=file1 (w), err= 2025/03/13 08:15:23 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/03/13 08:15:23 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/13 08:15:23 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/13 08:15:23 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:15:23 DEBUG : file1: >Open: fd=file1 (w), err= 2025/03/13 08:15:23 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/03/13 08:15:23 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2025/03/13 08:15:23 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/03/13 08:15:23 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/03/13 08:15:23 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:15:23 DEBUG : file1: >Open: fd=file1 (w), err= 2025/03/13 08:15:23 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/03/13 08:15:23 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:15:23 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': File to upload is small (0 bytes), uploading instead of streaming 2025/03/13 08:15:25 DEBUG : file1: Size of src and dst objects identical 2025/03/13 08:15:25 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:15:25 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/03/13 08:15:25 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/03/13 08:15:25 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:15:25 DEBUG : file1: >Open: fd=file1 (w), err= 2025/03/13 08:15:25 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/03/13 08:15:25 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:15:25 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': File to upload is small (7 bytes), uploading instead of streaming 2025/03/13 08:15:26 ERROR : file1: WriteFileHandle.New Rcat failed: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. write_test.go:190: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:190 Error: Received unexpected error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestWriteFileHandleMethods 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:191 Error: Not equal: expected: []string{"file1,7,false"} actual : []string{"file1,0,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=13) "file1,7,false" + (string) (len=13) "file1,0,false" } Test: TestWriteFileHandleMethods 2025/03/13 08:15:26 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:15:26 DEBUG : : Looking for writers 2025/03/13 08:15:26 DEBUG : file1: reading active writers 2025/03/13 08:15:26 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleMethods (8.21s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:15:28 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:15:28 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/13 08:15:28 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/13 08:15:28 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:15:28 DEBUG : file1: >Open: fd=file1 (w), err= 2025/03/13 08:15:28 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/03/13 08:15:28 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:15:28 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/03/13 08:15:29 DEBUG : file1: aborting in-sequence write wait, off=100 2025/03/13 08:15:29 DEBUG : file1: failed to wait for in-sequence write to 100 2025/03/13 08:15:29 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/03/13 08:15:29 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': File to upload is small (11 bytes), uploading instead of streaming 2025/03/13 08:15:30 ERROR : file1: WriteFileHandle.New Rcat failed: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:15:30 DEBUG : file1: Remove: 2025/03/13 08:15:30 DEBUG : : Added virtual directory entry vDel: "file1" 2025/03/13 08:15:30 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: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestWriteFileHandleWriteAt 2025/03/13 08:15:30 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 fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache 2025/03/13 08:15:37 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/13 08:15:37 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:15:37 DEBUG : : Looking for writers 2025/03/13 08:15:37 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleWriteAt (11.71s) === RUN TestWriteFileHandleFlush run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:15:39 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:15:39 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/13 08:15:40 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/13 08:15:40 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:15:40 DEBUG : file1: >Open: fd=file1 (w), err= 2025/03/13 08:15:40 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/03/13 08:15:40 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/03/13 08:15:40 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:15:40 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': File to upload is small (5 bytes), uploading instead of streaming 2025/03/13 08:15:42 ERROR : file1: WriteFileHandle.New Rcat failed: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:15:42 DEBUG : file1: Remove: 2025/03/13 08:15:42 DEBUG : : Added virtual directory entry vDel: "file1" 2025/03/13 08:15:42 DEBUG : file1: >Remove: err= 2025/03/13 08:15:42 ERROR : file1: WriteFileHandle.Flush error: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. write_test.go:256: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:256 Error: Received unexpected error: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestWriteFileHandleFlush 2025/03/13 08:15:42 DEBUG : file1: WriteFileHandle.Flush nothing to do 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:267 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleFlush 2025/03/13 08:15:42 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:15:42 DEBUG : : Looking for writers 2025/03/13 08:15:42 DEBUG : >WaitForWriters: 2025/03/13 08:15:42 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: TestWriteFileHandleFlush --- FAIL: TestWriteFileHandleFlush (2.39s) === RUN TestWriteFileHandleRelease run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:15:42 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:15:42 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/13 08:15:42 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/13 08:15:42 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:15:42 DEBUG : file1: >Open: fd=file1 (w), err= 2025/03/13 08:15:42 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/03/13 08:15:42 DEBUG : file1: WriteFileHandle.Release closing 2025/03/13 08:15:42 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:15:42 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': File to upload is small (0 bytes), uploading instead of streaming 2025/03/13 08:15:44 ERROR : file1: WriteFileHandle.New Rcat failed: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:15:44 DEBUG : file1: Remove: 2025/03/13 08:15:44 DEBUG : : Added virtual directory entry vDel: "file1" 2025/03/13 08:15:44 DEBUG : file1: >Remove: err= 2025/03/13 08:15:44 ERROR : file1: WriteFileHandle.Release error: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. write_test.go:279: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:279 Error: Received unexpected error: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. Test: TestWriteFileHandleRelease 2025/03/13 08:15:44 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/03/13 08:15:44 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:15:44 DEBUG : : Looking for writers 2025/03/13 08:15:44 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleRelease (3.78s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:15:46 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:15:46 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/13 08:15:46 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/13 08:15:46 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:15:46 DEBUG : file1: >Open: fd=file1 (w), err= 2025/03/13 08:15:46 DEBUG : file1: >OpenFile: fd=file1 (w), err= run.go:285: Failed to put "time_test" to "sugarsync root 'Test/rclone-test-xuzolic9ciga'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:15:47 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:15:47 DEBUG : : Looking for writers 2025/03/13 08:15:47 DEBUG : file1: reading active writers 2025/03/13 08:15:47 DEBUG : file1: active writers 1 2025/03/13 08:15:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/03/13 08:15:47 DEBUG : : Looking for writers 2025/03/13 08:15:47 DEBUG : file1: reading active writers 2025/03/13 08:15:47 DEBUG : file1: active writers 1 2025/03/13 08:15:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/03/13 08:15:47 DEBUG : : Looking for writers 2025/03/13 08:15:47 DEBUG : file1: reading active writers 2025/03/13 08:15:47 DEBUG : file1: active writers 1 2025/03/13 08:15:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/03/13 08:15:47 DEBUG : : Looking for writers 2025/03/13 08:15:47 DEBUG : file1: reading active writers 2025/03/13 08:15:47 DEBUG : file1: active writers 1 2025/03/13 08:15:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/03/13 08:15:47 DEBUG : : Looking for writers 2025/03/13 08:15:47 DEBUG : file1: reading active writers 2025/03/13 08:15:47 DEBUG : file1: active writers 1 2025/03/13 08:15:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/03/13 08:15:47 DEBUG : : Looking for writers 2025/03/13 08:15:47 DEBUG : file1: reading active writers 2025/03/13 08:15:47 DEBUG : file1: active writers 1 2025/03/13 08:15:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/03/13 08:15:48 DEBUG : : Looking for writers 2025/03/13 08:15:48 DEBUG : file1: reading active writers 2025/03/13 08:15:48 DEBUG : file1: active writers 1 2025/03/13 08:15:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/03/13 08:15:48 DEBUG : : Looking for writers 2025/03/13 08:15:48 DEBUG : file1: reading active writers 2025/03/13 08:15:48 DEBUG : file1: active writers 1 2025/03/13 08:15:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:15:49 DEBUG : : Looking for writers 2025/03/13 08:15:49 DEBUG : file1: reading active writers 2025/03/13 08:15:49 DEBUG : file1: active writers 1 2025/03/13 08:15:49 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:15:50 DEBUG : : Looking for writers 2025/03/13 08:15:50 DEBUG : file1: reading active writers 2025/03/13 08:15:50 DEBUG : file1: active writers 1 2025/03/13 08:15:50 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:15:51 DEBUG : : Looking for writers 2025/03/13 08:15:51 DEBUG : file1: reading active writers 2025/03/13 08:15:51 DEBUG : file1: active writers 1 2025/03/13 08:15:51 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:15:52 DEBUG : : Looking for writers 2025/03/13 08:15:52 DEBUG : file1: reading active writers 2025/03/13 08:15:52 DEBUG : file1: active writers 1 2025/03/13 08:15:52 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:15:53 DEBUG : : Looking for writers 2025/03/13 08:15:53 DEBUG : file1: reading active writers 2025/03/13 08:15:53 DEBUG : file1: active writers 1 2025/03/13 08:15:53 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:15:54 DEBUG : : Looking for writers 2025/03/13 08:15:54 DEBUG : file1: reading active writers 2025/03/13 08:15:54 DEBUG : file1: active writers 1 2025/03/13 08:15:54 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:15:55 DEBUG : : Looking for writers 2025/03/13 08:15:55 DEBUG : file1: reading active writers 2025/03/13 08:15:55 DEBUG : file1: active writers 1 2025/03/13 08:15:55 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:15:56 DEBUG : : Looking for writers 2025/03/13 08:15:56 DEBUG : file1: reading active writers 2025/03/13 08:15:56 DEBUG : file1: active writers 1 2025/03/13 08:15:56 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:15:57 DEBUG : : Looking for writers 2025/03/13 08:15:57 DEBUG : file1: reading active writers 2025/03/13 08:15:57 DEBUG : file1: active writers 1 2025/03/13 08:15:57 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:15:58 DEBUG : : Looking for writers 2025/03/13 08:15:58 DEBUG : file1: reading active writers 2025/03/13 08:15:58 DEBUG : file1: active writers 1 2025/03/13 08:15:58 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:15:59 DEBUG : : Looking for writers 2025/03/13 08:15:59 DEBUG : file1: reading active writers 2025/03/13 08:15:59 DEBUG : file1: active writers 1 2025/03/13 08:15:59 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:00 DEBUG : : Looking for writers 2025/03/13 08:16:00 DEBUG : file1: reading active writers 2025/03/13 08:16:00 DEBUG : file1: active writers 1 2025/03/13 08:16:00 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:01 DEBUG : : Looking for writers 2025/03/13 08:16:01 DEBUG : file1: reading active writers 2025/03/13 08:16:01 DEBUG : file1: active writers 1 2025/03/13 08:16:01 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:02 DEBUG : : Looking for writers 2025/03/13 08:16:02 DEBUG : file1: reading active writers 2025/03/13 08:16:02 DEBUG : file1: active writers 1 2025/03/13 08:16:02 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:03 DEBUG : : Looking for writers 2025/03/13 08:16:03 DEBUG : file1: reading active writers 2025/03/13 08:16:03 DEBUG : file1: active writers 1 2025/03/13 08:16:03 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:04 DEBUG : : Looking for writers 2025/03/13 08:16:04 DEBUG : file1: reading active writers 2025/03/13 08:16:04 DEBUG : file1: active writers 1 2025/03/13 08:16:04 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:05 DEBUG : : Looking for writers 2025/03/13 08:16:05 DEBUG : file1: reading active writers 2025/03/13 08:16:05 DEBUG : file1: active writers 1 2025/03/13 08:16:05 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:06 DEBUG : : Looking for writers 2025/03/13 08:16:06 DEBUG : file1: reading active writers 2025/03/13 08:16:06 DEBUG : file1: active writers 1 2025/03/13 08:16:06 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:07 DEBUG : : Looking for writers 2025/03/13 08:16:07 DEBUG : file1: reading active writers 2025/03/13 08:16:07 DEBUG : file1: active writers 1 2025/03/13 08:16:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:08 DEBUG : : Looking for writers 2025/03/13 08:16:08 DEBUG : file1: reading active writers 2025/03/13 08:16:08 DEBUG : file1: active writers 1 2025/03/13 08:16:08 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:09 DEBUG : : Looking for writers 2025/03/13 08:16:09 DEBUG : file1: reading active writers 2025/03/13 08:16:09 DEBUG : file1: active writers 1 2025/03/13 08:16:09 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:10 DEBUG : : Looking for writers 2025/03/13 08:16:10 DEBUG : file1: reading active writers 2025/03/13 08:16:10 DEBUG : file1: active writers 1 2025/03/13 08:16:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:11 DEBUG : : Looking for writers 2025/03/13 08:16:11 DEBUG : file1: reading active writers 2025/03/13 08:16:11 DEBUG : file1: active writers 1 2025/03/13 08:16:11 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:12 DEBUG : : Looking for writers 2025/03/13 08:16:12 DEBUG : file1: reading active writers 2025/03/13 08:16:12 DEBUG : file1: active writers 1 2025/03/13 08:16:12 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:13 DEBUG : : Looking for writers 2025/03/13 08:16:13 DEBUG : file1: reading active writers 2025/03/13 08:16:13 DEBUG : file1: active writers 1 2025/03/13 08:16:13 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:14 DEBUG : : Looking for writers 2025/03/13 08:16:14 DEBUG : file1: reading active writers 2025/03/13 08:16:14 DEBUG : file1: active writers 1 2025/03/13 08:16:14 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:15 DEBUG : : Looking for writers 2025/03/13 08:16:15 DEBUG : file1: reading active writers 2025/03/13 08:16:15 DEBUG : file1: active writers 1 2025/03/13 08:16:15 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:16 DEBUG : : Looking for writers 2025/03/13 08:16:16 DEBUG : file1: reading active writers 2025/03/13 08:16:16 DEBUG : file1: active writers 1 2025/03/13 08:16:16 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/03/13 08:16:17 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/03/13 08:16:17 DEBUG : >WaitForWriters: 2025/03/13 08:16:19 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: TestWriteFileModTimeWithOpenWriters (33.01s) === RUN TestFileReadAtZeroLength run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:16:19 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:16:19 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/13 08:16:19 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/13 08:16:19 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:16:19 DEBUG : file1: >Open: fd=file1 (w), err= 2025/03/13 08:16:19 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/03/13 08:16:19 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/13 08:16:19 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': File to upload is small (0 bytes), uploading instead of streaming 2025/03/13 08:16:20 ERROR : file1: WriteFileHandle.New Rcat failed: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:16:20 DEBUG : file1: Remove: 2025/03/13 08:16:20 DEBUG : : Added virtual directory entry vDel: "file1" 2025/03/13 08:16:20 DEBUG : file1: >Remove: err= write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /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/13 08:16:20 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/03/13 08:16:20 DEBUG : file1: >OpenFile: fd=, err=file does not exist write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: file does not exist Test: TestFileReadAtZeroLength 2025/03/13 08:16:20 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:16:20 DEBUG : : Looking for writers 2025/03/13 08:16:20 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (1.94s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "sugarsync root 'Test/rclone-test-xuzolic9ciga'", Local "Local file system at /tmp/rclone1019958746", Modify Window "876000h0m0s" 2025/03/13 08:16:21 INFO : sugarsync root 'Test/rclone-test-xuzolic9ciga': poll-interval is not supported by this remote 2025/03/13 08:16:21 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/13 08:16:21 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token. 2025/03/13 08:16:21 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/13 08:16:21 DEBUG : WaitForWriters: timeout=30s 2025/03/13 08:16:21 DEBUG : : Looking for writers 2025/03/13 08:16:21 DEBUG : >WaitForWriters: 2025/03/13 08:16:22 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: TestFileReadAtNonZeroLength (1.66s) FAIL 2025/03/13 08:16:22 DEBUG : sugarsync root 'Test/rclone-test-xuzolic9ciga': Purge remote 2025/03/13 08:16:22 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|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileModTimeWithOpenWriters|TestRcGetVFS|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSMkdir|TestVFSMkdirAll|TestVFSNew|TestVFSNewWithOpts|TestVFSOpenFile|TestVFSRename|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)$'" - Finished ERROR in 5m24.419539218s (try 3/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 TestRcGetVFS TestReadFileHandleMethods TestReadFileHandleSeek TestReadFileHandleReadAt TestReadFileHandleFlush TestReadFileHandleRelease TestRWFileHandleMethodsRead TestRWFileHandleSeek TestRWFileHandleReadAt TestRWFileHandleFlushRead TestRWFileHandleReleaseRead TestRWFileHandleMethodsWrite TestRWFileHandleWriteAt TestRWFileHandleFlushWrite TestRWFileHandleSizeTruncateExisting TestRWFileHandleSizeCreateExisting TestRWFileModTimeWithOpenWriters TestRWCacheRename TestUnicodeNormalization TestVFSStat TestVFSStatParent TestVFSOpenFile TestVFSRename TestVFSMkdir TestVFSMkdirAll TestWriteFileHandleMethods TestWriteFileHandleWriteAt TestWriteFileHandleFlush TestWriteFileHandleRelease TestWriteFileModTimeWithOpenWriters TestFileReadAtZeroLength TestFileReadAtNonZeroLength]