Bug#921383: zfs-linux: autopkgtest is broken with two linux versions in apt's cache

Paul Gevers elbrus at debian.org
Mon Feb 4 20:22:29 GMT 2019


Source: zfs-linux
Version: 0.7.12-2
X-Debbugs-CC: debian-ci at lists.debian.org, perl at packages.debian.org
Severity: important
User: debian-ci at lists.debian.org
Usertags: issue

Dear maintainers,

You package has an autopkgtest, great. However, while debugging a
regression in your package, seemingly caused by perl, ntyni on
#debian-perl spotted an issue in your autopkgtest
(https://salsa.debian.org/zfsonlinux-team/zfs/blob/master/debian/tests/dkms-zfs-test#L4).
You're not handling the case where there are two linux versions in the
cache of apt (as will often be the case when running autopkgtests in the
migration context of ci.debian.net). I copied some of the output at the
bottom of this report.

Currently this regression is blocking the migration of perl to testing
[1]. To avoid perl from being stuck behind linux (which is blocked) I'll
have the migration software ignore the failure of you package until this
bug is fixed.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=perl

https://ci.debian.net/data/autopkgtest/testing/amd64/z/zfs-linux/1853205/log.gz

autopkgtest [05:52:29]: test dkms-zfs-test: [-----------------------
+ dpkg --print-architecture
+ DEB_HOST_ARCH=amd64
+ apt-cache show linux-headers-amd64
+ + grep Depends:sed
 -e s at .*linux-headers-\(.*\)\w*@\1@
+ kver=4.19.0-2-amd64
4.19.0-1-amd64
+ apt-cache show zfs-dkms
+ + head -n1
grep Version:
+ sed -e s at Version: \(.*\)-.*@\1@
+ zfsver=0.7.12
+ echo amd64 arm64 ppc64el s390x
+ grep -o amd64
amd64
+ echo Building ZFS/0.7.12 for Linux/4.19.0-2-amd64 4.19.0-1-amd64
+ Building ZFS/0.7.12 for Linux/4.19.0-2-amd64 4.19.0-1-amd64
apt-get install linux-headers-amd64 -y
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  linux-compiler-gcc-8-x86 linux-headers-4.19.0-1-amd64
  linux-headers-4.19.0-1-common linux-kbuild-4.19
The following NEW packages will be installed:
  linux-compiler-gcc-8-x86 linux-headers-4.19.0-1-amd64
  linux-headers-4.19.0-1-common linux-headers-amd64 linux-kbuild-4.19
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 9458 kB of archives.
After this operation, 56.8 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian testing/main amd64
linux-compiler-gcc-8-x86 amd64 4.19.12-1 [207 kB]
Get:2 http://deb.debian.org/debian testing/main amd64
linux-headers-4.19.0-1-common all 4.19.12-1 [8124 kB]
Get:3 http://deb.debian.org/debian testing/main amd64 linux-kbuild-4.19
amd64 4.19.12-1 [439 kB]
Get:4 http://deb.debian.org/debian testing/main amd64
linux-headers-4.19.0-1-amd64 amd64 4.19.12-1 [682 kB]
Get:5 http://deb.debian.org/debian testing/main amd64
linux-headers-amd64 amd64 4.19+101 [6568 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 9458 kB in 0s (25.7 MB/s)
Selecting previously unselected package linux-compiler-gcc-8-x86.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 15441 files and directories currently installed.)
Preparing to unpack .../linux-compiler-gcc-8-x86_4.19.12-1_amd64.deb ...
Unpacking linux-compiler-gcc-8-x86 (4.19.12-1) ...
Selecting previously unselected package linux-headers-4.19.0-1-common.
Preparing to unpack .../linux-headers-4.19.0-1-common_4.19.12-1_all.deb ...
Unpacking linux-headers-4.19.0-1-common (4.19.12-1) ...
Selecting previously unselected package linux-kbuild-4.19.
Preparing to unpack .../linux-kbuild-4.19_4.19.12-1_amd64.deb ...
Unpacking linux-kbuild-4.19 (4.19.12-1) ...
Selecting previously unselected package linux-headers-4.19.0-1-amd64.
Preparing to unpack .../linux-headers-4.19.0-1-amd64_4.19.12-1_amd64.deb ...
Unpacking linux-headers-4.19.0-1-amd64 (4.19.12-1) ...
Selecting previously unselected package linux-headers-amd64.
Preparing to unpack .../linux-headers-amd64_4.19+101_amd64.deb ...
Unpacking linux-headers-amd64 (4.19+101) ...
Setting up linux-kbuild-4.19 (4.19.12-1) ...
Setting up linux-headers-4.19.0-1-common (4.19.12-1) ...
Setting up linux-compiler-gcc-8-x86 (4.19.12-1) ...
Setting up linux-headers-4.19.0-1-amd64 (4.19.12-1) ...
/etc/kernel/header_postinst.d/dkms:
cp: cannot stat '/var/lib/dkms/spl/0.7.12/build/spl_config.h': No such
file or directory
cp: cannot stat '/var/lib/dkms/spl/0.7.12/build/module/Module.symvers':
No such file or directory
Setting up linux-headers-amd64 (4.19+101) ...
+ dkms build -k 4.19.0-2-amd64 4.19.0-1-amd64 spl/0.7.12
Warning: I do not know how to handle spl/0.7.12.
Error! Invalid number of arguments passed.
Usage: add <module>/<module-version> or
       add -m <module>/<module-version> or
       add -m <module> -v <module-version>
autopkgtest [05:58:06]: test dkms-zfs-test: -----------------------]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/perl-maintainers/attachments/20190204/34463af6/attachment.sig>


More information about the Perl-maintainers mailing list