"./sync.test -test.v -test.timeout 1h0m0s -remote TestSugarSync:Test -verbose -test.run '^(TestCopy|TestCopyAfterDelete|TestCopyCheckFirst|TestCopyDeleteBefore|TestCopyEmptyDirectories|TestCopyNoTraverse|TestCopyOverSelf|TestCopyRedownload|TestCopyWithDepth|TestCopyWithDryRun|TestCopyWithFilesFrom|TestCopyWithFilesFromAndNoTraverse|TestFixCase|TestMoveEmptyDirectories|TestMoveNoEmptyDirectories|TestMoveOverSelf|TestMoveWithDeleteEmptySrcDirs|TestMoveWithIgnoreExisting|TestMoveWithoutDeleteEmptySrcDirs|TestNothingToTransferWithEmptyDirs|TestNothingToTransferWithoutEmptyDirs|TestServerSideCopy|TestServerSideCopyOverSelf|TestServerSideMove|TestServerSideMoveDeleteEmptySourceDirs|TestServerSideMoveLocal|TestServerSideMoveOverSelf|TestServerSideMoveOverlap|TestServerSideMoveWithFilter|TestSyncAfterAddingAFile|TestSyncAfterChangingContentsOnly|TestSyncAfterChangingFilesSizeOnly|TestSyncAfterChangingModtimeOnly|TestSyncAfterRemovingAFileAndAddingAFile|TestSyncAfterRemovingAFileAndAddingAFileDryRun|TestSyncAfterRemovingAFileAndAddingAFileSubDir|TestSyncAfterRemovingAFileAndAddingAFileSubDirWithErrors|TestSyncBackupDir|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncBackupDirWithSuffixKeepExtension|TestSyncBasedOnCheckSum|TestSyncCompareDest|TestSyncConcurrentDelete|TestSyncConcurrentTruncate|TestSyncCopyDest|TestSyncDeleteBefore|TestSyncDeleteDuring|TestSyncDoesntUpdateModtime|TestSyncEmptyDirectories|TestSyncIgnoreCase|TestSyncIgnoreErrors|TestSyncIgnoreExisting|TestSyncIgnoreSize|TestSyncIgnoreTimes|TestSyncImmutable|TestSyncMultipleCompareDest|TestSyncNoEmptyDirectories|TestSyncNoTraverse|TestSyncOverlap|TestSyncOverlapWithFilter|TestSyncReplaceDirModTime|TestSyncReplaceDirModTimeWithEmptyDirs|TestSyncSizeOnly|TestSyncSuffix|TestSyncSuffixKeepExtension|TestSyncUTFNorm|TestSyncWithExclude|TestSyncWithExcludeAndDeleteExcluded|TestSyncWithTrackRenames|TestSyncWithTrackRenamesStrategyLeaf|TestSyncWithTrackRenamesStrategyModtime)$'" - Starting (try 5/5)
2025/03/13 07:07:44 DEBUG : Creating backend with remote "TestSugarSync:Test/rclone-test-viwepic1qimi"
2025/03/13 07:07:44 DEBUG : Using config file from "/home/rclone/.rclone.conf"
2025/03/13 07:07:47 DEBUG : Creating backend with remote "/tmp/rclone61841960"
=== RUN   TestCopyWithDryRun
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:237: Failed to mkdir "sugarsync root 'Test/rclone-test-viwepic1qimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:07:47 ERROR : : error listing: directory not found
--- FAIL: TestCopyWithDryRun (0.55s)
=== RUN   TestCopy
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:07:47 INFO  : sub dir: Set directory modification time (using DirSetModTime)
    run.go:237: Failed to mkdir "sugarsync root 'Test/rclone-test-viwepic1qimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:07:48 ERROR : : error listing: directory not found
--- FAIL: TestCopy (1.06s)
=== RUN   TestCopyNoTraverse
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:07:49 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination
2025/03/13 07:07:49 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:07:49 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:07:51 ERROR : sub dir/hello world: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    sync_test.go:211: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:211
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestCopyNoTraverse
2025/03/13 07:07:51 ERROR : : error listing: directory not found
--- FAIL: TestCopyNoTraverse (2.73s)
=== RUN   TestCopyCheckFirst
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:07:51 INFO  : sugarsync root 'Test/rclone-test-viwepic1qimi': Running all checks before starting transfers
2025/03/13 07:07:52 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': error reading destination root directory: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:07:52 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:07:52 INFO  : sugarsync root 'Test/rclone-test-viwepic1qimi': Checks finished, now starting transfers
2025/03/13 07:07:52 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
    sync_test.go:230: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:230
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestCopyCheckFirst
2025/03/13 07:07:52 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/fs/sync/sync_test.go:230
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestCopyCheckFirst
--- FAIL: TestCopyCheckFirst (0.85s)
=== RUN   TestSyncNoTraverse
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:07:52 ERROR : Ignoring --no-traverse with sync
2025/03/13 07:07:52 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination
2025/03/13 07:07:52 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:07:52 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:07:55 ERROR : sub dir/hello world: Failed to copy: failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:07:55 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting files as there were IO errors
2025/03/13 07:07:55 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting directories as there were IO errors
    sync_test.go:250: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:250
        	Error:      	Received unexpected error:
        	            	failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncNoTraverse
2025/03/13 07:07:55 ERROR : : error listing: directory not found
--- FAIL: TestSyncNoTraverse (3.08s)
=== RUN   TestCopyWithDepth
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:07:56 DEBUG : hello world2: Need to transfer - File not found at Destination
2025/03/13 07:07:56 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:07:56 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:07:59 ERROR : hello world2: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    sync_test.go:270: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:270
        	Error:      	Received unexpected error:
        	            	failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestCopyWithDepth
--- FAIL: TestCopyWithDepth (4.46s)
=== RUN   TestCopyWithFilesFrom
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:08:00 DEBUG : potato2: Need to transfer - File not found at Destination
2025/03/13 07:08:00 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:08:00 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:08:02 ERROR : potato2: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    sync_test.go:298: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:298
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:304
        	Error:      	Received unexpected error:
        	            	failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestCopyWithFilesFrom
--- FAIL: TestCopyWithFilesFrom (3.03s)
=== RUN   TestCopyWithFilesFromAndNoTraverse
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:08:03 DEBUG : potato2: Need to transfer - File not found at Destination
2025/03/13 07:08:03 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:08:03 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:08:06 INFO  : potato2: Copied (new)
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:08:07 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:08:08 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: TestCopyWithFilesFromAndNoTraverse (6.64s)
=== RUN   TestCopyEmptyDirectories
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:08:09 DEBUG : sub dir2/sub sub dir2: Making directory with metadata
2025/03/13 07:08:09 INFO  : sub dir2/sub sub dir2: Made directory with metadata (mtime=2011-12-25T12:59:59.123456789Z)
2025/03/13 07:08:09 INFO  : sub dir2: Set directory modification time (using DirSetModTime)
2025/03/13 07:08:09 INFO  : sub dir: Set directory modification time (using DirSetModTime)
2025/03/13 07:08:10 INFO  : sub dir: Making directory
2025/03/13 07:08:11 INFO  : sub dir2: Making directory
2025/03/13 07:08:12 INFO  : sub dir2/sub sub dir2: Making directory
2025/03/13 07:08:12 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination
2025/03/13 07:08:12 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:08:12 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:08:15 INFO  : sub dir/hello world: Copied (new)
    sync_test.go:325: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:325
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestCopyEmptyDirectories
--- FAIL: TestCopyEmptyDirectories (9.97s)
=== RUN   TestMoveEmptyDirectories
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:08:19 DEBUG : sub dir2: Making directory with metadata
2025/03/13 07:08:19 INFO  : sub dir2: Made directory with metadata (mtime=2011-12-25T12:59:59.123456789Z)
2025/03/13 07:08:20 INFO  : sub dir: Making directory
2025/03/13 07:08:21 INFO  : sub dir2: Making directory
2025/03/13 07:08:22 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination
2025/03/13 07:08:22 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:08:22 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:08:25 ERROR : sub dir/hello world: Failed to copy: failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:08:25 ERROR : sub dir/hello world: Not deleting source as copy failed: failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    sync_test.go:382: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:382
        	Error:      	Received unexpected error:
        	            	failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestMoveEmptyDirectories
2025/03/13 07:08:26 ERROR : sub dir: error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:382
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestMoveEmptyDirectories
--- FAIL: TestMoveEmptyDirectories (7.02s)
=== RUN   TestMoveNoEmptyDirectories
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:08:26 INFO  : sub dir2: Making directory
2025/03/13 07:08:27 ERROR : sub dir: error reading destination directory: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:08:27 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:08:27 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
    sync_test.go:453: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:453
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestMoveNoEmptyDirectories
2025/03/13 07:08:28 ERROR : sub dir: error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:453
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestMoveNoEmptyDirectories
--- FAIL: TestMoveNoEmptyDirectories (1.90s)
=== RUN   TestSyncEmptyDirectories
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:08:28 DEBUG : sub dir2: Making directory with metadata
2025/03/13 07:08:28 INFO  : sub dir2: Made directory with metadata (mtime=2011-12-25T12:59:59.123456789Z)
2025/03/13 07:08:28 INFO  : sub dir: Set directory modification time (using DirSetModTime)
2025/03/13 07:08:29 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination
2025/03/13 07:08:29 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:08:29 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:08:32 INFO  : sub dir/hello world: Copied (new)
2025/03/13 07:08:32 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting files as there were IO errors
2025/03/13 07:08:32 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting directories as there were IO errors
    sync_test.go:483: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:483
        	Error:      	Received unexpected error:
        	            	not deleting files as there were IO errors
        	Test:       	TestSyncEmptyDirectories
2025/03/13 07:08:32 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:483
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncEmptyDirectories
--- FAIL: TestSyncEmptyDirectories (4.19s)
=== RUN   TestSyncNoEmptyDirectories
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:08:32 INFO  : sub dir2: Making directory
2025/03/13 07:08:33 DEBUG : sub dir/hello world: Sizes identical
2025/03/13 07:08:33 DEBUG : sub dir/hello world: Unchanged skipping
2025/03/13 07:08:33 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:08:33 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:08:33 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting files as there were IO errors
2025/03/13 07:08:33 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting directories as there were IO errors
    sync_test.go:567: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:567
        	Error:      	Received unexpected error:
        	            	not deleting files as there were IO errors
        	Test:       	TestSyncNoEmptyDirectories
2025/03/13 07:08:35 ERROR : sub dir: error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:567
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncNoEmptyDirectories
--- FAIL: TestSyncNoEmptyDirectories (2.49s)
=== RUN   TestServerSideCopy
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "sub dir/hello world" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing file "sub dir/hello world" failed - try 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestServerSideCopy (5.85s)
=== RUN   TestCopyOverSelf
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "sub dir/hello world" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:08:43 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:604
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestCopyOverSelf
--- FAIL: TestCopyOverSelf (2.36s)
=== RUN   TestServerSideCopyOverSelf
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "sub dir/hello world" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:08: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/fs/sync/sync_test.go:620
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestServerSideCopyOverSelf
--- FAIL: TestServerSideCopyOverSelf (1.78s)
=== RUN   TestMoveOverSelf
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:08:51 DEBUG : sub dir/hello world: Sizes differ (src 17 vs dst 11)
2025/03/13 07:08:51 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:08:51 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:08:52 ERROR : sub dir/hello world: Failed to copy: failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:08:52 ERROR : sub dir/hello world: Not deleting source as copy failed: failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:08:52 NOTICE: sub dir/hello world: Failed to read metadata: failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    sync_test.go:655: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:655
        	Error:      	Received unexpected error:
        	            	failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestMoveOverSelf
    run.go:125: removing file "sub dir/hello world" failed - try 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "sub dir" failed - try 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "sub dir" failed - try 2/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:09: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: TestMoveOverSelf (17.00s)
=== RUN   TestServerSideMoveOverSelf
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "sub dir/hello world" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestServerSideMoveOverSelf (1.82s)
=== RUN   TestCopyAfterDelete
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "sub dir/hello world" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:09:05 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/fs/sync/sync_test.go:707
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestCopyAfterDelete
--- FAIL: TestCopyAfterDelete (1.58s)
=== RUN   TestCopyRedownload
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "sub dir/hello world" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestCopyRedownload (4.60s)
=== RUN   TestSyncBasedOnCheckSum
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:09:10 DEBUG : check sum: Need to transfer - File not found at Destination
2025/03/13 07:09:10 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:09:10 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:09:13 ERROR : check sum: Failed to copy: failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:09:13 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting files as there were IO errors
2025/03/13 07:09:13 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting directories as there were IO errors
    sync_test.go:754: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:754
        	Error:      	Received unexpected error:
        	            	failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncBasedOnCheckSum
--- FAIL: TestSyncBasedOnCheckSum (4.89s)
=== RUN   TestSyncSizeOnly
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:09:15 DEBUG : sizeonly: Need to transfer - File not found at Destination
2025/03/13 07:09:15 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:09:15 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:09:17 ERROR : sizeonly: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:09:17 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting files as there were IO errors
2025/03/13 07:09:17 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting directories as there were IO errors
    sync_test.go:792: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:792
        	Error:      	Received unexpected error:
        	            	failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncSizeOnly
--- FAIL: TestSyncSizeOnly (3.13s)
=== RUN   TestSyncIgnoreSize
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:09:18 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': error reading destination root directory: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:09:18 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:09:18 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:09:18 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting files as there were IO errors
2025/03/13 07:09:18 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting directories as there were IO errors
    sync_test.go:830: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:830
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncIgnoreSize
--- FAIL: TestSyncIgnoreSize (1.63s)
=== RUN   TestSyncIgnoreTimes
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "existing" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:09:21 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:303
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:857
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncIgnoreTimes
--- FAIL: TestSyncIgnoreTimes (1.56s)
=== RUN   TestSyncIgnoreExisting
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:09:21 DEBUG : existing: Need to transfer - File not found at Destination
2025/03/13 07:09:21 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:09:21 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:09:23 ERROR : existing: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:09:23 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting files as there were IO errors
2025/03/13 07:09:23 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting directories as there were IO errors
    sync_test.go:897: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:897
        	Error:      	Received unexpected error:
        	            	failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncIgnoreExisting
2025/03/13 07:09: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/src/github.com/rclone/rclone/fs/sync/sync_test.go:897
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncIgnoreExisting
--- FAIL: TestSyncIgnoreExisting (2.85s)
=== RUN   TestSyncIgnoreErrors
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "b/potato" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "b" failed - try 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestSyncIgnoreErrors (6.48s)
=== RUN   TestSyncAfterChangingModtimeOnly
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:09:33 ERROR : empty space: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:285: Failed to put "empty space" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestSyncAfterChangingModtimeOnly (4.32s)
=== RUN   TestSyncDoesntUpdateModtime
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    sync_test.go:1042: Can't run this test on fs which doesn't support mod time
2025/03/13 07:09: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:1121
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1097
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1042
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncDoesntUpdateModtime
--- FAIL: TestSyncDoesntUpdateModtime (0.67s)
=== RUN   TestSyncAfterAddingAFile
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "empty space" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:09:38 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: TestSyncAfterAddingAFile (2.88s)
=== RUN   TestSyncAfterChangingFilesSizeOnly
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "potato" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:09: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/fs/sync/sync_test.go:1085
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncAfterChangingFilesSizeOnly
--- FAIL: TestSyncAfterChangingFilesSizeOnly (1.05s)
=== RUN   TestSyncAfterChangingContentsOnly
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    sync_test.go:1106: ModTimeNotSupported so forcing file to be a different size
    run.go:285: Failed to put "potato" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestSyncAfterChangingContentsOnly (1.14s)
=== RUN   TestSyncAfterRemovingAFileAndAddingAFileDryRun
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:09:45 ERROR : empty space: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:285: Failed to put "empty space" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:09:48 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: TestSyncAfterRemovingAFileAndAddingAFileDryRun (7.34s)
=== RUN   TestSyncAfterRemovingAFileAndAddingAFile
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "potato" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestSyncAfterRemovingAFileAndAddingAFile (1.17s)
=== RUN   TestSyncAfterRemovingAFileAndAddingAFileSubDir
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "b/potato" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:09:54 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestSyncAfterRemovingAFileAndAddingAFileSubDir (5.00s)
=== RUN   TestSyncAfterRemovingAFileAndAddingAFileSubDirWithErrors
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "b/potato" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:09:56 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestSyncAfterRemovingAFileAndAddingAFileSubDirWithErrors (2.57s)
=== RUN   TestSyncDeleteDuring
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "potato" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestSyncDeleteDuring (1.81s)
=== RUN   TestSyncDeleteBefore
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:10:01 ERROR : potato: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:285: Failed to put "potato" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10: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: TestSyncDeleteBefore (4.33s)
=== RUN   TestCopyDeleteBefore
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "potato" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:05 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/fs/sync/sync_test.go:1337
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestCopyDeleteBefore
--- FAIL: TestCopyDeleteBefore (2.90s)
=== RUN   TestSyncWithExclude
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "potato2" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:06 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:303
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1356
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncWithExclude
--- FAIL: TestSyncWithExclude (1.07s)
=== RUN   TestSyncWithExcludeAndDeleteExcluded
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "empty space" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing file "potato2" failed - try 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestSyncWithExcludeAndDeleteExcluded (5.65s)
=== RUN   TestSyncWithTrackRenames
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    sync_test.go:1538: Can track renames: false
2025/03/13 07:10:12 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': Ignoring --track-renames as the source and destination do not have a common hash
2025/03/13 07:10:13 DEBUG : potato: Need to transfer - File not found at Destination
2025/03/13 07:10:13 DEBUG : yam: Need to transfer - File not found at Destination
2025/03/13 07:10:13 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:10:13 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:10:15 ERROR : yam: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:15 ERROR : potato: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:15 ERROR : potato: Failed to copy: failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:15 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting files as there were IO errors
2025/03/13 07:10:15 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting directories as there were IO errors
    sync_test.go:1545: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1545
        	Error:      	Received unexpected error:
        	            	failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncWithTrackRenames
2025/03/13 07:10:17 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: TestSyncWithTrackRenames (4.81s)
=== RUN   TestSyncWithTrackRenamesStrategyModtime
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    sync_test.go:1610: Can track renames: false
2025/03/13 07:10:17 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': Ignoring --track-renames as either the source or destination do not support modtime
2025/03/13 07:10:17 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': error reading destination root directory: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:17 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:10:17 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:10:17 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting files as there were IO errors
2025/03/13 07:10:17 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting directories as there were IO errors
    sync_test.go:1617: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1617
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncWithTrackRenamesStrategyModtime
2025/03/13 07:10:17 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/fs/sync/sync_test.go:1617
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncWithTrackRenamesStrategyModtime
--- FAIL: TestSyncWithTrackRenamesStrategyModtime (0.34s)
=== RUN   TestSyncWithTrackRenamesStrategyLeaf
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    sync_test.go:1649: Can track renames: false
2025/03/13 07:10:17 INFO  : sugarsync root 'Test/rclone-test-viwepic1qimi': Making map for --track-renames
2025/03/13 07:10:17 INFO  : sugarsync root 'Test/rclone-test-viwepic1qimi': Finished making map for --track-renames
2025/03/13 07:10:17 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:10:17 DEBUG : potato: Need to transfer - No matching file found at Destination
2025/03/13 07:10:17 DEBUG : yam: Need to transfer - No matching file found at Destination
2025/03/13 07:10:17 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for renames to finish
2025/03/13 07:10:17 DEBUG : sub/yam: Need to transfer - No matching file found at Destination
2025/03/13 07:10:17 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:10:18 ERROR : yam: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:18 ERROR : sub/yam: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:19 INFO  : potato: Copied (new)
2025/03/13 07:10:19 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting files as there were IO errors
2025/03/13 07:10:19 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting directories as there were IO errors
    sync_test.go:1656: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1656
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncWithTrackRenamesStrategyLeaf
--- FAIL: TestSyncWithTrackRenamesStrategyLeaf (4.37s)
=== RUN   TestServerSideMoveLocal
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:10:22 DEBUG : Creating backend with remote "/tmp/rclone61841960/dir1"
2025/03/13 07:10:22 DEBUG : Creating backend with remote "/tmp/rclone61841960/dir2"
2025/03/13 07:10:22 DEBUG : Local file system at /tmp/rclone61841960/dir2: Using server-side directory move
2025/03/13 07:10:22 INFO  : Local file system at /tmp/rclone61841960/dir2: Server side directory move failed - fallback to file moves: can't copy directory - destination already exists
2025/03/13 07:10:22 DEBUG : file1.txt: Need to transfer - File not found at Destination
2025/03/13 07:10:22 DEBUG : Local file system at /tmp/rclone61841960/dir2: Waiting for checks to finish
2025/03/13 07:10:22 DEBUG : Local file system at /tmp/rclone61841960/dir2: Waiting for transfers to finish
2025/03/13 07:10:22 INFO  : file1.txt: Moved (server-side)
--- PASS: TestServerSideMoveLocal (1.45s)
=== RUN   TestMoveWithDeleteEmptySrcDirs
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:10:24 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination
2025/03/13 07:10:24 DEBUG : nested/sub dir/file: Need to transfer - File not found at Destination
2025/03/13 07:10:24 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:10:24 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:10:24 ERROR : sub dir/hello world: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:24 ERROR : sub dir/hello world: Not deleting source as copy failed: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:25 ERROR : nested/sub dir/file: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:25 ERROR : nested/sub dir/file: Not deleting source as copy failed: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:25 ERROR : Local file system at /tmp/rclone61841960: not deleting directories as there were IO errors
    sync_test.go:1788: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1788
        	Error:      	Received unexpected error:
        	            	not deleting directories as there were IO errors
        	Test:       	TestMoveWithDeleteEmptySrcDirs
2025/03/13 07:10:25 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1788
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestMoveWithDeleteEmptySrcDirs
--- FAIL: TestMoveWithDeleteEmptySrcDirs (1.74s)
=== RUN   TestMoveWithoutDeleteEmptySrcDirs
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:10:25 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination
2025/03/13 07:10:25 DEBUG : nested/sub dir/file: Need to transfer - File not found at Destination
2025/03/13 07:10:25 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:10:25 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:10:26 ERROR : sub dir/hello world: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:26 ERROR : sub dir/hello world: Not deleting source as copy failed: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:30 INFO  : nested/sub dir/file: Copied (new)
2025/03/13 07:10:30 INFO  : nested/sub dir/file: Deleted
    sync_test.go:1808: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1808
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestMoveWithoutDeleteEmptySrcDirs
    run.go:125: removing dir "nested/sub dir" failed - try 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "nested/sub dir" failed - try 2/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "nested/sub dir" failed - try 3/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:128: removing dir "nested/sub dir" failed: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "nested" 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 "nested" failed - try 2/3: directory not empty
    run.go:125: removing dir "nested" failed - try 3/3: directory not empty
    run.go:128: removing dir "nested" failed: directory not empty
    fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3
    fstest.go:295: Flushing the directory cache
2025/03/13 07:10: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.
--- FAIL: TestMoveWithoutDeleteEmptySrcDirs (22.54s)
=== RUN   TestMoveWithIgnoreExisting
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:10:49 DEBUG : existing: Need to transfer - File not found at Destination
2025/03/13 07:10:49 DEBUG : existing-b: Need to transfer - File not found at Destination
2025/03/13 07:10:49 DEBUG : sub dir/hello world: Need to transfer - File not found at Destination
2025/03/13 07:10:51 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:10:51 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:10:52 ERROR : sub dir/hello world: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:52 ERROR : sub dir/hello world: Not deleting source as copy failed: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:52 ERROR : existing: Failed to copy: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:52 ERROR : existing: Not deleting source as copy failed: failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:52 ERROR : existing-b: Failed to copy: failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:52 ERROR : existing-b: Not deleting source as copy failed: failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    sync_test.go:1835: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1835
        	Error:      	Received unexpected error:
        	            	failed to get authorization: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestMoveWithIgnoreExisting
2025/03/13 07:10:53 ERROR : sub dir: error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:10:53 ERROR : nested/sub dir: error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1835
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestMoveWithIgnoreExisting
--- FAIL: TestMoveWithIgnoreExisting (6.07s)
=== RUN   TestServerSideMove
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:10:53 DEBUG : Creating backend with remote "TestSugarSync:Test/rclone-test-jariniq6nuqu"
    run.go:285: Failed to put "potato3" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:11:01 DEBUG : sugarsync root 'Test/rclone-test-jariniq6nuqu': Purge remote
2025/03/13 07:11:02 NOTICE: purge failed: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:11:04 ERROR : sub 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/fstest/run.go:303
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1696
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1881
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestServerSideMove
--- FAIL: TestServerSideMove (11.00s)
=== RUN   TestServerSideMoveWithFilter
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:11:04 DEBUG : Creating backend with remote "TestSugarSync:Test/rclone-test-wideqes9ciga"
    run.go:285: Failed to put "potato2" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:11:08 DEBUG : sugarsync root 'Test/rclone-test-wideqes9ciga': Purge remote
2025/03/13 07:11:09 NOTICE: purge failed: directory not found
2025/03/13 07:11:10 ERROR : sub dir: error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:11:10 ERROR : nested/sub 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/fstest/run.go:303
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1694
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1894
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestServerSideMoveWithFilter
--- FAIL: TestServerSideMoveWithFilter (5.98s)
=== RUN   TestServerSideMoveDeleteEmptySourceDirs
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:11:10 DEBUG : Creating backend with remote "TestSugarSync:Test/rclone-test-yopusil1sojo"
    run.go:285: Failed to put "empty space" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:11:15 DEBUG : sugarsync root 'Test/rclone-test-yopusil1sojo': Purge remote
2025/03/13 07:11:16 NOTICE: purge failed: directory not found
2025/03/13 07:11:19 ERROR : nested/sub 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/fstest/run.go:303
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1695
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1901
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestServerSideMoveDeleteEmptySourceDirs
--- FAIL: TestServerSideMoveDeleteEmptySourceDirs (8.16s)
=== RUN   TestServerSideMoveOverlap
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    sync_test.go:1910: Skipping test as remote supports DirMove
2025/03/13 07:11:20 ERROR : nested/sub 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:1121
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1097
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1910
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestServerSideMoveOverlap
--- FAIL: TestServerSideMoveOverlap (1.65s)
=== RUN   TestSyncOverlap
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:11:20 DEBUG : Creating backend with remote "TestSugarSync:Test/rclone-test-viwepic1qimi/rclone-sync-test"
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:11:22 ERROR : sub dir: error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:11:22 ERROR : nested/sub 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
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncOverlap
2025/03/13 07:11:23 ERROR : sub 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:1338
        	            				/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/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:       	TestSyncOverlap
    run.go:125: removing dir "nested/sub dir" failed - try 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "nested/sub dir" failed - try 2/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "nested/sub 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 "nested/sub dir" failed: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "nested" failed - try 1/3: directory not empty
    run.go:125: removing dir "nested" failed - try 2/3: directory not empty
    run.go:125: removing dir "nested" failed - try 3/3: directory not empty
    run.go:128: removing dir "nested" failed: directory not empty
    fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3
    fstest.go:295: Flushing the directory cache
    fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3
    fstest.go:295: Flushing the directory cache
2025/03/13 07:11:47 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "nested/sub 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 "nested/sub dir" failed - try 2/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "nested/sub 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 "nested/sub dir" failed: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "nested" failed - try 1/3: directory not empty
    run.go:125: removing dir "nested" failed - try 2/3: directory not empty
    run.go:125: removing dir "nested" 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 "nested" 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/13 07:12:03 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:12: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:1338
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:276
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:173
        	            				/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:1338
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:276
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:173
        	            				/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:1338
        	            				/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/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:1338
        	            				/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/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:       	TestSyncOverlap
--- FAIL: TestSyncOverlap (42.55s)
=== RUN   TestSyncOverlapWithFilter
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:12:03 DEBUG : Creating backend with remote "TestSugarSync:Test/rclone-test-viwepic1qimi/rclone-sync-test"
    sync_test.go:1981: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:1981
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncOverlapWithFilter
--- FAIL: TestSyncOverlapWithFilter (8.67s)
=== RUN   TestSyncCompareDest
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:12:11 DEBUG : Creating backend with remote "TestSugarSync:Test/rclone-test-viwepic1qimi/dst"
2025/03/13 07:12:12 DEBUG : Creating backend with remote "TestSugarSync:Test/rclone-test-viwepic1qimi/CompareDest"
    sync_test.go:2085: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2085
        	Error:      	Received unexpected error:
        	            	failed to make fs for --compare-dest ["TestSugarSync:Test/rclone-test-viwepic1qimi/CompareDest"]: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncCompareDest
--- FAIL: TestSyncCompareDest (6.32s)
=== RUN   TestSyncMultipleCompareDest
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "pre-dest1/1" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestSyncMultipleCompareDest (3.09s)
=== RUN   TestSyncCopyDest
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:12:21 DEBUG : Creating backend with remote "TestSugarSync:Test/rclone-test-viwepic1qimi/dst"
2025/03/13 07:12:22 DEBUG : Creating backend with remote "TestSugarSync:Test/rclone-test-viwepic1qimi/CopyDest"
2025/03/13 07:12:28 DEBUG : one: Need to transfer - File not found at Destination
2025/03/13 07:12:28 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi/dst': Waiting for checks to finish
2025/03/13 07:12:28 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi/dst': Waiting for transfers to finish
2025/03/13 07:12:31 ERROR : one: Failed to copy: failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:12:31 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi/dst': not deleting files as there were IO errors
2025/03/13 07:12:31 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi/dst': not deleting directories as there were IO errors
    sync_test.go:2251: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2251
        	Error:      	Received unexpected error:
        	            	failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncCopyDest
2025/03/13 07:12:31 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2251
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncCopyDest
--- FAIL: TestSyncCopyDest (10.55s)
=== RUN   TestSyncBackupDir
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "dst/one" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:12:34 ERROR : dst: 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/fs/sync/sync_test.go:2371
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2427
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncBackupDir
--- FAIL: TestSyncBackupDir (2.51s)
=== RUN   TestSyncBackupDirWithSuffix
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "dst/one" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestSyncBackupDirWithSuffix (4.70s)
=== RUN   TestSyncBackupDirWithSuffixKeepExtension
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "dst/one" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:12:43 ERROR : dst: 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/fs/sync/sync_test.go:2371
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2435
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncBackupDirWithSuffixKeepExtension
--- FAIL: TestSyncBackupDirWithSuffixKeepExtension (4.38s)
=== RUN   TestSyncBackupDirSuffixOnly
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:12:47 ERROR : dst/two: failed to remove failed upload: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:285: Failed to put "dst/two" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to upload file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:12:48 ERROR : dst: 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/fs/sync/sync_test.go:2372
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2439
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncBackupDirSuffixOnly
--- FAIL: TestSyncBackupDirSuffixOnly (4.72s)
=== RUN   TestSyncSuffix
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "dst/three.txt" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:125: removing dir "dst" failed - try 1/3: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestSyncSuffix (11.24s)
=== RUN   TestSyncSuffixKeepExtension
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "dst/one" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestSyncSuffixKeepExtension (2.34s)
=== RUN   TestSyncUTFNorm
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "Testêé" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:13:02 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    run.go:164: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:164
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:388
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1176
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1354
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1684
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:629
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1006
        	            				/home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1090
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:285
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:292
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2544
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncUTFNorm
--- FAIL: TestSyncUTFNorm (0.85s)
=== RUN   TestSyncImmutable
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3
    fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3
    fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3
    fstest.go:299: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:334
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2571
        	Error:      	Should be true
        	Test:       	TestSyncImmutable
        	Messages:   	listing wrong, want
        	            	  existing (6) got
        	            	  Testêé (14), existing (6)
    fstest.go:185: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:334
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2571
        	Error:      	Should be true
        	Test:       	TestSyncImmutable
        	Messages:   	Unexpected file "Testêé"
2025/03/13 07:13:10 DEBUG : existing: Need to transfer - File not found at Destination
2025/03/13 07:13:10 DEBUG : Testêé: Need to transfer - File not found at Destination
2025/03/13 07:13:10 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for checks to finish
2025/03/13 07:13:10 DEBUG : sugarsync root 'Test/rclone-test-viwepic1qimi': Waiting for transfers to finish
2025/03/13 07:13:11 ERROR : existing: Failed to copy: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:13:12 INFO  : Testêé: Copied (new)
2025/03/13 07:13:12 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting files as there were IO errors
2025/03/13 07:13:12 ERROR : sugarsync root 'Test/rclone-test-viwepic1qimi': not deleting directories as there were IO errors
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    sync_test.go:2579: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2579
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncImmutable
--- FAIL: TestSyncImmutable (13.67s)
=== RUN   TestSyncIgnoreCase
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    sync_test.go:2606: Skipping test as local or remote are case-insensitive
--- SKIP: TestSyncIgnoreCase (1.48s)
=== RUN   TestFixCase
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "EXISTING" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:13:18 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/fs/sync/sync_test.go:2646
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestFixCase
--- FAIL: TestFixCase (0.85s)
=== RUN   TestSyncConcurrentDelete
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "both0" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
2025/03/13 07:13:20 ERROR : : error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
    fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestSyncConcurrentDelete (1.82s)
=== RUN   TestSyncConcurrentTruncate
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    run.go:285: Failed to put "both0" to "sugarsync root 'Test/rclone-test-viwepic1qimi'": failed to create file: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestSyncConcurrentTruncate (1.84s)
=== RUN   TestSyncReplaceDirModTime
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:13:22 DEBUG : empty_dir: Making directory with metadata
2025/03/13 07:13:22 INFO  : empty_dir: Made directory with metadata (mtime=2011-12-25T12:59:59.123456789Z)
2025/03/13 07:13:22 DEBUG : empty_on_remote: Making directory with metadata
2025/03/13 07:13:22 INFO  : empty_on_remote: Made directory with metadata (mtime=2011-12-25T12:59:59.123456789Z)
2025/03/13 07:13:22 INFO  : empty_on_remote: Making directory
    sync_test.go:2783: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2783
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2833
        	Error:      	Received unexpected error:
        	            	failed to make directory: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncReplaceDirModTime
--- FAIL: TestSyncReplaceDirModTime (2.37s)
=== RUN   TestSyncReplaceDirModTimeWithEmptyDirs
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
2025/03/13 07:13:24 DEBUG : empty_dir: Making directory with metadata
2025/03/13 07:13:24 INFO  : empty_dir: Made directory with metadata (mtime=2011-12-25T12:59:59.123456789Z)
2025/03/13 07:13:24 DEBUG : empty_on_remote: Making directory with metadata
2025/03/13 07:13:24 INFO  : empty_on_remote: Made directory with metadata (mtime=2011-12-25T12:59:59.123456789Z)
2025/03/13 07:13:24 INFO  : empty_on_remote: Making directory
2025/03/13 07:13:26 INFO  : empty_on_remote: Made directory with modification time 2011-12-25 12:59:59.123456789 +0000 UTC
    sync_test.go:2797: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2797
        	            				/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bilib/output.go:18
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2795
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2837
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncReplaceDirModTimeWithEmptyDirs
    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/fs/sync/sync_test.go:2797
        	            				/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bilib/output.go:18
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2795
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2837
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestSyncReplaceDirModTimeWithEmptyDirs
--- FAIL: TestSyncReplaceDirModTimeWithEmptyDirs (2.71s)
=== RUN   TestNothingToTransferWithEmptyDirs
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3
    fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3
    fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3
    fstest.go:299: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:334
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2848
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2946
        	Error:      	Should be true
        	Test:       	TestNothingToTransferWithEmptyDirs
        	Messages:   	listing wrong, want
        	            	  sub dir/hello world (11), sub dir2/very/very/very/very/very/nested/subdir/hello world (11) got
        	            	  file1 (5), sub dir/hello world (11), sub dir2/very/very/very/very/very/nested/subdir/hello world (11), test_dir1/file2 (5), test_dir2/sub_dir/file3 (5)
    fstest.go:185: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:334
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2848
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2946
        	Error:      	Should be true
        	Test:       	TestNothingToTransferWithEmptyDirs
        	Messages:   	Unexpected file "file1"
    fstest.go:185: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:334
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2848
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2946
        	Error:      	Should be true
        	Test:       	TestNothingToTransferWithEmptyDirs
        	Messages:   	Unexpected file "test_dir2/sub_dir/file3"
    fstest.go:185: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344
        	            				/home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:334
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2848
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2946
        	Error:      	Should be true
        	Test:       	TestNothingToTransferWithEmptyDirs
        	Messages:   	Unexpected file "test_dir1/file2"
    sync_test.go:2855: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2855
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2946
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestNothingToTransferWithEmptyDirs
    run.go:125: removing dir "empty_on_remote" failed - try 1/3: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestNothingToTransferWithEmptyDirs (11.00s)
=== RUN   TestNothingToTransferWithoutEmptyDirs
    run.go:180: Remote "sugarsync root 'Test/rclone-test-viwepic1qimi'", Local "Local file system at /tmp/rclone61841960", Modify Window "876000h0m0s"
    sync_test.go:2868: 
        	Error Trace:	/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2868
        	            				/home/rclone/go/src/github.com/rclone/rclone/cmd/bisync/bilib/output.go:18
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2866
        	            				/home/rclone/go/src/github.com/rclone/rclone/fs/sync/sync_test.go:2950
        	Error:      	Received unexpected error:
        	            	couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
        	Test:       	TestNothingToTransferWithoutEmptyDirs
    fstest.go:276: Error listing: couldn't list files: HTTP error 401 (401 Unauthorized): Auth token expired. Please re-obtain token.
--- FAIL: TestNothingToTransferWithoutEmptyDirs (5.23s)
FAIL
"./sync.test -test.v -test.timeout 1h0m0s -remote TestSugarSync:Test -verbose -test.run '^(TestCopy|TestCopyAfterDelete|TestCopyCheckFirst|TestCopyDeleteBefore|TestCopyEmptyDirectories|TestCopyNoTraverse|TestCopyOverSelf|TestCopyRedownload|TestCopyWithDepth|TestCopyWithDryRun|TestCopyWithFilesFrom|TestCopyWithFilesFromAndNoTraverse|TestFixCase|TestMoveEmptyDirectories|TestMoveNoEmptyDirectories|TestMoveOverSelf|TestMoveWithDeleteEmptySrcDirs|TestMoveWithIgnoreExisting|TestMoveWithoutDeleteEmptySrcDirs|TestNothingToTransferWithEmptyDirs|TestNothingToTransferWithoutEmptyDirs|TestServerSideCopy|TestServerSideCopyOverSelf|TestServerSideMove|TestServerSideMoveDeleteEmptySourceDirs|TestServerSideMoveLocal|TestServerSideMoveOverSelf|TestServerSideMoveOverlap|TestServerSideMoveWithFilter|TestSyncAfterAddingAFile|TestSyncAfterChangingContentsOnly|TestSyncAfterChangingFilesSizeOnly|TestSyncAfterChangingModtimeOnly|TestSyncAfterRemovingAFileAndAddingAFile|TestSyncAfterRemovingAFileAndAddingAFileDryRun|TestSyncAfterRemovingAFileAndAddingAFileSubDir|TestSyncAfterRemovingAFileAndAddingAFileSubDirWithErrors|TestSyncBackupDir|TestSyncBackupDirSuffixOnly|TestSyncBackupDirWithSuffix|TestSyncBackupDirWithSuffixKeepExtension|TestSyncBasedOnCheckSum|TestSyncCompareDest|TestSyncConcurrentDelete|TestSyncConcurrentTruncate|TestSyncCopyDest|TestSyncDeleteBefore|TestSyncDeleteDuring|TestSyncDoesntUpdateModtime|TestSyncEmptyDirectories|TestSyncIgnoreCase|TestSyncIgnoreErrors|TestSyncIgnoreExisting|TestSyncIgnoreSize|TestSyncIgnoreTimes|TestSyncImmutable|TestSyncMultipleCompareDest|TestSyncNoEmptyDirectories|TestSyncNoTraverse|TestSyncOverlap|TestSyncOverlapWithFilter|TestSyncReplaceDirModTime|TestSyncReplaceDirModTimeWithEmptyDirs|TestSyncSizeOnly|TestSyncSuffix|TestSyncSuffixKeepExtension|TestSyncUTFNorm|TestSyncWithExclude|TestSyncWithExcludeAndDeleteExcluded|TestSyncWithTrackRenames|TestSyncWithTrackRenamesStrategyLeaf|TestSyncWithTrackRenamesStrategyModtime)$'" - Finished ERROR in 5m59.070714246s (try 5/5): exit status 1: Failed [TestCopyWithDryRun TestCopy TestCopyNoTraverse TestCopyCheckFirst TestSyncNoTraverse TestCopyWithDepth TestCopyWithFilesFrom TestCopyWithFilesFromAndNoTraverse TestCopyEmptyDirectories TestMoveEmptyDirectories TestMoveNoEmptyDirectories TestSyncEmptyDirectories TestSyncNoEmptyDirectories TestServerSideCopy TestCopyOverSelf TestServerSideCopyOverSelf TestMoveOverSelf TestServerSideMoveOverSelf TestCopyAfterDelete TestCopyRedownload TestSyncBasedOnCheckSum TestSyncSizeOnly TestSyncIgnoreSize TestSyncIgnoreTimes TestSyncIgnoreExisting TestSyncIgnoreErrors TestSyncAfterChangingModtimeOnly TestSyncDoesntUpdateModtime TestSyncAfterAddingAFile TestSyncAfterChangingFilesSizeOnly TestSyncAfterChangingContentsOnly TestSyncAfterRemovingAFileAndAddingAFileDryRun TestSyncAfterRemovingAFileAndAddingAFile TestSyncAfterRemovingAFileAndAddingAFileSubDir TestSyncAfterRemovingAFileAndAddingAFileSubDirWithErrors TestSyncDeleteDuring TestSyncDeleteBefore TestCopyDeleteBefore TestSyncWithExclude TestSyncWithExcludeAndDeleteExcluded TestSyncWithTrackRenames TestSyncWithTrackRenamesStrategyModtime TestSyncWithTrackRenamesStrategyLeaf TestMoveWithDeleteEmptySrcDirs TestMoveWithoutDeleteEmptySrcDirs TestMoveWithIgnoreExisting TestServerSideMove TestServerSideMoveWithFilter TestServerSideMoveDeleteEmptySourceDirs TestServerSideMoveOverlap TestSyncOverlap TestSyncOverlapWithFilter TestSyncCompareDest TestSyncMultipleCompareDest TestSyncCopyDest TestSyncBackupDir TestSyncBackupDirWithSuffix TestSyncBackupDirWithSuffixKeepExtension TestSyncBackupDirSuffixOnly TestSyncSuffix TestSyncSuffixKeepExtension TestSyncUTFNorm TestSyncImmutable TestFixCase TestSyncConcurrentDelete TestSyncConcurrentTruncate TestSyncReplaceDirModTime TestSyncReplaceDirModTimeWithEmptyDirs TestNothingToTransferWithEmptyDirs TestNothingToTransferWithoutEmptyDirs]