{"thread":{"id":"52937","subject":"RE: [Breakage] t0410 - subtests report unable to remove non-existent file.","startedAt":"2020-03-04T22:13:31Z","lastAt":"2020-03-04T22:13:31Z","messageCount":1,"participants":["Randall S. Becker"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"392877","messageId":"014d01d5f272$215c0550$64140ff0$@nexbridge.com","threadId":"52937","inReplyTo":null,"subject":"RE: [Breakage] t0410 - subtests report unable to remove non-existent file.","fromName":"Randall S. Becker","fromEmail":"rsbecker@nexbridge.com","sentAt":"2020-03-04T22:13:22Z","receivedAt":"2020-03-04T22:13:31Z","isPatch":false,"sender":{"key":"randall.becker@nexbridge.ca","avatar":"https://avatars.githubusercontent.com/u/28956764?v=4"},"body":"On February 28, 2020 5:33 PM, I wrote:\n> To: 'git@vger.kernel.org' <git@vger.kernel.org>\n> Subject: [Breakage] t0410 - subtests report unable to remove non-existent\n> file.\n> \n> Starting at t0410, subtest 5 (missing ref object, but promised, passes\nfsck), on\n> the NonStop L-series platform, we are seeing errors like the following:\n> \n> not ok 5 - missing ref object, but promised, passes fsck #\n> #               rm -rf repo &&\n> #               test_create_repo repo &&\n> #               test_commit -C repo my_commit &&\n> #\n> #               A=$(git -C repo commit-tree -m a HEAD^{tree}) &&\n> #\n> #               # Reference $A only from ref\n> #               git -C repo branch my_branch \"$A\" &&\n> #               promise_and_delete \"$A\" &&\n> #\n> #               git -C repo config core.repositoryformatversion 1 &&\n> #               git -C repo config extensions.partialclone \"arbitrary\nstring\" &&\n> #               git -C repo fsck\n> #\n> \n> With verbose output as follows:\n> \n> Initialized empty Git repository in /home/ituglib/randall/git/t/trash\n> directory.t0410-partial-clone/repo/.git/\n> [master (root-commit) 9df77b9] my_commit\n>  Author: A U Thor <author@example.com>\n>  1 file changed, 1 insertion(+)\n>  create mode 100644 my_commit.t\n> Enumerating objects: 1, done.\n> Counting objects: 100% (1/1), done.\n> Writing objects: 100% (1/1), done.\n> Total 1 (delta 0), reused 0 (delta 0)\n> a391e3e0447189aa0050c8f206462a1b0530a34a\n> rm: cannot remove\n> 'repo/.git/objects/a3/91e3e0447189aa0050c8f206462a1b0530a34a': No\n> such file or directory\n\nThis appears to be an incompatibility in the script between running with\n/bin/sh (ksh on the platform) and bash. When we use make\nSHELL=/usr/coreutils/bin/bash (where our bash is located), this test passes.\nWe will use this construct going forward, assuming we don't encounter\nsomething weird. So far, only t0301 and t1091 are failing. These are new\nfailures. I will investigate and report on these separately.\n\nRegards,\nRandall\n\n"}]}