"./operations.test -test.v -test.timeout 2h0m0s -remote TestDrime: -list-retries 5 -verbose -test.run '^(TestCheckSumDownload|TestCopyFileCompareDest|TestCopyFileCopyDest|TestDirMove|TestMaxDelete|TestMaxDeleteSize|TestParseSumFile|TestRemoveExisting|TestRmdirsNoLeaveRoot)$'" - Starting (try 4/5) 2026/05/08 04:30:34 DEBUG : Creating backend with remote "TestDrime:rclone-test-guguzoh6suqu" 2026/05/08 04:30:34 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/08 04:30:35 DEBUG : Creating backend with remote "/tmp/rclone1126878950" === RUN TestParseSumFile run.go:198: Remote "drime root 'rclone-test-guguzoh6suqu'", Local "Local file system at /tmp/rclone1126878950", Modify Window "876000h0m0s" fstest.go:542: Sleeping for 1s for findObject eventual consistency: 1/5 (object not found) 2026/05/08 04:30:38 NOTICE: test.sum: improperly formatted checksum line 4 2026/05/08 04:30:38 NOTICE: test.sum: improperly formatted checksum line 5 2026/05/08 04:30:38 NOTICE: test.sum: improperly formatted checksum line 6 2026/05/08 04:30:38 NOTICE: test.sum: 2 warning(s) suppressed... 2026/05/08 04:30:39 DEBUG : test.sum: Removing old object on successful upload run.go:303: Failed to put "test.sum" to "drime root 'rclone-test-guguzoh6suqu'": 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/5 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- FAIL: TestParseSumFile (12.61s) === RUN TestCheckSumDownload run.go:198: Remote "drime root 'rclone-test-guguzoh6suqu'", Local "Local file system at /tmp/rclone1126878950", Modify Window "876000h0m0s" 2026/05/08 04:30:47 DEBUG : Creating backend with remote "TestDrime:rclone-test-guguzoh6suqu/data" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/5 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure === RUN TestCheckSumDownload/subtest1 2026/05/08 04:31:03 DEBUG : test.sum: Removing old object on successful upload === NAME TestCheckSumDownload run.go:303: Failed to put "test.sum" to "drime root 'rclone-test-guguzoh6suqu'": failed to delete existing object: failed to delete item: Error "The selected entry ids is invalid." run.go:186: removing dir "data" failed - try 1/5: sleeping 1s: directory not empty --- FAIL: TestCheckSumDownload (18.58s) --- PASS: TestCheckSumDownload/subtest1 (1.74s) === RUN TestCopyFileCompareDest run.go:198: Remote "drime root 'rclone-test-guguzoh6suqu'", Local "Local file system at /tmp/rclone1126878950", Modify Window "876000h0m0s" 2026/05/08 04:31:06 DEBUG : Creating backend with remote "TestDrime:rclone-test-guguzoh6suqu/dst" 2026/05/08 04:31:07 DEBUG : Creating backend with remote "TestDrime:rclone-test-guguzoh6suqu/CompareDest" 2026/05/08 04:31:08 DEBUG : one: Need to transfer - File not found at Destination 2026/05/08 04:31:10 DEBUG : one: size = 3 OK 2026/05/08 04:31:10 INFO : one: Copied (new) 2026/05/08 04:31:11 DEBUG : one: size = 5 (Local file system at /tmp/rclone1126878950) 2026/05/08 04:31:11 DEBUG : one: size = 3 (drime root 'rclone-test-guguzoh6suqu/dst') 2026/05/08 04:31:11 DEBUG : one: Sizes differ 2026/05/08 04:31:12 DEBUG : one: Removing old object on successful upload 2026/05/08 04:31:12 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:186: removing dir "dst" failed - try 1/5: sleeping 1s: directory not empty --- FAIL: TestCopyFileCompareDest (8.83s) === RUN TestCopyFileCopyDest run.go:198: Remote "drime root 'rclone-test-guguzoh6suqu'", Local "Local file system at /tmp/rclone1126878950", Modify Window "876000h0m0s" 2026/05/08 04:31:15 DEBUG : Creating backend with remote "TestDrime:rclone-test-guguzoh6suqu/dst" 2026/05/08 04:31:16 DEBUG : Creating backend with remote "TestDrime:rclone-test-guguzoh6suqu/CopyDest" 2026/05/08 04:31:17 DEBUG : one: Need to transfer - File not found at Destination 2026/05/08 04:31:19 DEBUG : one: size = 3 OK 2026/05/08 04:31:19 INFO : one: Copied (new) 2026/05/08 04:31:20 DEBUG : one: size = 5 (Local file system at /tmp/rclone1126878950) 2026/05/08 04:31:20 DEBUG : one: size = 3 (drime root 'rclone-test-guguzoh6suqu/dst') 2026/05/08 04:31:20 DEBUG : one: Sizes differ 2026/05/08 04:31:21 DEBUG : one: Removing old object on successful upload 2026/05/08 04:31:21 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:186: removing dir "dst" failed - try 1/5: sleeping 1s: directory not empty --- FAIL: TestCopyFileCopyDest (9.12s) === RUN TestMaxDelete run.go:198: Remote "drime root 'rclone-test-guguzoh6suqu'", Local "Local file system at /tmp/rclone1126878950", Modify Window "876000h0m0s" 2026/05/08 04:31:27 DEBUG : Waiting for deletions to finish 2026/05/08 04:31:27 ERROR : medium: Got fatal error on delete: --max-delete threshold reached 2026/05/08 04:31:27 INFO : large: Deleted 2026/05/08 04:31:27 INFO : small: 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:172: removing file "large" failed - try 1/5: sleeping 1s: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "large" failed - try 2/5: sleeping 1.5s: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "large" failed - try 3/5: sleeping 2.25s: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "large" failed - try 4/5: sleeping 3.375s: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "large" failed: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "small" failed - try 1/5: sleeping 1s: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "small" failed - try 2/5: sleeping 1.5s: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "small" failed - try 3/5: sleeping 2.25s: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "small" failed - try 4/5: sleeping 3.375s: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "small" failed: failed to delete item: Error "The selected entry ids is invalid." --- FAIL: TestMaxDelete (23.14s) === RUN TestMaxDeleteSize run.go:198: Remote "drime root 'rclone-test-guguzoh6suqu'", Local "Local file system at /tmp/rclone1126878950", Modify Window "876000h0m0s" 2026/05/08 04:31:50 DEBUG : Waiting for deletions to finish 2026/05/08 04:31:50 ERROR : small: Got fatal error on delete: --max-delete-size threshold reached 2026/05/08 04:31:50 INFO : large: Deleted 2026/05/08 04:31:50 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:172: removing file "large" failed - try 1/5: sleeping 1s: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "large" failed - try 2/5: sleeping 1.5s: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "large" failed - try 3/5: sleeping 2.25s: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "large" failed - try 4/5: sleeping 3.375s: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "large" failed: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "medium" failed - try 1/5: sleeping 1s: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "medium" failed - try 2/5: sleeping 1.5s: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "medium" failed - try 3/5: sleeping 2.25s: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "medium" failed - try 4/5: sleeping 3.375s: failed to delete item: Error "The selected entry ids is invalid." run.go:172: removing file "medium" failed: failed to delete item: Error "The selected entry ids is invalid." --- FAIL: TestMaxDeleteSize (23.09s) === RUN TestRmdirsNoLeaveRoot run.go:198: Remote "drime root 'rclone-test-guguzoh6suqu'", Local "Local file system at /tmp/rclone1126878950", Modify Window "876000h0m0s" 2026/05/08 04:32:13 INFO : A2: Making directory 2026/05/08 04:32:13 INFO : A1/B2: Making directory 2026/05/08 04:32:14 INFO : A1/B2/C2: Making directory 2026/05/08 04:32:14 INFO : A1/B1/C3: Making directory 2026/05/08 04:32:15 INFO : A3: Making directory 2026/05/08 04:32:15 INFO : A3/B3: Making directory 2026/05/08 04:32:16 INFO : A3/B3/C4: Making directory 2026/05/08 04:32:19 DEBUG : removing 1 level 3 directories 2026/05/08 04:32:19 INFO : A3/B3/C4: Removing directory 2026/05/08 04:32:21 DEBUG : removing 2 level 3 directories 2026/05/08 04:32:21 INFO : A1/B2/C2: Removing directory 2026/05/08 04:32:21 INFO : A1/B1/C3: Removing directory 2026/05/08 04:32:22 DEBUG : removing 2 level 2 directories 2026/05/08 04:32:22 INFO : A3/B3: Removing directory 2026/05/08 04:32:22 INFO : A1/B2: Removing directory 2026/05/08 04:32:22 DEBUG : removing 2 level 1 directories 2026/05/08 04:32:22 INFO : A3: Removing directory 2026/05/08 04:32:22 INFO : A2: Removing directory 2026/05/08 04:32:26 DEBUG : removing 1 level 3 directories 2026/05/08 04:32:26 INFO : A1/B1/C1: Removing directory 2026/05/08 04:32:26 DEBUG : removing 1 level 2 directories 2026/05/08 04:32:26 INFO : A1/B1: Removing directory 2026/05/08 04:32:26 ERROR : A1/B1: 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: directory not empty Test: TestRmdirsNoLeaveRoot run.go:186: removing dir "A1" failed - try 1/5: sleeping 1s: directory not empty --- FAIL: TestRmdirsNoLeaveRoot (19.19s) === RUN TestDirMove run.go:198: Remote "drime root 'rclone-test-guguzoh6suqu'", Local "Local file system at /tmp/rclone1126878950", Modify Window "876000h0m0s" 2026/05/08 04:32:36 INFO : A1/B2: Making directory 2026/05/08 04:32:36 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\":\"9f85bde1cb12dc7a\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f85bde1cb12dc7a\",\"timestamp\":\"2026-05-08T04:32:38Z\",\"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 (14.18s) === RUN TestRemoveExisting run.go:198: Remote "drime root 'rclone-test-guguzoh6suqu'", Local "Local file system at /tmp/rclone1126878950", Modify Window "876000h0m0s" 2026/05/08 04:32:48 DEBUG : sub dir/test remove existing: TEST: renaming existing object to "sub dir/test remove existing.dehefep8" 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.dehefep8: 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\\\":\\\"9f85be1c9c6fdc7a\\\",\\\"error_code\\\":520,\\\"error_name\\\":\\\"unknown_origin_error\\\",\\\"error_category\\\":\\\"origin\\\",\\\"ray_id\\\":\\\"9f85be1c9c6fdc7a\\\",\\\"timestamp\\\":\\\"2026-05-08T04:32:48Z\\\",\\\"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)(0x307f89b96c20)}) 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:186: removing dir "sub dir" failed - try 1/5: sleeping 1s: directory not empty --- FAIL: TestRemoveExisting (7.26s) panic: runtime error: invalid memory address or nil pointer dereference [recovered, repanicked] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x21aea84] goroutine 1255 [running]: testing.tRunner.func1.2({0x2547000, 0x4622b10}) /usr/local/go/src/testing/testing.go:1974 +0x232 testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1977 +0x349 panic({0x2547000?, 0x4622b10?}) /usr/local/go/src/runtime/panic.go:860 +0x13a github.com/rclone/rclone/fs/operations_test.TestRemoveExisting(0x307f89f76008) /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:1993 +0x8c4 testing.tRunner(0x307f89f76008, 0x2bd5e70) /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: -list-retries 5 -verbose -test.run '^(TestCheckSumDownload|TestCopyFileCompareDest|TestCopyFileCopyDest|TestDirMove|TestMaxDelete|TestMaxDeleteSize|TestParseSumFile|TestRemoveExisting|TestRmdirsNoLeaveRoot)$'" - Finished ERROR in 2m16.924363624s (try 4/5): exit status 2: Failed [TestParseSumFile TestCheckSumDownload TestCopyFileCompareDest TestCopyFileCopyDest TestMaxDelete TestMaxDeleteSize TestRmdirsNoLeaveRoot TestDirMove TestRemoveExisting]