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

[Bug] t0410 breakages at 2.20.1 on NonStop platform

From
Randall S. Becker <rsbecker@nexbridge.com>
Date
Dec 26, 2018, 16:07 UTC
Message-ID
<003a01d49d35$23923940$6ab6abc0$@nexbridge.com>
Hi All,

We’re getting some new breakages in t0410 that I can’t explain easily or either it is the test itself at commit 0d0ac3826a.

[Filtered] *** t0410-partial-clone.sh *** not ok 5 - missing ref object, but promised, passes fsck not ok 6 - missing object, but promised, passes fsck not ok 7 - missing CLI object, but promised, passes fsck not ok 12 - rev-list stops traversal at missing and promised commit not ok 13 - missing tree objects with --missing=allow-promisor and --exclude-promisor-objects not ok 14 - missing non-root tree object and rev-list not ok 15 - rev-list stops traversal at missing and promised tree not ok 16 - rev-list stops traversal at missing and promised blob not ok 22 - gc stops traversal when a missing but promised object is reached

The first one to fail – which probably would give me a hint on others is:
Initialized empty Git repository in /home/git/git/t/trash
directory.t0410-partial-clone/repo/.git/
[master (root-commit) 6591d03] 1
Author: A U Thor <author@example.com>
1 file changed, 1 insertion(+)
create mode 100644 1.t
[master 5355e57] 2
Author: A U Thor <author@example.com>
1 file changed, 1 insertion(+)
create mode 100644 2.t
[master a3007a6] 3
Author: A U Thor <author@example.com>
1 file changed, 1 insertion(+)
create mode 100644 3.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)
fa10eb4e855a356f0abe9c352b62b71d481918b1
rm: cannot remove
'repo/.git/objects/fa/10eb4e855a356f0abe9c352b62b71d481918b1': No such file
or directory
not ok 6 - missing object, but promised, passes fsck
#
#               rm -rf repo &&
#               test_create_repo repo &&
#               test_commit -C repo 1 &&
#               test_commit -C repo 2 &&
#               test_commit -C repo 3 &&
#               git -C repo tag -a annotated_tag -m "annotated tag" &&
#
#               C=$(git -C repo rev-parse 1) &&
#               T=$(git -C repo rev-parse 2^{tree}) &&
#               B=$(git hash-object repo/3.t) &&
#               AT=$(git -C repo rev-parse annotated_tag) &&
#
#               promise_and_delete "$C" &&
#               promise_and_delete "$T" &&
#               promise_and_delete "$B" &&
#               promise_and_delete "$AT" &&
#
#               git -C repo config core.repositoryformatversion 1 &&
#               git -C repo config extensions.partialclone "arbitrary
string" &&
#               git -C repo fsck
#

The repo/.git contains the following at the time of failure: .git/objects .git/objects/info .git/objects/pack .git/objects/pack/pack-fa10eb4e855a356f0abe9c352b62b71d481918b1.idx .git/objects/pack/pack-fa10eb4e855a356f0abe9c352b62b71d481918b1.pack .git/objects/pack/pack-fa10eb4e855a356f0abe9c352b62b71d481918b1.promisor .git/refs .git/refs/heads .git/refs/heads/master .git/refs/tags .git/refs/tags/1 .git/refs/tags/2 .git/refs/tags/3 .git/refs/tags/annotated_tag

Given the contents, I'm not surprised the 'rm' failed. Any help would be appreciated in tracking down what happened.

Thanks, Randall

-- Brief whoami:
  NonStop developer since approximately NonStop(211288444200000000)
  UNIX developer since approximately 421664400
-- In my real life, I talk too much.
Message 1 of 1 in “[Bug] t0410 breakages at 2.20.1 on NonStop platform”
  1. Randall S. BeckerDec 26, 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.