"./operations.test -test.v -test.timeout 2h0m0s -remote TestDrime: -verbose -test.run '^(TestCheckSumDownload|TestCopyFileCompareDest|TestCopyFileCopyDest|TestDirMove|TestMaxDelete|TestMaxDeleteSize|TestParseSumFile|TestRemoveExisting|TestRmdirsNoLeaveRoot)$'" - Starting (try 4/5) 2026/04/29 01:39:18 DEBUG : Creating backend with remote "TestDrime:rclone-test-yititaw3mapo" 2026/04/29 01:39:18 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/04/29 01:39:19 DEBUG : Creating backend with remote "/tmp/rclone3790591339" === RUN TestParseSumFile run.go:185: Remote "drime root 'rclone-test-yititaw3mapo'", Local "Local file system at /tmp/rclone3790591339", Modify Window "876000h0m0s" fstest.go:542: Sleeping for 1s for findObject eventual consistency: 1/3 (object not found) 2026/04/29 01:39:22 NOTICE: test.sum: improperly formatted checksum line 4 2026/04/29 01:39:22 NOTICE: test.sum: improperly formatted checksum line 5 2026/04/29 01:39:22 NOTICE: test.sum: improperly formatted checksum line 6 2026/04/29 01:39:22 NOTICE: test.sum: 2 warning(s) suppressed... 2026/04/29 01:39:22 DEBUG : test.sum: Removing old object on successful upload run.go:290: Failed to put "test.sum" to "drime root 'rclone-test-yititaw3mapo'": failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- FAIL: TestParseSumFile (11.87s) === RUN TestCheckSumDownload run.go:185: Remote "drime root 'rclone-test-yititaw3mapo'", Local "Local file system at /tmp/rclone3790591339", Modify Window "876000h0m0s" 2026/04/29 01:39:31 DEBUG : Creating backend with remote "TestDrime:rclone-test-yititaw3mapo/data" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure === RUN TestCheckSumDownload/subtest1 2026/04/29 01:39:45 DEBUG : test.sum: Removing old object on successful upload === NAME TestCheckSumDownload run.go:290: Failed to put "test.sum" to "drime root 'rclone-test-yititaw3mapo'": failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." --- FAIL: TestCheckSumDownload (22.42s) --- PASS: TestCheckSumDownload/subtest1 (1.92s) === RUN TestCopyFileCompareDest run.go:185: Remote "drime root 'rclone-test-yititaw3mapo'", Local "Local file system at /tmp/rclone3790591339", Modify Window "876000h0m0s" 2026/04/29 01:39:53 DEBUG : Creating backend with remote "TestDrime:rclone-test-yititaw3mapo/dst" 2026/04/29 01:39:53 DEBUG : Config file has changed externally - reloading 2026/04/29 01:39:54 DEBUG : Creating backend with remote "TestDrime:rclone-test-yititaw3mapo/CompareDest" 2026/04/29 01:39:56 DEBUG : one: Need to transfer - File not found at Destination 2026/04/29 01:39:57 DEBUG : one: size = 3 OK 2026/04/29 01:39:57 INFO : one: Copied (new) 2026/04/29 01:39:58 DEBUG : one: size = 5 (Local file system at /tmp/rclone3790591339) 2026/04/29 01:39:58 DEBUG : one: size = 3 (drime root 'rclone-test-yititaw3mapo/dst') 2026/04/29 01:39:58 DEBUG : one: Sizes differ 2026/04/29 01:39:59 DEBUG : one: Removing old object on successful upload 2026/04/29 01:39:59 ERROR : one: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." copy_test.go:220: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/copy_test.go:220 Error: Received unexpected error: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." Test: TestCopyFileCompareDest run.go:130: removing dir "dst" failed - try 1/3: directory not empty --- FAIL: TestCopyFileCompareDest (8.66s) === RUN TestCopyFileCopyDest run.go:185: Remote "drime root 'rclone-test-yititaw3mapo'", Local "Local file system at /tmp/rclone3790591339", Modify Window "876000h0m0s" 2026/04/29 01:40:02 DEBUG : Creating backend with remote "TestDrime:rclone-test-yititaw3mapo/dst" 2026/04/29 01:40:03 DEBUG : Creating backend with remote "TestDrime:rclone-test-yititaw3mapo/CopyDest" 2026/04/29 01:40:05 DEBUG : one: Need to transfer - File not found at Destination 2026/04/29 01:40:06 DEBUG : one: size = 3 OK 2026/04/29 01:40:06 INFO : one: Copied (new) 2026/04/29 01:40:07 DEBUG : one: size = 5 (Local file system at /tmp/rclone3790591339) 2026/04/29 01:40:07 DEBUG : one: size = 3 (drime root 'rclone-test-yititaw3mapo/dst') 2026/04/29 01:40:07 DEBUG : one: Sizes differ 2026/04/29 01:40:08 DEBUG : one: Removing old object on successful upload 2026/04/29 01:40:08 ERROR : one: Failed to copy: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." copy_test.go:303: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/copy_test.go:303 Error: Received unexpected error: failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." Test: TestCopyFileCopyDest run.go:130: removing dir "dst" failed - try 1/3: directory not empty --- FAIL: TestCopyFileCopyDest (8.64s) === RUN TestMaxDelete run.go:185: Remote "drime root 'rclone-test-yititaw3mapo'", Local "Local file system at /tmp/rclone3790591339", Modify Window "876000h0m0s" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure 2026/04/29 01:40:20 DEBUG : Waiting for deletions to finish 2026/04/29 01:40:20 ERROR : small: Got fatal error on delete: --max-delete threshold reached 2026/04/29 01:40:21 INFO : large: Deleted 2026/04/29 01:40:21 INFO : medium: Deleted operations_test.go:453: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:453 Error: Not equal: expected: 1 actual : 3 Test: TestMaxDelete run.go:130: removing file "large" failed - try 1/3: failed to delete item: Error "The selected entry ids is invalid." run.go:130: removing file "large" failed - try 2/3: failed to delete item: Error "The selected entry ids is invalid." run.go:130: removing file "large" failed - try 3/3: failed to delete item: Error "The selected entry ids is invalid." run.go:133: removing file "large" failed: failed to delete item: Error "The selected entry ids is invalid." run.go:130: removing file "medium" failed - try 1/3: failed to delete item: Error "The selected entry ids is invalid." run.go:130: removing file "medium" failed - try 2/3: failed to delete item: Error "The selected entry ids is invalid." run.go:130: removing file "medium" failed - try 3/3: failed to delete item: Error "The selected entry ids is invalid." run.go:133: removing file "medium" failed: failed to delete item: Error "The selected entry ids is invalid." --- FAIL: TestMaxDelete (18.84s) === RUN TestMaxDeleteSize run.go:185: Remote "drime root 'rclone-test-yititaw3mapo'", Local "Local file system at /tmp/rclone3790591339", Modify Window "876000h0m0s" 2026/04/29 01:40:32 DEBUG : Waiting for deletions to finish 2026/04/29 01:40:32 ERROR : small: Got fatal error on delete: --max-delete-size threshold reached 2026/04/29 01:40:32 INFO : large: Deleted 2026/04/29 01:40:32 INFO : medium: Deleted operations_test.go:492: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:492 Error: Not equal: expected: 1 actual : 3 Test: TestMaxDeleteSize run.go:130: removing file "large" failed - try 1/3: failed to delete item: Error "The selected entry ids is invalid." run.go:130: removing file "large" failed - try 2/3: failed to delete item: Error "The selected entry ids is invalid." run.go:130: removing file "large" failed - try 3/3: failed to delete item: Error "The selected entry ids is invalid." run.go:133: removing file "large" failed: failed to delete item: Error "The selected entry ids is invalid." run.go:130: removing file "medium" failed - try 1/3: failed to delete item: Error "The selected entry ids is invalid." run.go:130: removing file "medium" failed - try 2/3: failed to delete item: Error "The selected entry ids is invalid." run.go:130: removing file "medium" failed - try 3/3: failed to delete item: Error "The selected entry ids is invalid." run.go:133: removing file "medium" failed: failed to delete item: Error "The selected entry ids is invalid." --- FAIL: TestMaxDeleteSize (11.17s) === RUN TestRmdirsNoLeaveRoot run.go:185: Remote "drime root 'rclone-test-yititaw3mapo'", Local "Local file system at /tmp/rclone3790591339", Modify Window "876000h0m0s" 2026/04/29 01:40:43 INFO : A2: Making directory 2026/04/29 01:40:44 INFO : A1/B2: Making directory 2026/04/29 01:40:45 INFO : A1/B2/C2: Making directory 2026/04/29 01:40:45 INFO : A1/B1/C3: Making directory 2026/04/29 01:40:46 INFO : A3: Making directory 2026/04/29 01:40:46 INFO : A3/B3: Making directory 2026/04/29 01:40:47 INFO : A3/B3/C4: Making directory fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure 2026/04/29 01:40:58 DEBUG : removing 1 level 3 directories 2026/04/29 01:40:58 INFO : A3/B3/C4: Removing directory 2026/04/29 01:41:00 DEBUG : removing 2 level 3 directories 2026/04/29 01:41:00 INFO : A1/B2/C2: Removing directory 2026/04/29 01:41:00 INFO : A1/B1/C3: Removing directory 2026/04/29 01:41:01 DEBUG : removing 2 level 2 directories 2026/04/29 01:41:01 INFO : A3/B3: Removing directory 2026/04/29 01:41:01 INFO : A1/B2: Removing directory 2026/04/29 01:41:01 DEBUG : removing 2 level 1 directories 2026/04/29 01:41:01 INFO : A3: Removing directory 2026/04/29 01:41:01 INFO : A2: Removing directory 2026/04/29 01:41:04 DEBUG : removing 1 level 3 directories 2026/04/29 01:41:04 INFO : A1/B1/C1: Removing directory 2026/04/29 01:41:04 DEBUG : removing 1 level 2 directories 2026/04/29 01:41:04 INFO : A1/B1: Removing directory 2026/04/29 01:41:05 ERROR : A1/B1: Failed to rmdir: directory not empty 2026/04/29 01:41:05 DEBUG : removing 1 level 1 directories 2026/04/29 01:41:05 INFO : A1: Removing directory 2026/04/29 01:41:05 ERROR : A1: Failed to rmdir: directory not empty 2026/04/29 01:41:05 DEBUG : removing 1 level 0 directories 2026/04/29 01:41:05 INFO : drime root 'rclone-test-yititaw3mapo': Removing directory 2026/04/29 01:41:05 ERROR : Failed to rmdir: directory not empty operations_test.go:728: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:728 Error: Received unexpected error: failed to remove directories: 3 errors: last error: directory not empty Test: TestRmdirsNoLeaveRoot --- FAIL: TestRmdirsNoLeaveRoot (26.23s) === RUN TestDirMove run.go:185: Remote "drime root 'rclone-test-yititaw3mapo'", Local "Local file system at /tmp/rclone3790591339", Modify Window "876000h0m0s" 2026/04/29 01:41:12 INFO : A1/B2: Making directory 2026/04/29 01:41:13 INFO : A1/B1/C3: Making directory operations_test.go:1411: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:1411 Error: Received unexpected error: Move rename leaf: failed to patch item "name" to A2: Error "520 (520): {\"type\":\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/\",\"title\":\"Error 520: Web server is returning an unknown error\",\"status\":520,\"detail\":\"The origin web server sent a response that Cloudflare could not parse. This may indicate the origin returned an empty response, malformed HTTP headers, or an otherwise invalid response.\",\"instance\":\"9f3a9a794b3fdc92\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f3a9a794b3fdc92\",\"timestamp\":\"2026-04-29T01:41:16Z\",\"zone\":\"app.drime.cloud\",\"cloudflare_error\":true,\"retryable\":true,\"retry_after\":60,\"owner_action_required\":true,\"what_you_should_do\":\"**Wait and retry.** Back off for at least 60 seconds. If the error persists, the website operator should check the origin server error logs and submit them to Cloudflare support.\",\"footer\":\"This error was generated by Cloudflare on behalf of the website owner.\"}" Test: TestDirMove --- FAIL: TestDirMove (13.82s) === RUN TestRemoveExisting run.go:185: Remote "drime root 'rclone-test-yititaw3mapo'", Local "Local file system at /tmp/rclone3790591339", Modify Window "876000h0m0s" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure 2026/04/29 01:41:33 DEBUG : sub dir/test remove existing: TEST: renaming existing object to "sub dir/test remove existing.xujuziw7" before starting operations_test.go:1981: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:1981 Error: Not equal: expected: *fmt.wrapError(&fmt.wrapError{msg:"TEST: failed to rename existing file: Move rename leaf: failed to patch item \"name\" to test remove existing.xujuziw7: Error \"520 (520): {\\\"type\\\":\\\"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/\\\",\\\"title\\\":\\\"Error 520: Web server is returning an unknown error\\\",\\\"status\\\":520,\\\"detail\\\":\\\"The origin web server sent a response that Cloudflare could not parse. This may indicate the origin returned an empty response, malformed HTTP headers, or an otherwise invalid response.\\\",\\\"instance\\\":\\\"9f3a9ae1bf1edc92\\\",\\\"error_code\\\":520,\\\"error_name\\\":\\\"unknown_origin_error\\\",\\\"error_category\\\":\\\"origin\\\",\\\"ray_id\\\":\\\"9f3a9ae1bf1edc92\\\",\\\"timestamp\\\":\\\"2026-04-29T01:41:33Z\\\",\\\"zone\\\":\\\"app.drime.cloud\\\",\\\"cloudflare_error\\\":true,\\\"retryable\\\":true,\\\"retry_after\\\":60,\\\"owner_action_required\\\":true,\\\"what_you_should_do\\\":\\\"**Wait and retry.** Back off for at least 60 seconds. If the error persists, the website operator should check the origin server error logs and submit them to Cloudflare support.\\\",\\\"footer\\\":\\\"This error was generated by Cloudflare on behalf of the website owner.\\\"}\"", err:(*fmt.wrapError)(0x2dbb44e570e0)}) actual : () Test: TestRemoveExisting operations_test.go:1989: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:1989 Error: " 11 sub dir/test remove existing\n 21 sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890123456789\n" should not contain " 11 sub dir/test remove existing\n" Test: TestRemoveExisting operations_test.go:1990: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:1990 Error: " 11 sub dir/test remove existing\n 21 sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890123456789\n" does not contain " 11 sub dir/test remove existing." Test: TestRemoveExisting run.go:130: removing dir "sub dir" failed - try 1/3: directory not empty --- FAIL: TestRemoveExisting (15.12s) panic: runtime error: invalid memory address or nil pointer dereference [recovered, repanicked] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2199184] goroutine 1282 [running]: testing.tRunner.func1.2({0x252f5c0, 0x45f9ab0}) /usr/local/go/src/testing/testing.go:1974 +0x232 testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1977 +0x349 panic({0x252f5c0?, 0x45f9ab0?}) /usr/local/go/src/runtime/panic.go:860 +0x13a github.com/rclone/rclone/fs/operations_test.TestRemoveExisting(0x2dbb44ebb208) /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:1993 +0x8c4 testing.tRunner(0x2dbb44ebb208, 0x2bb8c30) /usr/local/go/src/testing/testing.go:2036 +0xea created by testing.(*T).Run in goroutine 1 /usr/local/go/src/testing/testing.go:2101 +0x4c5 "./operations.test -test.v -test.timeout 2h0m0s -remote TestDrime: -verbose -test.run '^(TestCheckSumDownload|TestCopyFileCompareDest|TestCopyFileCopyDest|TestDirMove|TestMaxDelete|TestMaxDeleteSize|TestParseSumFile|TestRemoveExisting|TestRmdirsNoLeaveRoot)$'" - Finished ERROR in 2m17.4169341s (try 4/5): exit status 2: Failed [TestParseSumFile TestCheckSumDownload TestCopyFileCompareDest TestCopyFileCopyDest TestMaxDelete TestMaxDeleteSize TestRmdirsNoLeaveRoot TestDirMove TestRemoveExisting]