#1101580 /usr/bin/dgit: server-side crash during dgit push-source

#1101580#5
Date:
2025-03-29 19:36:36 UTC
From:
To:
zealot:dgit> dgit -wgfa push-source
canonical suite name for unstable is sid
dpkg-source: warning: no source format specified in debian/source/format, see dp              kg-source(1)
dpkg-source: warning: --include-removal is not a valid option for Dpkg::Source::              Package::V1
dpkg-source: warning: --no-preparation is not a valid option for Dpkg::Source::P              ackage::V1
dpkg-source: info: using source format '1.0'
dpkg-source: warning: source directory 'work' is not <sourcepackage>-<upstreamve              rsion> 'dgit-12.10'
dpkg-source: info: building dgit in dgit_12.10.tar.gz
dpkg-source: info: building dgit in dgit_12.10.dsc
changelog will contain changes since 12.9
dpkg-genchanges: info: including full source code in upload
last upload to archive: specified git info (debian)
checking that dgit_12.10.dsc corresponds to HEAD
dpkg-source: warning: extracting unsigned source package (/home/ian/things/Dgit/              dgit/../bpd/dgit_12.10.dsc)
dpkg-source: info: extracting dgit in dgit-12.10
dpkg-source: info: unpacking dgit_12.10.tar.gz
../bpd/dgit_12.10_source.changes already has appropriate .orig(s) (if any)
gpg: Signature made Sat 29 Mar 2025 19:32:39 GMT
gpg:                using RSA key 559AE46C2D6B6D3265E7CBA1E3E3392348B50D39
gpg: Good signature from "Ian Jackson (new general purpose key) <ijackson@chiark.greenend.org.uk>" [ultimate]
gpg: Signature made Sat 29 Mar 2025 19:32:39 GMT
gpg:                using RSA key 559AE46C2D6B6D3265E7CBA1E3E3392348B50D39
gpg: Good signature from "Ian Jackson (new general purpose key) <ijackson@chiark.greenend.org.uk>" [ultimate]
Enumerating objects: 313, done.
Counting objects: 100% (313/313), done.
Delta compression using up to 16 threads
Compressing objects: 100% (263/263), done.
Writing objects: 100% (265/265), 58.72 KiB | 5.87 MiB/s, done.
Total 265 (delta 197), reused 5 (delta 2), pack-reused 0 (from 0)
remote: Resolving deltas: 100% (197/197), completed with 48 local objects.
remote: gpgv: Signature made Sat 29 Mar 2025 19:32:39 UTC
remote: gpgv:                using RSA key 559AE46C2D6B6D3265E7CBA1E3E3392348B50D39
remote: gpgv: Can't check signature: No public key
remote: gnupg failed (/srv/dgit.debian.org/dispatch-dir/distro=debian/debian-tag2upload.gpg): 512
remote: gpgv: Signature made Sat 29 Mar 2025 19:32:39 UTC
remote: gpgv:                using RSA key 559AE46C2D6B6D3265E7CBA1E3E3392348B50D39
remote: gpgv: Good signature from "Ian Jackson (new general purpose key) <ijackson@chiark.greenend.org.uk>"
remote: gpgv:                 aka "Ian Jackson <iwj@torproject.org>"
remote: To /srv/dgit.debian.org/dispatch-dir/distro=debian/repos/dgit.git
remote:    1a3b92b3..46e7a9b4  46e7a9b4c14370e30fabba7a39bae85da34794e8 -> refs/dgit/sid
remote:  * [new tag]           8e0ce7f5f656f36725098701311f33bece35a4d8 -> archive/debian/12.10
remote:  * [new tag]           409d8fd7a7e24dc3c47c55762fbf770594f7d06f -> debian/12.10
remote: To /srv/dgit.debian.org/dispatch-dir/distro=debian/repos/dgit.git
remote:    1a3b92b3..46e7a9b4  46e7a9b4c14370e30fabba7a39bae85da34794e8 -> master
cannot remove directory for dgit_incoming2383928: Directory not empty at /srv/dgit.debian.org/dispatch-dir/distro=debian/dgit-live/infra/dgit-repos-server line 333.
 at /srv/dgit.debian.org/dispatch-dir/distro=debian/dgit-live/Debian/Dgit.pm line 186.
        Debian::Dgit::__ANON__("cannot remove directory for dgit_incoming2383928: Directory n"...) called at /usr/lib/x86_64-linux-gnu/perl-base/Carp.pm line 291
        Carp::carp("cannot remove directory for dgit_incoming2383928: Directory n"...) called at /usr/lib/x86_64-linux-gnu/perl-base/File/Path.pm line 65
        File::Path::_error(HASH(0x561889972960), "cannot remove directory", "dgit_incoming2383928") called at /usr/lib/x86_64-linux-gnu/perl-base/File/Path.pm line 549
        File::Path::_rmtree(HASH(0x561889972960), ARRAY(0x561889aa7390)) called at /usr/lib/x86_64-linux-gnu/perl-base/File/Path.pm line 366
        File::Path::rmtree("dgit_incoming2383928") called at /srv/dgit.debian.org/dispatch-dir/distro=debian/dgit-live/infra/dgit-repos-server line 333
        main::acquirermtree("dgit_incoming2383928", 0) called at /srv/dgit.debian.org/dispatch-dir/distro=debian/dgit-live/infra/dgit-repos-server line 2182
        main::cleanup() called at /srv/dgit.debian.org/dispatch-dir/distro=debian/dgit-live/infra/dgit-repos-server line 2189
To git+ssh://push.dgit.debian.org/dgit/debian/repos/dgit.git
   1a3b92b3a..46e7a9b4c  46e7a9b4c14370e30fabba7a39bae85da34794e8 -> refs/dgit/sid
 * [new tag]             archive/debian/12.10 -> archive/debian/12.10
 * [new tag]             debian/12.10 -> debian/12.10
error: failed to push some refs to 'git+ssh://push.dgit.debian.org/dgit/debian/repos/dgit.git'
dgit: failed command: git -c push.followTags=false push 'git+ssh://dgit@push.dgit.debian.org/dgit/debian/repos/dgit.git' 46e7a9b4c14370e30fabba7a39bae85da34794e8:refs/dgit/sid refs/tags/archive/debian/12.10 refs/tags/debian/12.10

dgit: error: subprocess failed with error exit status 1
! Push failed, while updating the remote git repository - see messages above.
! If you want to try again, you should use a new version number.

#1101580#10
Date:
2025-03-29 19:43:33 UTC
From:
To:
I checked on browse.dgit.d.o and the tags *had* been pushed and the
main branch looked up to date.  I found that there was a
../bpd/dgit_12.10_source.changes so I dput it.

I also did a dgit-test-dummy upload which worked.

I think maybe there is a server-side race :-/.

Ian.