"./vfs.test -test.v -test.timeout 1h0m0s -remote TestPikPak: -verbose -test.run '^(TestFileReadAtNonZeroLength|TestRWFileHandleSizeCreateExisting)$'" - Starting (try 2/5) 2025/06/23 04:19:09 DEBUG : Creating backend with remote "TestPikPak:rclone-test-yehatoc4yate" 2025/06/23 04:19:09 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/06/23 04:19:11 DEBUG : Creating backend with remote "/tmp/rclone2596957446" === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "PikPak root 'rclone-test-yehatoc4yate'", Local "Local file system at /tmp/rclone2596957446", Modify Window "876000h0m0s" 2025/06/23 04:19:11 INFO : PikPak root 'rclone-test-yehatoc4yate': poll-interval is not supported by this remote 2025/06/23 04:19:11 DEBUG : PikPak root 'rclone-test-yehatoc4yate': vfs cache: root is "/home/rclone/.cache/rclone" 2025/06/23 04:19:11 DEBUG : PikPak root 'rclone-test-yehatoc4yate': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestPikPak/rclone-test-yehatoc4yate" 2025/06/23 04:19:11 DEBUG : PikPak root 'rclone-test-yehatoc4yate': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestPikPak/rclone-test-yehatoc4yate" 2025/06/23 04:19:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestPikPak/rclone-test-yehatoc4yate" 2025/06/23 04:19:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/06/23 04:19:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestPikPak/rclone-test-yehatoc4yate" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestPikPak/rclone-test-yehatoc4yate" 2025/06/23 04:19:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestPikPak/rclone-test-yehatoc4yate" 2025/06/23 04:19:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/06/23 04:19:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestPikPak/rclone-test-yehatoc4yate" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestPikPak/rclone-test-yehatoc4yate" 2025/06/23 04:19:11 INFO : PikPak root 'rclone-test-yehatoc4yate': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/06/23 04:19:12 DEBUG : dir/file1: calculating gcid: failed to unwrap object from src: dir/file1 2025/06/23 04:19:12 DEBUG : dir/file1: gcid = 75291f3a188a427f873fb88fbc37ce5ce150d01c 2025/06/23 04:19:13 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/06/23 04:19:14 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2025/06/23 04:19:14 DEBUG : dir/file1: newRWFileHandle: 2025/06/23 04:19:14 DEBUG : dir/file1: >newRWFileHandle: err= 2025/06/23 04:19:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/06/23 04:19:14 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/06/23 04:19:14 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/06/23 04:19:14 DEBUG : dir/file1(0xc0004805c0): _writeAt: size=5, off=0 2025/06/23 04:19:14 DEBUG : dir/file1(0xc0004805c0): openPending: 2025/06/23 04:19:14 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16," against cached fingerprint "" 2025/06/23 04:19:14 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/06/23 04:19:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/06/23 04:19:14 DEBUG : dir/file1(0xc0004805c0): >openPending: err= 2025/06/23 04:19:14 DEBUG : dir/file1(0xc0004805c0): >_writeAt: n=5, err= 2025/06/23 04:19:14 DEBUG : dir/file1(0xc0004805c0): _writeAt: size=15, off=5 2025/06/23 04:19:14 DEBUG : dir/file1(0xc0004805c0): >_writeAt: n=15, err= 2025/06/23 04:19:14 DEBUG : dir/file1(0xc0004805c0): close: 2025/06/23 04:19:14 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2025/06/23 04:19:14 DEBUG : dir/file1: vfs cache: setting modification time to 2025-06-23 04:19:14.340784 +0000 UTC m=+4.886189457 2025/06/23 04:19:14 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/06/23 04:19:14 DEBUG : dir/file1(0xc0004805c0): >close: err= 2025/06/23 04:19:14 DEBUG : WaitForWriters: timeout=30s 2025/06/23 04:19:14 DEBUG : dir: Looking for writers 2025/06/23 04:19:14 DEBUG : file1: reading active writers 2025/06/23 04:19:14 DEBUG : Looking for writers 2025/06/23 04:19:14 DEBUG : dir: reading active writers 2025/06/23 04:19:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/06/23 04:19:14 DEBUG : dir: Looking for writers 2025/06/23 04:19:14 DEBUG : file1: reading active writers 2025/06/23 04:19:14 DEBUG : Looking for writers 2025/06/23 04:19:14 DEBUG : dir: reading active writers 2025/06/23 04:19:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/06/23 04:19:14 DEBUG : dir: Looking for writers 2025/06/23 04:19:14 DEBUG : file1: reading active writers 2025/06/23 04:19:14 DEBUG : Looking for writers 2025/06/23 04:19:14 DEBUG : dir: reading active writers 2025/06/23 04:19:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/06/23 04:19:14 DEBUG : dir: Looking for writers 2025/06/23 04:19:14 DEBUG : file1: reading active writers 2025/06/23 04:19:14 DEBUG : Looking for writers 2025/06/23 04:19:14 DEBUG : dir: reading active writers 2025/06/23 04:19:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/06/23 04:19:14 DEBUG : dir/file1: vfs cache: starting upload 2025/06/23 04:19:14 DEBUG : dir: Looking for writers 2025/06/23 04:19:14 DEBUG : file1: reading active writers 2025/06/23 04:19:14 DEBUG : Looking for writers 2025/06/23 04:19:14 DEBUG : dir: reading active writers 2025/06/23 04:19:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/06/23 04:19:14 DEBUG : dir: Looking for writers 2025/06/23 04:19:14 DEBUG : file1: reading active writers 2025/06/23 04:19:14 DEBUG : Looking for writers 2025/06/23 04:19:14 DEBUG : dir: reading active writers 2025/06/23 04:19:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/06/23 04:19:14 DEBUG : dir/file1: gcid = FA3634229F66BAD82541578416ED782ADDC5E45B 2025/06/23 04:19:14 DEBUG : dir: Looking for writers 2025/06/23 04:19:14 DEBUG : file1: reading active writers 2025/06/23 04:19:14 DEBUG : Looking for writers 2025/06/23 04:19:14 DEBUG : dir: reading active writers 2025/06/23 04:19:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/06/23 04:19:15 DEBUG : dir: Looking for writers 2025/06/23 04:19:15 DEBUG : file1: reading active writers 2025/06/23 04:19:15 DEBUG : Looking for writers 2025/06/23 04:19:15 DEBUG : dir: reading active writers 2025/06/23 04:19:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/06/23 04:19:16 DEBUG : dir/file1: Dst hash empty - aborting Src hash check 2025/06/23 04:19:16 INFO : dir/file1: Copied (replaced existing) 2025/06/23 04:19:16 DEBUG : dir/file1: vfs cache: fingerprint now "20," 2025/06/23 04:19:16 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/06/23 04:19:16 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/06/23 04:19:16 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/06/23 04:19:16 DEBUG : dir: Looking for writers 2025/06/23 04:19:16 DEBUG : file1: reading active writers 2025/06/23 04:19:16 DEBUG : Looking for writers 2025/06/23 04:19:16 DEBUG : dir: reading active writers 2025/06/23 04:19:16 DEBUG : >WaitForWriters: 2025/06/23 04:19:16 DEBUG : PikPak root 'rclone-test-yehatoc4yate': vfs cache: cleaner exiting 2025/06/23 04:19:18 DEBUG : dir: Rmdir: contains trashed file: "file1" 2025/06/23 04:19:18 DEBUG : dir: Rmdir: contains trashed file: "file1" --- PASS: TestRWFileHandleSizeCreateExisting (9.05s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "PikPak root 'rclone-test-yehatoc4yate'", Local "Local file system at /tmp/rclone2596957446", Modify Window "876000h0m0s" 2025/06/23 04:19:20 INFO : PikPak root 'rclone-test-yehatoc4yate': poll-interval is not supported by this remote 2025/06/23 04:19:20 NOTICE: PikPak root 'rclone-test-yehatoc4yate': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/06/23 04:19:20 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/06/23 04:19:20 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/06/23 04:19:20 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/23 04:19:20 DEBUG : file1: >Open: fd=file1 (w), err= 2025/06/23 04:19:20 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/06/23 04:19:20 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/06/23 04:19:20 DEBUG : PikPak root 'rclone-test-yehatoc4yate': File to upload is small (100 bytes), uploading instead of streaming 2025/06/23 04:19:20 DEBUG : file1: calculating gcid: failed to unwrap object from src: file1 2025/06/23 04:19:20 DEBUG : file1: gcid = 082c6b71e0796fddd46ec27eda43e13f2bf1769a 2025/06/23 04:19:22 DEBUG : file1: canceling upload: failed to upload: operation error S3: PutObject, https response error StatusCode: 400, RequestID: 6858D5CA3D643B3731D108E8, HostID: vip-lixian-07.mypikpak.com, api error InvalidArgument: aws-chunked encoding is not supported with the specified x-amz-content-sha256 value. 2025/06/23 04:19:23 DEBUG : file1: waiting 500ms for the cancellation to be effective 2025/06/23 04:19:24 ERROR : file1: WriteFileHandle.New Rcat failed: failed to upload: operation error S3: PutObject, https response error StatusCode: 400, RequestID: 6858D5CA3D643B3731D108E8, HostID: vip-lixian-07.mypikpak.com, api error InvalidArgument: aws-chunked encoding is not supported with the specified x-amz-content-sha256 value. 2025/06/23 04:19:24 DEBUG : file1: Remove: 2025/06/23 04:19:24 DEBUG : Added virtual directory entry vDel: "file1" 2025/06/23 04:19:24 DEBUG : file1: >Remove: err= write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: failed to upload: operation error S3: PutObject, https response error StatusCode: 400, RequestID: 6858D5CA3D643B3731D108E8, HostID: vip-lixian-07.mypikpak.com, api error InvalidArgument: aws-chunked encoding is not supported with the specified x-amz-content-sha256 value. Test: TestFileReadAtNonZeroLength 2025/06/23 04:19:24 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/06/23 04:19:24 DEBUG : file1: >OpenFile: fd=, err=file does not exist write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: file does not exist Test: TestFileReadAtNonZeroLength 2025/06/23 04:19:24 DEBUG : WaitForWriters: timeout=30s 2025/06/23 04:19:24 DEBUG : Looking for writers 2025/06/23 04:19:24 DEBUG : >WaitForWriters: 2025/06/23 04:19:26 DEBUG : Saving config "captcha_token" in section "TestPikPak" of the config file --- FAIL: TestFileReadAtNonZeroLength (6.17s) FAIL 2025/06/23 04:19:26 DEBUG : PikPak root 'rclone-test-yehatoc4yate': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestPikPak: -verbose -test.run '^(TestFileReadAtNonZeroLength|TestRWFileHandleSizeCreateExisting)$'" - Finished ERROR in 18.003588081s (try 2/5): exit status 1: Failed [TestFileReadAtNonZeroLength]