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

Re: Github actions failing

From
Christian Couder <christian.couder@gmail.com>
Date
Jan 8, 2023, 18:17 UTC
Message-ID
<CAP8UFD2huFgTjB1hNGyGnMKPONOG6ZV-wvxWkTaz-iZNfxrhJA@mail.gmail.com>
In-Reply-To
<CA+PPyiG=+rs_bOQbaNB311_DVdSc2g44SkLzpaqOER7rfxykrQ@mail.gmail.com>
Hi,

On Sun, Jan 8, 2023 at 11:07 AM NSENGIYUMVA WILBERFORCE <nsengiyumvawilberforce@gmail.com> wrote:

Show 23 quoted lines
>
> Hi,
> So I wanted to send the next patch after review.  All the tests pass
> when I run them on my PC but I get something like the following error
> when I test from my git branch
> >
> > + git checkout -b signed
> > 2283 Switched to a new branch 'signed'
> > 2284 + echo 1
> > 2285 + git add file
> > 2286 + test_tick
> > 2287 + test -z set
> > 2288 + test_tick=1112912113
> > 2289 + GIT_COMMITTER_DATE='1112912113 -0700'
> > 2290 + GIT_AUTHOR_DATE='1112912113 -0700'
> > 2291 + export GIT_COMMITTER_DATE GIT_AUTHOR_DATE
> > 2292 + git commit -S -m initial
> > 2293 error: cannot run gpg: No such file or directory
> > 2294 error: gpg failed to sign the data
> > 2295 fatal: failed to write commit object
> > 2296 error: last command exited with $?=128
> > 2297 not ok 338 - test bare signature atom
> What could be wrong?
There is the following in the above log:
> 2293 error: cannot run gpg: No such file or directory
so maybe gpg isn't installed on the test system.
It looks like the test you added doesn't have the "GPG" prerequisite. Compare:
-> test_expect_success 'test bare signature atom'
with:
-> test_expect_success GPG 'show good signature with custom format'
There is a "GPG" prerequisite in the latter but not the former.
Previous: NSENGIYUMVA WILBERFORCENext: NSENGIYUMVA WILBERFORCE
Message 3 of 7 in “Github actions failing”
  1. NSENGIYUMVA WILBERFORCEJan 8, 2023
  2. NSENGIYUMVA WILBERFORCEJan 8, 2023
  3. Christian CouderJan 8, 2023
  4. NSENGIYUMVA WILBERFORCEJan 9, 2023
  5. Christian CouderJan 9, 2023
  6. Andreas SchwabJan 9, 2023
  7. NSENGIYUMVA WILBERFORCEJan 9, 2023

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.