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

[Breakage] t0410 - subtests report unable to remove non-existent file.

From
Randall S. Becker <rsbecker@nexbridge.com>
Date
Feb 28, 2020, 22:32 UTC
Message-ID
<010b01d5ee87$09be74d0$1d3b5e70$@nexbridge.com>

Starting at t0410, subtest 5 (missing ref object, but promised, passes fsck), on the NonStop L-series platform, we are seeing errors like the following:

not ok 5 - missing ref object, but promised, passes fsck # # rm -rf repo && # test_create_repo repo && # test_commit -C repo my_commit && # # A=$(git -C repo commit-tree -m a HEAD^{tree}) && # # # Reference $A only from ref # git -C repo branch my_branch "$A" && # promise_and_delete "$A" && # # git -C repo config core.repositoryformatversion 1 && # git -C repo config extensions.partialclone "arbitrary string" && # git -C repo fsck #

With verbose output as follows:
Initialized empty Git repository in /home/ituglib/randall/git/t/trash
directory.t0410-partial-clone/repo/.git/
[master (root-commit) 9df77b9] my_commit
 Author: A U Thor <author@example.com>
 1 file changed, 1 insertion(+)
 create mode 100644 my_commit.t
Enumerating objects: 1, done.
Counting objects: 100% (1/1), done.
Writing objects: 100% (1/1), done.
Total 1 (delta 0), reused 0 (delta 0)
a391e3e0447189aa0050c8f206462a1b0530a34a
rm: cannot remove
'repo/.git/objects/a3/91e3e0447189aa0050c8f206462a1b0530a34a': No such file
or directory
When checking the contents of repo/.git/objects immediately after this test:

drwxrwxrwx 1 ITUGLIB.RANDALL ITUGLIB 4096 Feb 28 15:17 05 drwxrwxrwx 1 ITUGLIB.RANDALL ITUGLIB 4096 Feb 28 15:17 07 drwxrwxrwx 1 ITUGLIB.RANDALL ITUGLIB 4096 Feb 28 15:17 38 drwxrwxrwx 1 ITUGLIB.RANDALL ITUGLIB 4096 Feb 28 15:17 9d drwxrwxrwx 1 ITUGLIB.RANDALL ITUGLIB 4096 Feb 28 15:17 e5 drwxrwxrwx 1 ITUGLIB.RANDALL ITUGLIB 4096 Feb 28 15:17 info drwxrwxrwx 1 ITUGLIB.RANDALL ITUGLIB 4096 Feb 28 15:17 pack

The a3 directory really is not there.

Thanks, Randall

-- Brief whoami:
 NonStop developer since approximately 211288444200000000
 UNIX developer since approximately 421664400
-- In my real life, I talk too much.
Next: SZEDER Gábor
Message 1 of 5 in “[Breakage] t0410 - subtests report unable to remove non-existent file.”
  1. Randall S. BeckerFeb 28, 2020
  2. SZEDER GáborMar 10, 2020
  3. Randall S. BeckerMar 10, 2020
  4. Junio C HamanoMar 11, 2020
  5. brian m. carlsonMar 12, 2020

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.