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

Re: not all tests pass when on an NFS partition

From
Brandon Casey <casey@nrlssc.navy.mil>
Date
Feb 13, 2009, 00:54 UTC
Message-ID
<Aq-rucZsypJQU8SHtTE8X62cEZZn-xSpOOIfA-I5czdtCkm2IyMjDw@cipher.nrlssc.navy.mil>
In-Reply-To
<7vk57vjqsd.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
Show 6 quoted lines
> E R <pc88mxer@gmail.com> writes:
> 
>> When I run 'make test' for git-1.6.1.3 it will fail on this test when
>> running on an NFS partition.
> 
> ... when the filesystem clock and the machine clock are out of sync.

I previously modified t5304 to make test-chmtime modify the mtime of the file based on the system time rather than the file mtime precisely to avoid this problem. i.e. the argument to test-chmtime is now prefixed with '='

So I don't think it is related to out of sync clock on NFS server and client. There may be a bug in the NFS client though.

>> Is this a known problem? Is this a real problem?

Known by me, but I haven't mentioned it since I haven't had a moment to diagnose it.

>> My uname -a: Linux XXX 2.6.18-92.1.17.el5 #1 SMP Tue Nov 4 13:45:01
>> EST 2008 i686 athlon i386 GNU/Linux
RHEL 5.2? me too.
RHEL 4.7 works fine, same NFS server (running 5.2).
-brandon
Previous: Junio C HamanoNext: E R
Message 3 of 7 in “not all tests pass when on an NFS partition”
  1. E RFeb 12, 2009
  2. Junio C HamanoFeb 12, 2009
  3. Brandon CaseyFeb 13, 2009
  4. E RFeb 15, 2009
  5. E RFeb 17, 2009
  6. Brandon CaseyFeb 17, 2009
  7. Brandon CaseyFeb 17, 2009

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.