"./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 2/5) 2026/05/10 01:51:29 DEBUG : Creating backend with remote "TestDrime:rclone-test-nabatuv7kisa" 2026/05/10 01:51:29 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/10 01:51:30 DEBUG : Creating backend with remote "/tmp/rclone2517995818" === RUN TestParseSumFile run.go:198: Remote "drime root 'rclone-test-nabatuv7kisa'", Local "Local file system at /tmp/rclone2517995818", Modify Window "876000h0m0s" fstest.go:542: Sleeping for 1s for findObject eventual consistency: 1/5 (object not found) 2026/05/10 01:51:33 NOTICE: test.sum: improperly formatted checksum line 4 2026/05/10 01:51:33 NOTICE: test.sum: improperly formatted checksum line 5 2026/05/10 01:51:33 NOTICE: test.sum: improperly formatted checksum line 6 2026/05/10 01:51:33 NOTICE: test.sum: 2 warning(s) suppressed... 2026/05/10 01:51:34 DEBUG : test.sum: Removing old object on successful upload run.go:303: Failed to put "test.sum" to "drime root 'rclone-test-nabatuv7kisa'": 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.53s) === RUN TestCheckSumDownload run.go:198: Remote "drime root 'rclone-test-nabatuv7kisa'", Local "Local file system at /tmp/rclone2517995818", Modify Window "876000h0m0s" 2026/05/10 01:51:42 DEBUG : Creating backend with remote "TestDrime:rclone-test-nabatuv7kisa/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/10 01:51:57 DEBUG : test.sum: Removing old object on successful upload === NAME TestCheckSumDownload run.go:303: Failed to put "test.sum" to "drime root 'rclone-test-nabatuv7kisa'": 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.35s) --- PASS: TestCheckSumDownload/subtest1 (1.77s) === RUN TestCopyFileCompareDest run.go:198: Remote "drime root 'rclone-test-nabatuv7kisa'", Local "Local file system at /tmp/rclone2517995818", Modify Window "876000h0m0s" 2026/05/10 01:52:01 DEBUG : Creating backend with remote "TestDrime:rclone-test-nabatuv7kisa/dst" 2026/05/10 01:52:02 DEBUG : Creating backend with remote "TestDrime:rclone-test-nabatuv7kisa/CompareDest" 2026/05/10 01:52:03 DEBUG : one: Need to transfer - File not found at Destination 2026/05/10 01:52:04 DEBUG : one: size = 3 OK 2026/05/10 01:52:04 INFO : one: Copied (new) 2026/05/10 01:52:05 DEBUG : one: size = 5 (Local file system at /tmp/rclone2517995818) 2026/05/10 01:52:05 DEBUG : one: size = 3 (drime root 'rclone-test-nabatuv7kisa/dst') 2026/05/10 01:52:05 DEBUG : one: Sizes differ 2026/05/10 01:52:06 DEBUG : one: Removing old object on successful upload 2026/05/10 01:52:06 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.34s) === RUN TestCopyFileCopyDest run.go:198: Remote "drime root 'rclone-test-nabatuv7kisa'", Local "Local file system at /tmp/rclone2517995818", Modify Window "876000h0m0s" 2026/05/10 01:52:09 DEBUG : Creating backend with remote "TestDrime:rclone-test-nabatuv7kisa/dst" 2026/05/10 01:52:10 DEBUG : Creating backend with remote "TestDrime:rclone-test-nabatuv7kisa/CopyDest" 2026/05/10 01:52:11 DEBUG : one: Need to transfer - File not found at Destination 2026/05/10 01:52:13 DEBUG : one: size = 3 OK 2026/05/10 01:52:13 INFO : one: Copied (new) 2026/05/10 01:52:14 DEBUG : one: size = 5 (Local file system at /tmp/rclone2517995818) 2026/05/10 01:52:14 DEBUG : one: size = 3 (drime root 'rclone-test-nabatuv7kisa/dst') 2026/05/10 01:52:14 DEBUG : one: Sizes differ 2026/05/10 01:52:15 DEBUG : one: Removing old object on successful upload 2026/05/10 01:52:15 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 (8.54s) === RUN TestMaxDelete run.go:198: Remote "drime root 'rclone-test-nabatuv7kisa'", Local "Local file system at /tmp/rclone2517995818", Modify Window "876000h0m0s" 2026/05/10 01:52:21 DEBUG : Waiting for deletions to finish 2026/05/10 01:52:21 ERROR : small: Got fatal error on delete: --max-delete threshold reached 2026/05/10 01:52:21 INFO : medium: Deleted 2026/05/10 01:52:21 INFO : large: 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 "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: TestMaxDelete (23.11s) === RUN TestMaxDeleteSize run.go:198: Remote "drime root 'rclone-test-nabatuv7kisa'", Local "Local file system at /tmp/rclone2517995818", Modify Window "876000h0m0s" 2026/05/10 01:52:43 DEBUG : Waiting for deletions to finish 2026/05/10 01:52:43 ERROR : small: Got fatal error on delete: --max-delete-size threshold reached 2026/05/10 01:52:44 INFO : large: Deleted 2026/05/10 01:52:44 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 (22.81s) === RUN TestRmdirsNoLeaveRoot run.go:198: Remote "drime root 'rclone-test-nabatuv7kisa'", Local "Local file system at /tmp/rclone2517995818", Modify Window "876000h0m0s" 2026/05/10 01:53:06 INFO : A2: Making directory 2026/05/10 01:53:06 INFO : A1/B2: Making directory 2026/05/10 01:53:07 INFO : A1/B2/C2: Making directory 2026/05/10 01:53:07 INFO : A1/B1/C3: Making directory 2026/05/10 01:53:08 INFO : A3: Making directory 2026/05/10 01:53:08 INFO : A3/B3: Making directory 2026/05/10 01:53:09 INFO : A3/B3/C4: Making directory 2026/05/10 01:53:12 DEBUG : removing 1 level 3 directories 2026/05/10 01:53:12 INFO : A3/B3/C4: Removing directory 2026/05/10 01:53:14 DEBUG : removing 2 level 3 directories 2026/05/10 01:53:14 INFO : A1/B2/C2: Removing directory 2026/05/10 01:53:14 INFO : A1/B1/C3: Removing directory 2026/05/10 01:53:14 DEBUG : removing 2 level 2 directories 2026/05/10 01:53:14 INFO : A3/B3: Removing directory 2026/05/10 01:53:14 INFO : A1/B2: Removing directory 2026/05/10 01:53:15 DEBUG : removing 2 level 1 directories 2026/05/10 01:53:15 INFO : A3: Removing directory 2026/05/10 01:53:15 INFO : A2: Removing directory 2026/05/10 01:53:18 DEBUG : removing 1 level 3 directories 2026/05/10 01:53:18 INFO : A1/B1/C1: Removing directory 2026/05/10 01:53:18 DEBUG : removing 1 level 2 directories 2026/05/10 01:53:18 INFO : A1/B1: Removing directory 2026/05/10 01:53:19 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 (18.20s) === RUN TestDirMove run.go:198: Remote "drime root 'rclone-test-nabatuv7kisa'", Local "Local file system at /tmp/rclone2517995818", Modify Window "876000h0m0s" 2026/05/10 01:53:28 INFO : A1/B2: Making directory 2026/05/10 01:53:29 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\":\"9f954f897d833621\",\"error_code\":520,\"error_name\":\"unknown_origin_error\",\"error_category\":\"origin\",\"ray_id\":\"9f954f897d833621\",\"timestamp\":\"2026-05-10T01:53:31Z\",\"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.99s) === RUN TestRemoveExisting run.go:198: Remote "drime root 'rclone-test-nabatuv7kisa'", Local "Local file system at /tmp/rclone2517995818", Modify Window "876000h0m0s" 2026/05/10 01:53:40 DEBUG : sub dir/test remove existing: TEST: renaming existing object to "sub dir/test remove existing.nanudos8" 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.nanudos8: 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\\\":\\\"9f954fc299553621\\\",\\\"error_code\\\":520,\\\"error_name\\\":\\\"unknown_origin_error\\\",\\\"error_category\\\":\\\"origin\\\",\\\"ray_id\\\":\\\"9f954fc299553621\\\",\\\"timestamp\\\":\\\"2026-05-10T01:53:40Z\\\",\\\"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)(0x1090dd4e01c0)}) 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.41s) panic: runtime error: invalid memory address or nil pointer dereference [recovered, repanicked] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x21aede4] goroutine 1194 [running]: testing.tRunner.func1.2({0x2547000, 0x4623b10}) /usr/local/go/src/testing/testing.go:1974 +0x232 testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1977 +0x349 panic({0x2547000?, 0x4623b10?}) /usr/local/go/src/runtime/panic.go:860 +0x13a github.com/rclone/rclone/fs/operations_test.TestRemoveExisting(0x1090dd51a008) /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:1993 +0x8c4 testing.tRunner(0x1090dd51a008, 0x2bd5eb0) /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 2m13.941700745s (try 2/5): exit status 2: Failed [TestParseSumFile TestCheckSumDownload TestCopyFileCompareDest TestCopyFileCopyDest TestMaxDelete TestMaxDeleteSize TestRmdirsNoLeaveRoot TestDirMove TestRemoveExisting]