git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Randall S. Becker" <rsbecker@nexbridge.com>
To: <git@vger.kernel.org>
Subject: RE: [Breakage] t0410 - subtests report unable to remove non-existent file.
Date: Wed, 4 Mar 2020 17:13:22 -0500	[thread overview]
Message-ID: <014d01d5f272$215c0550$64140ff0$@nexbridge.com> (raw)
In-Reply-To: 

On February 28, 2020 5:33 PM, I wrote:
> To: 'git@vger.kernel.org' <git@vger.kernel.org>
> 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@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

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


             reply	other threads:[~2020-03-04 22:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-04 22:13 Randall S. Becker [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-02-28 22:32 [Breakage] t0410 - subtests report unable to remove non-existent file Randall S. Becker
2020-03-10 11:00 ` SZEDER Gábor
2020-03-10 14:23   ` Randall S. Becker
2020-03-11 17:51   ` Junio C Hamano
2020-03-12  0:03   ` brian m. carlson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='014d01d5f272$215c0550$64140ff0$@nexbridge.com' \
    --to=rsbecker@nexbridge.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).