Starting lpci, version 0.2.7 Logging execution to '/home/buildd/.local/state/lpci/log/lpci-20240426-233528.298167.log' Launching environment for jammy/amd64 Starting instance Running ['apt', 'update'] :: :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. :: :: Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease :: Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease :: Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease :: Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease :: Reading package lists... :: Building dependency tree... :: Reading state information... :: All packages are up to date. Installing system packages Running ['apt', 'install', '-y', 'sudo'] :: :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. :: :: Reading package lists... :: Building dependency tree... :: Reading state information... :: sudo is already the newest version (1.9.9-1ubuntu2.4). :: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Running command for the job... Running ['bash', '--noprofile', '--norc', '-ec', 'DEBIAN_FRONTEND=noninteractive apt upgrade --assume-yes\n'] :: :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. :: :: Reading package lists... :: Building dependency tree... :: Reading state information... :: Calculating upgrade... :: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Running command for the job... Running ['bash', '--noprofile', '--norc', '-ec', './lpcraft-runner amanda\n'] :: Copying: test-amanda.py :: Copying: testlib.py :: Copying: install-packages :: Copying: packages-helper :: :: Test files: /tmp/qrt-test-amanda.tar.gz :: :: To run, copy the tarball somewhere, then do: :: $ tar -zxf qrt-test-amanda.tar.gz :: $ cd ./qrt-test-amanda :: $ sudo ./install-packages test-amanda.py :: $ ./test-amanda.py -v :: Reading package lists... :: Building dependency tree... :: Reading state information... :: Package python-apt is not available, but is referred to by another package. :: This may mean that the package is missing, has been obsoleted, or :: is only available from another source :: However the following packages replace it: :: python-apt-doc python3-apt-dbg python3-apt python-apt-common :: :: E: Package 'python-apt' has no installation candidate :: Reading package lists... :: Building dependency tree... :: Reading state information... :: The following additional packages will be installed: :: amanda-common bsd-mailx cpio libevent-2.1-7 libjson-perl libwrap0 :: libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl :: libxml-sax-perl libxml-simple-perl netbase openbsd-inetd postfix tcpd :: update-inetd :: Suggested packages: :: dump gnuplot smbclient libarchive1 procmail postfix-mysql postfix-pgsql :: postfix-ldap postfix-pcre postfix-lmdb postfix-sqlite sasl2-bin :: | dovecot-common libsasl2-modules | dovecot-common resolvconf postfix-cdb :: postfix-mta-sts-resolver ufw postfix-doc :: Recommended packages: :: libjson-xs-perl libwww-perl libxml-sax-expat-perl :: The following NEW packages will be installed: :: amanda-client amanda-common bsd-mailx cpio libevent-2.1-7 libjson-perl :: libwrap0 libxml-libxml-perl libxml-namespacesupport-perl :: libxml-sax-base-perl libxml-sax-perl libxml-simple-perl netbase :: openbsd-inetd postfix tcpd update-inetd :: 0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded. :: Need to get 4487 kB of archives. :: After this operation, 18.6 MB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 netbase all 6.3 [12.9 kB] :: Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 cpio amd64 2.13+dfsg-7 [83.2 kB] :: Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 postfix amd64 3.6.4-1ubuntu1.3 [1248 kB] :: Get:4 http://archive.ubuntu.com/ubuntu jammy/main amd64 libevent-2.1-7 amd64 2.1.12-stable-1build3 [148 kB] :: Get:5 http://archive.ubuntu.com/ubuntu jammy/main amd64 libwrap0 amd64 7.6.q-31build2 [47.9 kB] :: Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 update-inetd all 4.51 [24.9 kB] :: Get:7 http://archive.ubuntu.com/ubuntu jammy/universe amd64 tcpd amd64 7.6.q-31build2 [25.2 kB] :: Get:8 http://archive.ubuntu.com/ubuntu jammy/universe amd64 openbsd-inetd amd64 0.20160825-5 [26.3 kB] :: Get:9 http://archive.ubuntu.com/ubuntu jammy/main amd64 bsd-mailx amd64 8.1.2-0.20180807cvs-2build2 [69.6 kB] :: Get:10 http://archive.ubuntu.com/ubuntu jammy/main amd64 libjson-perl all 4.04000-1 [81.8 kB] :: Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 amanda-common amd64 1:3.5.1-8ubuntu1.4 [2005 kB] :: Get:12 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxml-namespacesupport-perl all 1.12-1.1 [13.2 kB] :: Get:13 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxml-sax-base-perl all 1.09-1.1 [19.0 kB] :: Get:14 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxml-sax-perl all 1.02+dfsg-3 [57.0 kB] :: Get:15 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxml-libxml-perl amd64 2.0207+dfsg+really+2.0134-1 [325 kB] :: Get:16 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxml-simple-perl all 2.25-1 [64.9 kB] :: Get:17 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 amanda-client amd64 1:3.5.1-8ubuntu1.4 [234 kB] :: Preconfiguring packages ... :: Fetched 4487 kB in 2s (2323 kB/s) :: Selecting previously unselected package netbase. :: (Reading database ... 24527 files and directories currently installed.) :: Preparing to unpack .../00-netbase_6.3_all.deb ... :: Unpacking netbase (6.3) ... :: Selecting previously unselected package cpio. :: Preparing to unpack .../01-cpio_2.13+dfsg-7_amd64.deb ... :: Unpacking cpio (2.13+dfsg-7) ... :: Selecting previously unselected package postfix. :: Preparing to unpack .../02-postfix_3.6.4-1ubuntu1.3_amd64.deb ... :: Unpacking postfix (3.6.4-1ubuntu1.3) ... :: Selecting previously unselected package libevent-2.1-7:amd64. :: Preparing to unpack .../03-libevent-2.1-7_2.1.12-stable-1build3_amd64.deb ... :: Unpacking libevent-2.1-7:amd64 (2.1.12-stable-1build3) ... :: Selecting previously unselected package libwrap0:amd64. :: Preparing to unpack .../04-libwrap0_7.6.q-31build2_amd64.deb ... :: Unpacking libwrap0:amd64 (7.6.q-31build2) ... :: Selecting previously unselected package update-inetd. :: Preparing to unpack .../05-update-inetd_4.51_all.deb ... :: Unpacking update-inetd (4.51) ... :: Selecting previously unselected package tcpd. :: Preparing to unpack .../06-tcpd_7.6.q-31build2_amd64.deb ... :: Unpacking tcpd (7.6.q-31build2) ... :: Selecting previously unselected package openbsd-inetd. :: Preparing to unpack .../07-openbsd-inetd_0.20160825-5_amd64.deb ... :: Unpacking openbsd-inetd (0.20160825-5) ... :: Selecting previously unselected package bsd-mailx. :: Preparing to unpack .../08-bsd-mailx_8.1.2-0.20180807cvs-2build2_amd64.deb ... :: Unpacking bsd-mailx (8.1.2-0.20180807cvs-2build2) ... :: Selecting previously unselected package libjson-perl. :: Preparing to unpack .../09-libjson-perl_4.04000-1_all.deb ... :: Unpacking libjson-perl (4.04000-1) ... :: Selecting previously unselected package amanda-common. :: Preparing to unpack .../10-amanda-common_1%3a3.5.1-8ubuntu1.4_amd64.deb ... :: Unpacking amanda-common (1:3.5.1-8ubuntu1.4) ... :: Selecting previously unselected package libxml-namespacesupport-perl. :: Preparing to unpack .../11-libxml-namespacesupport-perl_1.12-1.1_all.deb ... :: Unpacking libxml-namespacesupport-perl (1.12-1.1) ... :: Selecting previously unselected package libxml-sax-base-perl. :: Preparing to unpack .../12-libxml-sax-base-perl_1.09-1.1_all.deb ... :: Unpacking libxml-sax-base-perl (1.09-1.1) ... :: Selecting previously unselected package libxml-sax-perl. :: Preparing to unpack .../13-libxml-sax-perl_1.02+dfsg-3_all.deb ... :: Unpacking libxml-sax-perl (1.02+dfsg-3) ... :: Selecting previously unselected package libxml-libxml-perl. :: Preparing to unpack .../14-libxml-libxml-perl_2.0207+dfsg+really+2.0134-1_amd64.deb ... :: Unpacking libxml-libxml-perl (2.0207+dfsg+really+2.0134-1) ... :: Selecting previously unselected package libxml-simple-perl. :: Preparing to unpack .../15-libxml-simple-perl_2.25-1_all.deb ... :: Unpacking libxml-simple-perl (2.25-1) ... :: Selecting previously unselected package amanda-client. :: Preparing to unpack .../16-amanda-client_1%3a3.5.1-8ubuntu1.4_amd64.deb ... :: Unpacking amanda-client (1:3.5.1-8ubuntu1.4) ... :: Setting up cpio (2.13+dfsg-7) ... :: update-alternatives: using /bin/mt-gnu to provide /bin/mt (mt) in auto mode :: Setting up update-inetd (4.51) ... :: Setting up libxml-namespacesupport-perl (1.12-1.1) ... :: Setting up libxml-sax-base-perl (1.09-1.1) ... :: Setting up libwrap0:amd64 (7.6.q-31build2) ... :: Setting up libevent-2.1-7:amd64 (2.1.12-stable-1build3) ... :: Setting up libjson-perl (4.04000-1) ... :: Setting up netbase (6.3) ... :: Setting up tcpd (7.6.q-31build2) ... :: Setting up libxml-sax-perl (1.02+dfsg-3) ... :: update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... :: update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... :: :: Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version :: Setting up libxml-libxml-perl (2.0207+dfsg+really+2.0134-1) ... :: update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... :: update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... :: update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... :: Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version :: Setting up postfix (3.6.4-1ubuntu1.3) ... :: Adding group `postfix' (GID 111) ... :: Done. :: Adding system user `postfix' (UID 104) ... :: Adding new user `postfix' (UID 104) with group `postfix' ... :: Not creating home directory `/var/spool/postfix'. :: Creating /etc/postfix/dynamicmaps.cf :: Adding group `postdrop' (GID 112) ... :: Done. :: setting myhostname: lpci-tree-519801-jammy-amd64.lxd :: setting alias maps :: setting alias database :: changing /etc/mailname to lpci-tree-519801-jammy-amd64.lxd :: setting myorigin :: setting destinations: $myhostname, lpci-tree-519801-jammy-amd64.lxd, localhost.lxd, , localhost :: setting relayhost: :: setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 :: setting mailbox_size_limit: 0 :: setting recipient_delimiter: + :: setting inet_interfaces: all :: setting inet_protocols: all :: /etc/aliases does not exist, creating it. :: WARNING: /etc/aliases exists, but does not have a root alias. :: :: Postfix (main.cf) is now set up with a default configuration. If you need to :: make changes, edit /etc/postfix/main.cf (and others) as needed. To view :: Postfix configuration values, see postconf(1). :: :: After modifying main.cf, be sure to run 'systemctl reload postfix'. :: :: Running newaliases :: Created symlink /etc/systemd/system/multi-user.target.wants/postfix.service → /lib/systemd/system/postfix.service. :: Setting up openbsd-inetd (0.20160825-5) ... :: Created symlink /etc/systemd/system/multi-user.target.wants/inetd.service → /lib/systemd/system/inetd.service. :: Setting up bsd-mailx (8.1.2-0.20180807cvs-2build2) ... :: update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode :: Setting up libxml-simple-perl (2.25-1) ... :: Setting up amanda-common (1:3.5.1-8ubuntu1.4) ... :: backup:x:34:34:backup:/var/backups:/usr/sbin/nologin :: Adding user `backup' to group `disk' ... :: Adding user backup to group disk :: Done. :: Adding user `backup' to group `tape' ... :: Adding user backup to group tape :: Done. :: Setting up amanda-client (1:3.5.1-8ubuntu1.4) ... :: Processing triggers for libc-bin (2.35-0ubuntu3.7) ... :: Requiring 'lsb-release' ... :: Requiring 'amanda-client' ... :: Running test: './test-amanda.py' distro: 'Ubuntu 22.04' kernel: '5.4.0-176.196 (Ubuntu 5.4.0-176.196-generic 5.4.268)' arch: 'amd64' init: 'systemd' uid: 2002/2002 SUDO_USER: '') :: Running test: './test-amanda.py' distro: 'Ubuntu 22.04' kernel: '5.4.0-176.196 (Ubuntu 5.4.0-176.196-generic 5.4.268)' arch: 'amd64' init: 'systemd' uid: 2002/2002 SUDO_USER: '') :: test_CVE_2023_30577 (__main__.amandaTest) :: Test CVE-2023-30577 ... ok :: :: ---------------------------------------------------------------------- :: Ran 1 test in 0.085s :: :: OK