"./gitannex.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestGitAnnexFstestBackendCases$/^(CheckPresentAndTransfer|Remove|RetrieveNonexistentFile|TransferAndCheckpresentWithRealisticKey|TransferStorePathWithInteriorWhitespace)$'" - Starting (try 3/5) 2025/11/03 03:41:18 DEBUG : Creating backend with remote "TestMega:rclone-test-hawibey2taze" 2025/11/03 03:41:18 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/11/03 03:41:18 DEBUG : mega root 'rclone-test-hawibey2taze': Using previously stored session ID and master key to initialize the Mega API 2025/11/03 03:41:39 DEBUG : Creating backend with remote "/tmp/rclone2788233276" === RUN TestGitAnnexFstestBackendCases === RUN TestGitAnnexFstestBackendCases/TransferStorePathWithInteriorWhitespace run.go:185: Remote "mega root 'rclone-test-hawibey2taze'", Local "Local file system at /tmp/rclone2788233276", Modify Window "876000h0m0s" 2025/11/03 03:41:39 DEBUG : Creating backend with remote "TestMega:rclone-test-hawibey2taze" 2025/11/03 03:41:39 DEBUG : mega root 'rclone-test-hawibey2taze': Using previously stored session ID and master key to initialize the Mega API 2025/11/03 03:41:59 DEBUG : Creating backend with remote "../../rclone2788233276" 2025/11/03 03:41:59 DEBUG : fs cache: renaming cache item "../../rclone2788233276" to be canonical "/tmp/rclone2788233276" 2025/11/03 03:41:59 DEBUG : filename with spaces.txt: Need to transfer - File not found at Destination 2025/11/03 03:42:02 DEBUG : KeyRelative: size = 5 OK 2025/11/03 03:42:02 INFO : filename with spaces.txt: Copied (new) to: KeyRelative 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-hawibey2taze'", Local "Local file system at /tmp/rclone2788233276", Modify Window "876000h0m0s" 2025/11/03 03:42:09 DEBUG : Creating backend with remote "TestMega:rclone-test-hawibey2taze" 2025/11/03 03:42:09 DEBUG : mega root 'rclone-test-hawibey2taze': Using previously stored session ID and master key to initialize the Mega API 2025/11/03 03:42:27 DEBUG : Creating backend with remote "/tmp/rclone2788233276" 2025/11/03 03:42:27 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/11/03 03:42:38 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:1119 /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:1446 Error: Not equal: expected: "TRANSFER-SUCCESS STORE KeyAbsolute\n" actual : "TRANSFER-FAILURE STORE KeyAbsolute 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 KeyAbsolute +TRANSFER-FAILURE STORE KeyAbsolute failed to copy file: upload file failed to create session: unexpected end of JSON input Test: TestGitAnnexFstestBackendCases/CheckPresentAndTransfer === RUN TestGitAnnexFstestBackendCases/TransferAndCheckpresentWithRealisticKey run.go:185: Remote "mega root 'rclone-test-hawibey2taze'", Local "Local file system at /tmp/rclone2788233276", Modify Window "876000h0m0s" 2025/11/03 03:42:38 DEBUG : Creating backend with remote "TestMega:rclone-test-hawibey2taze" 2025/11/03 03:42:38 DEBUG : mega root 'rclone-test-hawibey2taze': Using previously stored session ID and master key to initialize the Mega API 2025/11/03 03:42:49 DEBUG : mega root 'rclone-test-hawibey2taze': login with previous auth keys failed: unexpected end of JSON input 2025/11/03 03:42:49 DEBUG : Creating backend with remote "/tmp/rclone2788233276" 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: Invalid arguments\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: Invalid arguments Test: TestGitAnnexFstestBackendCases/TransferAndCheckpresentWithRealisticKey === RUN TestGitAnnexFstestBackendCases/RetrieveNonexistentFile run.go:185: Remote "mega root 'rclone-test-hawibey2taze'", Local "Local file system at /tmp/rclone2788233276", Modify Window "876000h0m0s" 2025/11/03 03:42:49 DEBUG : Creating backend with remote "TestMega:rclone-test-hawibey2taze" 2025/11/03 03:42:49 DEBUG : mega root 'rclone-test-hawibey2taze': Using previously stored session ID and master key to initialize the Mega API 2025/11/03 03:43:09 DEBUG : Creating backend with remote "." 2025/11/03 03:43:09 DEBUG : fs cache: renaming cache item "." to be canonical "/home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex" === RUN TestGitAnnexFstestBackendCases/Remove run.go:185: Remote "mega root 'rclone-test-hawibey2taze'", Local "Local file system at /tmp/rclone2788233276", Modify Window "876000h0m0s" 2025/11/03 03:43:09 DEBUG : Creating backend with remote "TestMega:rclone-test-hawibey2taze" 2025/11/03 03:43:09 DEBUG : mega root 'rclone-test-hawibey2taze': Using previously stored session ID and master key to initialize the Mega API 2025/11/03 03:43:27 DEBUG : Creating backend with remote "/tmp/rclone2788233276" 2025/11/03 03:43:27 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/11/03 03:43:27 DEBUG : SomeKey: size = 5 OK 2025/11/03 03:43:27 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/03 03:43:34 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 (122.76s) --- PASS: TestGitAnnexFstestBackendCases/TransferStorePathWithInteriorWhitespace (30.00s) --- FAIL: TestGitAnnexFstestBackendCases/CheckPresentAndTransfer (29.60s) --- FAIL: TestGitAnnexFstestBackendCases/TransferAndCheckpresentWithRealisticKey (10.76s) --- PASS: TestGitAnnexFstestBackendCases/RetrieveNonexistentFile (19.89s) --- PASS: TestGitAnnexFstestBackendCases/Remove (32.50s) FAIL 2025/11/03 03:43:41 DEBUG : mega root 'rclone-test-hawibey2taze': Purge remote "./gitannex.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestGitAnnexFstestBackendCases$/^(CheckPresentAndTransfer|Remove|RetrieveNonexistentFile|TransferAndCheckpresentWithRealisticKey|TransferStorePathWithInteriorWhitespace)$'" - Finished ERROR in 2m34.810604451s (try 3/5): exit status 1: Failed [TestGitAnnexFstestBackendCases/CheckPresentAndTransfer TestGitAnnexFstestBackendCases/TransferAndCheckpresentWithRealisticKey]