"./vfs.test -test.v -test.timeout 1h0m0s -remote TestSugarSync:Test -verbose -test.run '^(TestDirCreate|TestDirEntryModTimeInvalidation|TestDirFileOpen|TestDirForgetAll|TestDirForgetPath|TestDirHandleMethods|TestDirHandleReaddir|TestDirHandleReaddirnames|TestDirMethods|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestRWCacheRename|TestRWFileHandleFlushRead|TestRWFileHandleFlushWrite|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleReleaseWrite|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeCreateNew|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestRcGetVFS|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSMkdir|TestVFSMkdirAll|TestVFSNewWithOpts|TestVFSOpenFile|TestVFSRename|TestVFSRoot|TestVFSStat|TestVFSStatParent|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true)$|^TestRWFileHandleOpenTests$/^full$/^os.O_RDONLY$|^TestRWFileHandleOpenTests$/^writes$/^os.O_RDONLY$'" - Starting (try 2/5)
2025/03/14 01:37:39 DEBUG : Creating backend with remote "TestSugarSync:Test/rclone-test-folekib2hive"
2025/03/14 01:37:39 DEBUG : Using config file from "/home/rclone/.rclone.conf"
2025/03/14 01:37:40 NOTICE: Time may be set wrong - time from "api.sugarsync.com" is -6h59m59.474985217s different from this computer
2025/03/14 01:37:41 DEBUG : Creating backend with remote "/tmp/rclone3024326867"
=== RUN   TestDirHandleMethods
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:37:41 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:237: Failed to mkdir "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:37:42 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:37:42 DEBUG : : Looking for writers
2025/03/14 01:37:42 DEBUG : >WaitForWriters: 
2025/03/14 01:37:43 ERROR : : error listing: directory not found
--- FAIL: TestDirHandleMethods (1.87s)
=== RUN   TestDirHandleReaddir
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:37:43 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:237: Failed to mkdir "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:37:44 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:37:44 DEBUG : : Looking for writers
2025/03/14 01:37:44 DEBUG : >WaitForWriters: 
2025/03/14 01:37:44 ERROR : : error listing: directory not found
--- FAIL: TestDirHandleReaddir (1.09s)
=== RUN   TestDirHandleReaddirnames
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:37:44 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:237: Failed to mkdir "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:37:45 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:37:45 DEBUG : : Looking for writers
2025/03/14 01:37:45 DEBUG : >WaitForWriters: 
2025/03/14 01:37:45 ERROR : : error listing: directory not found
--- FAIL: TestDirHandleReaddirnames (1.07s)
=== RUN   TestDirMethods
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:37:45 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:37:47 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:37:47 DEBUG : : Looking for writers
2025/03/14 01:37:47 DEBUG : >WaitForWriters: 
2025/03/14 01:37: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/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:35
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestDirMethods
--- FAIL: TestDirMethods (2.03s)
=== RUN   TestDirForgetAll
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:37:47 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:37:48 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:37:48 DEBUG : : Looking for writers
2025/03/14 01:37:48 DEBUG : >WaitForWriters: 
--- FAIL: TestDirForgetAll (1.85s)
=== RUN   TestDirForgetPath
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:37:49 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:37:51 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:37:51 DEBUG : : Looking for writers
2025/03/14 01:37:51 DEBUG : >WaitForWriters: 
--- FAIL: TestDirForgetPath (2.47s)
=== RUN   TestDirWalk
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:37:52 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:37:52 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:37:52 DEBUG : : Looking for writers
2025/03/14 01:37:52 DEBUG : >WaitForWriters: 
--- FAIL: TestDirWalk (1.96s)
=== RUN   TestDirSetModTime
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:37:54 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:37:55 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:37:55 DEBUG : : Looking for writers
2025/03/14 01:37:55 DEBUG : >WaitForWriters: 
--- FAIL: TestDirSetModTime (2.49s)
=== RUN   TestDirStat
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:37:56 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:37:59 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:37:59 DEBUG : : Looking for writers
2025/03/14 01:37:59 DEBUG : >WaitForWriters: 
2025/03/14 01:37:59 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/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 (2.74s)
=== RUN   TestDirReadDirAll
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:37:59 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:37:59 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:37:59 DEBUG : : Looking for writers
2025/03/14 01:37:59 DEBUG : >WaitForWriters: 
2025/03/14 01:38:00 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestDirReadDirAll (1.27s)
=== RUN   TestDirOpen
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:38:00 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:38:02 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:38:02 DEBUG : : Looking for writers
2025/03/14 01:38:02 DEBUG : >WaitForWriters: 
2025/03/14 01:38: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/dir_test.go:24
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:333
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestDirOpen
--- FAIL: TestDirOpen (1.96s)
=== RUN   TestDirCreate
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:38:02 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:38:03 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:38:03 DEBUG : : Looking for writers
2025/03/14 01:38:03 DEBUG : >WaitForWriters: 
2025/03/14 01:38:03 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:24
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:346
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestDirCreate
--- FAIL: TestDirCreate (1.13s)
=== RUN   TestDirMkdir
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:38:03 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:38:14 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:38:14 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2025/03/14 01:38:14 DEBUG : pacer: Reducing sleep to 15ms
2025/03/14 01:38:14 ERROR : dir/file1: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:281: Retry Put of "dir/file1" to sugarsync root 'Test/rclone-test-folekib2hive': 1/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:38:17 DEBUG : pacer: Reducing sleep to 11.25ms
2025/03/14 01:38:17 DEBUG : pacer: Reducing sleep to 10ms
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:38:17 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:38:17 DEBUG : : Looking for writers
2025/03/14 01:38:17 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/14 01:38:25 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: TestDirMkdir (21.86s)
=== RUN   TestDirMkdirSub
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:38:25 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:38:25 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:38:25 DEBUG : : Looking for writers
2025/03/14 01:38:25 DEBUG : >WaitForWriters: 
    run.go:125: removing dir "dir" failed - try 1/3: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "dir" failed - try 2/3: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "dir" failed - try 3/3: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:128: removing dir "dir" failed: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3
    fstest.go:295: Flushing the directory cache
2025/03/14 01:38: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: TestDirMkdirSub (8.35s)
=== RUN   TestDirRemove
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:38:33 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:38:42 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:38:42 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2025/03/14 01:38:43 DEBUG : pacer: Reducing sleep to 15ms
    run.go:281: Retry Put of "dir/file1" to sugarsync root 'Test/rclone-test-folekib2hive': 1/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:38:45 DEBUG : pacer: Reducing sleep to 11.25ms
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:38:45 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:38:45 DEBUG : : Looking for writers
2025/03/14 01:38:45 DEBUG : >WaitForWriters: 
2025/03/14 01:38:45 DEBUG : pacer: Reducing sleep to 10ms
2025/03/14 01:38:45 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:24
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:437
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestDirRemove
--- FAIL: TestDirRemove (12.09s)
=== RUN   TestDirRemoveAll
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:38:45 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:38:54 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:38:54 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2025/03/14 01:38:55 DEBUG : pacer: Reducing sleep to 15ms
2025/03/14 01:38:55 ERROR : dir/file1: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:281: Retry Put of "dir/file1" to sugarsync root 'Test/rclone-test-folekib2hive': 1/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:38:57 DEBUG : pacer: Reducing sleep to 11.25ms
2025/03/14 01:39:04 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:39:04 DEBUG : pacer: Rate limited, increasing sleep to 22.5ms
    run.go:281: Retry Put of "dir/file1" to sugarsync root 'Test/rclone-test-folekib2hive': 2/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:39:06 DEBUG : pacer: Reducing sleep to 16.875ms
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:39:06 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:39:06 DEBUG : : Looking for writers
2025/03/14 01:39:06 DEBUG : >WaitForWriters: 
2025/03/14 01:39:07 DEBUG : pacer: Reducing sleep to 12.65625ms
2025/03/14 01:39:07 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: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 (21.10s)
=== RUN   TestDirRemoveName
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:39:07 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:39:07 DEBUG : pacer: Reducing sleep to 10ms
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:39:07 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:39:07 DEBUG : : Looking for writers
2025/03/14 01:39:07 DEBUG : >WaitForWriters: 
2025/03/14 01:39:08 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: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 (1.13s)
=== RUN   TestDirRename
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:39:08 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:39:09 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:39:09 DEBUG : : Looking for writers
2025/03/14 01:39:09 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/14 01:39:16 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: TestDirRename (8.50s)
=== RUN   TestDirFileOpen
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:39:16 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:39:18 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:39:18 DEBUG : : Looking for writers
2025/03/14 01:39:18 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: TestDirFileOpen (6.03s)
=== RUN   TestDirEntryModTimeInvalidation
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:39:22 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    dir_test.go:665: Need DirModTimeUpdatesOnWrite
2025/03/14 01:39:22 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:39:22 DEBUG : : Looking for writers
2025/03/14 01:39:22 DEBUG : >WaitForWriters: 
--- SKIP: TestDirEntryModTimeInvalidation (1.56s)
=== RUN   TestFileMethods
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:39:24 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:39:35 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:39:35 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2025/03/14 01:39:35 DEBUG : pacer: Reducing sleep to 15ms
    run.go:281: Retry Put of "dir/file1" to sugarsync root 'Test/rclone-test-folekib2hive': 1/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:39:38 DEBUG : pacer: Reducing sleep to 11.25ms
2025/03/14 01:39:38 DEBUG : pacer: Reducing sleep to 10ms
2025/03/14 01:39:44 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:39:44 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2025/03/14 01:39:44 DEBUG : pacer: Reducing sleep to 15ms
    run.go:281: Retry Put of "dir/file1" to sugarsync root 'Test/rclone-test-folekib2hive': 2/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:39:47 DEBUG : pacer: Reducing sleep to 11.25ms
2025/03/14 01:39:48 DEBUG : pacer: Reducing sleep to 10ms
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:39:48 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:39:48 DEBUG : : Looking for writers
2025/03/14 01:39:48 DEBUG : >WaitForWriters: 
2025/03/14 01:39: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/file_test.go:27
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:38
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestFileMethods
--- FAIL: TestFileMethods (25.06s)
=== RUN   TestFileSetModTime
=== RUN   TestFileSetModTime/cache=off,open=false,write=false
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:39:49 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:39:49 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:39:49 DEBUG : : Looking for writers
2025/03/14 01:39:49 DEBUG : >WaitForWriters: 
2025/03/14 01:39:50 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: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-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:39:50 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:39:50 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:39:50 DEBUG : : Looking for writers
2025/03/14 01:39:50 DEBUG : >WaitForWriters: 
2025/03/14 01:39:50 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:27
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:95
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:159
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestFileSetModTime/cache=off,open=true,write=false
=== RUN   TestFileSetModTime/cache=off,open=true,write=true
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:39:50 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:39:51 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:39:51 DEBUG : : Looking for writers
2025/03/14 01:39:51 DEBUG : >WaitForWriters: 
2025/03/14 01:39:52 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: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-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:39:52 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:39:52 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:39:52 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:39:52 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:39:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:39:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/03/14 01:39:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:39:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:39:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/03/14 01:39:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:39:52 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': 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-folekib2hive'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:39:53 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:39:53 DEBUG : : Looking for writers
2025/03/14 01:39:53 DEBUG : >WaitForWriters: 
2025/03/14 01:39:53 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:39:53 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/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-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:39:53 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:39:53 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:39:53 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:39:53 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:39:53 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:39:53 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:39:53 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': 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-folekib2hive'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:39:54 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:39:54 DEBUG : : Looking for writers
2025/03/14 01:39:54 DEBUG : >WaitForWriters: 
2025/03/14 01:39:54 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:39:54 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=true,write=false
=== RUN   TestFileSetModTime/cache=full,open=true,write=true
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:39:54 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:39:54 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:39:54 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:39:54 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:39:54 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:39:54 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:39:54 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': 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-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:39:55 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:39:55 DEBUG : : Looking for writers
2025/03/14 01:39:55 DEBUG : >WaitForWriters: 
2025/03/14 01:39:55 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:39:55 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/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=true,write=true
--- FAIL: TestFileSetModTime (5.97s)
    --- FAIL: TestFileSetModTime/cache=off,open=false,write=false (1.12s)
    --- FAIL: TestFileSetModTime/cache=off,open=true,write=false (0.36s)
    --- FAIL: TestFileSetModTime/cache=off,open=true,write=true (1.87s)
    --- FAIL: TestFileSetModTime/cache=full,open=false,write=false (1.12s)
    --- FAIL: TestFileSetModTime/cache=full,open=true,write=false (1.13s)
    --- FAIL: TestFileSetModTime/cache=full,open=true,write=true (0.37s)
=== RUN   TestFileOpenRead
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:39:55 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:39:56 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-folekib2hive'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:39:56 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:39:56 DEBUG : : Looking for writers
2025/03/14 01:39:56 DEBUG : >WaitForWriters: 
2025/03/14 01:39:56 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:27
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:178
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestFileOpenRead
--- FAIL: TestFileOpenRead (1.59s)
=== RUN   TestFileOpenWrite
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:39:56 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:40:02 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:40:02 DEBUG : pacer: Rate limited, increasing sleep to 20ms
    run.go:281: Retry Put of "dir/file1" to sugarsync root 'Test/rclone-test-folekib2hive': 1/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:40:04 DEBUG : pacer: Reducing sleep to 15ms
2025/03/14 01:40:05 DEBUG : pacer: Reducing sleep to 11.25ms
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:40:05 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:40:05 DEBUG : : Looking for writers
2025/03/14 01:40:05 DEBUG : >WaitForWriters: 
2025/03/14 01:40:05 DEBUG : pacer: Reducing sleep to 10ms
2025/03/14 01:40:06 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 (9.69s)
=== RUN   TestFileRemove
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:40:06 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:40:13 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:40:13 DEBUG : pacer: Rate limited, increasing sleep to 20ms
    run.go:281: Retry Put of "dir/file1" to sugarsync root 'Test/rclone-test-folekib2hive': 1/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:40:15 DEBUG : pacer: Reducing sleep to 15ms
2025/03/14 01:40:21 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:40:21 DEBUG : pacer: Rate limited, increasing sleep to 30ms
    run.go:281: Retry Put of "dir/file1" to sugarsync root 'Test/rclone-test-folekib2hive': 2/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:40:23 DEBUG : pacer: Reducing sleep to 22.5ms
2025/03/14 01:40:24 DEBUG : pacer: Reducing sleep to 16.875ms
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:40:24 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:40:24 DEBUG : : Looking for writers
2025/03/14 01:40:24 DEBUG : >WaitForWriters: 
2025/03/14 01:40:24 DEBUG : pacer: Reducing sleep to 12.65625ms
2025/03/14 01:40:24 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/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:251
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestFileRemove
--- FAIL: TestFileRemove (18.28s)
=== RUN   TestFileRemoveAll
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:40:24 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:40:25 DEBUG : pacer: Reducing sleep to 10ms
2025/03/14 01:40:30 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:40:30 DEBUG : pacer: Rate limited, increasing sleep to 20ms
    run.go:281: Retry Put of "dir/file1" to sugarsync root 'Test/rclone-test-folekib2hive': 1/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:40:32 DEBUG : pacer: Reducing sleep to 15ms
2025/03/14 01:40:33 DEBUG : pacer: Reducing sleep to 11.25ms
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:40:33 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:40:33 DEBUG : : Looking for writers
2025/03/14 01:40:33 DEBUG : >WaitForWriters: 
2025/03/14 01:40:33 DEBUG : pacer: Reducing sleep to 10ms
2025/03/14 01:40:34 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:264
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestFileRemoveAll
--- FAIL: TestFileRemoveAll (9.48s)
=== RUN   TestFileOpen
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:40:34 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:40:34 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:40:34 DEBUG : : Looking for writers
2025/03/14 01:40:34 DEBUG : >WaitForWriters: 
    run.go:125: removing file "dir/file1" failed - try 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing file "dir/file1" failed - try 2/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestFileOpen (6.17s)
=== RUN   TestFileRename
=== RUN   TestFileRename/off,forceCache=false
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:40:40 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:40:42 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:40:42 DEBUG : : Looking for writers
2025/03/14 01:40:42 DEBUG : >WaitForWriters: 
2025/03/14 01:40: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/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/off,forceCache=false
=== RUN   TestFileRename/minimal,forceCache=false
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:40:42 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:40:42 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:40:42 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:42 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/03/14 01:40:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/03/14 01:40:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:42 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': 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-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:40:43 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:40:43 DEBUG : : Looking for writers
2025/03/14 01:40:43 DEBUG : >WaitForWriters: 
2025/03/14 01:40:43 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
=== RUN   TestFileRename/minimal,forceCache=true
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:40:44 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:40:44 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:40:44 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:44 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/03/14 01:40:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/03/14 01:40:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:44 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': 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-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:40:45 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:40:45 DEBUG : : Looking for writers
2025/03/14 01:40:45 DEBUG : >WaitForWriters: 
2025/03/14 01:40:45 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
=== RUN   TestFileRename/writes,forceCache=false
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:40:46 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:40:46 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:40:46 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:46 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/03/14 01:40:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/03/14 01:40:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:46 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': 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-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:40:48 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:40:48 DEBUG : : Looking for writers
2025/03/14 01:40:48 DEBUG : >WaitForWriters: 
2025/03/14 01:40:48 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:40:48 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/writes,forceCache=false
=== RUN   TestFileRename/writes,forceCache=true
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:40:48 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:40:48 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:40:48 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:48 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:48 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:48 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:48 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': 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-folekib2hive'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:40:50 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:40:50 DEBUG : : Looking for writers
2025/03/14 01:40:50 DEBUG : >WaitForWriters: 
2025/03/14 01:40:50 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:40:51 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: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/writes,forceCache=true
=== RUN   TestFileRename/full,forceCache=false
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:40:51 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:40:51 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:40:51 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:51 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:51 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:51 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:40:51 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': 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-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:40:51 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:40:51 DEBUG : : Looking for writers
2025/03/14 01:40:51 DEBUG : >WaitForWriters: 
2025/03/14 01:40:51 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:40:52 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: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/full,forceCache=false
--- FAIL: TestFileRename (11.76s)
    --- FAIL: TestFileRename/off,forceCache=false (2.41s)
    --- FAIL: TestFileRename/minimal,forceCache=false (1.18s)
    --- FAIL: TestFileRename/minimal,forceCache=true (2.46s)
    --- FAIL: TestFileRename/writes,forceCache=false (1.64s)
    --- FAIL: TestFileRename/writes,forceCache=true (2.95s)
    --- FAIL: TestFileRename/full,forceCache=false (1.12s)
=== RUN   TestRcGetVFS
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:40:52 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:40:52 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:40:52 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:40:52 DEBUG : : Looking for writers
2025/03/14 01:40:52 DEBUG : >WaitForWriters: 
    run.go:125: removing dir "dir" failed - try 1/3: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "dir" failed - try 2/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "dir" failed - try 3/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:128: removing dir "dir" failed: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:40:59 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestRcGetVFS (7.02s)
=== RUN   TestReadFileHandleMethods
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:40:59 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:41:00 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:41:00 DEBUG : : Looking for writers
2025/03/14 01:41:00 DEBUG : >WaitForWriters: 
2025/03/14 01:41:01 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 (2.51s)
=== RUN   TestReadFileHandleSeek
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:41:01 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:41:10 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:41:10 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2025/03/14 01:41:10 DEBUG : pacer: Reducing sleep to 15ms
2025/03/14 01:41:10 ERROR : dir/file1: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:281: Retry Put of "dir/file1" to sugarsync root 'Test/rclone-test-folekib2hive': 1/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:41:13 DEBUG : pacer: Reducing sleep to 11.25ms
2025/03/14 01:41:13 DEBUG : pacer: Reducing sleep to 10ms
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:41:13 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:41:13 DEBUG : : Looking for writers
2025/03/14 01:41:13 DEBUG : >WaitForWriters: 
2025/03/14 01:41:14 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:18
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:85
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestReadFileHandleSeek
--- FAIL: TestReadFileHandleSeek (12.30s)
=== RUN   TestReadFileHandleReadAt
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:41:14 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:41:14 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:41:14 DEBUG : : Looking for writers
2025/03/14 01:41:14 DEBUG : >WaitForWriters: 
    run.go:125: removing dir "dir" failed - try 1/3: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "dir" failed - try 2/3: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestReadFileHandleReadAt (6.14s)
=== RUN   TestReadFileHandleFlush
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:41:20 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:41:22 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:41:22 DEBUG : : Looking for writers
2025/03/14 01:41:22 DEBUG : >WaitForWriters: 
2025/03/14 01:41:22 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:18
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/read_test.go:182
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestReadFileHandleFlush
--- FAIL: TestReadFileHandleFlush (2.43s)
=== RUN   TestReadFileHandleRelease
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:41:22 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:41:22 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:41:22 DEBUG : : Looking for writers
2025/03/14 01:41:22 DEBUG : >WaitForWriters: 
2025/03/14 01:41:23 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: TestReadFileHandleRelease (1.11s)
=== RUN   TestRWFileHandleMethodsRead
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:41:23 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:41:23 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:41:23 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:23 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/03/14 01:41:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/03/14 01:41:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:23 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': 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-folekib2hive'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:41:26 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:41:26 DEBUG : : Looking for writers
2025/03/14 01:41:26 DEBUG : >WaitForWriters: 
2025/03/14 01:41:26 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:41:27 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 (4.22s)
=== RUN   TestRWFileHandleSeek
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:41:27 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:41:27 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:41:27 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:27 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:27 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:27 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:27 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2025/03/14 01:41:36 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:41:36 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2025/03/14 01:41:36 DEBUG : pacer: Reducing sleep to 15ms
    run.go:281: Retry Put of "dir/file1" to sugarsync root 'Test/rclone-test-folekib2hive': 1/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:41:39 DEBUG : pacer: Reducing sleep to 11.25ms
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:41:39 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:41:39 DEBUG : : Looking for writers
2025/03/14 01:41:39 DEBUG : >WaitForWriters: 
2025/03/14 01:41:39 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:41:39 DEBUG : pacer: Reducing sleep to 10ms
2025/03/14 01:41:39 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:39
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:118
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestRWFileHandleSeek
--- FAIL: TestRWFileHandleSeek (11.22s)
=== RUN   TestRWFileHandleReadAt
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:41:39 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:41:39 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:41:39 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:39 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:39 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:39 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:39 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2025/03/14 01:41:47 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:41:47 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2025/03/14 01:41:47 DEBUG : pacer: Reducing sleep to 15ms
    run.go:281: Retry Put of "dir/file1" to sugarsync root 'Test/rclone-test-folekib2hive': 1/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:41:50 DEBUG : pacer: Reducing sleep to 11.25ms
2025/03/14 01:41:51 DEBUG : pacer: Reducing sleep to 10ms
2025/03/14 01:41:51 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-folekib2hive'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:41:51 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:41:51 DEBUG : : Looking for writers
2025/03/14 01:41:51 DEBUG : >WaitForWriters: 
2025/03/14 01:41:51 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:41:52 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:167
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestRWFileHandleReadAt
--- FAIL: TestRWFileHandleReadAt (13.43s)
=== RUN   TestRWFileHandleFlushRead
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:41:52 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:41:52 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:41:52 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:52 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:52 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:52 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:52 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': 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-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:41:52 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:41:52 DEBUG : : Looking for writers
2025/03/14 01:41:52 DEBUG : >WaitForWriters: 
2025/03/14 01:41:52 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:41:53 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: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 (1.12s)
=== RUN   TestRWFileHandleReleaseRead
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:41:53 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:41:53 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:41:53 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:53 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:53 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:53 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:41:53 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2025/03/14 01:42:02 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:42:02 DEBUG : pacer: Rate limited, increasing sleep to 20ms
    run.go:281: Retry Put of "dir/file1" to sugarsync root 'Test/rclone-test-folekib2hive': 1/10 (failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:42:04 DEBUG : pacer: Reducing sleep to 15ms
    run.go:285: Failed to put "dir/file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:04 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:42:04 DEBUG : : Looking for writers
2025/03/14 01:42:04 DEBUG : >WaitForWriters: 
2025/03/14 01:42:04 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:42:04 DEBUG : pacer: Reducing sleep to 11.25ms
2025/03/14 01:42:04 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:244
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestRWFileHandleReleaseRead
--- FAIL: TestRWFileHandleReleaseRead (11.22s)
=== RUN   TestRWFileHandleMethodsWrite
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:42:04 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:42:04 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:42:04 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:42:04 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:42:04 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:42:04 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:42:04 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx
2025/03/14 01:42:04 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2025/03/14 01:42:05 DEBUG : pacer: Reducing sleep to 10ms
2025/03/14 01:42:05 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE
2025/03/14 01:42:05 DEBUG : file1: newRWFileHandle: 
2025/03/14 01:42:05 DEBUG : file1(0xc000986000): openPending: 
2025/03/14 01:42:05 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct)
2025/03/14 01:42:05 DEBUG : : Added virtual directory entry vAddFile: "file1"
2025/03/14 01:42:05 DEBUG : file1(0xc000986000): >openPending: err=<nil>
2025/03/14 01:42:05 DEBUG : file1: >newRWFileHandle: err=<nil>
2025/03/14 01:42:05 DEBUG : : Added virtual directory entry vAddFile: "file1"
2025/03/14 01:42:05 DEBUG : file1: >Open: fd=file1 (rw), err=<nil>
2025/03/14 01:42:05 DEBUG : file1: >OpenFile: fd=file1 (rw), err=<nil>
2025/03/14 01:42:05 DEBUG : file1(0xc000986000): _writeAt: size=5, off=0
2025/03/14 01:42:05 DEBUG : file1(0xc000986000): >_writeAt: n=5, err=<nil>
2025/03/14 01:42:05 DEBUG : file1(0xc000986000): _writeAt: size=7, off=5
2025/03/14 01:42:05 DEBUG : file1(0xc000986000): >_writeAt: n=7, err=<nil>
2025/03/14 01:42:05 DEBUG : file1: vfs cache: truncate to size=11
2025/03/14 01:42:05 DEBUG : file1(0xc000986000): close: 
2025/03/14 01:42:05 DEBUG : file1: vfs cache: setting modification time to 2025-03-14 01:42:05.232295857 +0000 UTC m=+265.459432945
2025/03/14 01:42:05 INFO  : file1: vfs cache: queuing for upload in 100ms
2025/03/14 01:42:05 DEBUG : file1(0xc000986000): >close: err=<nil>
2025/03/14 01:42:05 DEBUG : file1(0xc000986000): close: 
2025/03/14 01:42:05 DEBUG : file1(0xc000986000): >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/14 01:42:05 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:42:05 DEBUG : dir: Looking for writers
2025/03/14 01:42:05 DEBUG : : Looking for writers
2025/03/14 01:42:05 DEBUG : dir: reading active writers
2025/03/14 01:42:05 DEBUG : file1: reading active writers
2025/03/14 01:42:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms
2025/03/14 01:42:05 DEBUG : dir: Looking for writers
2025/03/14 01:42:05 DEBUG : : Looking for writers
2025/03/14 01:42:05 DEBUG : dir: reading active writers
2025/03/14 01:42:05 DEBUG : file1: reading active writers
2025/03/14 01:42:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms
2025/03/14 01:42:05 DEBUG : dir: Looking for writers
2025/03/14 01:42:05 DEBUG : : Looking for writers
2025/03/14 01:42:05 DEBUG : dir: reading active writers
2025/03/14 01:42:05 DEBUG : file1: reading active writers
2025/03/14 01:42:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms
2025/03/14 01:42:05 DEBUG : dir: Looking for writers
2025/03/14 01:42:05 DEBUG : : Looking for writers
2025/03/14 01:42:05 DEBUG : dir: reading active writers
2025/03/14 01:42:05 DEBUG : file1: reading active writers
2025/03/14 01:42:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms
2025/03/14 01:42:05 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:42:05 DEBUG : dir: Looking for writers
2025/03/14 01:42:05 DEBUG : : Looking for writers
2025/03/14 01:42:05 DEBUG : dir: reading active writers
2025/03/14 01:42:05 DEBUG : file1: reading active writers
2025/03/14 01:42:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms
2025/03/14 01:42:05 DEBUG : dir: Looking for writers
2025/03/14 01:42:05 DEBUG : : Looking for writers
2025/03/14 01:42:05 DEBUG : dir: reading active writers
2025/03/14 01:42:05 DEBUG : file1: reading active writers
2025/03/14 01:42:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms
2025/03/14 01:42:05 DEBUG : dir: Looking for writers
2025/03/14 01:42:05 DEBUG : : Looking for writers
2025/03/14 01:42:05 DEBUG : dir: reading active writers
2025/03/14 01:42:05 DEBUG : file1: reading active writers
2025/03/14 01:42:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms
2025/03/14 01:42:06 DEBUG : dir: Looking for writers
2025/03/14 01:42:06 DEBUG : : Looking for writers
2025/03/14 01:42:06 DEBUG : dir: reading active writers
2025/03/14 01:42:06 DEBUG : file1: reading active writers
2025/03/14 01:42:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:07 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:07 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:07 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:42:07 DEBUG : dir: Looking for writers
2025/03/14 01:42:07 DEBUG : : Looking for writers
2025/03/14 01:42:07 DEBUG : dir: reading active writers
2025/03/14 01:42:07 DEBUG : file1: reading active writers
2025/03/14 01:42:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:08 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:08 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:08 DEBUG : dir: Looking for writers
2025/03/14 01:42:08 DEBUG : : Looking for writers
2025/03/14 01:42:08 DEBUG : dir: reading active writers
2025/03/14 01:42:08 DEBUG : file1: reading active writers
2025/03/14 01:42:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:08 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:42:09 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:09 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:09 DEBUG : dir: Looking for writers
2025/03/14 01:42:09 DEBUG : : Looking for writers
2025/03/14 01:42:09 DEBUG : dir: reading active writers
2025/03/14 01:42:09 DEBUG : file1: reading active writers
2025/03/14 01:42:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:09 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:42:10 DEBUG : dir: Looking for writers
2025/03/14 01:42:10 DEBUG : : Looking for writers
2025/03/14 01:42:10 DEBUG : dir: reading active writers
2025/03/14 01:42:10 DEBUG : file1: reading active writers
2025/03/14 01:42:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:11 ERROR : file1: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:11 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:11 DEBUG : dir: Looking for writers
2025/03/14 01:42:11 DEBUG : : Looking for writers
2025/03/14 01:42:11 DEBUG : dir: reading active writers
2025/03/14 01:42:11 DEBUG : file1: reading active writers
2025/03/14 01:42:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:12 DEBUG : dir: Looking for writers
2025/03/14 01:42:12 DEBUG : : Looking for writers
2025/03/14 01:42:12 DEBUG : dir: reading active writers
2025/03/14 01:42:12 DEBUG : file1: reading active writers
2025/03/14 01:42:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:13 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:42:13 DEBUG : dir: Looking for writers
2025/03/14 01:42:13 DEBUG : : Looking for writers
2025/03/14 01:42:13 DEBUG : dir: reading active writers
2025/03/14 01:42:13 DEBUG : file1: reading active writers
2025/03/14 01:42:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:14 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:14 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:14 DEBUG : dir: Looking for writers
2025/03/14 01:42:14 DEBUG : : Looking for writers
2025/03/14 01:42:14 DEBUG : dir: reading active writers
2025/03/14 01:42:14 DEBUG : file1: reading active writers
2025/03/14 01:42:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:15 DEBUG : dir: Looking for writers
2025/03/14 01:42:15 DEBUG : : Looking for writers
2025/03/14 01:42:15 DEBUG : dir: reading active writers
2025/03/14 01:42:15 DEBUG : file1: reading active writers
2025/03/14 01:42:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:16 DEBUG : dir: Looking for writers
2025/03/14 01:42:16 DEBUG : : Looking for writers
2025/03/14 01:42:16 DEBUG : dir: reading active writers
2025/03/14 01:42:16 DEBUG : file1: reading active writers
2025/03/14 01:42:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:17 DEBUG : dir: Looking for writers
2025/03/14 01:42:17 DEBUG : : Looking for writers
2025/03/14 01:42:17 DEBUG : dir: reading active writers
2025/03/14 01:42:17 DEBUG : file1: reading active writers
2025/03/14 01:42:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:17 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:42:18 DEBUG : dir: Looking for writers
2025/03/14 01:42:18 DEBUG : : Looking for writers
2025/03/14 01:42:18 DEBUG : dir: reading active writers
2025/03/14 01:42:18 DEBUG : file1: reading active writers
2025/03/14 01:42:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:18 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:18 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:19 DEBUG : dir: Looking for writers
2025/03/14 01:42:19 DEBUG : : Looking for writers
2025/03/14 01:42:19 DEBUG : dir: reading active writers
2025/03/14 01:42:19 DEBUG : file1: reading active writers
2025/03/14 01:42:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:20 DEBUG : dir: Looking for writers
2025/03/14 01:42:20 DEBUG : : Looking for writers
2025/03/14 01:42:20 DEBUG : dir: reading active writers
2025/03/14 01:42:20 DEBUG : file1: reading active writers
2025/03/14 01:42:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:21 DEBUG : dir: Looking for writers
2025/03/14 01:42:21 DEBUG : : Looking for writers
2025/03/14 01:42:21 DEBUG : dir: reading active writers
2025/03/14 01:42:21 DEBUG : file1: reading active writers
2025/03/14 01:42:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:22 DEBUG : dir: Looking for writers
2025/03/14 01:42:22 DEBUG : : Looking for writers
2025/03/14 01:42:22 DEBUG : file1: reading active writers
2025/03/14 01:42:22 DEBUG : dir: reading active writers
2025/03/14 01:42:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:23 DEBUG : dir: Looking for writers
2025/03/14 01:42:23 DEBUG : : Looking for writers
2025/03/14 01:42:23 DEBUG : dir: reading active writers
2025/03/14 01:42:23 DEBUG : file1: reading active writers
2025/03/14 01:42:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:24 DEBUG : dir: Looking for writers
2025/03/14 01:42:24 DEBUG : : Looking for writers
2025/03/14 01:42:24 DEBUG : file1: reading active writers
2025/03/14 01:42:24 DEBUG : dir: reading active writers
2025/03/14 01:42:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:25 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:42:25 DEBUG : dir: Looking for writers
2025/03/14 01:42:25 DEBUG : : Looking for writers
2025/03/14 01:42:25 DEBUG : dir: reading active writers
2025/03/14 01:42:25 DEBUG : file1: reading active writers
2025/03/14 01:42:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:25 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:25 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:26 DEBUG : dir: Looking for writers
2025/03/14 01:42:26 DEBUG : : Looking for writers
2025/03/14 01:42:26 DEBUG : dir: reading active writers
2025/03/14 01:42:26 DEBUG : file1: reading active writers
2025/03/14 01:42:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:27 DEBUG : dir: Looking for writers
2025/03/14 01:42:27 DEBUG : : Looking for writers
2025/03/14 01:42:27 DEBUG : file1: reading active writers
2025/03/14 01:42:27 DEBUG : dir: reading active writers
2025/03/14 01:42:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:28 DEBUG : dir: Looking for writers
2025/03/14 01:42:28 DEBUG : : Looking for writers
2025/03/14 01:42:28 DEBUG : dir: reading active writers
2025/03/14 01:42:28 DEBUG : file1: reading active writers
2025/03/14 01:42:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:29 DEBUG : dir: Looking for writers
2025/03/14 01:42:29 DEBUG : : Looking for writers
2025/03/14 01:42:29 DEBUG : file1: reading active writers
2025/03/14 01:42:29 DEBUG : dir: reading active writers
2025/03/14 01:42:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:30 DEBUG : dir: Looking for writers
2025/03/14 01:42:30 DEBUG : : Looking for writers
2025/03/14 01:42:30 DEBUG : dir: reading active writers
2025/03/14 01:42:30 DEBUG : file1: reading active writers
2025/03/14 01:42:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:31 DEBUG : dir: Looking for writers
2025/03/14 01:42:31 DEBUG : : Looking for writers
2025/03/14 01:42:31 DEBUG : dir: reading active writers
2025/03/14 01:42:31 DEBUG : file1: reading active writers
2025/03/14 01:42:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:32 DEBUG : dir: Looking for writers
2025/03/14 01:42:32 DEBUG : : Looking for writers
2025/03/14 01:42:32 DEBUG : file1: reading active writers
2025/03/14 01:42:32 DEBUG : dir: reading active writers
2025/03/14 01:42:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:33 DEBUG : dir: Looking for writers
2025/03/14 01:42:33 DEBUG : : Looking for writers
2025/03/14 01:42:33 DEBUG : dir: reading active writers
2025/03/14 01:42:33 DEBUG : file1: reading active writers
2025/03/14 01:42:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:34 DEBUG : dir: Looking for writers
2025/03/14 01:42:34 DEBUG : : Looking for writers
2025/03/14 01:42:34 DEBUG : file1: reading active writers
2025/03/14 01:42:34 DEBUG : dir: reading active writers
2025/03/14 01:42:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:35 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s
Cache{
	"file1": &{c:0xc000b891d0 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc0001d0f08 notify:{wait:0 notify:0 lock:0 head:<nil> tail:<nil>} checker:824635625280} name:file1 opens:0 downloaders:<nil> o:<nil> fd:<nil> info:{ModTime:{wall:13973825473509625265 ext:265459432945 loc:0x3e83980} ATime:{wall:13973825473509636456 ext:265459444136 loc:0x3e83980} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false},
}
2025/03/14 01:42:35 DEBUG : >WaitForWriters: 
2025/03/14 01:42:35 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:35 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:42:35 DEBUG : dir: Looking for writers
2025/03/14 01:42:35 DEBUG : : Looking for writers
2025/03/14 01:42:35 DEBUG : dir: reading active writers
2025/03/14 01:42:35 DEBUG : file1: reading active writers
2025/03/14 01:42:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms
2025/03/14 01:42:35 DEBUG : dir: Looking for writers
2025/03/14 01:42:35 DEBUG : : Looking for writers
2025/03/14 01:42:35 DEBUG : file1: reading active writers
2025/03/14 01:42:35 DEBUG : dir: reading active writers
2025/03/14 01:42:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms
2025/03/14 01:42:35 DEBUG : dir: Looking for writers
2025/03/14 01:42:35 DEBUG : : Looking for writers
2025/03/14 01:42:35 DEBUG : dir: reading active writers
2025/03/14 01:42:35 DEBUG : file1: reading active writers
2025/03/14 01:42:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms
2025/03/14 01:42:35 DEBUG : dir: Looking for writers
2025/03/14 01:42:35 DEBUG : : Looking for writers
2025/03/14 01:42:35 DEBUG : dir: reading active writers
2025/03/14 01:42:35 DEBUG : file1: reading active writers
2025/03/14 01:42:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms
2025/03/14 01:42:35 DEBUG : dir: Looking for writers
2025/03/14 01:42:35 DEBUG : : Looking for writers
2025/03/14 01:42:35 DEBUG : dir: reading active writers
2025/03/14 01:42:35 DEBUG : file1: reading active writers
2025/03/14 01:42:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms
2025/03/14 01:42:35 DEBUG : dir: Looking for writers
2025/03/14 01:42:35 DEBUG : : Looking for writers
2025/03/14 01:42:35 DEBUG : dir: reading active writers
2025/03/14 01:42:35 DEBUG : file1: reading active writers
2025/03/14 01:42:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms
2025/03/14 01:42:36 DEBUG : dir: Looking for writers
2025/03/14 01:42:36 DEBUG : : Looking for writers
2025/03/14 01:42:36 DEBUG : dir: reading active writers
2025/03/14 01:42:36 DEBUG : file1: reading active writers
2025/03/14 01:42:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms
2025/03/14 01:42:36 DEBUG : dir: Looking for writers
2025/03/14 01:42:36 DEBUG : : Looking for writers
2025/03/14 01:42:36 DEBUG : dir: reading active writers
2025/03/14 01:42:36 DEBUG : file1: reading active writers
2025/03/14 01:42:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:37 DEBUG : dir: Looking for writers
2025/03/14 01:42:37 DEBUG : : Looking for writers
2025/03/14 01:42:37 DEBUG : file1: reading active writers
2025/03/14 01:42:37 DEBUG : dir: reading active writers
2025/03/14 01:42:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:38 DEBUG : dir: Looking for writers
2025/03/14 01:42:38 DEBUG : : Looking for writers
2025/03/14 01:42:38 DEBUG : dir: reading active writers
2025/03/14 01:42:38 DEBUG : file1: reading active writers
2025/03/14 01:42:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:38 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:42:38 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:38 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:42:39 DEBUG : dir: Looking for writers
2025/03/14 01:42:39 DEBUG : : Looking for writers
2025/03/14 01:42:39 DEBUG : file1: reading active writers
2025/03/14 01:42:39 DEBUG : dir: reading active writers
2025/03/14 01:42:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:40 DEBUG : dir: Looking for writers
2025/03/14 01:42:40 DEBUG : : Looking for writers
2025/03/14 01:42:40 DEBUG : dir: reading active writers
2025/03/14 01:42:40 DEBUG : file1: reading active writers
2025/03/14 01:42:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:41 DEBUG : dir: Looking for writers
2025/03/14 01:42:41 DEBUG : : Looking for writers
2025/03/14 01:42:41 DEBUG : dir: reading active writers
2025/03/14 01:42:41 DEBUG : file1: reading active writers
2025/03/14 01:42:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:42 DEBUG : dir: Looking for writers
2025/03/14 01:42:42 DEBUG : : Looking for writers
2025/03/14 01:42:42 DEBUG : dir: reading active writers
2025/03/14 01:42:42 DEBUG : file1: reading active writers
2025/03/14 01:42:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:43 DEBUG : dir: Looking for writers
2025/03/14 01:42:43 DEBUG : : Looking for writers
2025/03/14 01:42:43 DEBUG : dir: reading active writers
2025/03/14 01:42:43 DEBUG : file1: reading active writers
2025/03/14 01:42:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:44 DEBUG : dir: Looking for writers
2025/03/14 01:42:44 DEBUG : : Looking for writers
2025/03/14 01:42:44 DEBUG : dir: reading active writers
2025/03/14 01:42:44 DEBUG : file1: reading active writers
2025/03/14 01:42:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:45 DEBUG : dir: Looking for writers
2025/03/14 01:42:45 DEBUG : : Looking for writers
2025/03/14 01:42:45 DEBUG : dir: reading active writers
2025/03/14 01:42:45 DEBUG : file1: reading active writers
2025/03/14 01:42:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:46 DEBUG : dir: Looking for writers
2025/03/14 01:42:46 DEBUG : : Looking for writers
2025/03/14 01:42:46 DEBUG : file1: reading active writers
2025/03/14 01:42:46 DEBUG : dir: reading active writers
2025/03/14 01:42:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:47 DEBUG : dir: Looking for writers
2025/03/14 01:42:47 DEBUG : : Looking for writers
2025/03/14 01:42:47 DEBUG : dir: reading active writers
2025/03/14 01:42:47 DEBUG : file1: reading active writers
2025/03/14 01:42:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:48 DEBUG : dir: Looking for writers
2025/03/14 01:42:48 DEBUG : : Looking for writers
2025/03/14 01:42:48 DEBUG : dir: reading active writers
2025/03/14 01:42:48 DEBUG : file1: reading active writers
2025/03/14 01:42:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:49 DEBUG : dir: Looking for writers
2025/03/14 01:42:49 DEBUG : : Looking for writers
2025/03/14 01:42:49 DEBUG : dir: reading active writers
2025/03/14 01:42:49 DEBUG : file1: reading active writers
2025/03/14 01:42:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:50 DEBUG : dir: Looking for writers
2025/03/14 01:42:50 DEBUG : : Looking for writers
2025/03/14 01:42:50 DEBUG : dir: reading active writers
2025/03/14 01:42:50 DEBUG : file1: reading active writers
2025/03/14 01:42:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:51 DEBUG : dir: Looking for writers
2025/03/14 01:42:51 DEBUG : : Looking for writers
2025/03/14 01:42:51 DEBUG : dir: reading active writers
2025/03/14 01:42:51 DEBUG : file1: reading active writers
2025/03/14 01:42:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:52 DEBUG : dir: Looking for writers
2025/03/14 01:42:52 DEBUG : : Looking for writers
2025/03/14 01:42:52 DEBUG : dir: reading active writers
2025/03/14 01:42:52 DEBUG : file1: reading active writers
2025/03/14 01:42:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:53 DEBUG : dir: Looking for writers
2025/03/14 01:42:53 DEBUG : : Looking for writers
2025/03/14 01:42:53 DEBUG : file1: reading active writers
2025/03/14 01:42:53 DEBUG : dir: reading active writers
2025/03/14 01:42:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:54 DEBUG : dir: Looking for writers
2025/03/14 01:42:54 DEBUG : : Looking for writers
2025/03/14 01:42:54 DEBUG : file1: reading active writers
2025/03/14 01:42:54 DEBUG : dir: reading active writers
2025/03/14 01:42:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:55 DEBUG : dir: Looking for writers
2025/03/14 01:42:55 DEBUG : : Looking for writers
2025/03/14 01:42:55 DEBUG : dir: reading active writers
2025/03/14 01:42:55 DEBUG : file1: reading active writers
2025/03/14 01:42:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:56 DEBUG : dir: Looking for writers
2025/03/14 01:42:56 DEBUG : : Looking for writers
2025/03/14 01:42:56 DEBUG : dir: reading active writers
2025/03/14 01:42:56 DEBUG : file1: reading active writers
2025/03/14 01:42:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:57 DEBUG : dir: Looking for writers
2025/03/14 01:42:57 DEBUG : : Looking for writers
2025/03/14 01:42:57 DEBUG : dir: reading active writers
2025/03/14 01:42:57 DEBUG : file1: reading active writers
2025/03/14 01:42:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:58 DEBUG : dir: Looking for writers
2025/03/14 01:42:58 DEBUG : : Looking for writers
2025/03/14 01:42:58 DEBUG : dir: reading active writers
2025/03/14 01:42:58 DEBUG : file1: reading active writers
2025/03/14 01:42:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:42:59 DEBUG : dir: Looking for writers
2025/03/14 01:42:59 DEBUG : : Looking for writers
2025/03/14 01:42:59 DEBUG : file1: reading active writers
2025/03/14 01:42:59 DEBUG : dir: reading active writers
2025/03/14 01:42:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:00 DEBUG : dir: Looking for writers
2025/03/14 01:43:00 DEBUG : : Looking for writers
2025/03/14 01:43:00 DEBUG : dir: reading active writers
2025/03/14 01:43:00 DEBUG : file1: reading active writers
2025/03/14 01:43:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:01 DEBUG : dir: Looking for writers
2025/03/14 01:43:01 DEBUG : : Looking for writers
2025/03/14 01:43:01 DEBUG : dir: reading active writers
2025/03/14 01:43:01 DEBUG : file1: reading active writers
2025/03/14 01:43:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:02 DEBUG : dir: Looking for writers
2025/03/14 01:43:02 DEBUG : : Looking for writers
2025/03/14 01:43:02 DEBUG : file1: reading active writers
2025/03/14 01:43:02 DEBUG : dir: reading active writers
2025/03/14 01:43:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:03 DEBUG : dir: Looking for writers
2025/03/14 01:43:03 DEBUG : : Looking for writers
2025/03/14 01:43:03 DEBUG : dir: reading active writers
2025/03/14 01:43:03 DEBUG : file1: reading active writers
2025/03/14 01:43:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:04 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:43:04 DEBUG : dir: Looking for writers
2025/03/14 01:43:04 DEBUG : : Looking for writers
2025/03/14 01:43:04 DEBUG : file1: reading active writers
2025/03/14 01:43:04 DEBUG : dir: reading active writers
2025/03/14 01:43:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:04 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes
2025/03/14 01:43:04 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11)
2025/03/14 01:43:05 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s
Cache{
	"file1": &{c:0xc000b891d0 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc0001d0f08 notify:{wait:0 notify:0 lock:0 head:<nil> tail:<nil>} checker:824635625280} name:file1 opens:0 downloaders:<nil> o:<nil> fd:<nil> info:{ModTime:{wall:13973825473509625265 ext:265459432945 loc:0x3e83980} ATime:{wall:13973825473509636456 ext:265459444136 loc:0x3e83980} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false},
}
2025/03/14 01:43:05 DEBUG : >WaitForWriters: 
2025/03/14 01:43:05 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:43:05 ERROR : file1: Failed to copy: failed to create file: Post "https://api.sugarsync.com/folder/:sc:9068489:215_5283046333": context canceled
2025/03/14 01:43:05 INFO  : file1: vfs cache: upload canceled
    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: TestRWFileHandleMethodsWrite (63.66s)
=== RUN   TestRWFileHandleWriteAt
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:43:08 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:43:08 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:43:08 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:43:08 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:43:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:43:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/03/14 01:43:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:43:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:43:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/03/14 01:43:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:43:08 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx
2025/03/14 01:43:08 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2025/03/14 01:43:09 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE
2025/03/14 01:43:09 DEBUG : file1: newRWFileHandle: 
2025/03/14 01:43:09 DEBUG : file1(0xc000b382c0): openPending: 
2025/03/14 01:43:09 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct)
2025/03/14 01:43:09 DEBUG : : Added virtual directory entry vAddFile: "file1"
2025/03/14 01:43:09 DEBUG : file1(0xc000b382c0): >openPending: err=<nil>
2025/03/14 01:43:09 DEBUG : file1: >newRWFileHandle: err=<nil>
2025/03/14 01:43:09 DEBUG : : Added virtual directory entry vAddFile: "file1"
2025/03/14 01:43:09 DEBUG : file1: >Open: fd=file1 (rw), err=<nil>
2025/03/14 01:43:09 DEBUG : file1: >OpenFile: fd=file1 (rw), err=<nil>
2025/03/14 01:43:09 DEBUG : file1(0xc000b382c0): _writeAt: size=7, off=0
2025/03/14 01:43:09 DEBUG : file1(0xc000b382c0): >_writeAt: n=7, err=<nil>
2025/03/14 01:43:09 DEBUG : file1(0xc000b382c0): _writeAt: size=6, off=5
2025/03/14 01:43:09 DEBUG : file1(0xc000b382c0): >_writeAt: n=6, err=<nil>
2025/03/14 01:43:09 DEBUG : file1(0xc000b382c0): close: 
2025/03/14 01:43:09 DEBUG : file1: vfs cache: setting modification time to 2025-03-14 01:43:09.412732335 +0000 UTC m=+329.639869414
2025/03/14 01:43:09 INFO  : file1: vfs cache: queuing for upload in 100ms
2025/03/14 01:43:09 DEBUG : file1(0xc000b382c0): >close: err=<nil>
2025/03/14 01:43:09 DEBUG : file1(0xc000b382c0): _writeAt: size=5, off=0
2025/03/14 01:43:09 DEBUG : file1(0xc000b382c0): >_writeAt: n=0, err=file already closed
2025/03/14 01:43:09 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:43:09 DEBUG : : Looking for writers
2025/03/14 01:43:09 DEBUG : file1: reading active writers
2025/03/14 01:43:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms
2025/03/14 01:43:09 DEBUG : : Looking for writers
2025/03/14 01:43:09 DEBUG : file1: reading active writers
2025/03/14 01:43:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms
2025/03/14 01:43:09 DEBUG : : Looking for writers
2025/03/14 01:43:09 DEBUG : file1: reading active writers
2025/03/14 01:43:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms
2025/03/14 01:43:09 DEBUG : : Looking for writers
2025/03/14 01:43:09 DEBUG : file1: reading active writers
2025/03/14 01:43:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms
2025/03/14 01:43:09 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:43:09 DEBUG : : Looking for writers
2025/03/14 01:43:09 DEBUG : file1: reading active writers
2025/03/14 01:43:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms
2025/03/14 01:43:09 DEBUG : : Looking for writers
2025/03/14 01:43:09 DEBUG : file1: reading active writers
2025/03/14 01:43:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms
2025/03/14 01:43:10 DEBUG : : Looking for writers
2025/03/14 01:43:10 DEBUG : file1: reading active writers
2025/03/14 01:43:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms
2025/03/14 01:43:10 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:43:10 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:43:10 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:43:10 DEBUG : : Looking for writers
2025/03/14 01:43:10 DEBUG : file1: reading active writers
2025/03/14 01:43:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:11 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:43:11 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:43:11 DEBUG : : Looking for writers
2025/03/14 01:43:11 DEBUG : file1: reading active writers
2025/03/14 01:43:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:11 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:43:11 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:43:11 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:43:12 DEBUG : : Looking for writers
2025/03/14 01:43:12 DEBUG : file1: reading active writers
2025/03/14 01:43:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:12 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:43:13 DEBUG : : Looking for writers
2025/03/14 01:43:13 DEBUG : file1: reading active writers
2025/03/14 01:43:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:14 DEBUG : : Looking for writers
2025/03/14 01:43:14 DEBUG : file1: reading active writers
2025/03/14 01:43:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:15 DEBUG : : Looking for writers
2025/03/14 01:43:15 DEBUG : file1: reading active writers
2025/03/14 01:43:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:16 DEBUG : : Looking for writers
2025/03/14 01:43:16 DEBUG : file1: reading active writers
2025/03/14 01:43:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:17 DEBUG : : Looking for writers
2025/03/14 01:43:17 DEBUG : file1: reading active writers
2025/03/14 01:43:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:18 DEBUG : : Looking for writers
2025/03/14 01:43:18 DEBUG : file1: reading active writers
2025/03/14 01:43:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:19 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:43:19 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2025/03/14 01:43:19 DEBUG : : Looking for writers
2025/03/14 01:43:19 DEBUG : file1: reading active writers
2025/03/14 01:43:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:19 DEBUG : pacer: Reducing sleep to 15ms
2025/03/14 01:43:19 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10
2025/03/14 01:43:20 DEBUG : pacer: Reducing sleep to 11.25ms
2025/03/14 01:43:20 DEBUG : : Looking for writers
2025/03/14 01:43:20 DEBUG : file1: reading active writers
2025/03/14 01:43:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:21 DEBUG : pacer: Reducing sleep to 10ms
2025/03/14 01:43:21 DEBUG : : Looking for writers
2025/03/14 01:43:21 DEBUG : file1: reading active writers
2025/03/14 01:43:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:22 DEBUG : : Looking for writers
2025/03/14 01:43:22 DEBUG : file1: reading active writers
2025/03/14 01:43:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:23 DEBUG : : Looking for writers
2025/03/14 01:43:23 DEBUG : file1: reading active writers
2025/03/14 01:43:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:24 DEBUG : : Looking for writers
2025/03/14 01:43:24 DEBUG : file1: reading active writers
2025/03/14 01:43:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:25 DEBUG : : Looking for writers
2025/03/14 01:43:25 DEBUG : file1: reading active writers
2025/03/14 01:43:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:26 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:43:26 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2025/03/14 01:43:26 DEBUG : pacer: Reducing sleep to 15ms
2025/03/14 01:43:26 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 1/10
2025/03/14 01:43:26 DEBUG : : Looking for writers
2025/03/14 01:43:26 DEBUG : file1: reading active writers
2025/03/14 01:43:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:27 DEBUG : pacer: Reducing sleep to 11.25ms
2025/03/14 01:43:27 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:43:27 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:43:27 DEBUG : : Looking for writers
2025/03/14 01:43:27 DEBUG : file1: reading active writers
2025/03/14 01:43:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:28 DEBUG : : Looking for writers
2025/03/14 01:43:28 DEBUG : file1: reading active writers
2025/03/14 01:43:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:28 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:43:29 DEBUG : pacer: Reducing sleep to 10ms
2025/03/14 01:43:29 DEBUG : : Looking for writers
2025/03/14 01:43:29 DEBUG : file1: reading active writers
2025/03/14 01:43:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:30 DEBUG : : Looking for writers
2025/03/14 01:43:30 DEBUG : file1: reading active writers
2025/03/14 01:43:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:31 DEBUG : : Looking for writers
2025/03/14 01:43:31 DEBUG : file1: reading active writers
2025/03/14 01:43:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:32 DEBUG : : Looking for writers
2025/03/14 01:43:32 DEBUG : file1: reading active writers
2025/03/14 01:43:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:33 DEBUG : : Looking for writers
2025/03/14 01:43:33 DEBUG : file1: reading active writers
2025/03/14 01:43:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:34 DEBUG : : Looking for writers
2025/03/14 01:43:34 DEBUG : file1: reading active writers
2025/03/14 01:43:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:34 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:43:34 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2025/03/14 01:43:35 DEBUG : pacer: Reducing sleep to 15ms
2025/03/14 01:43:35 ERROR : file1: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:43:35 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10
2025/03/14 01:43:35 DEBUG : pacer: Reducing sleep to 11.25ms
2025/03/14 01:43:35 DEBUG : : Looking for writers
2025/03/14 01:43:35 DEBUG : file1: reading active writers
2025/03/14 01:43:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:36 DEBUG : pacer: Reducing sleep to 10ms
2025/03/14 01:43:36 ERROR : file1: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:43:36 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:43:36 DEBUG : : Looking for writers
2025/03/14 01:43:36 DEBUG : file1: reading active writers
2025/03/14 01:43:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:37 DEBUG : : Looking for writers
2025/03/14 01:43:37 DEBUG : file1: reading active writers
2025/03/14 01:43:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:38 DEBUG : : Looking for writers
2025/03/14 01:43:38 DEBUG : file1: reading active writers
2025/03/14 01:43:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:39 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:43:39 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s
Cache{
	"file1": &{c:0xc00022b680 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc0001d1308 notify:{wait:0 notify:0 lock:0 head:<nil> tail:<nil>} checker:824635626304} name:file1 opens:0 downloaders:<nil> o:<nil> fd:<nil> info:{ModTime:{wall:13973825542409538479 ext:329639869414 loc:0x3e83980} ATime:{wall:13973825542409548628 ext:329639879562 loc:0x3e83980} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false},
}
2025/03/14 01:43:39 DEBUG : >WaitForWriters: 
2025/03/14 01:43: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.
2025/03/14 01:43:40 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:43:40 DEBUG : : Looking for writers
2025/03/14 01:43:40 DEBUG : file1: reading active writers
2025/03/14 01:43:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms
2025/03/14 01:43:40 DEBUG : : Looking for writers
2025/03/14 01:43:40 DEBUG : file1: reading active writers
2025/03/14 01:43:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms
2025/03/14 01:43:40 DEBUG : : Looking for writers
2025/03/14 01:43:40 DEBUG : file1: reading active writers
2025/03/14 01:43:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms
2025/03/14 01:43:40 DEBUG : : Looking for writers
2025/03/14 01:43:40 DEBUG : file1: reading active writers
2025/03/14 01:43:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms
2025/03/14 01:43:40 DEBUG : : Looking for writers
2025/03/14 01:43:40 DEBUG : file1: reading active writers
2025/03/14 01:43:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms
2025/03/14 01:43:40 ERROR : file1: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:43:40 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:43:40 DEBUG : : Looking for writers
2025/03/14 01:43:40 DEBUG : file1: reading active writers
2025/03/14 01:43:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms
2025/03/14 01:43:40 DEBUG : : Looking for writers
2025/03/14 01:43:40 DEBUG : file1: reading active writers
2025/03/14 01:43:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms
2025/03/14 01:43:41 DEBUG : : Looking for writers
2025/03/14 01:43:41 DEBUG : file1: reading active writers
2025/03/14 01:43:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:42 DEBUG : : Looking for writers
2025/03/14 01:43:42 DEBUG : file1: reading active writers
2025/03/14 01:43:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:43 DEBUG : : Looking for writers
2025/03/14 01:43:43 DEBUG : file1: reading active writers
2025/03/14 01:43:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:44 DEBUG : : Looking for writers
2025/03/14 01:43:44 DEBUG : file1: reading active writers
2025/03/14 01:43:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:45 DEBUG : : Looking for writers
2025/03/14 01:43:45 DEBUG : file1: reading active writers
2025/03/14 01:43:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:46 DEBUG : : Looking for writers
2025/03/14 01:43:46 DEBUG : file1: reading active writers
2025/03/14 01:43:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:46 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:43:47 ERROR : file1: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:43:47 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:43:47 DEBUG : : Looking for writers
2025/03/14 01:43:47 DEBUG : file1: reading active writers
2025/03/14 01:43:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:48 DEBUG : : Looking for writers
2025/03/14 01:43:48 DEBUG : file1: reading active writers
2025/03/14 01:43:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:49 DEBUG : : Looking for writers
2025/03/14 01:43:49 DEBUG : file1: reading active writers
2025/03/14 01:43:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:50 DEBUG : : Looking for writers
2025/03/14 01:43:50 DEBUG : file1: reading active writers
2025/03/14 01:43:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:51 DEBUG : : Looking for writers
2025/03/14 01:43:51 DEBUG : file1: reading active writers
2025/03/14 01:43:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:52 DEBUG : : Looking for writers
2025/03/14 01:43:52 DEBUG : file1: reading active writers
2025/03/14 01:43:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:53 DEBUG : : Looking for writers
2025/03/14 01:43:53 DEBUG : file1: reading active writers
2025/03/14 01:43:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:54 DEBUG : : Looking for writers
2025/03/14 01:43:54 DEBUG : file1: reading active writers
2025/03/14 01:43:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:55 DEBUG : : Looking for writers
2025/03/14 01:43:55 DEBUG : file1: reading active writers
2025/03/14 01:43:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:56 DEBUG : : Looking for writers
2025/03/14 01:43:56 DEBUG : file1: reading active writers
2025/03/14 01:43:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:57 DEBUG : : Looking for writers
2025/03/14 01:43:57 DEBUG : file1: reading active writers
2025/03/14 01:43:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:58 DEBUG : : Looking for writers
2025/03/14 01:43:58 DEBUG : file1: reading active writers
2025/03/14 01:43:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:59 DEBUG : : Looking for writers
2025/03/14 01:43:59 DEBUG : file1: reading active writers
2025/03/14 01:43:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:43:59 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:44:00 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:44:00 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:44:00 DEBUG : : Looking for writers
2025/03/14 01:44:00 DEBUG : file1: reading active writers
2025/03/14 01:44:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:01 DEBUG : : Looking for writers
2025/03/14 01:44:01 DEBUG : file1: reading active writers
2025/03/14 01:44:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:02 DEBUG : : Looking for writers
2025/03/14 01:44:02 DEBUG : file1: reading active writers
2025/03/14 01:44:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:03 DEBUG : : Looking for writers
2025/03/14 01:44:03 DEBUG : file1: reading active writers
2025/03/14 01:44:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:04 DEBUG : : Looking for writers
2025/03/14 01:44:04 DEBUG : file1: reading active writers
2025/03/14 01:44:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:05 DEBUG : : Looking for writers
2025/03/14 01:44:05 DEBUG : file1: reading active writers
2025/03/14 01:44:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:06 DEBUG : : Looking for writers
2025/03/14 01:44:06 DEBUG : file1: reading active writers
2025/03/14 01:44:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:07 DEBUG : : Looking for writers
2025/03/14 01:44:07 DEBUG : file1: reading active writers
2025/03/14 01:44:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:08 DEBUG : : Looking for writers
2025/03/14 01:44:08 DEBUG : file1: reading active writers
2025/03/14 01:44:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:08 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes
2025/03/14 01:44:08 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11)
2025/03/14 01:44:09 DEBUG : : Looking for writers
2025/03/14 01:44:09 DEBUG : file1: reading active writers
2025/03/14 01:44:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:10 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s
Cache{
	"file1": &{c:0xc00022b680 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc0001d1308 notify:{wait:0 notify:0 lock:0 head:<nil> tail:<nil>} checker:824635626304} name:file1 opens:0 downloaders:<nil> o:<nil> fd:<nil> info:{ModTime:{wall:13973825542409538479 ext:329639869414 loc:0x3e83980} ATime:{wall:13973825542409548628 ext:329639879562 loc:0x3e83980} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false},
}
2025/03/14 01:44:10 DEBUG : >WaitForWriters: 
2025/03/14 01:44:10 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:44:10 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:276
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestRWFileHandleWriteAt
--- FAIL: TestRWFileHandleWriteAt (61.65s)
=== RUN   TestRWFileHandleWriteNoWrite
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:44:10 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:44:10 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:44:10 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:44:10 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:44:10 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:44:10 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:44:10 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx
2025/03/14 01:44:10 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2025/03/14 01:44:10 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE
2025/03/14 01:44:10 DEBUG : file1: newRWFileHandle: 
2025/03/14 01:44:10 DEBUG : file1: >newRWFileHandle: err=<nil>
2025/03/14 01:44:10 DEBUG : : Added virtual directory entry vAddFile: "file1"
2025/03/14 01:44:10 DEBUG : file1: >Open: fd=file1 (rw), err=<nil>
2025/03/14 01:44:10 DEBUG : file1: >OpenFile: fd=file1 (rw), err=<nil>
2025/03/14 01:44:10 DEBUG : file1(0xc000b39480): close: 
2025/03/14 01:44:10 DEBUG : file1(0xc000b39480): >close: err=<nil>
2025/03/14 01:44:10 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx
2025/03/14 01:44:10 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC
2025/03/14 01:44:10 DEBUG : file2: newRWFileHandle: 
2025/03/14 01:44:10 DEBUG : file2(0xc000b39540): openPending: 
2025/03/14 01:44:10 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct)
2025/03/14 01:44:10 DEBUG : : Added virtual directory entry vAddFile: "file2"
2025/03/14 01:44:10 DEBUG : file2(0xc000b39540): >openPending: err=<nil>
2025/03/14 01:44:10 DEBUG : file2: >newRWFileHandle: err=<nil>
2025/03/14 01:44:10 DEBUG : : Added virtual directory entry vAddFile: "file2"
2025/03/14 01:44:10 DEBUG : file2: >Open: fd=file2 (rw), err=<nil>
2025/03/14 01:44:10 DEBUG : file2: >OpenFile: fd=file2 (rw), err=<nil>
2025/03/14 01:44:10 DEBUG : file2(0xc000b39540): RWFileHandle.Flush
2025/03/14 01:44:10 DEBUG : file2(0xc000b39540): RWFileHandle.Release
2025/03/14 01:44:10 DEBUG : file2(0xc000b39540): close: 
2025/03/14 01:44:10 DEBUG : file2: vfs cache: setting modification time to 2025-03-14 01:44:10.535946889 +0000 UTC m=+390.763083966
2025/03/14 01:44:10 INFO  : file2: vfs cache: queuing for upload in 100ms
2025/03/14 01:44:10 DEBUG : file2(0xc000b39540): >close: err=<nil>
2025/03/14 01:44:10 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:44:10 DEBUG : : Looking for writers
2025/03/14 01:44:10 DEBUG : file1: reading active writers
2025/03/14 01:44:10 DEBUG : file2: reading active writers
2025/03/14 01:44:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms
2025/03/14 01:44:10 DEBUG : : Looking for writers
2025/03/14 01:44:10 DEBUG : file1: reading active writers
2025/03/14 01:44:10 DEBUG : file2: reading active writers
2025/03/14 01:44:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms
2025/03/14 01:44:10 DEBUG : : Looking for writers
2025/03/14 01:44:10 DEBUG : file1: reading active writers
2025/03/14 01:44:10 DEBUG : file2: reading active writers
2025/03/14 01:44:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms
2025/03/14 01:44:10 DEBUG : : Looking for writers
2025/03/14 01:44:10 DEBUG : file1: reading active writers
2025/03/14 01:44:10 DEBUG : file2: reading active writers
2025/03/14 01:44:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms
2025/03/14 01:44:10 DEBUG : file2: vfs cache: starting upload
2025/03/14 01:44:10 DEBUG : : Looking for writers
2025/03/14 01:44:10 DEBUG : file1: reading active writers
2025/03/14 01:44:10 DEBUG : file2: reading active writers
2025/03/14 01:44:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms
2025/03/14 01:44:10 DEBUG : : Looking for writers
2025/03/14 01:44:10 DEBUG : file1: reading active writers
2025/03/14 01:44:10 DEBUG : file2: reading active writers
2025/03/14 01:44:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms
2025/03/14 01:44:11 DEBUG : : Looking for writers
2025/03/14 01:44:11 DEBUG : file1: reading active writers
2025/03/14 01:44:11 DEBUG : file2: reading active writers
2025/03/14 01:44:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms
2025/03/14 01:44:11 DEBUG : : Looking for writers
2025/03/14 01:44:11 DEBUG : file2: reading active writers
2025/03/14 01:44:11 DEBUG : file1: reading active writers
2025/03/14 01:44:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:12 ERROR : file2: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:44:12 ERROR : file2: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:44:12 DEBUG : : Looking for writers
2025/03/14 01:44:12 DEBUG : file1: reading active writers
2025/03/14 01:44:12 DEBUG : file2: reading active writers
2025/03/14 01:44:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:12 DEBUG : file2: vfs cache: starting upload
2025/03/14 01:44:13 DEBUG : : Looking for writers
2025/03/14 01:44:13 DEBUG : file1: reading active writers
2025/03/14 01:44:13 DEBUG : file2: reading active writers
2025/03/14 01:44:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:14 DEBUG : : Looking for writers
2025/03/14 01:44:14 DEBUG : file1: reading active writers
2025/03/14 01:44:14 DEBUG : file2: reading active writers
2025/03/14 01:44:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:15 DEBUG : : Looking for writers
2025/03/14 01:44:15 DEBUG : file1: reading active writers
2025/03/14 01:44:15 DEBUG : file2: reading active writers
2025/03/14 01:44:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:16 DEBUG : : Looking for writers
2025/03/14 01:44:16 DEBUG : file1: reading active writers
2025/03/14 01:44:16 DEBUG : file2: reading active writers
2025/03/14 01:44:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:17 DEBUG : : Looking for writers
2025/03/14 01:44:17 DEBUG : file1: reading active writers
2025/03/14 01:44:17 DEBUG : file2: reading active writers
2025/03/14 01:44:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:18 DEBUG : : Looking for writers
2025/03/14 01:44:18 DEBUG : file2: reading active writers
2025/03/14 01:44:18 DEBUG : file1: reading active writers
2025/03/14 01:44:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:19 DEBUG : : Looking for writers
2025/03/14 01:44:19 DEBUG : file1: reading active writers
2025/03/14 01:44:19 DEBUG : file2: reading active writers
2025/03/14 01:44:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:20 DEBUG : : Looking for writers
2025/03/14 01:44:20 DEBUG : file1: reading active writers
2025/03/14 01:44:20 DEBUG : file2: reading active writers
2025/03/14 01:44:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:21 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:44:21 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2025/03/14 01:44:21 DEBUG : pacer: Reducing sleep to 15ms
2025/03/14 01:44:21 ERROR : file2: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:44:21 DEBUG : file2: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10
2025/03/14 01:44:21 DEBUG : pacer: Reducing sleep to 11.25ms
2025/03/14 01:44:21 ERROR : file2: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:44:21 ERROR : file2: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:44:21 DEBUG : : Looking for writers
2025/03/14 01:44:21 DEBUG : file1: reading active writers
2025/03/14 01:44:21 DEBUG : file2: reading active writers
2025/03/14 01:44:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:21 DEBUG : file2: vfs cache: starting upload
2025/03/14 01:44:22 DEBUG : pacer: Reducing sleep to 10ms
2025/03/14 01:44:22 DEBUG : : Looking for writers
2025/03/14 01:44:22 DEBUG : file1: reading active writers
2025/03/14 01:44:22 DEBUG : file2: reading active writers
2025/03/14 01:44:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:23 DEBUG : : Looking for writers
2025/03/14 01:44:23 DEBUG : file1: reading active writers
2025/03/14 01:44:23 DEBUG : file2: reading active writers
2025/03/14 01:44:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:24 DEBUG : : Looking for writers
2025/03/14 01:44:24 DEBUG : file1: reading active writers
2025/03/14 01:44:24 DEBUG : file2: reading active writers
2025/03/14 01:44:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:25 DEBUG : : Looking for writers
2025/03/14 01:44:25 DEBUG : file1: reading active writers
2025/03/14 01:44:25 DEBUG : file2: reading active writers
2025/03/14 01:44:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:26 DEBUG : : Looking for writers
2025/03/14 01:44:26 DEBUG : file1: reading active writers
2025/03/14 01:44:26 DEBUG : file2: reading active writers
2025/03/14 01:44:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:27 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:44:27 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2025/03/14 01:44:27 DEBUG : file2: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10
2025/03/14 01:44:27 DEBUG : pacer: Reducing sleep to 15ms
2025/03/14 01:44:27 ERROR : file2: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:44:27 ERROR : file2: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:44:27 DEBUG : : Looking for writers
2025/03/14 01:44:27 DEBUG : file1: reading active writers
2025/03/14 01:44:27 DEBUG : file2: reading active writers
2025/03/14 01:44:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:28 DEBUG : file2: vfs cache: starting upload
2025/03/14 01:44:28 DEBUG : pacer: Reducing sleep to 11.25ms
2025/03/14 01:44:28 ERROR : file2: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:44:28 ERROR : file2: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:44:28 DEBUG : : Looking for writers
2025/03/14 01:44:28 DEBUG : file1: reading active writers
2025/03/14 01:44:28 DEBUG : file2: reading active writers
2025/03/14 01:44:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:29 DEBUG : : Looking for writers
2025/03/14 01:44:29 DEBUG : file1: reading active writers
2025/03/14 01:44:29 DEBUG : file2: reading active writers
2025/03/14 01:44:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:30 DEBUG : file2: vfs cache: starting upload
2025/03/14 01:44:30 DEBUG : pacer: Reducing sleep to 10ms
2025/03/14 01:44:30 DEBUG : : Looking for writers
2025/03/14 01:44:30 DEBUG : file1: reading active writers
2025/03/14 01:44:30 DEBUG : file2: reading active writers
2025/03/14 01:44:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:30 ERROR : file2: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:44:30 ERROR : file2: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:44:31 DEBUG : : Looking for writers
2025/03/14 01:44:31 DEBUG : file1: reading active writers
2025/03/14 01:44:31 DEBUG : file2: reading active writers
2025/03/14 01:44:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:32 DEBUG : : Looking for writers
2025/03/14 01:44:32 DEBUG : file1: reading active writers
2025/03/14 01:44:32 DEBUG : file2: reading active writers
2025/03/14 01:44:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:33 DEBUG : : Looking for writers
2025/03/14 01:44:33 DEBUG : file2: reading active writers
2025/03/14 01:44:33 DEBUG : file1: reading active writers
2025/03/14 01:44:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:34 DEBUG : file2: vfs cache: starting upload
2025/03/14 01:44:34 DEBUG : : Looking for writers
2025/03/14 01:44:34 DEBUG : file1: reading active writers
2025/03/14 01:44:34 DEBUG : file2: reading active writers
2025/03/14 01:44:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:35 DEBUG : : Looking for writers
2025/03/14 01:44:35 DEBUG : file1: reading active writers
2025/03/14 01:44:35 DEBUG : file2: reading active writers
2025/03/14 01:44:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:36 DEBUG : : Looking for writers
2025/03/14 01:44:36 DEBUG : file1: reading active writers
2025/03/14 01:44:36 DEBUG : file2: reading active writers
2025/03/14 01:44:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:37 DEBUG : : Looking for writers
2025/03/14 01:44:37 DEBUG : file1: reading active writers
2025/03/14 01:44:37 DEBUG : file2: reading active writers
2025/03/14 01:44:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:38 DEBUG : : Looking for writers
2025/03/14 01:44:38 DEBUG : file1: reading active writers
2025/03/14 01:44:38 DEBUG : file2: reading active writers
2025/03/14 01:44:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:39 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:44:39 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2025/03/14 01:44:39 DEBUG : file2: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10
2025/03/14 01:44:39 DEBUG : pacer: Reducing sleep to 15ms
2025/03/14 01:44:39 DEBUG : : Looking for writers
2025/03/14 01:44:39 DEBUG : file1: reading active writers
2025/03/14 01:44:39 DEBUG : file2: reading active writers
2025/03/14 01:44:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:40 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s
Cache{
	"file1": &{c:0xc000b27e00 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc0001d1708 notify:{wait:0 notify:0 lock:0 head:<nil> tail:<nil>} checker:0} name:file1 opens:0 downloaders:<nil> o:<nil> fd:<nil> info:{ModTime:{wall:13973825608030769647 ext:390762849317 loc:0x3e83980} ATime:{wall:13973825608030769647 ext:390762849317 loc:0x3e83980} Size:0 Rs:[] Fingerprint: Dirty:false} writeBackID:0 pendingAccesses:0 modified:false beingReset:false},
	"file2": &{c:0xc000b27e00 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc0001d1808 notify:{wait:0 notify:0 lock:0 head:<nil> tail:<nil>} checker:824635627584} name:file2 opens:0 downloaders:<nil> o:<nil> fd:<nil> info:{ModTime:{wall:13973825608031004297 ext:390763083966 loc:0x3e83980} ATime:{wall:13973825608031115163 ext:390763194833 loc:0x3e83980} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false},
}
2025/03/14 01:44:40 DEBUG : >WaitForWriters: 
2025/03/14 01:44:41 DEBUG : pacer: Reducing sleep to 11.25ms
    fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3
    fstest.go:295: Flushing the directory cache
2025/03/14 01:44:43 DEBUG : pacer: Reducing sleep to 10ms
    fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3
2025/03/14 01:44:45 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:44:45 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2025/03/14 01:44:45 DEBUG : file2: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 1/10
2025/03/14 01:44:45 DEBUG : pacer: Reducing sleep to 15ms
2025/03/14 01:44:46 DEBUG : pacer: Reducing sleep to 11.25ms
2025/03/14 01:44:46 ERROR : file2: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:44:46 ERROR : file2: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    fstest.go:295: Flushing the directory cache
2025/03/14 01:44:47 DEBUG : pacer: Reducing sleep to 10ms
2025/03/14 01:44: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/14 01:44:47 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:44:47 DEBUG : : Looking for writers
2025/03/14 01:44:47 DEBUG : file1: reading active writers
2025/03/14 01:44:47 DEBUG : file2: reading active writers
2025/03/14 01:44:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms
2025/03/14 01:44:47 DEBUG : : Looking for writers
2025/03/14 01:44:47 DEBUG : file1: reading active writers
2025/03/14 01:44:47 DEBUG : file2: reading active writers
2025/03/14 01:44:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms
2025/03/14 01:44:47 DEBUG : : Looking for writers
2025/03/14 01:44:47 DEBUG : file1: reading active writers
2025/03/14 01:44:47 DEBUG : file2: reading active writers
2025/03/14 01:44:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms
2025/03/14 01:44:47 DEBUG : : Looking for writers
2025/03/14 01:44:47 DEBUG : file1: reading active writers
2025/03/14 01:44:47 DEBUG : file2: reading active writers
2025/03/14 01:44:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms
2025/03/14 01:44:47 DEBUG : : Looking for writers
2025/03/14 01:44:47 DEBUG : file1: reading active writers
2025/03/14 01:44:47 DEBUG : file2: reading active writers
2025/03/14 01:44:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms
2025/03/14 01:44:47 DEBUG : : Looking for writers
2025/03/14 01:44:47 DEBUG : file1: reading active writers
2025/03/14 01:44:47 DEBUG : file2: reading active writers
2025/03/14 01:44:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms
2025/03/14 01:44:47 DEBUG : : Looking for writers
2025/03/14 01:44:47 DEBUG : file1: reading active writers
2025/03/14 01:44:47 DEBUG : file2: reading active writers
2025/03/14 01:44:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms
2025/03/14 01:44:48 DEBUG : : Looking for writers
2025/03/14 01:44:48 DEBUG : file1: reading active writers
2025/03/14 01:44:48 DEBUG : file2: reading active writers
2025/03/14 01:44:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:49 DEBUG : : Looking for writers
2025/03/14 01:44:49 DEBUG : file2: reading active writers
2025/03/14 01:44:49 DEBUG : file1: reading active writers
2025/03/14 01:44:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:50 DEBUG : : Looking for writers
2025/03/14 01:44:50 DEBUG : file1: reading active writers
2025/03/14 01:44:50 DEBUG : file2: reading active writers
2025/03/14 01:44:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:51 DEBUG : : Looking for writers
2025/03/14 01:44:51 DEBUG : file1: reading active writers
2025/03/14 01:44:51 DEBUG : file2: reading active writers
2025/03/14 01:44:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:52 DEBUG : : Looking for writers
2025/03/14 01:44:52 DEBUG : file1: reading active writers
2025/03/14 01:44:52 DEBUG : file2: reading active writers
2025/03/14 01:44:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:53 DEBUG : file2: vfs cache: starting upload
2025/03/14 01:44:53 ERROR : file2: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:44:53 ERROR : file2: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:44:53 DEBUG : : Looking for writers
2025/03/14 01:44:53 DEBUG : file1: reading active writers
2025/03/14 01:44:53 DEBUG : file2: reading active writers
2025/03/14 01:44:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:54 DEBUG : : Looking for writers
2025/03/14 01:44:54 DEBUG : file1: reading active writers
2025/03/14 01:44:54 DEBUG : file2: reading active writers
2025/03/14 01:44:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:55 DEBUG : : Looking for writers
2025/03/14 01:44:55 DEBUG : file1: reading active writers
2025/03/14 01:44:55 DEBUG : file2: reading active writers
2025/03/14 01:44:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:56 DEBUG : : Looking for writers
2025/03/14 01:44:56 DEBUG : file1: reading active writers
2025/03/14 01:44:56 DEBUG : file2: reading active writers
2025/03/14 01:44:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:57 DEBUG : : Looking for writers
2025/03/14 01:44:57 DEBUG : file1: reading active writers
2025/03/14 01:44:57 DEBUG : file2: reading active writers
2025/03/14 01:44:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:58 DEBUG : : Looking for writers
2025/03/14 01:44:58 DEBUG : file1: reading active writers
2025/03/14 01:44:58 DEBUG : file2: reading active writers
2025/03/14 01:44:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:44:59 DEBUG : : Looking for writers
2025/03/14 01:44:59 DEBUG : file1: reading active writers
2025/03/14 01:44:59 DEBUG : file2: reading active writers
2025/03/14 01:44:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:00 DEBUG : : Looking for writers
2025/03/14 01:45:00 DEBUG : file1: reading active writers
2025/03/14 01:45:00 DEBUG : file2: reading active writers
2025/03/14 01:45:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:01 DEBUG : : Looking for writers
2025/03/14 01:45:01 DEBUG : file1: reading active writers
2025/03/14 01:45:01 DEBUG : file2: reading active writers
2025/03/14 01:45:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:02 DEBUG : : Looking for writers
2025/03/14 01:45:02 DEBUG : file1: reading active writers
2025/03/14 01:45:02 DEBUG : file2: reading active writers
2025/03/14 01:45:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:03 DEBUG : : Looking for writers
2025/03/14 01:45:03 DEBUG : file1: reading active writers
2025/03/14 01:45:03 DEBUG : file2: reading active writers
2025/03/14 01:45:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:04 DEBUG : : Looking for writers
2025/03/14 01:45:04 DEBUG : file2: reading active writers
2025/03/14 01:45:04 DEBUG : file1: reading active writers
2025/03/14 01:45:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:05 DEBUG : : Looking for writers
2025/03/14 01:45:05 DEBUG : file1: reading active writers
2025/03/14 01:45:05 DEBUG : file2: reading active writers
2025/03/14 01:45:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:05 DEBUG : file2: vfs cache: starting upload
2025/03/14 01:45:06 ERROR : file2: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:06 ERROR : file2: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:06 DEBUG : : Looking for writers
2025/03/14 01:45:06 DEBUG : file1: reading active writers
2025/03/14 01:45:06 DEBUG : file2: reading active writers
2025/03/14 01:45:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:07 DEBUG : : Looking for writers
2025/03/14 01:45:07 DEBUG : file1: reading active writers
2025/03/14 01:45:07 DEBUG : file2: reading active writers
2025/03/14 01:45:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:08 DEBUG : : Looking for writers
2025/03/14 01:45:08 DEBUG : file1: reading active writers
2025/03/14 01:45:08 DEBUG : file2: reading active writers
2025/03/14 01:45:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:09 DEBUG : : Looking for writers
2025/03/14 01:45:09 DEBUG : file2: reading active writers
2025/03/14 01:45:09 DEBUG : file1: reading active writers
2025/03/14 01:45:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:10 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes
2025/03/14 01:45:10 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes
2025/03/14 01:45:10 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 1, uploading 0, total size 0 (was 0)
2025/03/14 01:45:10 DEBUG : : Looking for writers
2025/03/14 01:45:10 DEBUG : file1: reading active writers
2025/03/14 01:45:10 DEBUG : file2: reading active writers
2025/03/14 01:45:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:11 DEBUG : : Looking for writers
2025/03/14 01:45:11 DEBUG : file1: reading active writers
2025/03/14 01:45:11 DEBUG : file2: reading active writers
2025/03/14 01:45:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:12 DEBUG : : Looking for writers
2025/03/14 01:45:12 DEBUG : file1: reading active writers
2025/03/14 01:45:12 DEBUG : file2: reading active writers
2025/03/14 01:45:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:13 DEBUG : : Looking for writers
2025/03/14 01:45:13 DEBUG : file2: reading active writers
2025/03/14 01:45:13 DEBUG : file1: reading active writers
2025/03/14 01:45:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:14 DEBUG : : Looking for writers
2025/03/14 01:45:14 DEBUG : file1: reading active writers
2025/03/14 01:45:14 DEBUG : file2: reading active writers
2025/03/14 01:45:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:15 DEBUG : : Looking for writers
2025/03/14 01:45:15 DEBUG : file2: reading active writers
2025/03/14 01:45:15 DEBUG : file1: reading active writers
2025/03/14 01:45:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:16 DEBUG : : Looking for writers
2025/03/14 01:45:16 DEBUG : file1: reading active writers
2025/03/14 01:45:16 DEBUG : file2: reading active writers
2025/03/14 01:45:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:17 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s
Cache{
	"file2": &{c:0xc000b27e00 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc0001d1808 notify:{wait:0 notify:0 lock:0 head:<nil> tail:<nil>} checker:824635627584} name:file2 opens:0 downloaders:<nil> o:<nil> fd:<nil> info:{ModTime:{wall:13973825608031004297 ext:390763083966 loc:0x3e83980} ATime:{wall:13973825608031115163 ext:390763194833 loc:0x3e83980} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false},
	"file1": &{c:0xc000b27e00 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc0001d1708 notify:{wait:0 notify:0 lock:0 head:<nil> tail:<nil>} checker:0} name:file1 opens:0 downloaders:<nil> o:<nil> fd:<nil> info:{ModTime:{wall:13973825608030769647 ext:390762849317 loc:0x3e83980} ATime:{wall:13973825608030769647 ext:390762849317 loc:0x3e83980} Size:0 Rs:[] Fingerprint: Dirty:false} writeBackID:0 pendingAccesses:0 modified:false beingReset:false},
}
2025/03/14 01:45:17 DEBUG : >WaitForWriters: 
2025/03/14 01:45:17 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
    run.go:125: removing file "file2" failed - try 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestRWFileHandleWriteNoWrite (72.40s)
=== RUN   TestRWFileHandleFlushWrite
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:45:22 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:45:22 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:45:22 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:22 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:22 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/03/14 01:45:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:22 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/03/14 01:45:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx
2025/03/14 01:45:22 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2025/03/14 01:45:23 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:23 DEBUG : file1: >OpenFile: fd=<nil>, 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/14 01:45:23 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:45:23 DEBUG : : Looking for writers
2025/03/14 01:45:23 DEBUG : >WaitForWriters: 
2025/03/14 01:45:23 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:45:23 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   TestRWFileHandleReleaseWrite
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:45:23 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:45:23 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:45:23 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:23 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:23 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:23 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:23 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx
2025/03/14 01:45:23 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2025/03/14 01:45:23 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE
2025/03/14 01:45:23 DEBUG : file1: newRWFileHandle: 
2025/03/14 01:45:23 DEBUG : file1(0xc0009d3280): openPending: 
2025/03/14 01:45:23 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct)
2025/03/14 01:45:23 DEBUG : : Added virtual directory entry vAddFile: "file1"
2025/03/14 01:45:23 DEBUG : file1(0xc0009d3280): >openPending: err=<nil>
2025/03/14 01:45:23 DEBUG : file1: >newRWFileHandle: err=<nil>
2025/03/14 01:45:23 DEBUG : : Added virtual directory entry vAddFile: "file1"
2025/03/14 01:45:23 DEBUG : file1: >Open: fd=file1 (rw), err=<nil>
2025/03/14 01:45:23 DEBUG : file1: >OpenFile: fd=file1 (rw), err=<nil>
2025/03/14 01:45:23 DEBUG : file1(0xc0009d3280): _writeAt: size=5, off=0
2025/03/14 01:45:23 DEBUG : file1(0xc0009d3280): >_writeAt: n=5, err=<nil>
2025/03/14 01:45:23 DEBUG : file1(0xc0009d3280): RWFileHandle.Release
2025/03/14 01:45:23 DEBUG : file1(0xc0009d3280): close: 
2025/03/14 01:45:23 DEBUG : file1: vfs cache: setting modification time to 2025-03-14 01:45:23.842277085 +0000 UTC m=+464.069414183
2025/03/14 01:45:23 INFO  : file1: vfs cache: queuing for upload in 100ms
2025/03/14 01:45:23 DEBUG : file1(0xc0009d3280): >close: err=<nil>
2025/03/14 01:45:23 DEBUG : file1(0xc0009d3280): RWFileHandle.Release
2025/03/14 01:45:23 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:45:23 DEBUG : : Looking for writers
2025/03/14 01:45:23 DEBUG : file1: reading active writers
2025/03/14 01:45:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms
2025/03/14 01:45:23 DEBUG : : Looking for writers
2025/03/14 01:45:23 DEBUG : file1: reading active writers
2025/03/14 01:45:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms
2025/03/14 01:45:23 DEBUG : : Looking for writers
2025/03/14 01:45:23 DEBUG : file1: reading active writers
2025/03/14 01:45:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms
2025/03/14 01:45:23 DEBUG : : Looking for writers
2025/03/14 01:45:23 DEBUG : file1: reading active writers
2025/03/14 01:45:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms
2025/03/14 01:45:23 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:45:23 DEBUG : : Looking for writers
2025/03/14 01:45:23 DEBUG : file1: reading active writers
2025/03/14 01:45:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms
2025/03/14 01:45:24 DEBUG : : Looking for writers
2025/03/14 01:45:24 DEBUG : file1: reading active writers
2025/03/14 01:45:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms
2025/03/14 01:45:24 DEBUG : : Looking for writers
2025/03/14 01:45:24 DEBUG : file1: reading active writers
2025/03/14 01:45:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms
2025/03/14 01:45:24 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:24 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:24 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:45:25 DEBUG : : Looking for writers
2025/03/14 01:45:25 DEBUG : file1: reading active writers
2025/03/14 01:45:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:26 DEBUG : : Looking for writers
2025/03/14 01:45:26 DEBUG : file1: reading active writers
2025/03/14 01:45:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:26 ERROR : file1: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:26 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:26 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:45:27 DEBUG : : Looking for writers
2025/03/14 01:45:27 DEBUG : file1: reading active writers
2025/03/14 01:45:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:27 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:27 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:28 DEBUG : : Looking for writers
2025/03/14 01:45:28 DEBUG : file1: reading active writers
2025/03/14 01:45:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:28 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:45:28 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:28 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:29 DEBUG : : Looking for writers
2025/03/14 01:45:29 DEBUG : file1: reading active writers
2025/03/14 01:45:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:30 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:45:30 DEBUG : : Looking for writers
2025/03/14 01:45:30 DEBUG : file1: reading active writers
2025/03/14 01:45:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:30 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:30 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:31 DEBUG : : Looking for writers
2025/03/14 01:45:31 DEBUG : file1: reading active writers
2025/03/14 01:45:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:32 DEBUG : : Looking for writers
2025/03/14 01:45:32 DEBUG : file1: reading active writers
2025/03/14 01:45:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:33 DEBUG : : Looking for writers
2025/03/14 01:45:33 DEBUG : file1: reading active writers
2025/03/14 01:45:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:33 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:45:34 DEBUG : : Looking for writers
2025/03/14 01:45:34 DEBUG : file1: reading active writers
2025/03/14 01:45:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:34 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:34 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:35 DEBUG : : Looking for writers
2025/03/14 01:45:35 DEBUG : file1: reading active writers
2025/03/14 01:45:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:36 DEBUG : : Looking for writers
2025/03/14 01:45:36 DEBUG : file1: reading active writers
2025/03/14 01:45:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:37 DEBUG : : Looking for writers
2025/03/14 01:45:37 DEBUG : file1: reading active writers
2025/03/14 01:45:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:38 DEBUG : : Looking for writers
2025/03/14 01:45:38 DEBUG : file1: reading active writers
2025/03/14 01:45:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:39 DEBUG : : Looking for writers
2025/03/14 01:45:39 DEBUG : file1: reading active writers
2025/03/14 01:45:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:40 DEBUG : : Looking for writers
2025/03/14 01:45:40 DEBUG : file1: reading active writers
2025/03/14 01:45:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:40 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:45:41 DEBUG : : Looking for writers
2025/03/14 01:45:41 DEBUG : file1: reading active writers
2025/03/14 01:45:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:41 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:41 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:42 DEBUG : : Looking for writers
2025/03/14 01:45:42 DEBUG : file1: reading active writers
2025/03/14 01:45:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:43 DEBUG : : Looking for writers
2025/03/14 01:45:43 DEBUG : file1: reading active writers
2025/03/14 01:45:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:44 DEBUG : : Looking for writers
2025/03/14 01:45:44 DEBUG : file1: reading active writers
2025/03/14 01:45:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:45 DEBUG : : Looking for writers
2025/03/14 01:45:45 DEBUG : file1: reading active writers
2025/03/14 01:45:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:46 DEBUG : : Looking for writers
2025/03/14 01:45:46 DEBUG : file1: reading active writers
2025/03/14 01:45:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:47 DEBUG : : Looking for writers
2025/03/14 01:45:47 DEBUG : file1: reading active writers
2025/03/14 01:45:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:48 DEBUG : : Looking for writers
2025/03/14 01:45:48 DEBUG : file1: reading active writers
2025/03/14 01:45:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:49 DEBUG : : Looking for writers
2025/03/14 01:45:49 DEBUG : file1: reading active writers
2025/03/14 01:45:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:50 DEBUG : : Looking for writers
2025/03/14 01:45:50 DEBUG : file1: reading active writers
2025/03/14 01:45:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:51 DEBUG : : Looking for writers
2025/03/14 01:45:51 DEBUG : file1: reading active writers
2025/03/14 01:45:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:52 DEBUG : : Looking for writers
2025/03/14 01:45:52 DEBUG : file1: reading active writers
2025/03/14 01:45:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:53 DEBUG : : Looking for writers
2025/03/14 01:45:53 DEBUG : file1: reading active writers
2025/03/14 01:45:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:53 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s
Cache{
	"file1": &{c:0xc000b26690 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000cc8c08 notify:{wait:0 notify:0 lock:0 head:<nil> tail:<nil>} checker:824647126080} name:file1 opens:0 downloaders:<nil> o:<nil> fd:<nil> info:{ModTime:{wall:13973825686720487645 ext:464069414183 loc:0x3e83980} ATime:{wall:13973825686720527951 ext:464069454468 loc:0x3e83980} Size:5 Rs:[{Pos:0 Size:5}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false},
}
2025/03/14 01:45:53 DEBUG : >WaitForWriters: 
2025/03/14 01:45:53 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:45:54 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:       	TestRWFileHandleReleaseWrite
--- FAIL: TestRWFileHandleReleaseWrite (30.48s)
=== RUN   TestRWFileHandleSizeTruncateExisting
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:45:54 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:45:54 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:45:54 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:54 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:54 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:54 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:54 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': 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-folekib2hive'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:56 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:45:56 DEBUG : : Looking for writers
2025/03/14 01:45:56 DEBUG : >WaitForWriters: 
2025/03/14 01:45:56 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:45:56 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:39
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:481
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestRWFileHandleSizeTruncateExisting
--- FAIL: TestRWFileHandleSizeTruncateExisting (2.19s)
=== RUN   TestRWFileHandleSizeCreateExisting
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:45:56 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:45:56 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:45:56 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:56 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:56 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:56 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:56 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': 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-folekib2hive'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:57 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:45:57 DEBUG : : Looking for writers
2025/03/14 01:45:57 DEBUG : >WaitForWriters: 
2025/03/14 01:45:57 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:45:57 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:39
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:502
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestRWFileHandleSizeCreateExisting
--- FAIL: TestRWFileHandleSizeCreateExisting (1.14s)
=== RUN   TestRWFileHandleSizeCreateNew
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:45:57 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:45:57 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:45:57 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:57 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:57 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:57 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:45:57 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx
2025/03/14 01:45:57 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2025/03/14 01:45:57 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE
2025/03/14 01:45:57 DEBUG : file1: newRWFileHandle: 
2025/03/14 01:45:57 DEBUG : file1(0xc000c964c0): openPending: 
2025/03/14 01:45:57 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct)
2025/03/14 01:45:57 DEBUG : : Added virtual directory entry vAddFile: "file1"
2025/03/14 01:45:57 DEBUG : file1(0xc000c964c0): >openPending: err=<nil>
2025/03/14 01:45:57 DEBUG : file1: >newRWFileHandle: err=<nil>
2025/03/14 01:45:57 DEBUG : : Added virtual directory entry vAddFile: "file1"
2025/03/14 01:45:57 DEBUG : file1: >Open: fd=file1 (rw), err=<nil>
2025/03/14 01:45:57 DEBUG : file1: >OpenFile: fd=file1 (rw), err=<nil>
2025/03/14 01:45:57 DEBUG : file1(0xc000c964c0): _writeAt: size=5, off=0
2025/03/14 01:45:57 DEBUG : file1(0xc000c964c0): >_writeAt: n=5, err=<nil>
2025/03/14 01:45:57 DEBUG : file1(0xc000c964c0): close: 
2025/03/14 01:45:57 DEBUG : file1: vfs cache: setting modification time to 2025-03-14 01:45:57.640293881 +0000 UTC m=+497.867430969
2025/03/14 01:45:57 INFO  : file1: vfs cache: queuing for upload in 100ms
2025/03/14 01:45:57 DEBUG : file1(0xc000c964c0): >close: err=<nil>
2025/03/14 01:45:57 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:45:57 DEBUG : dir: Looking for writers
2025/03/14 01:45:57 DEBUG : : Looking for writers
2025/03/14 01:45:57 DEBUG : dir: reading active writers
2025/03/14 01:45:57 DEBUG : file1: reading active writers
2025/03/14 01:45:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms
2025/03/14 01:45:57 DEBUG : dir: Looking for writers
2025/03/14 01:45:57 DEBUG : : Looking for writers
2025/03/14 01:45:57 DEBUG : dir: reading active writers
2025/03/14 01:45:57 DEBUG : file1: reading active writers
2025/03/14 01:45:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms
2025/03/14 01:45:57 DEBUG : dir: Looking for writers
2025/03/14 01:45:57 DEBUG : : Looking for writers
2025/03/14 01:45:57 DEBUG : dir: reading active writers
2025/03/14 01:45:57 DEBUG : file1: reading active writers
2025/03/14 01:45:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms
2025/03/14 01:45:57 DEBUG : dir: Looking for writers
2025/03/14 01:45:57 DEBUG : : Looking for writers
2025/03/14 01:45:57 DEBUG : dir: reading active writers
2025/03/14 01:45:57 DEBUG : file1: reading active writers
2025/03/14 01:45:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms
2025/03/14 01:45:57 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:45:57 DEBUG : dir: Looking for writers
2025/03/14 01:45:57 DEBUG : : Looking for writers
2025/03/14 01:45:57 DEBUG : dir: reading active writers
2025/03/14 01:45:57 DEBUG : file1: reading active writers
2025/03/14 01:45:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms
2025/03/14 01:45:57 DEBUG : dir: Looking for writers
2025/03/14 01:45:57 DEBUG : : Looking for writers
2025/03/14 01:45:57 DEBUG : dir: reading active writers
2025/03/14 01:45:57 DEBUG : file1: reading active writers
2025/03/14 01:45:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms
2025/03/14 01:45:58 DEBUG : dir: Looking for writers
2025/03/14 01:45:58 DEBUG : : Looking for writers
2025/03/14 01:45:58 DEBUG : dir: reading active writers
2025/03/14 01:45:58 DEBUG : file1: reading active writers
2025/03/14 01:45:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms
2025/03/14 01:45:58 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:58 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:58 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:45:58 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:58 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:58 DEBUG : dir: Looking for writers
2025/03/14 01:45:58 DEBUG : : Looking for writers
2025/03/14 01:45:58 DEBUG : dir: reading active writers
2025/03/14 01:45:58 DEBUG : file1: reading active writers
2025/03/14 01:45:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:45:59 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:45:59 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:59 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:45:59 DEBUG : dir: Looking for writers
2025/03/14 01:45:59 DEBUG : : Looking for writers
2025/03/14 01:45:59 DEBUG : file1: reading active writers
2025/03/14 01:45:59 DEBUG : dir: reading active writers
2025/03/14 01:45:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:00 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:46:00 DEBUG : dir: Looking for writers
2025/03/14 01:46:00 DEBUG : : Looking for writers
2025/03/14 01:46:00 DEBUG : dir: reading active writers
2025/03/14 01:46:00 DEBUG : file1: reading active writers
2025/03/14 01:46:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:01 DEBUG : dir: Looking for writers
2025/03/14 01:46:01 DEBUG : : Looking for writers
2025/03/14 01:46:01 DEBUG : dir: reading active writers
2025/03/14 01:46:01 DEBUG : file1: reading active writers
2025/03/14 01:46:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:02 DEBUG : dir: Looking for writers
2025/03/14 01:46:02 DEBUG : : Looking for writers
2025/03/14 01:46:02 DEBUG : dir: reading active writers
2025/03/14 01:46:02 DEBUG : file1: reading active writers
2025/03/14 01:46:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:03 DEBUG : dir: Looking for writers
2025/03/14 01:46:03 DEBUG : : Looking for writers
2025/03/14 01:46:03 DEBUG : dir: reading active writers
2025/03/14 01:46:03 DEBUG : file1: reading active writers
2025/03/14 01:46:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:04 DEBUG : dir: Looking for writers
2025/03/14 01:46:04 DEBUG : : Looking for writers
2025/03/14 01:46:04 DEBUG : file1: reading active writers
2025/03/14 01:46:04 DEBUG : dir: reading active writers
2025/03/14 01:46:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:05 DEBUG : pacer: low level retry 1/1 (error HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server)
2025/03/14 01:46:05 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2025/03/14 01:46:05 DEBUG : pacer: Reducing sleep to 15ms
2025/03/14 01:46:05 DEBUG : file1: Received error: failed to upload file: HTTP error 503 (503 Service Unavailable): The server is currently unable to handle the request due to a temporary overloading or maintenance of the server - low level retry 0/10
2025/03/14 01:46:05 DEBUG : dir: Looking for writers
2025/03/14 01:46:05 DEBUG : : Looking for writers
2025/03/14 01:46:05 DEBUG : dir: reading active writers
2025/03/14 01:46:05 DEBUG : file1: reading active writers
2025/03/14 01:46:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:06 DEBUG : pacer: Reducing sleep to 11.25ms
2025/03/14 01:46:06 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:06 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:06 DEBUG : dir: Looking for writers
2025/03/14 01:46:06 DEBUG : : Looking for writers
2025/03/14 01:46:06 DEBUG : dir: reading active writers
2025/03/14 01:46:06 DEBUG : file1: reading active writers
2025/03/14 01:46:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:07 DEBUG : dir: Looking for writers
2025/03/14 01:46:07 DEBUG : : Looking for writers
2025/03/14 01:46:07 DEBUG : dir: reading active writers
2025/03/14 01:46:07 DEBUG : file1: reading active writers
2025/03/14 01:46:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:08 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:46:08 DEBUG : pacer: Reducing sleep to 10ms
2025/03/14 01:46:08 DEBUG : dir: Looking for writers
2025/03/14 01:46:08 DEBUG : : Looking for writers
2025/03/14 01:46:08 DEBUG : dir: reading active writers
2025/03/14 01:46:08 DEBUG : file1: reading active writers
2025/03/14 01:46:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:09 ERROR : file1: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:09 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:09 DEBUG : dir: Looking for writers
2025/03/14 01:46:09 DEBUG : : Looking for writers
2025/03/14 01:46:09 DEBUG : dir: reading active writers
2025/03/14 01:46:09 DEBUG : file1: reading active writers
2025/03/14 01:46:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:10 DEBUG : dir: Looking for writers
2025/03/14 01:46:10 DEBUG : : Looking for writers
2025/03/14 01:46:10 DEBUG : dir: reading active writers
2025/03/14 01:46:10 DEBUG : file1: reading active writers
2025/03/14 01:46:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:11 DEBUG : dir: Looking for writers
2025/03/14 01:46:11 DEBUG : : Looking for writers
2025/03/14 01:46:11 DEBUG : dir: reading active writers
2025/03/14 01:46:11 DEBUG : file1: reading active writers
2025/03/14 01:46:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:12 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:46:12 ERROR : file1: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:12 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:12 DEBUG : dir: Looking for writers
2025/03/14 01:46:12 DEBUG : : Looking for writers
2025/03/14 01:46:12 DEBUG : dir: reading active writers
2025/03/14 01:46:12 DEBUG : file1: reading active writers
2025/03/14 01:46:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:13 DEBUG : dir: Looking for writers
2025/03/14 01:46:13 DEBUG : : Looking for writers
2025/03/14 01:46:13 DEBUG : dir: reading active writers
2025/03/14 01:46:13 DEBUG : file1: reading active writers
2025/03/14 01:46:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:14 DEBUG : dir: Looking for writers
2025/03/14 01:46:14 DEBUG : : Looking for writers
2025/03/14 01:46:14 DEBUG : dir: reading active writers
2025/03/14 01:46:14 DEBUG : file1: reading active writers
2025/03/14 01:46:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:15 DEBUG : dir: Looking for writers
2025/03/14 01:46:15 DEBUG : : Looking for writers
2025/03/14 01:46:15 DEBUG : dir: reading active writers
2025/03/14 01:46:15 DEBUG : file1: reading active writers
2025/03/14 01:46:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:16 DEBUG : dir: Looking for writers
2025/03/14 01:46:16 DEBUG : : Looking for writers
2025/03/14 01:46:16 DEBUG : dir: reading active writers
2025/03/14 01:46:16 DEBUG : file1: reading active writers
2025/03/14 01:46:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:17 DEBUG : dir: Looking for writers
2025/03/14 01:46:17 DEBUG : : Looking for writers
2025/03/14 01:46:17 DEBUG : dir: reading active writers
2025/03/14 01:46:17 DEBUG : file1: reading active writers
2025/03/14 01:46:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:18 DEBUG : file1: vfs cache: starting upload
2025/03/14 01:46:18 DEBUG : dir: Looking for writers
2025/03/14 01:46:18 DEBUG : : Looking for writers
2025/03/14 01:46:18 DEBUG : dir: reading active writers
2025/03/14 01:46:18 DEBUG : file1: reading active writers
2025/03/14 01:46:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:19 DEBUG : dir: Looking for writers
2025/03/14 01:46:19 DEBUG : : Looking for writers
2025/03/14 01:46:19 DEBUG : dir: reading active writers
2025/03/14 01:46:19 DEBUG : file1: reading active writers
2025/03/14 01:46:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:20 ERROR : file1: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:20 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:20 DEBUG : dir: Looking for writers
2025/03/14 01:46:20 DEBUG : : Looking for writers
2025/03/14 01:46:20 DEBUG : dir: reading active writers
2025/03/14 01:46:20 DEBUG : file1: reading active writers
2025/03/14 01:46:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:21 DEBUG : dir: Looking for writers
2025/03/14 01:46:21 DEBUG : : Looking for writers
2025/03/14 01:46:21 DEBUG : dir: reading active writers
2025/03/14 01:46:21 DEBUG : file1: reading active writers
2025/03/14 01:46:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:22 DEBUG : dir: Looking for writers
2025/03/14 01:46:22 DEBUG : : Looking for writers
2025/03/14 01:46:22 DEBUG : dir: reading active writers
2025/03/14 01:46:22 DEBUG : file1: reading active writers
2025/03/14 01:46:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:23 DEBUG : dir: Looking for writers
2025/03/14 01:46:23 DEBUG : : Looking for writers
2025/03/14 01:46:23 DEBUG : dir: reading active writers
2025/03/14 01:46:23 DEBUG : file1: reading active writers
2025/03/14 01:46:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:24 DEBUG : dir: Looking for writers
2025/03/14 01:46:24 DEBUG : : Looking for writers
2025/03/14 01:46:24 DEBUG : dir: reading active writers
2025/03/14 01:46:24 DEBUG : file1: reading active writers
2025/03/14 01:46:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:25 DEBUG : dir: Looking for writers
2025/03/14 01:46:25 DEBUG : : Looking for writers
2025/03/14 01:46:25 DEBUG : dir: reading active writers
2025/03/14 01:46:25 DEBUG : file1: reading active writers
2025/03/14 01:46:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:26 DEBUG : dir: Looking for writers
2025/03/14 01:46:26 DEBUG : : Looking for writers
2025/03/14 01:46:26 DEBUG : file1: reading active writers
2025/03/14 01:46:26 DEBUG : dir: reading active writers
2025/03/14 01:46:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s
2025/03/14 01:46:27 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s
Cache{
	"file1": &{c:0xc0008462d0 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc0001d1608 notify:{wait:0 notify:0 lock:0 head:<nil> tail:<nil>} checker:824635627072} name:file1 opens:0 downloaders:<nil> o:<nil> fd:<nil> info:{ModTime:{wall:13973825723025726457 ext:497867430969 loc:0x3e83980} ATime:{wall:13973825723025767943 ext:497867472455 loc:0x3e83980} Size:5 Rs:[{Pos:0 Size:5}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false},
}
2025/03/14 01:46:27 DEBUG : >WaitForWriters: 
2025/03/14 01:46:27 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:46:28 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestRWFileHandleSizeCreateNew
--- FAIL: TestRWFileHandleSizeCreateNew (30.94s)
=== RUN   TestRWFileHandleOpenTests
=== RUN   TestRWFileHandleOpenTests/writes
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:46:28 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:46:28 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:46:28 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:28 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:28 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:28 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:28 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
=== RUN   TestRWFileHandleOpenTests/writes/os.O_RDONLY
2025/03/14 01:46:28 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    read_write_test.go:564: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:564
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:644
        	Error:      	Should be true
        	Test:       	TestRWFileHandleOpenTests/writes/os.O_RDONLY
2025/03/14 01:46:28 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:46:28 DEBUG : dir: Looking for writers
2025/03/14 01:46:28 DEBUG : : Looking for writers
2025/03/14 01:46:28 DEBUG : dir: reading active writers
2025/03/14 01:46:28 DEBUG : >WaitForWriters: 
2025/03/14 01:46:28 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
=== NAME  TestRWFileHandleOpenTests/writes
    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   TestRWFileHandleOpenTests/full
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:46:33 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:46:33 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:46:33 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:33 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/03/14 01:46:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/03/14 01:46:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:33 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
=== RUN   TestRWFileHandleOpenTests/full/os.O_RDONLY
2025/03/14 01:46:34 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw-
2025/03/14 01:46:34 DEBUG : open-test-file: >OpenFile: fd=<nil>, err=file does not exist
2025/03/14 01:46:34 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx
2025/03/14 01:46:34 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE
2025/03/14 01:46:34 DEBUG : open-test-file: newRWFileHandle: 
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97880): openPending: 
2025/03/14 01:46:34 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct)
2025/03/14 01:46:34 DEBUG : : Added virtual directory entry vAddFile: "open-test-file"
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97880): >openPending: err=<nil>
2025/03/14 01:46:34 DEBUG : open-test-file: >newRWFileHandle: err=<nil>
2025/03/14 01:46:34 DEBUG : : Added virtual directory entry vAddFile: "open-test-file"
2025/03/14 01:46:34 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err=<nil>
2025/03/14 01:46:34 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err=<nil>
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97880): _writeAt: size=5, off=0
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97880): >_writeAt: n=5, err=<nil>
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97880): close: 
2025/03/14 01:46:34 DEBUG : open-test-file: vfs cache: setting modification time to 2025-03-14 01:46:34.335920388 +0000 UTC m=+534.563057476
2025/03/14 01:46:34 INFO  : open-test-file: vfs cache: queuing for upload in 100ms
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97880): >close: err=<nil>
2025/03/14 01:46:34 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw-
2025/03/14 01:46:34 DEBUG : open-test-file: Open: flags=O_RDONLY
2025/03/14 01:46:34 DEBUG : open-test-file: newRWFileHandle: 
2025/03/14 01:46:34 DEBUG : open-test-file: >newRWFileHandle: err=<nil>
2025/03/14 01:46:34 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err=<nil>
2025/03/14 01:46:34 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err=<nil>
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97940): _readAt: size=2, off=0
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97940): openPending: 
2025/03/14 01:46:34 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct)
2025/03/14 01:46:34 DEBUG : : Added virtual directory entry vAddFile: "open-test-file"
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97940): >openPending: err=<nil>
2025/03/14 01:46:34 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97940): >_readAt: n=2, err=<nil>
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97940): _writeAt: size=3, off=2
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97940): >_writeAt: n=0, err=Bad file descriptor
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97940): close: 
2025/03/14 01:46:34 DEBUG : open-test-file: vfs cache: setting modification time to 2025-03-14 01:46:34.335920388 +0000 UTC m=+534.563057476
2025/03/14 01:46:34 INFO  : open-test-file: vfs cache: queuing for upload in 100ms
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97940): >close: err=<nil>
2025/03/14 01:46:34 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=----------
2025/03/14 01:46:34 DEBUG : open-test-file: Open: flags=O_RDONLY
2025/03/14 01:46:34 DEBUG : open-test-file: newRWFileHandle: 
2025/03/14 01:46:34 DEBUG : open-test-file: >newRWFileHandle: err=<nil>
2025/03/14 01:46:34 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err=<nil>
2025/03/14 01:46:34 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err=<nil>
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97980): _readAt: size=512, off=0
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97980): openPending: 
2025/03/14 01:46:34 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct)
2025/03/14 01:46:34 DEBUG : : Added virtual directory entry vAddFile: "open-test-file"
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97980): >openPending: err=<nil>
2025/03/14 01:46:34 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97980): >_readAt: n=5, err=EOF
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97980): close: 
2025/03/14 01:46:34 DEBUG : open-test-file: vfs cache: setting modification time to 2025-03-14 01:46:34.335920388 +0000 UTC m=+534.563057476
2025/03/14 01:46:34 INFO  : open-test-file: vfs cache: queuing for upload in 100ms
2025/03/14 01:46:34 DEBUG : open-test-file(0xc000c97980): >close: err=<nil>
2025/03/14 01:46:34 DEBUG : open-test-file: Remove: 
2025/03/14 01:46:34 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc0002ed880 item 1
2025/03/14 01:46:34 INFO  : open-test-file: vfs cache: removed cache file as file deleted
2025/03/14 01:46:34 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted
2025/03/14 01:46:34 DEBUG : : Added virtual directory entry vDel: "open-test-file"
2025/03/14 01:46:34 DEBUG : open-test-file: >Remove: err=<nil>
2025/03/14 01:46:34 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:46:34 DEBUG : : Looking for writers
2025/03/14 01:46:34 DEBUG : >WaitForWriters: 
2025/03/14 01:46:34 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:46:35 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
=== NAME  TestRWFileHandleOpenTests/full
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestRWFileHandleOpenTests/full
--- FAIL: TestRWFileHandleOpenTests (6.74s)
    --- FAIL: TestRWFileHandleOpenTests/writes (5.21s)
        --- FAIL: TestRWFileHandleOpenTests/writes/os.O_RDONLY (0.41s)
    --- FAIL: TestRWFileHandleOpenTests/full (1.53s)
        --- PASS: TestRWFileHandleOpenTests/full/os.O_RDONLY (0.77s)
=== RUN   TestRWFileModTimeWithOpenWriters
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:46:35 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:46:35 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:46:35 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:35 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:35 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:35 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:35 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx
2025/03/14 01:46:35 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2025/03/14 01:46:35 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:35 DEBUG : file1: >OpenFile: fd=<nil>, err=couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    read_write_test.go:44: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:44
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:58
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:653
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestRWFileModTimeWithOpenWriters
2025/03/14 01:46:35 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:46:35 DEBUG : : Looking for writers
2025/03/14 01:46:35 DEBUG : >WaitForWriters: 
2025/03/14 01:46:35 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:46:35 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:653
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestRWFileModTimeWithOpenWriters
--- FAIL: TestRWFileModTimeWithOpenWriters (0.36s)
=== RUN   TestRWCacheRename
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:46:35 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:46:35 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: root is "/home/rclone/.cache/rclone"
2025/03/14 01:46:35 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:35 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:35 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:35 DEBUG : fs cache: switching user supplied name ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive" for canonical name ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-folekib2hive"
2025/03/14 01:46:35 DEBUG : rename_me: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx
2025/03/14 01:46:35 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2025/03/14 01:46:35 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:35 DEBUG : rename_me: >OpenFile: fd=<nil>, err=couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    read_write_test.go:698: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:698
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestRWCacheRename
2025/03/14 01:46:35 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:46:35 DEBUG : : Looking for writers
2025/03/14 01:46:35 DEBUG : >WaitForWriters: 
2025/03/14 01:46:35 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': vfs cache: cleaner exiting
2025/03/14 01:46: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.
--- FAIL: TestRWCacheRename (1.18s)
=== RUN   TestUnicodeNormalization
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
    run.go:285: Failed to put "normal name with no special characters.txt" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestUnicodeNormalization (1.19s)
=== RUN   TestVFSNewWithOpts
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:46:37 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:46:37 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:46:37 DEBUG : : Looking for writers
2025/03/14 01:46:37 DEBUG : >WaitForWriters: 
2025/03/14 01:46: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: TestVFSNewWithOpts (1.48s)
=== RUN   TestVFSRoot
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:46:39 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:46:39 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:46:39 DEBUG : : Looking for writers
2025/03/14 01:46:39 DEBUG : >WaitForWriters: 
2025/03/14 01:46: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: TestVFSRoot (0.96s)
=== RUN   TestVFSStat
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:46:40 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:41 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:46:41 DEBUG : : Looking for writers
2025/03/14 01:46:41 DEBUG : >WaitForWriters: 
2025/03/14 01:46: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/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:189
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestVFSStat
--- FAIL: TestVFSStat (2.24s)
=== RUN   TestVFSStatParent
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:46:42 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:42 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:46:42 DEBUG : : Looking for writers
2025/03/14 01:46:42 DEBUG : >WaitForWriters: 
--- FAIL: TestVFSStatParent (1.19s)
=== RUN   TestVFSOpenFile
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:46:43 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "file1" to "sugarsync root 'Test/rclone-test-folekib2hive'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:45 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:46:45 DEBUG : : Looking for writers
2025/03/14 01:46:45 DEBUG : >WaitForWriters: 
--- FAIL: TestVFSOpenFile (2.48s)
=== RUN   TestVFSRename
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:46:46 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
    run.go:285: Failed to put "dir/file2" to "sugarsync root 'Test/rclone-test-folekib2hive'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:47 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:46:47 DEBUG : : Looking for writers
2025/03/14 01:46:47 DEBUG : >WaitForWriters: 
--- FAIL: TestVFSRename (2.66s)
=== RUN   TestVFSMkdir
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:46:48 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:46:50 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/14 01:46:50 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:46:50 DEBUG : : Looking for writers
2025/03/14 01:46:50 DEBUG : >WaitForWriters: 
--- FAIL: TestVFSMkdir (2.48s)
=== RUN   TestVFSMkdirAll
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:46:51 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:46:52 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:52 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:46:52 DEBUG : : Looking for writers
2025/03/14 01:46:52 DEBUG : >WaitForWriters: 
--- FAIL: TestVFSMkdirAll (2.46s)
=== RUN   TestWriteFileHandleMethods
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:46:53 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:46:53 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx
2025/03/14 01:46:54 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:54 DEBUG : file1: >OpenFile: fd=<nil>, err=couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    write_test.go:25: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:25
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:93
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestWriteFileHandleMethods
2025/03/14 01:46:54 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:46:54 DEBUG : : Looking for writers
2025/03/14 01:46:54 DEBUG : >WaitForWriters: 
2025/03/14 01:46:55 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestWriteFileHandleMethods (1.67s)
=== RUN   TestWriteFileHandleWriteAt
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:46:55 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:46:55 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx
2025/03/14 01:46:55 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:55 DEBUG : file1: >OpenFile: fd=<nil>, 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:195
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestWriteFileHandleWriteAt
2025/03/14 01:46:55 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:46:55 DEBUG : : Looking for writers
2025/03/14 01:46:55 DEBUG : >WaitForWriters: 
--- FAIL: TestWriteFileHandleWriteAt (1.18s)
=== RUN   TestWriteFileHandleFlush
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:46:56 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:46:56 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx
2025/03/14 01:46:57 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:46:57 DEBUG : file1: >OpenFile: fd=<nil>, err=couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    write_test.go:25: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:25
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:239
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestWriteFileHandleFlush
2025/03/14 01:46:57 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:46:57 DEBUG : : Looking for writers
2025/03/14 01:46:57 DEBUG : >WaitForWriters: 
--- FAIL: TestWriteFileHandleFlush (1.73s)
=== RUN   TestWriteFileHandleRelease
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:46:58 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:46:58 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx
2025/03/14 01:46:59 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE
2025/03/14 01:46:59 DEBUG : : Added virtual directory entry vAddFile: "file1"
2025/03/14 01:46:59 DEBUG : file1: >Open: fd=file1 (w), err=<nil>
2025/03/14 01:46:59 DEBUG : file1: >OpenFile: fd=file1 (w), err=<nil>
2025/03/14 01:46:59 DEBUG : file1: WriteFileHandle.Release closing
2025/03/14 01:46:59 DEBUG : : Added virtual directory entry vAddFile: "file1"
2025/03/14 01:46:59 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': File to upload is small (0 bytes), uploading instead of streaming
2025/03/14 01:47:00 ERROR : file1: WriteFileHandle.New Rcat failed: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:47:00 DEBUG : file1: Remove: 
2025/03/14 01:47:00 DEBUG : : Added virtual directory entry vDel: "file1"
2025/03/14 01:47:00 DEBUG : file1: >Remove: err=<nil>
2025/03/14 01:47:00 ERROR : file1: WriteFileHandle.Release error: failed to create 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 create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestWriteFileHandleRelease
2025/03/14 01:47:00 DEBUG : file1: WriteFileHandle.Release nothing to do
2025/03/14 01:47:00 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:47:00 DEBUG : : Looking for writers
2025/03/14 01:47:00 DEBUG : >WaitForWriters: 
2025/03/14 01:47: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
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestWriteFileHandleRelease
--- FAIL: TestWriteFileHandleRelease (2.42s)
=== RUN   TestWriteFileModTimeWithOpenWriters
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:47:00 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:47:00 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx
2025/03/14 01:47:00 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:47:00 DEBUG : file1: >OpenFile: fd=<nil>, err=couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    write_test.go:25: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:25
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:318
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestWriteFileModTimeWithOpenWriters
2025/03/14 01:47:00 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:47:00 DEBUG : : Looking for writers
2025/03/14 01:47:00 DEBUG : >WaitForWriters: 
2025/03/14 01:47:01 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:25
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:318
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestWriteFileModTimeWithOpenWriters
--- FAIL: TestWriteFileModTimeWithOpenWriters (0.36s)
=== RUN   TestFileReadAtZeroLength
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:47:01 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:47:01 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx
2025/03/14 01:47:01 ERROR : /: Dir.Stat error: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:47:01 DEBUG : file1: >OpenFile: fd=<nil>, err=couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    write_test.go:25: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:25
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:345
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestFileReadAtZeroLength
2025/03/14 01:47:01 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:47:01 DEBUG : : Looking for writers
2025/03/14 01:47:01 DEBUG : >WaitForWriters: 
2025/03/14 01:47:02 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: TestFileReadAtZeroLength (1.12s)
=== RUN   TestFileReadAtNonZeroLength
    run.go:180: Remote "sugarsync root 'Test/rclone-test-folekib2hive'", Local "Local file system at /tmp/rclone3024326867", Modify Window "876000h0m0s"
2025/03/14 01:47:02 INFO  : sugarsync root 'Test/rclone-test-folekib2hive': poll-interval is not supported by this remote
2025/03/14 01:47:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx
2025/03/14 01:47:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE
2025/03/14 01:47:02 DEBUG : : Added virtual directory entry vAddFile: "file1"
2025/03/14 01:47:02 DEBUG : file1: >Open: fd=file1 (w), err=<nil>
2025/03/14 01:47:02 DEBUG : file1: >OpenFile: fd=file1 (w), err=<nil>
2025/03/14 01:47:02 DEBUG : : Added virtual directory entry vAddFile: "file1"
2025/03/14 01:47:02 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': File to upload is small (100 bytes), uploading instead of streaming
2025/03/14 01:47:04 ERROR : file1: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:47:04 ERROR : file1: WriteFileHandle.New Rcat failed: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/14 01:47:04 DEBUG : file1: Remove: 
2025/03/14 01:47:04 DEBUG : : Added virtual directory entry vDel: "file1"
2025/03/14 01:47:04 DEBUG : file1: >Remove: err=<nil>
    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:384
        	Error:      	Received unexpected error:
        	            	failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestFileReadAtNonZeroLength
2025/03/14 01:47:04 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=----------
2025/03/14 01:47:04 DEBUG : file1: >OpenFile: fd=<nil>, 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:384
        	Error:      	Received unexpected error:
        	            	file does not exist
        	Test:       	TestFileReadAtNonZeroLength
2025/03/14 01:47:04 DEBUG : WaitForWriters: timeout=30s
2025/03/14 01:47:04 DEBUG : : Looking for writers
2025/03/14 01:47:04 DEBUG : >WaitForWriters: 
2025/03/14 01:47:04 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365
        	            				/home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestFileReadAtNonZeroLength
--- FAIL: TestFileReadAtNonZeroLength (2.53s)
FAIL
2025/03/14 01:47:04 DEBUG : sugarsync root 'Test/rclone-test-folekib2hive': Purge remote
"./vfs.test -test.v -test.timeout 1h0m0s -remote TestSugarSync:Test -verbose -test.run '^(TestDirCreate|TestDirEntryModTimeInvalidation|TestDirFileOpen|TestDirForgetAll|TestDirForgetPath|TestDirHandleMethods|TestDirHandleReaddir|TestDirHandleReaddirnames|TestDirMethods|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestRWCacheRename|TestRWFileHandleFlushRead|TestRWFileHandleFlushWrite|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleReleaseWrite|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeCreateNew|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestRcGetVFS|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSMkdir|TestVFSMkdirAll|TestVFSNewWithOpts|TestVFSOpenFile|TestVFSRename|TestVFSRoot|TestVFSStat|TestVFSStatParent|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true)$|^TestRWFileHandleOpenTests$/^full$/^os.O_RDONLY$|^TestRWFileHandleOpenTests$/^writes$/^os.O_RDONLY$'" - Finished ERROR in 9m25.323456387s (try 2/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 TestRWFileHandleWriteNoWrite TestRWFileHandleFlushWrite TestRWFileHandleReleaseWrite TestRWFileHandleSizeTruncateExisting TestRWFileHandleSizeCreateExisting TestRWFileHandleSizeCreateNew TestRWFileHandleOpenTests/writes/os.O_RDONLY TestRWFileHandleOpenTests/full TestRWFileModTimeWithOpenWriters TestRWCacheRename TestUnicodeNormalization TestVFSNewWithOpts TestVFSRoot TestVFSStat TestVFSStatParent TestVFSOpenFile TestVFSRename TestVFSMkdir TestVFSMkdirAll TestWriteFileHandleMethods TestWriteFileHandleWriteAt TestWriteFileHandleFlush TestWriteFileHandleRelease TestWriteFileModTimeWithOpenWriters TestFileReadAtZeroLength TestFileReadAtNonZeroLength]