"./gitannex.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestGitAnnexFstestBackendCases$/^(CheckpresentTransferCheckpresent|Remove|TransferAndCheckpresentWithRealisticKey|TransferStoreAbsolute|TransferStorePathWithInteriorWhitespace)$'" - Starting (try 2/5) 2026/01/25 03:58:48 DEBUG : Creating backend with remote "TestMega:rclone-test-jadehov2baca" 2026/01/25 03:58:48 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/01/25 03:58:48 DEBUG : mega root 'rclone-test-jadehov2baca': Using previously stored session ID and master key to initialize the Mega API 2026/01/25 03:59:01 DEBUG : Creating backend with remote "/tmp/rclone1496968368" === RUN TestGitAnnexFstestBackendCases === RUN TestGitAnnexFstestBackendCases/TransferStoreAbsolute run.go:185: Remote "mega root 'rclone-test-jadehov2baca'", Local "Local file system at /tmp/rclone1496968368", Modify Window "876000h0m0s" 2026/01/25 03:59:01 DEBUG : Creating backend with remote "TestMega:rclone-test-jadehov2baca" 2026/01/25 03:59:01 DEBUG : mega root 'rclone-test-jadehov2baca': Using previously stored session ID and master key to initialize the Mega API 2026/01/25 03:59:14 DEBUG : Creating backend with remote "/tmp/rclone1496968368" 2026/01/25 03:59:14 DEBUG : file.txt: Need to transfer - File not found at Destination 2026/01/25 03:59:29 DEBUG : KeyAbsolute: size = 5 OK 2026/01/25 03:59:29 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/01/25 03:59:36 DEBUG : file.txt: Need to transfer - File not found at Destination 2026/01/25 03:59:52 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:998 /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:1446 Error: Not equal: expected: "TRANSFER-SUCCESS STORE KeyAbsolute2\n" actual : "TRANSFER-FAILURE STORE KeyAbsolute2 failed to copy file: failed to finish upload: unexpected end of JSON input\n" Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -TRANSFER-SUCCESS STORE KeyAbsolute2 +TRANSFER-FAILURE STORE KeyAbsolute2 failed to copy file: failed to finish upload: unexpected end of JSON input Test: TestGitAnnexFstestBackendCases/TransferStoreAbsolute === RUN TestGitAnnexFstestBackendCases/TransferStorePathWithInteriorWhitespace run.go:185: Remote "mega root 'rclone-test-jadehov2baca'", Local "Local file system at /tmp/rclone1496968368", Modify Window "876000h0m0s" 2026/01/25 03:59:55 DEBUG : Creating backend with remote "TestMega:rclone-test-jadehov2baca" 2026/01/25 03:59:55 DEBUG : mega root 'rclone-test-jadehov2baca': Using previously stored session ID and master key to initialize the Mega API 2026/01/25 04:00:10 DEBUG : Creating backend with remote "../../rclone1496968368" 2026/01/25 04:00:10 DEBUG : fs cache: renaming cache item "../../rclone1496968368" to be canonical "/tmp/rclone1496968368" 2026/01/25 04:00:10 DEBUG : filename with spaces.txt: Need to transfer - File not found at Destination 2026/01/25 04:00:21 ERROR : filename with spaces.txt: Failed to copy: upload file failed to create session: 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:1086 /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:1446 Error: Not equal: expected: "TRANSFER-SUCCESS STORE KeyRelative\n" actual : "TRANSFER-FAILURE STORE KeyRelative failed to copy file: upload file failed to create session: unexpected end of JSON input\n" Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -TRANSFER-SUCCESS STORE KeyRelative +TRANSFER-FAILURE STORE KeyRelative failed to copy file: upload file failed to create session: unexpected end of JSON input Test: TestGitAnnexFstestBackendCases/TransferStorePathWithInteriorWhitespace === RUN TestGitAnnexFstestBackendCases/CheckpresentTransferCheckpresent run.go:185: Remote "mega root 'rclone-test-jadehov2baca'", Local "Local file system at /tmp/rclone1496968368", Modify Window "876000h0m0s" 2026/01/25 04:00:21 DEBUG : Creating backend with remote "TestMega:rclone-test-jadehov2baca" 2026/01/25 04:00:21 DEBUG : mega root 'rclone-test-jadehov2baca': Using previously stored session ID and master key to initialize the Mega API 2026/01/25 04:00:36 DEBUG : Creating backend with remote "/tmp/rclone1496968368" 2026/01/25 04:00:36 DEBUG : file.txt: Need to transfer - File not found at Destination 2026/01/25 04:00:47 DEBUG : foo: size = 5 OK 2026/01/25 04:00:47 INFO : file.txt: Copied (new) to: foo 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/TransferAndCheckpresentWithRealisticKey run.go:185: Remote "mega root 'rclone-test-jadehov2baca'", Local "Local file system at /tmp/rclone1496968368", Modify Window "876000h0m0s" 2026/01/25 04:00:55 DEBUG : Creating backend with remote "TestMega:rclone-test-jadehov2baca" 2026/01/25 04:00:55 DEBUG : mega root 'rclone-test-jadehov2baca': Using previously stored session ID and master key to initialize the Mega API 2026/01/25 04:01:09 DEBUG : Creating backend with remote "/tmp/rclone1496968368" 2026/01/25 04:01:09 DEBUG : file.txt: Need to transfer - File not found at Destination 2026/01/25 04:01:13 DEBUG : SHA256E-s1048576--7ba87e06b9b7903cfbaf4a38736766c161e3e7b42f06fe57f040aa410a8f0701.this-is-a-test-key: size = 5 OK 2026/01/25 04:01:13 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/Remove run.go:185: Remote "mega root 'rclone-test-jadehov2baca'", Local "Local file system at /tmp/rclone1496968368", Modify Window "876000h0m0s" 2026/01/25 04:01:20 DEBUG : Creating backend with remote "TestMega:rclone-test-jadehov2baca" 2026/01/25 04:01:20 DEBUG : mega root 'rclone-test-jadehov2baca': Using previously stored session ID and master key to initialize the Mega API 2026/01/25 04:01:34 DEBUG : Creating backend with remote "/tmp/rclone1496968368" 2026/01/25 04:01:34 DEBUG : file.txt: Need to transfer - File not found at Destination 2026/01/25 04:01:36 DEBUG : SomeKey: size = 5 OK 2026/01/25 04:01:36 INFO : file.txt: Copied (new) to: SomeKey 2026/01/25 04:01:37 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 --- FAIL: TestGitAnnexFstestBackendCases (162.57s) --- FAIL: TestGitAnnexFstestBackendCases/TransferStoreAbsolute (54.28s) --- FAIL: TestGitAnnexFstestBackendCases/TransferStorePathWithInteriorWhitespace (25.62s) --- PASS: TestGitAnnexFstestBackendCases/CheckpresentTransferCheckpresent (33.62s) --- PASS: TestGitAnnexFstestBackendCases/TransferAndCheckpresentWithRealisticKey (25.44s) --- PASS: TestGitAnnexFstestBackendCases/Remove (23.60s) FAIL 2026/01/25 04:01:44 DEBUG : mega root 'rclone-test-jadehov2baca': Purge remote "./gitannex.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestGitAnnexFstestBackendCases$/^(CheckpresentTransferCheckpresent|Remove|TransferAndCheckpresentWithRealisticKey|TransferStoreAbsolute|TransferStorePathWithInteriorWhitespace)$'" - Finished ERROR in 2m56.285233043s (try 2/5): exit status 1: Failed [TestGitAnnexFstestBackendCases/TransferStoreAbsolute TestGitAnnexFstestBackendCases/TransferStorePathWithInteriorWhitespace]