"./gitannex.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestGitAnnexFstestBackendCases$/^(CheckPresentAndTransfer|Remove|RemovePreexistingFile|StoreCheckpresentRetrieve|TransferStoreAbsolute|TransferStorePathWithInteriorWhitespace|TransferStoreRelative)$'" - Starting (try 2/5) 2026/05/04 04:45:47 DEBUG : Creating backend with remote "TestMega:rclone-test-vugegeg5xiwo" 2026/05/04 04:45:47 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/04 04:45:47 DEBUG : mega root 'rclone-test-vugegeg5xiwo': Using previously stored session ID and master key to initialize the Mega API 2026/05/04 04:46:10 DEBUG : Creating backend with remote "/tmp/rclone3957445057" === RUN TestGitAnnexFstestBackendCases === RUN TestGitAnnexFstestBackendCases/TransferStoreAbsolute run.go:185: Remote "mega root 'rclone-test-vugegeg5xiwo'", Local "Local file system at /tmp/rclone3957445057", Modify Window "876000h0m0s" 2026/05/04 04:46:10 DEBUG : Creating backend with remote "TestMega:rclone-test-vugegeg5xiwo" 2026/05/04 04:46:10 DEBUG : mega root 'rclone-test-vugegeg5xiwo': Using previously stored session ID and master key to initialize the Mega API 2026/05/04 04:46:29 DEBUG : Creating backend with remote "/tmp/rclone3957445057" 2026/05/04 04:46:29 DEBUG : file.txt: Need to transfer - File not found at Destination 2026/05/04 04:46:29 DEBUG : KeyAbsolute: size = 5 OK 2026/05/04 04:46: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/05/04 04:46:36 DEBUG : file.txt: Need to transfer - File not found at Destination 2026/05/04 04:46:47 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: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: upload file failed to create session: 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: upload file failed to create session: unexpected end of JSON input Test: TestGitAnnexFstestBackendCases/TransferStoreAbsolute === RUN TestGitAnnexFstestBackendCases/TransferStoreRelative run.go:185: Remote "mega root 'rclone-test-vugegeg5xiwo'", Local "Local file system at /tmp/rclone3957445057", Modify Window "876000h0m0s" 2026/05/04 04:46:57 DEBUG : Creating backend with remote "TestMega:rclone-test-vugegeg5xiwo" 2026/05/04 04:46:57 DEBUG : mega root 'rclone-test-vugegeg5xiwo': Using previously stored session ID and master key to initialize the Mega API 2026/05/04 04:47:22 DEBUG : Creating backend with remote "../../rclone3957445057" 2026/05/04 04:47:22 DEBUG : fs cache: renaming cache item "../../rclone3957445057" to be canonical "/tmp/rclone3957445057" 2026/05/04 04:47:22 DEBUG : file.txt: Need to transfer - File not found at Destination 2026/05/04 04:47:23 DEBUG : KeyRelative: size = 5 OK 2026/05/04 04:47:23 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-vugegeg5xiwo'", Local "Local file system at /tmp/rclone3957445057", Modify Window "876000h0m0s" 2026/05/04 04:47:34 DEBUG : Creating backend with remote "TestMega:rclone-test-vugegeg5xiwo" 2026/05/04 04:47:34 DEBUG : mega root 'rclone-test-vugegeg5xiwo': Using previously stored session ID and master key to initialize the Mega API 2026/05/04 04:47:56 DEBUG : Creating backend with remote "../../rclone3957445057" 2026/05/04 04:47:56 DEBUG : fs cache: renaming cache item "../../rclone3957445057" to be canonical "/tmp/rclone3957445057" 2026/05/04 04:47:56 DEBUG : filename with spaces.txt: Need to transfer - File not found at Destination 2026/05/04 04:47:57 DEBUG : KeyRelative: size = 5 OK 2026/05/04 04:47:57 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-vugegeg5xiwo'", Local "Local file system at /tmp/rclone3957445057", Modify Window "876000h0m0s" 2026/05/04 04:48:04 DEBUG : Creating backend with remote "TestMega:rclone-test-vugegeg5xiwo" 2026/05/04 04:48:04 DEBUG : mega root 'rclone-test-vugegeg5xiwo': Using previously stored session ID and master key to initialize the Mega API 2026/05/04 04:48:23 DEBUG : Creating backend with remote "/tmp/rclone3957445057" 2026/05/04 04:48:23 DEBUG : file.txt: Need to transfer - File not found at Destination 2026/05/04 04:48:24 DEBUG : KeyAbsolute: size = 5 OK 2026/05/04 04:48:24 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/StoreCheckpresentRetrieve run.go:185: Remote "mega root 'rclone-test-vugegeg5xiwo'", Local "Local file system at /tmp/rclone3957445057", Modify Window "876000h0m0s" 2026/05/04 04:48:31 DEBUG : Creating backend with remote "TestMega:rclone-test-vugegeg5xiwo" 2026/05/04 04:48:31 DEBUG : mega root 'rclone-test-vugegeg5xiwo': Using previously stored session ID and master key to initialize the Mega API 2026/05/04 04:48:50 DEBUG : Creating backend with remote "/tmp/rclone3957445057" 2026/05/04 04:48:50 DEBUG : file.txt: Need to transfer - File not found at Destination 2026/05/04 04:48:51 DEBUG : SomeKey: size = 5 OK 2026/05/04 04:48:51 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/05/04 04:48:58 DEBUG : SomeKey: Need to transfer - File not found at Destination 2026/05/04 04:48:58 DEBUG : file.txt.retrieved.8db7b9b7.partial: size = 5 OK 2026/05/04 04:48:58 DEBUG : file.txt.retrieved.8db7b9b7.partial: renamed to: file.txt.retrieved 2026/05/04 04:48:58 INFO : SomeKey: Copied (new) to: file.txt.retrieved === RUN TestGitAnnexFstestBackendCases/RemovePreexistingFile run.go:185: Remote "mega root 'rclone-test-vugegeg5xiwo'", Local "Local file system at /tmp/rclone3957445057", Modify Window "876000h0m0s" 2026/05/04 04:49:03 DEBUG : Creating backend with remote "TestMega:rclone-test-vugegeg5xiwo" 2026/05/04 04:49:03 DEBUG : mega root 'rclone-test-vugegeg5xiwo': Using previously stored session ID and master key to initialize the Mega API 2026/05/04 04:49:24 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-vugegeg5xiwo'", Local "Local file system at /tmp/rclone3957445057", Modify Window "876000h0m0s" 2026/05/04 04:49:31 DEBUG : Creating backend with remote "TestMega:rclone-test-vugegeg5xiwo" 2026/05/04 04:49:31 DEBUG : mega root 'rclone-test-vugegeg5xiwo': Using previously stored session ID and master key to initialize the Mega API 2026/05/04 04:49:54 DEBUG : Creating backend with remote "/tmp/rclone3957445057" 2026/05/04 04:49:54 DEBUG : file.txt: Need to transfer - File not found at Destination 2026/05/04 04:49:54 DEBUG : SomeKey: size = 5 OK 2026/05/04 04:49:54 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/05/04 04:50:04 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 (241.00s) --- FAIL: TestGitAnnexFstestBackendCases/TransferStoreAbsolute (46.97s) --- PASS: TestGitAnnexFstestBackendCases/TransferStoreRelative (36.93s) --- PASS: TestGitAnnexFstestBackendCases/TransferStorePathWithInteriorWhitespace (29.54s) --- PASS: TestGitAnnexFstestBackendCases/CheckPresentAndTransfer (26.76s) --- PASS: TestGitAnnexFstestBackendCases/StoreCheckpresentRetrieve (29.94s) --- PASS: TestGitAnnexFstestBackendCases/RemovePreexistingFile (30.21s) --- PASS: TestGitAnnexFstestBackendCases/Remove (40.65s) FAIL 2026/05/04 04:50:11 DEBUG : mega root 'rclone-test-vugegeg5xiwo': Purge remote "./gitannex.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestGitAnnexFstestBackendCases$/^(CheckPresentAndTransfer|Remove|RemovePreexistingFile|StoreCheckpresentRetrieve|TransferStoreAbsolute|TransferStorePathWithInteriorWhitespace|TransferStoreRelative)$'" - Finished ERROR in 4m26.690351948s (try 2/5): exit status 1: Failed [TestGitAnnexFstestBackendCases/TransferStoreAbsolute]