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

Re: Test failure for v2.16.0-rc0 on cygwin

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 4, 2018, 20:55 UTC
Message-ID
<alpine.DEB.2.21.1.1801042152570.32@MININT-6BKU6QN.europe.corp.microsoft.com>
In-Reply-To
<e69657de-9455-2b97-09d7-2bd58ce513f6@ramsayjones.plus.com>
Hi,
On Tue, 2 Jan 2018, Ramsay Jones wrote:
Show 22 quoted lines
> On 02/01/18 15:32, Ramsay Jones wrote:
> > On 02/01/18 11:36, Adam Dinwoodie wrote:
> >> On Saturday 30 December 2017 at 02:40 pm +0000, Adam Dinwoodie wrote:
> >>> On Saturday 30 December 2017 at 02:21 pm +0000, Ramsay Jones wrote:
> [snip]
> >> I'm not able to reproduce this: t5580 is passing on both my Windows 10
> >> test systems on v2.16.0-rc0.
> [snip]
> > I just tried running the test again by hand, and I can't get it to fail!
> > 
> > Hmm, I have just set off a complete test-suite run, so I won't be able
> > to report on that for a while ... ;-)
> 
> Yep, as expected, the test-suite passes no problem now! ;-)
> 
> > I have an idea: when running the failing tests the other day, I was
> > remotely logged in via ssh (I have cygwin sshd running on my win10
> > box), but today I was logged in directly. The sshd daemon is run by
> > a privileged user, so maybe that could be related ... dunno.
> 
> Also, when logged-in remotely it fails consistently, when logged-in
> directly it passes consistently. :-D

You are most likely hitting cmd.exe at some point there. In cmd.exe, there are some restrictions that are inherited by spawned processes AFAIU. For example, the current directory cannot be a UNC path.

You are most likely running the interactive Cygwin session in MinTTY? Then you do not get those restrictions. If you start Cygwin in a cmd.exe window, you should see the exact same test failures again.

Ciao, Dscho

Previous: Ramsay JonesNext: Ramsay Jones
Message 6 of 7 in “Test failure for v2.16.0-rc0 on cygwin”
  1. Ramsay JonesDec 30, 2017
  2. Adam DinwoodieDec 30, 2017
  3. Adam DinwoodieJan 2, 2018
  4. Ramsay JonesJan 2, 2018
  5. Ramsay JonesJan 2, 2018
  6. Johannes SchindelinJan 4, 2018
  7. Ramsay JonesJan 10, 2018

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.