Page MenuHomeSoftware Heritage
Paste P1103

Unstuck debian storage failing build due to cassandra debian maintainer public key changes
ActivePublic

Authored by ardumont on Jul 28 2021, 11:11 AM.
$ sha512sum $SWH_CI_ENVIRONMENT_HOME/swh-jenkins-jobs/keyrings/cassandra.asc
e1f7a62808fe1828ffe815aa6fa1001661b0d06ba3c7d7649d8dbdf77549cdefaf83f846dd002bc2fdd68f82256d7758bf4e5a1626a29a2afecdf3575e2c6e2b /home/tony/work/inria/repo/swh/ci-environment/swh-jenkins-jobs/keyrings/cassandra.asc
$ sha512sum /home/tony/work/inria/resources/cassandra.asc
e1f7a62808fe1828ffe815aa6fa1001661b0d06ba3c7d7649d8dbdf77549cdefaf83f846dd002bc2fdd68f82256d7758bf4e5a1626a29a2afecdf3575e2c6e2b /home/tony/work/inria/resources/cassandra.asc
$ cd $SWH_ENVIRONMENT_HOME/swh-storage && git checkout debian/unstable-swh
$ swh-debian-build-sync # sync with jenkins' branches
$ swh-debian-build-unstable-storage # build mimicking the jenkins build for storage (needs more debian repositories)
++ git branch
++ grep '*'
++ cut '-d ' -f2
+ CURRENT_BRANCH=debian/unstable-swh
+ '[' debian/unstable-swh = debian/unstable-swh ']'
+ gbp buildpackage --git-builder=sbuild --nolog --batch --no-clean-source --no-run-lintian --arch-all --source --force-orig-source --build-dep-resolver=aptitude '--extra-repository=deb http://incoming.debian.org/debian-buildd/ buildd-unstable main' '--extra-repository=deb [trusted=yes] https://debian.softwareheritage.org/ unstable main' '--extra-repository=deb http://www.apache.org/dist/cassandra/debian 40x main' --extra-repository-key=/home/tony/work/inria/resources/cassandra.asc --build-failed-commands %SBUILD_SHELL
gbp:info: Tarballs 'swh-storage_0.35.0.orig.tar.gz' not found at '/home/tony/debian/tarballs/'
gbp:info: Exporting 'HEAD' to '/home/tony/debian/build-area/swh-storage-tmp'
gbp:info: Moving '/home/tony/debian/build-area/swh-storage-tmp' to '/home/tony/debian/build-area/swh-storage-0.35.0'
gbp:info: Performing the build
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building swh-storage using existing ./swh-storage_0.35.0.orig.tar.gz
dpkg-source: info: building swh-storage in swh-storage_0.35.0-1~swh1.debian.tar.xz
dpkg-source: info: building swh-storage in swh-storage_0.35.0-1~swh1.dsc
sbuild (Debian sbuild) 0.78.1 (09 February 2019) on localhost
+==============================================================================+
| swh-storage 0.35.0-1~swh1 (amd64) Wed, 28 Jul 2021 09:00:31 +0000 |
+==============================================================================+
Package: swh-storage
Version: 0.35.0-1~swh1
Source Version: 0.35.0-1~swh1
Distribution: unstable-swh
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64
Build Type: full
I: NOTICE: Log filtering will replace 'var/run/schroot/mount/sid-amd64-sbuild-c5683f1c-6cdf-4c6f-870f-bb43e17a6e0c' with '<<CHROOT>>'
I: NOTICE: Log filtering will replace 'build/swh-storage-nq3hWn/resolver-QGcYCY' with '<<RESOLVERDIR>>'
+------------------------------------------------------------------------------+
| Update chroot |
+------------------------------------------------------------------------------+
Get:2 http://deb.debian.org/debian sid InRelease [161 kB]
Ign:3 https://debian.softwareheritage.org unstable InRelease
Get:4 https://debian.softwareheritage.org unstable Release [2336 B]
Ign:5 https://debian.softwareheritage.org unstable Release.gpg
Get:6 https://debian.softwareheritage.org unstable/main amd64 Packages [56.1 kB]
Get:7 http://incoming.debian.org/debian-buildd buildd-unstable InRelease [39.7 kB]
Get:1 https://downloads.apache.org/cassandra/debian 40x InRelease [3902 B]
Get:8 http://deb.debian.org/debian sid/main Sources.diff/Index [63.6 kB]
Get:9 http://deb.debian.org/debian sid/main amd64 Packages.diff/Index [63.6 kB]
Get:10 https://downloads.apache.org/cassandra/debian 40x/main amd64 Packages [685 B]
Get:11 http://incoming.debian.org/debian-buildd buildd-unstable/main amd64 Packages [17.0 kB]
Get:12 http://deb.debian.org/debian sid/main Sources T-2021-07-28-0801.38-F-2021-07-22-1401.41.pdiff [37.7 kB]
Get:12 http://deb.debian.org/debian sid/main Sources T-2021-07-28-0801.38-F-2021-07-22-1401.41.pdiff [37.7 kB]
Get:13 http://deb.debian.org/debian sid/main amd64 Packages T-2021-07-28-0201.35-F-2021-07-22-1401.41.pdiff [32.7 kB]
Get:13 http://deb.debian.org/debian sid/main amd64 Packages T-2021-07-28-0201.35-F-2021-07-22-1401.41.pdiff [32.7 kB]
Fetched 479 kB in 2s (192 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
...
+------------------------------------------------------------------------------+
| Summary |
+------------------------------------------------------------------------------+
Build Architecture: amd64
Build Type: full
Build-Space: 7444
Build-Time: 559
Distribution: unstable-swh
Host Architecture: amd64
Install-Time: 95
Job: /home/tony/debian/build-area/swh-storage_0.35.0-1~swh1.dsc
Machine Architecture: amd64
Package: swh-storage
Package-Time: 661
Source-Version: 0.35.0-1~swh1
Space: 7444
Status: successful
Version: 0.35.0-1~swh1
--------------------------------------------------------------------------------
Finished at 2021-07-28T09:11:32Z
Build needed 00:11:01, 7444k disk space
```
It went through the failing check in the otherwise failing build [1]
```
10:45:28 W: GPG error: https://downloads.apache.org/cassandra/debian 40x InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5E85B9AE0B84C041
```
[1] https://jenkins.softwareheritage.org/job/debian/job/packages/job/DSTO/job/gbp-buildpackage/372/console