"./gitannex.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose" - Starting (try 1/5) 2025/12/06 02:49:04 DEBUG : Creating backend with remote "TestMega:rclone-test-xodiyuh6zumu" 2025/12/06 02:49:04 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/12/06 02:49:04 DEBUG : mega root 'rclone-test-xodiyuh6zumu': Using previously stored session ID and master key to initialize the Mega API 2025/12/06 02:49:21 DEBUG : Creating backend with remote "/tmp/rclone867351908" === RUN TestEndToEnd e2e_test.go:189: Skipping because fstest remote was specified. --- SKIP: TestEndToEnd (0.00s) === RUN TestEndToEndMigration e2e_test.go:189: Skipping because fstest remote was specified. --- SKIP: TestEndToEndMigration (0.00s) === RUN TestEndToEndRepoLayoutCompat e2e_test.go:189: Skipping because fstest remote was specified. --- SKIP: TestEndToEndRepoLayoutCompat (0.00s) === RUN TestFixArgsForSymlinkIdentity --- PASS: TestFixArgsForSymlinkIdentity (0.00s) === RUN TestFixArgsForSymlinkCorrectName --- PASS: TestFixArgsForSymlinkCorrectName (0.00s) === RUN TestMessageParser === RUN TestMessageParser/OneParam === PAUSE TestMessageParser/OneParam === RUN TestMessageParser/TwoParams === PAUSE TestMessageParser/TwoParams === RUN TestMessageParser/TwoParamsNoTrailingNewline === PAUSE TestMessageParser/TwoParamsNoTrailingNewline === RUN TestMessageParser/ThreeParamsWhereFinalParamContainsSpaces === PAUSE TestMessageParser/ThreeParamsWhereFinalParamContainsSpaces === RUN TestMessageParser/OneLongFinalParameter === PAUSE TestMessageParser/OneLongFinalParameter === RUN TestMessageParser/MultipleSpaces === PAUSE TestMessageParser/MultipleSpaces === RUN TestMessageParser/StartsWithSpace === PAUSE TestMessageParser/StartsWithSpace === CONT TestMessageParser/OneParam === CONT TestMessageParser/StartsWithSpace === CONT TestMessageParser/MultipleSpaces === CONT TestMessageParser/OneLongFinalParameter === RUN TestMessageParser/OneLongFinalParameter/lineEnding === RUN TestMessageParser/OneLongFinalParameter/lineEnding0a === RUN TestMessageParser/OneLongFinalParameter/lineEnding0d === RUN TestMessageParser/OneLongFinalParameter/lineEnding0d0a === RUN TestMessageParser/OneLongFinalParameter/lineEnding0a0d === CONT TestMessageParser/ThreeParamsWhereFinalParamContainsSpaces === CONT TestMessageParser/TwoParamsNoTrailingNewline === CONT TestMessageParser/TwoParams --- PASS: TestMessageParser (0.00s) --- PASS: TestMessageParser/OneParam (0.00s) --- PASS: TestMessageParser/StartsWithSpace (0.00s) --- PASS: TestMessageParser/MultipleSpaces (0.00s) --- PASS: TestMessageParser/OneLongFinalParameter (0.00s) --- PASS: TestMessageParser/OneLongFinalParameter/lineEnding (0.00s) --- PASS: TestMessageParser/OneLongFinalParameter/lineEnding0a (0.00s) --- PASS: TestMessageParser/OneLongFinalParameter/lineEnding0d (0.00s) --- PASS: TestMessageParser/OneLongFinalParameter/lineEnding0d0a (0.00s) --- PASS: TestMessageParser/OneLongFinalParameter/lineEnding0a0d (0.00s) --- PASS: TestMessageParser/ThreeParamsWhereFinalParamContainsSpaces (0.00s) --- PASS: TestMessageParser/TwoParamsNoTrailingNewline (0.00s) --- PASS: TestMessageParser/TwoParams (0.00s) === RUN TestConfigDefinitionOneName --- PASS: TestConfigDefinitionOneName (0.00s) === RUN TestConfigDefinitionTwoNames --- PASS: TestConfigDefinitionTwoNames (0.00s) === RUN TestConfigDefinitionThreeNames --- PASS: TestConfigDefinitionThreeNames (0.00s) === RUN TestWindowsFilepathRelQuirk gitannex_test.go:371: --- SKIP: TestWindowsFilepathRelQuirk (0.00s) === RUN TestReadLineHasShortDeadline --- PASS: TestReadLineHasShortDeadline (0.05s) === RUN TestGitAnnexFstestBackendCases === RUN TestGitAnnexFstestBackendCases/HandlesInit run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/HandlesListConfigs run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/HandlesPrepare run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/HandlesPrepareWithUnknownLayout run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/HandlesPrepareWithNonexistentRemote run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/HandlesPrepareWithPathAsRemote run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/HandlesPrepareWithNonexistentBackendAsRemote run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/HandlesPrepareWithBackendAsRemote run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/HandlesPrepareWithBackendMissingTrailingColonAsRemote run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/HandlesPrepareWithBackendContainingOptionsAsRemote run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/HandlesPrepareWithBackendContainingOptionsAndIllegalPathAsRemote run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/HandlesPrepareWithRemoteContainingOptions run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/HandlesPrepareWithSynonyms run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/HandlesPrepareAndDoesNotTrimWhitespaceFromValue run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/HandlesEarlyError run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/ConfigFail run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/TransferStoreEmptyPath run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/ExtensionsCompound run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/ExtensionsIdempotent run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/ExtensionsSupportsMultiple run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 ERROR : error listing: directory not found 2025/12/06 02:49:21 ERROR : error listing: directory not found === RUN TestGitAnnexFstestBackendCases/TransferStoreAbsolute run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:49:21 DEBUG : Creating backend with remote "TestMega:rclone-test-xodiyuh6zumu" 2025/12/06 02:49:21 DEBUG : mega root 'rclone-test-xodiyuh6zumu': Using previously stored session ID and master key to initialize the Mega API 2025/12/06 02:49:36 DEBUG : Creating backend with remote "/tmp/rclone867351908" 2025/12/06 02:49:36 DEBUG : Config file has changed externally - reloading 2025/12/06 02:49:36 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/12/06 02:49:42 DEBUG : KeyAbsolute: size = 5 OK 2025/12/06 02:49:42 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 2025/12/06 02:49:49 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/12/06 02:49:59 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/TransferStoreRelative run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:50:05 DEBUG : Creating backend with remote "TestMega:rclone-test-xodiyuh6zumu" 2025/12/06 02:50:05 DEBUG : mega root 'rclone-test-xodiyuh6zumu': Using previously stored session ID and master key to initialize the Mega API 2025/12/06 02:50:20 DEBUG : Creating backend with remote "../../rclone867351908" 2025/12/06 02:50:20 DEBUG : fs cache: renaming cache item "../../rclone867351908" to be canonical "/tmp/rclone867351908" 2025/12/06 02:50:20 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/12/06 02:50:21 DEBUG : KeyRelative: size = 5 OK 2025/12/06 02:50:21 INFO : file.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/TransferStorePathWithInteriorWhitespace run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:50:28 DEBUG : Creating backend with remote "TestMega:rclone-test-xodiyuh6zumu" 2025/12/06 02:50:28 DEBUG : mega root 'rclone-test-xodiyuh6zumu': Using previously stored session ID and master key to initialize the Mega API 2025/12/06 02:50:43 DEBUG : Creating backend with remote "../../rclone867351908" 2025/12/06 02:50:43 DEBUG : fs cache: renaming cache item "../../rclone867351908" to be canonical "/tmp/rclone867351908" 2025/12/06 02:50:43 DEBUG : filename with spaces.txt: Need to transfer - File not found at Destination 2025/12/06 02:50:49 DEBUG : KeyRelative: size = 5 OK 2025/12/06 02:50:49 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-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:50:56 DEBUG : Creating backend with remote "TestMega:rclone-test-xodiyuh6zumu" 2025/12/06 02:50:56 DEBUG : mega root 'rclone-test-xodiyuh6zumu': Using previously stored session ID and master key to initialize the Mega API 2025/12/06 02:51:12 DEBUG : Creating backend with remote "/tmp/rclone867351908" 2025/12/06 02:51:12 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/12/06 02:51:12 DEBUG : KeyAbsolute: size = 5 OK 2025/12/06 02:51:12 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-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:51:20 DEBUG : Creating backend with remote "TestMega:rclone-test-xodiyuh6zumu" 2025/12/06 02:51:20 DEBUG : mega root 'rclone-test-xodiyuh6zumu': Using previously stored session ID and master key to initialize the Mega API 2025/12/06 02:51:36 DEBUG : Creating backend with remote "/tmp/rclone867351908" 2025/12/06 02:51:36 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/12/06 02:51:39 DEBUG : foo: size = 5 OK 2025/12/06 02:51:39 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-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:51:47 DEBUG : Creating backend with remote "TestMega:rclone-test-xodiyuh6zumu" 2025/12/06 02:51:47 DEBUG : mega root 'rclone-test-xodiyuh6zumu': Using previously stored session ID and master key to initialize the Mega API 2025/12/06 02:52:06 DEBUG : Creating backend with remote "/tmp/rclone867351908" 2025/12/06 02:52:06 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/12/06 02:52:17 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-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:52:17 DEBUG : Creating backend with remote "TestMega:rclone-test-xodiyuh6zumu" 2025/12/06 02:52:17 DEBUG : mega root 'rclone-test-xodiyuh6zumu': Using previously stored session ID and master key to initialize the Mega API 2025/12/06 02:52:34 DEBUG : Creating backend with remote "." 2025/12/06 02:52:34 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-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:52:34 DEBUG : Creating backend with remote "TestMega:rclone-test-xodiyuh6zumu" 2025/12/06 02:52:34 DEBUG : mega root 'rclone-test-xodiyuh6zumu': Using previously stored session ID and master key to initialize the Mega API 2025/12/06 02:52:49 DEBUG : Creating backend with remote "/tmp/rclone867351908" 2025/12/06 02:52:49 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/12/06 02:52:49 DEBUG : SomeKey: size = 5 OK 2025/12/06 02:52:49 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/12/06 02:52:56 DEBUG : SomeKey: Need to transfer - File not found at Destination 2025/12/06 02:52:56 DEBUG : file.txt.retrieved.8db7b9b7.partial: size = 5 OK 2025/12/06 02:52:56 DEBUG : file.txt.retrieved.8db7b9b7.partial: renamed to: file.txt.retrieved 2025/12/06 02:52:56 INFO : SomeKey: Copied (new) to: file.txt.retrieved === RUN TestGitAnnexFstestBackendCases/RemovePreexistingFile run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:53:00 DEBUG : Creating backend with remote "TestMega:rclone-test-xodiyuh6zumu" 2025/12/06 02:53:00 DEBUG : mega root 'rclone-test-xodiyuh6zumu': Using previously stored session ID and master key to initialize the Mega API 2025/12/06 02:53:15 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-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:53:22 DEBUG : Creating backend with remote "TestMega:rclone-test-xodiyuh6zumu" 2025/12/06 02:53:22 DEBUG : mega root 'rclone-test-xodiyuh6zumu': Using previously stored session ID and master key to initialize the Mega API 2025/12/06 02:53:39 DEBUG : Creating backend with remote "/tmp/rclone867351908" 2025/12/06 02:53:39 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/12/06 02:53:51 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:1305 /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:1446 Error: Not equal: expected: "TRANSFER-SUCCESS STORE SomeKey\n" actual : "TRANSFER-FAILURE STORE SomeKey failed to copy file: failed to finish upload: unexpected end of JSON input\n" Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -TRANSFER-SUCCESS STORE SomeKey +TRANSFER-FAILURE STORE SomeKey failed to copy file: failed to finish upload: unexpected end of JSON input Test: TestGitAnnexFstestBackendCases/Remove === RUN TestGitAnnexFstestBackendCases/RemoveNonexistentFile run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" 2025/12/06 02:53:51 DEBUG : Creating backend with remote "TestMega:rclone-test-xodiyuh6zumu" 2025/12/06 02:53:51 DEBUG : mega root 'rclone-test-xodiyuh6zumu': Using previously stored session ID and master key to initialize the Mega API === RUN TestGitAnnexFstestBackendCases/ExportNotSupported run.go:185: Remote "mega root 'rclone-test-xodiyuh6zumu'", Local "Local file system at /tmp/rclone867351908", Modify Window "876000h0m0s" --- FAIL: TestGitAnnexFstestBackendCases (288.14s) --- PASS: TestGitAnnexFstestBackendCases/HandlesInit (0.00s) --- PASS: TestGitAnnexFstestBackendCases/HandlesListConfigs (0.00s) --- PASS: TestGitAnnexFstestBackendCases/HandlesPrepare (0.00s) --- PASS: TestGitAnnexFstestBackendCases/HandlesPrepareWithUnknownLayout (0.00s) --- PASS: TestGitAnnexFstestBackendCases/HandlesPrepareWithNonexistentRemote (0.00s) --- PASS: TestGitAnnexFstestBackendCases/HandlesPrepareWithPathAsRemote (0.00s) --- PASS: TestGitAnnexFstestBackendCases/HandlesPrepareWithNonexistentBackendAsRemote (0.00s) --- PASS: TestGitAnnexFstestBackendCases/HandlesPrepareWithBackendAsRemote (0.00s) --- PASS: TestGitAnnexFstestBackendCases/HandlesPrepareWithBackendMissingTrailingColonAsRemote (0.00s) --- PASS: TestGitAnnexFstestBackendCases/HandlesPrepareWithBackendContainingOptionsAsRemote (0.00s) --- PASS: TestGitAnnexFstestBackendCases/HandlesPrepareWithBackendContainingOptionsAndIllegalPathAsRemote (0.00s) --- PASS: TestGitAnnexFstestBackendCases/HandlesPrepareWithRemoteContainingOptions (0.00s) --- PASS: TestGitAnnexFstestBackendCases/HandlesPrepareWithSynonyms (0.00s) --- PASS: TestGitAnnexFstestBackendCases/HandlesPrepareAndDoesNotTrimWhitespaceFromValue (0.00s) --- PASS: TestGitAnnexFstestBackendCases/HandlesEarlyError (0.00s) --- PASS: TestGitAnnexFstestBackendCases/ConfigFail (0.00s) --- PASS: TestGitAnnexFstestBackendCases/TransferStoreEmptyPath (0.00s) --- PASS: TestGitAnnexFstestBackendCases/ExtensionsCompound (0.00s) --- PASS: TestGitAnnexFstestBackendCases/ExtensionsIdempotent (0.00s) --- PASS: TestGitAnnexFstestBackendCases/ExtensionsSupportsMultiple (0.00s) --- FAIL: TestGitAnnexFstestBackendCases/TransferStoreAbsolute (44.08s) --- PASS: TestGitAnnexFstestBackendCases/TransferStoreRelative (23.13s) --- PASS: TestGitAnnexFstestBackendCases/TransferStorePathWithInteriorWhitespace (28.21s) --- PASS: TestGitAnnexFstestBackendCases/CheckPresentAndTransfer (23.59s) --- PASS: TestGitAnnexFstestBackendCases/CheckpresentTransferCheckpresent (27.53s) --- FAIL: TestGitAnnexFstestBackendCases/TransferAndCheckpresentWithRealisticKey (29.76s) --- PASS: TestGitAnnexFstestBackendCases/RetrieveNonexistentFile (16.71s) --- PASS: TestGitAnnexFstestBackendCases/StoreCheckpresentRetrieve (24.47s) --- PASS: TestGitAnnexFstestBackendCases/RemovePreexistingFile (23.64s) --- FAIL: TestGitAnnexFstestBackendCases/Remove (29.46s) --- PASS: TestGitAnnexFstestBackendCases/RemoveNonexistentFile (17.54s) --- PASS: TestGitAnnexFstestBackendCases/ExportNotSupported (0.00s) FAIL 2025/12/06 02:54:09 DEBUG : mega root 'rclone-test-xodiyuh6zumu': Purge remote "./gitannex.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose" - Finished ERROR in 5m5.410883756s (try 1/5): exit status 1: Failed [TestGitAnnexFstestBackendCases/TransferStoreAbsolute TestGitAnnexFstestBackendCases/TransferAndCheckpresentWithRealisticKey TestGitAnnexFstestBackendCases/Remove]