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

Re: [PATCH 1/1] tests: teach the test-tool to generate NUL bytes and use it

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 15, 2019, 17:41 UTC
Message-ID
<xmqq5ztl6jbj.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<nycvar.QRO.7.76.6.1902151558080.45@tvgsbejvaqbjf.bet>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 24 quoted lines
> On Thu, 14 Feb 2019, Junio C Hamano wrote:
>
>> "Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com>
>> writes:
>> 
>> > From: Johannes Schindelin <johannes.schindelin@gmx.de>
>> >
>> > In cc95bc2025 (t5562: replace /dev/zero with a pipe from
>> > generate_zero_bytes, 2019-02-09), we replaced usage of /dev/zero (which
>> > is not available on NonStop, apparently) by a Perl script snippet to
>> > generate NUL bytes.
>> >
>> > Sadly, it does not seem to work on NonStop, as t5562 reportedly hangs.
>> > ...
>> > In the end, though, what counts is that this here change incidentally
>> > fixes that hang (maybe also on NonStop?). Even more positively, it gets
>> > rid of yet another unnecessary Perl invocation.
>> 
>> Thanks for a quick band-aid.
>> 
>> Will apply directly to 'master' so that we won't forget before -rc2.
>
> Thank you, that will be good, as the builds still seem to fail. All of
> them.

Actually, I am really tempted to instead not apply this, but revert that genzerobytes Perl thing. This assumes that your Azure thing did not have the breakage before we applied that patchset. What do you think?

Trying four or more possible band-aids that may or may not work without knowing what the real cause of the hangs are is not something I want to see people spend excessive time of theirs on this close to the final. I'd rather avoid distraction and see people spend their cycles on bugs that matter, instead of trying to chase test breakages that have always been present for those without /dev/zero. I am not fundamentally opposed to supporting those without /dev/zero but I'd prefer to see it happen in 'pu' until we identify and fix the real cause---which may well be a real bug in the http-backend stuff---and the time to do that is not during the rc period where we close the tree for new features and non-regression fixes.

Previous: Johannes SchindelinNext: Johannes Schindelin
Message 5 of 21 in “Fix hang in t5562, introduced in v2.21.0-rc1”
  1. 0/1 Fix hang in t5562, introduced in v2.21.0-rc1Johannes Schindelin via GitGitGadget, Feb 14, 2019
  2. 1/1 tests: teach the test-tool to generate NUL bytes and use itJohannes Schindelin via GitGitGadget, Feb 14, 2019
  3. Junio C HamanoFeb 14, 2019
  4. Johannes SchindelinFeb 15, 2019
  5. Junio C HamanoFeb 15, 2019
  6. Johannes SchindelinFeb 18, 2019
  7. Randall S. BeckerFeb 14, 2019
  8. Junio C HamanoFeb 14, 2019
  9. Randall S. BeckerFeb 14, 2019
  10. Johannes SchindelinFeb 18, 2019
  11. Randall S. BeckerFeb 18, 2019
  12. Max KirillovFeb 18, 2019
  13. Johannes SchindelinFeb 19, 2019
  14. Randall S. BeckerFeb 18, 2019
  15. Randall S. BeckerFeb 18, 2019
  16. Ævar Arnfjörð BjarmasonFeb 18, 2019
  17. Max KirillovFeb 18, 2019
  18. Johannes SchindelinFeb 19, 2019
  19. Max KirillovFeb 14, 2019
  20. Randall S. BeckerFeb 14, 2019
  21. Randall S. BeckerFeb 14, 2019

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.