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

[Breakage] 2.22.0-rc1 t5401-update-hooks.sh

From
Randall S. Becker <rsbecker@nexbridge.com>
Date
May 21, 2019, 21:47 UTC
Message-ID
<001501d5101e$db98dfb0$92ca9f10$@nexbridge.com>
Another situation came up during regression testing on NonStop:
t5401 broke on the first run through (most tests), with the failures below. 

*** t5401-update-hooks.sh *** not ok 1 - setup # # echo This is a test. >a && # git update-index --add a && # tree0=$(git write-tree) && # commit0=$(echo setup | git commit-tree $tree0) && # echo We hope it works. >a && # git update-index a && # tree1=$(git write-tree) && # commit1=$(echo modify | git commit-tree $tree1 -p $commit0) && # git update-ref refs/heads/master $commit0 && # git update-ref refs/heads/tofail $commit1 && # git clone --bare ./. victim.git && # GIT_DIR=victim.git git update-ref refs/heads/tofail $commit1 && # git update-ref refs/heads/master $commit1 && # git update-ref refs/heads/tofail $commit0 # t5401-update-hooks.sh: line 26: victim.git/hooks/pre-receive: No such file or di rectory chmod: cannot access 'victim.git/hooks/pre-receive': No such file or directory t5401-update-hooks.sh: line 35: victim.git/hooks/update: No such file or directo ry chmod: cannot access 'victim.git/hooks/update': No such file or directory t5401-update-hooks.sh: line 45: victim.git/hooks/post-receive: No such file or d irectory chmod: cannot access 'victim.git/hooks/post-receive': No such file or directory t5401-update-hooks.sh: line 54: victim.git/hooks/post-update: No such file or di rectory chmod: cannot access 'victim.git/hooks/post-update': No such file or directory ok 2 - push etc.

When running the test in isolation, it passes without incident whether or not --verbose is used. So far, this only occurs on the first run through. I wanted to report it, based on the inconsistency of results. This is not the first time tests have acted in this fashion, and I realize it is difficult to do anything about it without being able to recreate the situation.

Such as it is, Randall

Next: brian m. carlson
Message 1 of 8 in “[Breakage] 2.22.0-rc1 t5401-update-hooks.sh”
  1. Randall S. BeckerMay 21, 2019
  2. brian m. carlsonMay 22, 2019
  3. Randall S. BeckerMay 22, 2019
  4. Issues with t7519.19, was RE: [Breakage] 2.22.0-rc1 t5401-update-hooks.shJohannes Schindelin, May 23, 2019
  5. Randall S. BeckerMay 23, 2019
  6. Johannes SchindelinMay 23, 2019
  7. Randall S. BeckerMay 23, 2019
  8. Johannes SchindelinMay 23, 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.