[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git
Subject:    [Breakage] t0410 - subtests report unable to remove non-existent file.
From:       "Randall S. Becker" <rsbecker () nexbridge ! com>
Date:       2020-02-28 22:32:57
Message-ID: 010b01d5ee87$09be74d0$1d3b5e70$ () nexbridge ! com
[Download RAW message or body]

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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic