"./gitannex.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestGitAnnexFstestBackendCases$/^(CheckPresentAndTransfer|CheckpresentTransferCheckpresent|RemovePreexistingFile|RetrieveNonexistentFile|StoreCheckpresentRetrieve|TransferAndCheckpresentWithRealisticKey)$'" - Starting (try 2/5) 2025/11/30 03:15:02 DEBUG : Creating backend with remote "TestMega:rclone-test-xobuhal3woge" 2025/11/30 03:15:02 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/11/30 03:15:02 DEBUG : mega root 'rclone-test-xobuhal3woge': Using previously stored session ID and master key to initialize the Mega API 2025/11/30 03:15:20 DEBUG : Creating backend with remote "/tmp/rclone2766866882" === RUN TestGitAnnexFstestBackendCases === RUN TestGitAnnexFstestBackendCases/CheckPresentAndTransfer run.go:185: Remote "mega root 'rclone-test-xobuhal3woge'", Local "Local file system at /tmp/rclone2766866882", Modify Window "876000h0m0s" 2025/11/30 03:15:20 DEBUG : Creating backend with remote "TestMega:rclone-test-xobuhal3woge" 2025/11/30 03:15:20 DEBUG : mega root 'rclone-test-xobuhal3woge': Using previously stored session ID and master key to initialize the Mega API 2025/11/30 03:15:40 DEBUG : Creating backend with remote "/tmp/rclone2766866882" 2025/11/30 03:15:40 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/11/30 03:15:43 DEBUG : KeyAbsolute: size = 5 OK 2025/11/30 03:15:43 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 === RUN TestGitAnnexFstestBackendCases/CheckpresentTransferCheckpresent run.go:185: Remote "mega root 'rclone-test-xobuhal3woge'", Local "Local file system at /tmp/rclone2766866882", Modify Window "876000h0m0s" 2025/11/30 03:16:00 DEBUG : Creating backend with remote "TestMega:rclone-test-xobuhal3woge" 2025/11/30 03:16:00 DEBUG : mega root 'rclone-test-xobuhal3woge': Using previously stored session ID and master key to initialize the Mega API 2025/11/30 03:16:18 DEBUG : Creating backend with remote "/tmp/rclone2766866882" 2025/11/30 03:16:18 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/11/30 03:16:20 DEBUG : foo: size = 5 OK 2025/11/30 03:16:20 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-xobuhal3woge'", Local "Local file system at /tmp/rclone2766866882", Modify Window "876000h0m0s" 2025/11/30 03:16:27 DEBUG : Creating backend with remote "TestMega:rclone-test-xobuhal3woge" 2025/11/30 03:16:27 DEBUG : mega root 'rclone-test-xobuhal3woge': Using previously stored session ID and master key to initialize the Mega API 2025/11/30 03:16:45 DEBUG : Creating backend with remote "/tmp/rclone2766866882" 2025/11/30 03:16:45 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/11/30 03:16:56 ERROR : file.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:1185 /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:1446 Error: Not equal: expected: "TRANSFER-SUCCESS STORE SHA256E-s1048576--7ba87e06b9b7903cfbaf4a38736766c161e3e7b42f06fe57f040aa410a8f0701.this-is-a-test-key\n" actual : "TRANSFER-FAILURE STORE SHA256E-s1048576--7ba87e06b9b7903cfbaf4a38736766c161e3e7b42f06fe57f040aa410a8f0701.this-is-a-test-key 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 SHA256E-s1048576--7ba87e06b9b7903cfbaf4a38736766c161e3e7b42f06fe57f040aa410a8f0701.this-is-a-test-key +TRANSFER-FAILURE STORE SHA256E-s1048576--7ba87e06b9b7903cfbaf4a38736766c161e3e7b42f06fe57f040aa410a8f0701.this-is-a-test-key failed to copy file: upload file failed to create session: unexpected end of JSON input Test: TestGitAnnexFstestBackendCases/TransferAndCheckpresentWithRealisticKey === RUN TestGitAnnexFstestBackendCases/RetrieveNonexistentFile run.go:185: Remote "mega root 'rclone-test-xobuhal3woge'", Local "Local file system at /tmp/rclone2766866882", Modify Window "876000h0m0s" 2025/11/30 03:16:56 DEBUG : Creating backend with remote "TestMega:rclone-test-xobuhal3woge" 2025/11/30 03:16:56 DEBUG : mega root 'rclone-test-xobuhal3woge': Using previously stored session ID and master key to initialize the Mega API 2025/11/30 03:17:06 DEBUG : mega root 'rclone-test-xobuhal3woge': login with previous auth keys failed: unexpected end of JSON input 2025/11/30 03:17:06 DEBUG : Creating backend with remote "." 2025/11/30 03:17:06 DEBUG : fs cache: renaming cache item "." to be canonical "/home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex" 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:1206 /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:1446 Error: Not equal: expected: "TRANSFER-FAILURE RETRIEVE SomeKey not found\n" actual : "TRANSFER-FAILURE RETRIEVE SomeKey failed to copy file: Invalid arguments\n" Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -TRANSFER-FAILURE RETRIEVE SomeKey not found +TRANSFER-FAILURE RETRIEVE SomeKey failed to copy file: Invalid arguments Test: TestGitAnnexFstestBackendCases/RetrieveNonexistentFile === RUN TestGitAnnexFstestBackendCases/StoreCheckpresentRetrieve run.go:185: Remote "mega root 'rclone-test-xobuhal3woge'", Local "Local file system at /tmp/rclone2766866882", Modify Window "876000h0m0s" 2025/11/30 03:17:06 DEBUG : Creating backend with remote "TestMega:rclone-test-xobuhal3woge" 2025/11/30 03:17:06 DEBUG : mega root 'rclone-test-xobuhal3woge': Using previously stored session ID and master key to initialize the Mega API 2025/11/30 03:17:34 DEBUG : Creating backend with remote "/tmp/rclone2766866882" 2025/11/30 03:17:34 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/11/30 03:17:34 DEBUG : SomeKey: size = 5 OK 2025/11/30 03:17:34 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 2025/11/30 03:17:41 DEBUG : SomeKey: Need to transfer - File not found at Destination 2025/11/30 03:17:42 DEBUG : file.txt.retrieved.8db7b9b7.partial: size = 5 OK 2025/11/30 03:17:42 DEBUG : file.txt.retrieved.8db7b9b7.partial: renamed to: file.txt.retrieved 2025/11/30 03:17:42 INFO : SomeKey: Copied (new) to: file.txt.retrieved === RUN TestGitAnnexFstestBackendCases/RemovePreexistingFile run.go:185: Remote "mega root 'rclone-test-xobuhal3woge'", Local "Local file system at /tmp/rclone2766866882", Modify Window "876000h0m0s" run.go:290: Failed to put "SomeKey" to "mega root 'rclone-test-xobuhal3woge'": upload file failed to create session: unexpected end of JSON input --- FAIL: TestGitAnnexFstestBackendCases (152.99s) --- PASS: TestGitAnnexFstestBackendCases/CheckPresentAndTransfer (39.64s) --- PASS: TestGitAnnexFstestBackendCases/CheckpresentTransferCheckpresent (27.38s) --- FAIL: TestGitAnnexFstestBackendCases/TransferAndCheckpresentWithRealisticKey (28.21s) --- FAIL: TestGitAnnexFstestBackendCases/RetrieveNonexistentFile (10.68s) --- PASS: TestGitAnnexFstestBackendCases/StoreCheckpresentRetrieve (36.50s) --- FAIL: TestGitAnnexFstestBackendCases/RemovePreexistingFile (10.59s) FAIL 2025/11/30 03:17:53 DEBUG : mega root 'rclone-test-xobuhal3woge': Purge remote "./gitannex.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestGitAnnexFstestBackendCases$/^(CheckPresentAndTransfer|CheckpresentTransferCheckpresent|RemovePreexistingFile|RetrieveNonexistentFile|StoreCheckpresentRetrieve|TransferAndCheckpresentWithRealisticKey)$'" - Finished ERROR in 2m53.741797072s (try 2/5): exit status 1: Failed [TestGitAnnexFstestBackendCases/TransferAndCheckpresentWithRealisticKey TestGitAnnexFstestBackendCases/RetrieveNonexistentFile TestGitAnnexFstestBackendCases/RemovePreexistingFile]