threads / bug / 50133

[BUG] t0410 2.20.1 fails on NonStop NSX platform

Subject: [BUG] t0410 2.20.1 fails on NonStop NSX platform

## tl;dr

One message between Dec 30, 2018 and Dec 30, 2018.

replies: 0people: 1as markdown or json

Randall S. Becker· Dec 30, 2018, 18:36 UTC · lore

This is a bit of a head-scratcher. There are two NonStop platforms, which behave essentially the same way. One, NSE, uses ia64, while NSX uses x64. There are subtle differences in ksh and bash for the platforms based on what is released when. The NSE platform has no problem running t0410 in Jenkins. However, NSX fails in a few spots:

This is at 2.20.1. Our last port on this platform variant was 2.16.1, where there were no unexplained issues.

I am suspecting that the problem is shell related, but I'm just not sure what the test is supposed to do here. There are 9 other failures that appear related, with the No such file or directory condition. If I add the -f flag to rm in delete_object(), all t0410 tests pass except the last (22), but I don't think that meets the intent of test itself. I wonder whether one of the authors of the test might chime in on this.

The first, subtest 12 results in:
Initialized empty Git repository in /mypath/git/t/trash
directory.t0410-partial-clone/repo/.git/
[master (root-commit) 7745948] foo
 Author: A U Thor <author@example.com>
 1 file changed, 1 insertion(+)
 create mode 100644 foo.t
[master e514b54] bar
 Author: A U Thor <author@example.com>
 1 file changed, 1 insertion(+)
 create mode 100644 bar.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)
2b7df34bc09be010087307b898e994ce709c0db1
rm: cannot remove
'repo/.git/objects/2b/7df34bc09be010087307b898e994ce709c0db1': No such file
or directory
not ok 12 - rev-list stops traversal at missing and promised commit
#
#               rm -rf repo &&
#               test_create_repo repo &&
#               test_commit -C repo foo &&
#               test_commit -C repo bar &&
#
#               FOO=$(git -C repo rev-parse foo) &&
#               promise_and_delete "$FOO" &&
#
#               git -C repo config core.repositoryformatversion 1 &&
#               git -C repo config extensions.partialclone "arbitrary
string" &&
#               GIT_TEST_COMMIT_GRAPH=0 git -C repo rev-list
--exclude-promisor-objects --objects bar >out &&
#               grep $(git -C repo rev-parse bar) out &&
#               ! grep $FOO out
#

Cheers, Randall

-- Brief whoami:
 NonStop developer since approximately 211288444200000000
 UNIX developer since approximately 421664400
-- In my real life, I talk too much.

← back to recent threads