"./gitannex.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestGitAnnexFstestBackendCases$/^(CheckPresentAndTransfer|Remove|RemoveNonexistentFile|RemovePreexistingFile|RetrieveNonexistentFile|StoreCheckpresentRetrieve|TransferAndCheckpresentWithRealisticKey|TransferStoreAbsolute|TransferStorePathWithInteriorWhitespace|TransferStoreRelative)$'" - Starting (try 2/5) 2025/11/03 03:36:35 DEBUG : Creating backend with remote "TestMega:rclone-test-zibudor1meve" 2025/11/03 03:36:35 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/11/03 03:36:35 DEBUG : mega root 'rclone-test-zibudor1meve': Using previously stored session ID and master key to initialize the Mega API 2025/11/03 03:36:55 DEBUG : Creating backend with remote "/tmp/rclone1934187480" === RUN TestGitAnnexFstestBackendCases === RUN TestGitAnnexFstestBackendCases/TransferStoreAbsolute run.go:185: Remote "mega root 'rclone-test-zibudor1meve'", Local "Local file system at /tmp/rclone1934187480", Modify Window "876000h0m0s" 2025/11/03 03:36:55 DEBUG : Creating backend with remote "TestMega:rclone-test-zibudor1meve" 2025/11/03 03:36:55 DEBUG : mega root 'rclone-test-zibudor1meve': Using previously stored session ID and master key to initialize the Mega API 2025/11/03 03:37:16 DEBUG : Creating backend with remote "/tmp/rclone1934187480" 2025/11/03 03:37:16 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/11/03 03:37:25 DEBUG : KeyAbsolute: size = 5 OK 2025/11/03 03:37:25 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/11/03 03:37:32 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/11/03 03:37:38 DEBUG : KeyAbsolute2: size = 5 OK 2025/11/03 03:37:38 INFO : file.txt: Copied (new) to: KeyAbsolute2 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/TransferStoreRelative run.go:185: Remote "mega root 'rclone-test-zibudor1meve'", Local "Local file system at /tmp/rclone1934187480", Modify Window "876000h0m0s" 2025/11/03 03:37:48 DEBUG : Creating backend with remote "TestMega:rclone-test-zibudor1meve" 2025/11/03 03:37:48 DEBUG : mega root 'rclone-test-zibudor1meve': Using previously stored session ID and master key to initialize the Mega API 2025/11/03 03:38:07 DEBUG : Creating backend with remote "../../rclone1934187480" 2025/11/03 03:38:07 DEBUG : fs cache: renaming cache item "../../rclone1934187480" to be canonical "/tmp/rclone1934187480" 2025/11/03 03:38:07 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/11/03 03:38:09 DEBUG : KeyRelative: size = 5 OK 2025/11/03 03:38:09 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-zibudor1meve'", Local "Local file system at /tmp/rclone1934187480", Modify Window "876000h0m0s" 2025/11/03 03:38:27 DEBUG : Creating backend with remote "TestMega:rclone-test-zibudor1meve" 2025/11/03 03:38:27 DEBUG : mega root 'rclone-test-zibudor1meve': Using previously stored session ID and master key to initialize the Mega API 2025/11/03 03:38:46 DEBUG : Creating backend with remote "../../rclone1934187480" 2025/11/03 03:38:46 DEBUG : fs cache: renaming cache item "../../rclone1934187480" to be canonical "/tmp/rclone1934187480" 2025/11/03 03:38:46 DEBUG : filename with spaces.txt: Need to transfer - File not found at Destination gitannex_test.go:307: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:307 /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: Received unexpected error: attempt to read line timed out: context deadline exceeded Test: TestGitAnnexFstestBackendCases/TransferStorePathWithInteriorWhitespace === RUN TestGitAnnexFstestBackendCases/CheckPresentAndTransfer run.go:185: Remote "mega root 'rclone-test-zibudor1meve'", Local "Local file system at /tmp/rclone1934187480", Modify Window "876000h0m0s" 2025/11/03 03:38:57 DEBUG : Creating backend with remote "TestMega:rclone-test-zibudor1meve" 2025/11/03 03:38:57 DEBUG : mega root 'rclone-test-zibudor1meve': Using previously stored session ID and master key to initialize the Mega API 2025/11/03 03:38:57 ERROR : filename with spaces.txt: Failed to copy: upload file failed to create session: unexpected end of JSON input 2025/11/03 03:39:08 DEBUG : mega root 'rclone-test-zibudor1meve': login with previous auth keys failed: 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:1115 /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:1446 Error: Not equal: expected: "CHECKPRESENT-FAILURE KeyThatDoesNotExist\n" actual : "CHECKPRESENT-UNKNOWN KeyThatDoesNotExist error finding file\n" Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -CHECKPRESENT-FAILURE KeyThatDoesNotExist +CHECKPRESENT-UNKNOWN KeyThatDoesNotExist error finding file Test: TestGitAnnexFstestBackendCases/CheckPresentAndTransfer === RUN TestGitAnnexFstestBackendCases/TransferAndCheckpresentWithRealisticKey run.go:185: Remote "mega root 'rclone-test-zibudor1meve'", Local "Local file system at /tmp/rclone1934187480", Modify Window "876000h0m0s" 2025/11/03 03:39:08 DEBUG : Creating backend with remote "TestMega:rclone-test-zibudor1meve" 2025/11/03 03:39:08 DEBUG : mega root 'rclone-test-zibudor1meve': Using previously stored session ID and master key to initialize the Mega API 2025/11/03 03:39:18 DEBUG : mega root 'rclone-test-zibudor1meve': login with previous auth keys failed: unexpected end of JSON input 2025/11/03 03:39:18 DEBUG : Creating backend with remote "/tmp/rclone1934187480" 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-zibudor1meve'", Local "Local file system at /tmp/rclone1934187480", Modify Window "876000h0m0s" 2025/11/03 03:39:18 DEBUG : Creating backend with remote "TestMega:rclone-test-zibudor1meve" 2025/11/03 03:39:19 DEBUG : mega root 'rclone-test-zibudor1meve': Using previously stored session ID and master key to initialize the Mega API 2025/11/03 03:39:29 DEBUG : mega root 'rclone-test-zibudor1meve': login with previous auth keys failed: unexpected end of JSON input 2025/11/03 03:39:29 DEBUG : Creating backend with remote "." 2025/11/03 03:39:29 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-zibudor1meve'", Local "Local file system at /tmp/rclone1934187480", Modify Window "876000h0m0s" 2025/11/03 03:39:29 DEBUG : Creating backend with remote "TestMega:rclone-test-zibudor1meve" 2025/11/03 03:39:29 DEBUG : mega root 'rclone-test-zibudor1meve': Using previously stored session ID and master key to initialize the Mega API 2025/11/03 03:39:50 DEBUG : Creating backend with remote "/tmp/rclone1934187480" 2025/11/03 03:39:50 DEBUG : file.txt: Need to transfer - File not found at Destination 2025/11/03 03:39:50 DEBUG : SomeKey: size = 5 OK 2025/11/03 03:39:50 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:39:57 DEBUG : SomeKey: Need to transfer - File not found at Destination 2025/11/03 03:39:57 DEBUG : file.txt.retrieved.8db7b9b7.partial: size = 5 OK 2025/11/03 03:39:57 DEBUG : file.txt.retrieved.8db7b9b7.partial: renamed to: file.txt.retrieved 2025/11/03 03:39:57 INFO : SomeKey: Copied (new) to: file.txt.retrieved === RUN TestGitAnnexFstestBackendCases/RemovePreexistingFile run.go:185: Remote "mega root 'rclone-test-zibudor1meve'", Local "Local file system at /tmp/rclone1934187480", Modify Window "876000h0m0s" 2025/11/03 03:39:58 DEBUG : Creating backend with remote "TestMega:rclone-test-zibudor1meve" 2025/11/03 03:39:58 DEBUG : mega root 'rclone-test-zibudor1meve': Using previously stored session ID and master key to initialize the Mega API 2025/11/03 03:40:20 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-zibudor1meve'", Local "Local file system at /tmp/rclone1934187480", Modify Window "876000h0m0s" 2025/11/03 03:40:27 DEBUG : Creating backend with remote "TestMega:rclone-test-zibudor1meve" 2025/11/03 03:40:27 DEBUG : mega root 'rclone-test-zibudor1meve': Using previously stored session ID and master key to initialize the Mega API gitannex_test.go:307: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:307 /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:1301 /home/rclone/go/src/github.com/rclone/rclone/cmd/gitannex/gitannex_test.go:1446 Error: Received unexpected error: attempt to read line timed out: context deadline exceeded Test: TestGitAnnexFstestBackendCases/Remove === RUN TestGitAnnexFstestBackendCases/RemoveNonexistentFile run.go:185: Remote "mega root 'rclone-test-zibudor1meve'", Local "Local file system at /tmp/rclone1934187480", Modify Window "876000h0m0s" 2025/11/03 03:40:57 DEBUG : Config file has changed externally - reloading 2025/11/03 03:40:57 DEBUG : Creating backend with remote "TestMega:rclone-test-zibudor1meve" 2025/11/03 03:40:58 DEBUG : mega root 'rclone-test-zibudor1meve': Using previously stored session ID and master key to initialize the Mega API --- FAIL: TestGitAnnexFstestBackendCases (262.01s) --- PASS: TestGitAnnexFstestBackendCases/TransferStoreAbsolute (52.78s) --- PASS: TestGitAnnexFstestBackendCases/TransferStoreRelative (39.05s) --- FAIL: TestGitAnnexFstestBackendCases/TransferStorePathWithInteriorWhitespace (30.00s) --- FAIL: TestGitAnnexFstestBackendCases/CheckPresentAndTransfer (10.62s) --- FAIL: TestGitAnnexFstestBackendCases/TransferAndCheckpresentWithRealisticKey (10.98s) --- FAIL: TestGitAnnexFstestBackendCases/RetrieveNonexistentFile (10.87s) --- PASS: TestGitAnnexFstestBackendCases/StoreCheckpresentRetrieve (27.69s) --- PASS: TestGitAnnexFstestBackendCases/RemovePreexistingFile (30.36s) --- FAIL: TestGitAnnexFstestBackendCases/Remove (30.00s) --- PASS: TestGitAnnexFstestBackendCases/RemoveNonexistentFile (19.64s) FAIL 2025/11/03 03:41:17 DEBUG : mega root 'rclone-test-zibudor1meve': Purge remote "./gitannex.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestGitAnnexFstestBackendCases$/^(CheckPresentAndTransfer|Remove|RemoveNonexistentFile|RemovePreexistingFile|RetrieveNonexistentFile|StoreCheckpresentRetrieve|TransferAndCheckpresentWithRealisticKey|TransferStoreAbsolute|TransferStorePathWithInteriorWhitespace|TransferStoreRelative)$'" - Finished ERROR in 4m43.046675228s (try 2/5): exit status 1: Failed [TestGitAnnexFstestBackendCases/TransferStorePathWithInteriorWhitespace TestGitAnnexFstestBackendCases/CheckPresentAndTransfer TestGitAnnexFstestBackendCases/TransferAndCheckpresentWithRealisticKey TestGitAnnexFstestBackendCases/RetrieveNonexistentFile TestGitAnnexFstestBackendCases/Remove]