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

Re: chainlint test failing on Linux sparc64

From
Eric Sunshine <sunshine@sunshineco.com>
Date
May 20, 2024, 09:58 UTC
Message-ID
<CAPig+cQLsUTpjiZ_TXh2GJAS=tJScUWYxiuR87rtwdTu8H9PXw@mail.gmail.com>
In-Reply-To
<CAPig+cQL73gVDDSH_=8Y6D0Pro58W1O2Rb-hettVcfZudXjOZQ@mail.gmail.com>
On Mon, May 20, 2024 at 5:36 AM Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 6 quoted lines
> My suspicion is that "actual" will have size 0 for you. If that's the
> case, I'd suggest running the commands from the "check-chainlint"
> target in t/Makefile manually one at a time to see if you can figure
> out which is failing. For instance:
>
>     % ./chainlint.pl --emit-all chainlinttmp/tests

This reminded me of an earlier report in which chainlint.pl was producing no output for "actual" on Linux for s390x processors. That was due to /proc/cpuinfo producing results which the script wasn't expecting. It was fixed by 1f51b77f4f (chainlint.pl: fix /proc/cpuinfo regexp, 2022-11-22)[1]. At the time of that patch, I noted[2]:

    A separate problem is that chainlint.pl doesn't fall back to a
    sensible non-zero value if ncores() returns 0 (or some other
    nonsense value). That is, of course, outside the scope of the
    well-focused problem fix which this standalone patch addresses. I
    may end up submitting a fix separately to make it fall back
    sensibly.

which probably explains the behavior you're experiencing. To fix it, we'll need to see the output you get from:

    cat /proc/cpuinfo

[1]: https://lore.kernel.org/git/pull.1385.git.git.1669148861635.gitgitgadget@gmail.com/ [2]: https://lore.kernel.org/git/CAPig+cQ6_7wf6C280Rqi7mcTCiQp-n5GiLWTPazfcUcGFeZi0g@mail.gmail.com/

Previous: John Paul Adrian GlaubitzNext: John Paul Adrian Glaubitz
Message 7 of 11 in “chainlint test failing on Linux sparc64”
  1. John Paul Adrian GlaubitzMay 20, 2024
  2. Eric SunshineMay 20, 2024
  3. John Paul Adrian GlaubitzMay 20, 2024
  4. John Paul Adrian GlaubitzMay 20, 2024
  5. Eric SunshineMay 20, 2024
  6. John Paul Adrian GlaubitzMay 20, 2024
  7. Eric SunshineMay 20, 2024
  8. John Paul Adrian GlaubitzMay 20, 2024
  9. John Paul Adrian GlaubitzMay 20, 2024
  10. Junio C HamanoMay 20, 2024
  11. John Paul Adrian GlaubitzMay 20, 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.