On Mon, 2021-08-23 at 10:36 +0200, Paul Gevers wrote:
> Hi Kip,

Hey Paul,

> Can you please provide the command line that you used?

Certainly:

   $ autopkgtest @/home/me/Projects/sbuild/autopkgtest/autopkgtest.cfg &> 
log.txt

And the autopkgtest.cfg is as follows:

   $ cat /home/me/Projects/sbuild/autopkgtest/autopkgtest.cfg
   --shell-fail
   --apt-upgrade
   --setup-commands=/home/me/Projects/sbuild/scripts/setup.sh
   --
   qemu
   --ram-size=8192
   --cpus=8
   --show-boot
   /home/me/Projects/sbuild/images/autopkgtest-hirsute-amd64.img
   --qemu-options=-enable-kvm

And inside of the setup.sh:

   $ cat /home/me/Projects/sbuild/scripts/setup.sh
   #!/bin/bash
   
   # Bail on errors...
   set -e
   
   apt install squid-deb-proxy-client avahi-utils --assume-yes
   echo 'Acquire::http::proxy "http://my-workstation:3142";;' | tee
   /etc/apt/apt.conf.d/01acng > /dev/null
   sed -i 's/^nameserver.*$/nameserver 192.168.1.1/' /etc/resolv.conf
   
   apt install software-properties-common gnupg2 --assume-yes --no-
   install-recommends
   
   ( ... add a private PPA ... )
   
   add-apt-repository ppa:pistache+team/unstable --component main --component 
main/debug


> I'm seeing this twice in the successful log while it's only there once
> in the failed one and I don't understand where it's coming from:
>
> Adding repository.
> Adding deb entry to
> /etc/apt/sources.list.d/pistache_team-ubuntu-unstable-hirsute.list
> Adding disabled deb-src entry to
> /etc/apt/sources.list.d/pistache_team-ubuntu-unstable-hirsute.list
> Adding key to /etc/apt/trusted.gpg.d/pistache_team-ubuntu-unstable.gpg
> with fingerprint 2EEA295DCBF66B6DE281E0A193E2268577BD194B
> 
> Also, I'm even missing the "build needed" log line in your successful
> run. Which backend are you using?

I'm using the QEMU backend with both host and guest amd64. I've also
regenerated the logs, this time redirecting stderr and stdout to the
log. This time they shouldn't be truncated, though I did make some
redactions because this is a non-free source package:

   Pass (1/2):
      https://pastebin.com/Nnqkhsdr
   
   Pass (2/2):
      https://pastebin.com/jfEFh6Wy
   
   Fail:
      https://pastebin.com/FZ5qRQ1m

-- 
Kip Warner -- Senior Software Engineer
OpenPGP signed/encrypted mail preferred
https://www.thevertigo.com

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to