dgit autopkgtests broken by git 2.40

Bug #2022096 reported by Dan Bungert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dgit (Debian)
Fix Released
Unknown
dgit (Ubuntu)
Fix Released
Undecided
Unassigned
git (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/1033503:

Package: dgit
Version: 10.7
Control: affects -1 git

Some of dgit's tests create strange git objects, to test error
handling. For example, to avoid a repetition of #849041.

git 2.40, just uploaded to unstable, has this change:

 | * "git hash-object" now checks that the resulting object is well
 | formed with the same code as "git fsck".
 | (merge 8e4309038f jk/hash-object-fsck later to maint).

This was probably a good idea. So, dgit's tests need to be updated.
Normally I would file this bug as RC and make the necessary changes.

However, we are currently in the freeze for bookworm. Information on
tracker.d.o suggests that git is not going to migrate to bookworm
anyway, without an unblock from the release team. I don't see an
unblock request in https://bugs.debian.org/release.debian.org .

Release team: do you think we (dgit maintainers) should update the
test suite now, for bookworm ? The changes would be limited to tests,
but the new checks in git mean we'll need to take a different approach
for some of them, which might be complex or messy.

Unhelpfully, there is also #1032826, which prevents "dgit import-dsc"
working for the current git.dsc in bookworm. I think this situation
is RC. I haven't filed a bug against src:git because I think we can
fix this just by changing the infrastructure - I'm talking to DSA
about this - but if that turns out to be impossible, we may need to
upload a no-source-changes src:git :-/.

Thanks for everyone's attention and advice/opinions.

Thanks,
Ian.

--
Ian Jackson <email address hidden> These opinions are my own.

Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.

Dan Bungert (dbungert)
tags: added: update-excuse
Changed in dgit (Debian):
importance: Undecided → Unknown
Revision history for this message
Dan Bungert (dbungert) wrote :

Adding git so that this shows up in the update-excuses report.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dgit - 10.7ubuntu1

---------------
dgit (10.7ubuntu1) mantic; urgency=medium

  * Skip several tests that no longer fuction with git 2.40 `git hash-object`
    (LP: #2022096)

 -- Dan Bungert <email address hidden> Mon, 05 Jun 2023 12:36:19 -0600

Changed in dgit (Ubuntu):
status: New → Fix Released
Steve Langasek (vorlon)
Changed in git (Ubuntu):
status: New → Fix Released
Changed in dgit (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.