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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On February 28, 2020 5:33 PM, I wrote:
> To: 'git@xxxxxxxxxxxxxxx' <git@xxxxxxxxxxxxxxx>
> Subject: [Breakage] t0410 - subtests report unable to remove non-existent
> file.
> 
> 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@xxxxxxxxxxx>
>  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

This appears to be an incompatibility in the script between running with
/bin/sh (ksh on the platform) and bash. When we use make
SHELL=/usr/coreutils/bin/bash (where our bash is located), this test passes.
We will use this construct going forward, assuming we don't encounter
something weird. So far, only t0301 and t1091 are failing. These are new
failures. I will investigate and report on these separately.

Regards,
Randall




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux