git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Error: failed to store: -25299

From
ryenus <ryenus@gmail.com>
Date
May 13, 2024, 11:43 UTC
Message-ID
<CAKkAvaxFbcLZNdz5cdAF8ZFNtVT1qQYKWcmkniQ3Uzu8mdEt5w@mail.gmail.com>
In-Reply-To
<20240510221323.GA1971112@coredump.intra.peff.net>
On Sat, 11 May 2024 at 06:13, Jeff King <peff@peff.net> wrote:
Show 33 quoted lines
>
> On Fri, May 10, 2024 at 03:52:25PM +0800, ryenus wrote:
>
> > Command I run: `parallel git -C {} fetch ::: repo1 repo2 rep3`, which is
> > to fetch multiple repositories in parallel using GNU parallel.
> >
> > This worked pretty well for me in the past, however with git version
> > 2.45, maybe 2.44 as well, it would randomly emit below error:
> >
> > > failed to store: -25299
>
> There's some related discussion over in:
>
>   https://lore.kernel.org/git/pull.1729.git.1715328467099.gitgitgadget@gmail.com/
>
> But most curious to me is:
>
> > But if I do this without GNU parallel, or `parallel -j1` with only
> > one worker, things work just fine.
> > And when I switched back to git 2.43.2, I don't see such error either.
>
> I would have assumed this was an issue going back to 2011, since each of
> those fetches is going to try storing the successful credential. But if
> older-but-recent versions of Git did not have the problem, it could be
> that we are being more aggressive about invoking storage for some
> reason. Can you bisect?
>
> The obvious recent changes to the credential code were brian's
> capability/state series, but those are not yet in a released version
> (and from a quick scan I did not see anything that would obviously
> change things there).
>
> -Peff
@Bo98, possible to share any insight? It appears related to the following patch:
* osxkeychain: replace deprecated SecKeychain API [1]
[1]: https://github.com/git/git/commit/9abe31f5f161be4d69118bdfae00103cd6efa510
Apologize if I'm guessing it wrong :-)
Previous: brian m. carlsonNext: Koji Nakamaru
Message 4 of 6 in “Error: failed to store: -25299”
  1. ryenusMay 10, 2024
  2. Jeff KingMay 10, 2024
  3. brian m. carlsonMay 10, 2024
  4. ryenusMay 13, 2024
  5. Koji NakamaruMay 13, 2024
  6. ryenusMay 22, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.