"./gitannex.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestGitAnnexFstestBackendCases$/^(CheckPresentAndTransfer|CheckpresentTransferCheckpresent|Remove|RemoveNonexistentFile|RemovePreexistingFile|RetrieveNonexistentFile|StoreCheckpresentRetrieve|TransferAndCheckpresentWithRealisticKey|TransferStoreAbsolute)$'" - Starting (try 3/5) 2026/04/08 04:55:04 DEBUG : Creating backend with remote "TestMega:rclone-test-wobufeg2rene" 2026/04/08 04:55:04 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/04/08 04:55:04 DEBUG : mega root 'rclone-test-wobufeg2rene': Using previously stored session ID and master key to initialize the Mega API 2026/04/08 04:55:22 DEBUG : Creating backend with remote "/tmp/rclone567190180" === RUN TestGitAnnexFstestBackendCases === RUN TestGitAnnexFstestBackendCases/TransferStoreAbsolute run.go:185: Remote "mega root 'rclone-test-wobufeg2rene'", Local "Local file system at /tmp/rclone567190180", Modify Window "876000h0m0s" 2026/04/08 04:55:22 DEBUG : Creating backend with remote "TestMega:rclone-test-wobufeg2rene" 2026/04/08 04:55:22 DEBUG : mega root 'rclone-test-wobufeg2rene': Using previously stored session ID and master key to initialize the Mega API 2026/04/08 04:55:38 DEBUG : Creating backend with remote "/tmp/rclone567190180" 2026/04/08 04:55:38 DEBUG : file.txt: Need to transfer - File not found at Destination 2026/04/08 04:55:41 DEBUG : KeyAbsolute: size = 5 OK 2026/04/08 04:55:41 INFO : file.txt: Copied (new) to: KeyAbsolute 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/08 04:55:48 DEBUG : file.txt: Need to transfer - File not found at Destination 2026/04/08 04:55:48 DEBUG : KeyAbsolute2: size = 5 OK 2026/04/08 04:55:48 INFO : file.txt: Copied (new) to: KeyAbsolute2 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 TestGitAnnexFstestBackendCases/CheckPresentAndTransfer run.go:185: Remote "mega root 'rclone-test-wobufeg2rene'", Local "Local file system at /tmp/rclone567190180", Modify Window "876000h0m0s" 2026/04/08 04:56:17 DEBUG : Config file has changed externally - reloading 2026/04/08 04:56:17 DEBUG : Creating backend with remote "TestMega:rclone-test-wobufeg2rene" 2026/04/08 04:56:17 DEBUG : mega root 'rclone-test-wobufeg2rene': Using previously stored session ID and master key to initialize the Mega API 2026/04/08 04:56:35 DEBUG : Creating backend with remote "/tmp/rclone567190180" 2026/04/08 04:56:35 DEBUG : KeyAbsolute: size = 5 OK 2026/04/08 04:56:35 DEBUG : file.txt: Sizes identical 2026/04/08 04:56:35 DEBUG : file.txt: Unchanged skipping fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:1122 /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:1446 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestGitAnnexFstestBackendCases/CheckPresentAndTransfer Messages: listing wrong, want KeyAbsolute (5) got fstest.go:203: Not found "KeyAbsolute" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:1122 /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:1446 Error: Not equal: expected: 0 actual : 1 Test: TestGitAnnexFstestBackendCases/CheckPresentAndTransfer Messages: 1 objects not found === RUN TestGitAnnexFstestBackendCases/CheckpresentTransferCheckpresent run.go:185: Remote "mega root 'rclone-test-wobufeg2rene'", Local "Local file system at /tmp/rclone567190180", Modify Window "876000h0m0s" 2026/04/08 04:56:42 DEBUG : Creating backend with remote "TestMega:rclone-test-wobufeg2rene" 2026/04/08 04:56:42 DEBUG : mega root 'rclone-test-wobufeg2rene': Using previously stored session ID and master key to initialize the Mega API 2026/04/08 04:57:01 DEBUG : Creating backend with remote "/tmp/rclone567190180" 2026/04/08 04:57:01 DEBUG : file.txt: Need to transfer - File not found at Destination 2026/04/08 04:57:12 ERROR : file.txt: Failed to copy: failed to finish upload: unexpected end of JSON input gitannex_test.go:308: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:308 /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:1156 /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:1446 Error: Not equal: expected: "TRANSFER-SUCCESS STORE foo\n" actual : "TRANSFER-FAILURE STORE foo failed to copy file: failed to finish upload: unexpected end of JSON input\n" Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -TRANSFER-SUCCESS STORE foo +TRANSFER-FAILURE STORE foo failed to copy file: failed to finish upload: unexpected end of JSON input Test: TestGitAnnexFstestBackendCases/CheckpresentTransferCheckpresent === RUN TestGitAnnexFstestBackendCases/TransferAndCheckpresentWithRealisticKey run.go:185: Remote "mega root 'rclone-test-wobufeg2rene'", Local "Local file system at /tmp/rclone567190180", Modify Window "876000h0m0s" 2026/04/08 04:57:12 DEBUG : Creating backend with remote "TestMega:rclone-test-wobufeg2rene" 2026/04/08 04:57:12 DEBUG : mega root 'rclone-test-wobufeg2rene': Using previously stored session ID and master key to initialize the Mega API 2026/04/08 04:57:33 DEBUG : Creating backend with remote "/tmp/rclone567190180" 2026/04/08 04:57:33 DEBUG : file.txt: Need to transfer - File not found at Destination 2026/04/08 04:57:33 DEBUG : SHA256E-s1048576--7ba87e06b9b7903cfbaf4a38736766c161e3e7b42f06fe57f040aa410a8f0701.this-is-a-test-key: size = 5 OK 2026/04/08 04:57:33 INFO : file.txt: Copied (new) to: SHA256E-s1048576--7ba87e06b9b7903cfbaf4a38736766c161e3e7b42f06fe57f040aa410a8f0701.this-is-a-test-key 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 TestGitAnnexFstestBackendCases/RetrieveNonexistentFile run.go:185: Remote "mega root 'rclone-test-wobufeg2rene'", Local "Local file system at /tmp/rclone567190180", Modify Window "876000h0m0s" 2026/04/08 04:57:42 DEBUG : Creating backend with remote "TestMega:rclone-test-wobufeg2rene" 2026/04/08 04:57:42 DEBUG : mega root 'rclone-test-wobufeg2rene': Using previously stored session ID and master key to initialize the Mega API 2026/04/08 04:57:58 DEBUG : Creating backend with remote "." 2026/04/08 04:57:58 DEBUG : fs cache: renaming cache item "." to be canonical "/home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex" === RUN TestGitAnnexFstestBackendCases/StoreCheckpresentRetrieve run.go:185: Remote "mega root 'rclone-test-wobufeg2rene'", Local "Local file system at /tmp/rclone567190180", Modify Window "876000h0m0s" 2026/04/08 04:57:58 DEBUG : Creating backend with remote "TestMega:rclone-test-wobufeg2rene" 2026/04/08 04:57:58 DEBUG : mega root 'rclone-test-wobufeg2rene': Using previously stored session ID and master key to initialize the Mega API 2026/04/08 04:58:13 DEBUG : Creating backend with remote "/tmp/rclone567190180" 2026/04/08 04:58:13 DEBUG : file.txt: Need to transfer - File not found at Destination 2026/04/08 04:58:14 DEBUG : SomeKey: size = 5 OK 2026/04/08 04:58:14 INFO : file.txt: Copied (new) to: SomeKey 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/08 04:58:21 DEBUG : SomeKey: Need to transfer - File not found at Destination 2026/04/08 04:58:21 DEBUG : file.txt.retrieved.8db7b9b7.partial: size = 5 OK 2026/04/08 04:58:21 DEBUG : file.txt.retrieved.8db7b9b7.partial: renamed to: file.txt.retrieved 2026/04/08 04:58:21 INFO : SomeKey: Copied (new) to: file.txt.retrieved === RUN TestGitAnnexFstestBackendCases/RemovePreexistingFile run.go:185: Remote "mega root 'rclone-test-wobufeg2rene'", Local "Local file system at /tmp/rclone567190180", Modify Window "876000h0m0s" 2026/04/08 04:58:30 DEBUG : Creating backend with remote "TestMega:rclone-test-wobufeg2rene" 2026/04/08 04:58:30 DEBUG : mega root 'rclone-test-wobufeg2rene': Using previously stored session ID and master key to initialize the Mega API 2026/04/08 04:58:50 INFO : SomeKey: Deleted 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 TestGitAnnexFstestBackendCases/Remove run.go:185: Remote "mega root 'rclone-test-wobufeg2rene'", Local "Local file system at /tmp/rclone567190180", Modify Window "876000h0m0s" 2026/04/08 04:58:57 DEBUG : Creating backend with remote "TestMega:rclone-test-wobufeg2rene" 2026/04/08 04:58:57 DEBUG : mega root 'rclone-test-wobufeg2rene': Using previously stored session ID and master key to initialize the Mega API 2026/04/08 04:59:13 DEBUG : Creating backend with remote "/tmp/rclone567190180" 2026/04/08 04:59:13 DEBUG : file.txt: Need to transfer - File not found at Destination 2026/04/08 04:59:15 DEBUG : SomeKey: size = 5 OK 2026/04/08 04:59:15 INFO : file.txt: Copied (new) to: SomeKey 2026/04/08 04:59:17 INFO : SomeKey: Deleted 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 TestGitAnnexFstestBackendCases/RemoveNonexistentFile run.go:185: Remote "mega root 'rclone-test-wobufeg2rene'", Local "Local file system at /tmp/rclone567190180", Modify Window "876000h0m0s" 2026/04/08 04:59:24 DEBUG : Creating backend with remote "TestMega:rclone-test-wobufeg2rene" 2026/04/08 04:59:24 DEBUG : mega root 'rclone-test-wobufeg2rene': Using previously stored session ID and master key to initialize the Mega API --- FAIL: TestGitAnnexFstestBackendCases (256.67s) --- PASS: TestGitAnnexFstestBackendCases/TransferStoreAbsolute (55.09s) --- FAIL: TestGitAnnexFstestBackendCases/CheckPresentAndTransfer (24.47s) --- FAIL: TestGitAnnexFstestBackendCases/CheckpresentTransferCheckpresent (29.70s) --- PASS: TestGitAnnexFstestBackendCases/TransferAndCheckpresentWithRealisticKey (30.38s) --- PASS: TestGitAnnexFstestBackendCases/RetrieveNonexistentFile (16.11s) --- PASS: TestGitAnnexFstestBackendCases/StoreCheckpresentRetrieve (30.06s) --- PASS: TestGitAnnexFstestBackendCases/RemovePreexistingFile (29.04s) --- PASS: TestGitAnnexFstestBackendCases/Remove (26.59s) --- PASS: TestGitAnnexFstestBackendCases/RemoveNonexistentFile (15.24s) FAIL 2026/04/08 04:59:39 DEBUG : mega root 'rclone-test-wobufeg2rene': Purge remote "./gitannex.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestGitAnnexFstestBackendCases$/^(CheckPresentAndTransfer|CheckpresentTransferCheckpresent|Remove|RemoveNonexistentFile|RemovePreexistingFile|RetrieveNonexistentFile|StoreCheckpresentRetrieve|TransferAndCheckpresentWithRealisticKey|TransferStoreAbsolute)$'" - Finished ERROR in 4m35.813391533s (try 3/5): exit status 1: Failed [TestGitAnnexFstestBackendCases/CheckPresentAndTransfer TestGitAnnexFstestBackendCases/CheckpresentTransferCheckpresent]