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

Re: t7527 intermittent failure on macOS APFS and possible fix

From
Jeff King <peff@peff.net>
Date
Aug 14, 2022, 06:52 UTC
Message-ID
<YvibyWKZD1+QVkXI@coredump.intra.peff.net>
In-Reply-To
<YvZbGAf+82WtNXcJ@danh.dev>
On Fri, Aug 12, 2022 at 08:52:24PM +0700, Đoàn Trần Công Danh wrote:
Show 8 quoted lines
> Running t7527 on macOS with encrypted APFS filesystem.
> I observes intermittent failure, however, when I manually check the
> test cases, they're all passed.
> 
> I suspected fileystem caching issue.
> I added those sync-s into test steps and the test pass.
> I'm not sure if this is the intending "fix" for the tests
> since we're testing the fsmonitor with t7527.

I don't know anything about your problem area, but some tools in our test suite that might help you get better results with an intermittent problem (if you didn't already know about them):

  - add:
      GIT_TEST_OPTS = -x --verbose-log
    into config.mak. Then when a "make test" run fails, you can see the
    log in t/test-results/t7527-*.out.
  - try running:
      ./t7527-* --stress
    which will run a bunch of instances simultaneously, with the idea
    that the load will introduce timing issues that will trigger the
    bug. The failed instance will produce a detailed log on stdout.
That might help you get more output from the failing cases.
-Peff
Previous: Junio C HamanoNext: Jeff Hostetler
Message 5 of 6 in “t7527 intermittent failure on macOS APFS and possible fix”
  1. Đoàn Trần Công DanhAug 12, 2022
  2. Junio C HamanoAug 12, 2022
  3. Đoàn Trần Công DanhAug 13, 2022
  4. Junio C HamanoAug 13, 2022
  5. Jeff KingAug 14, 2022
  6. Jeff HostetlerAug 17, 2022

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.