Package: autopkgtest
Version: 5.10
Severity: normal
User: de...@kali.org
Usertags: origin-kali

Using qemu as a backend for a worker, I've noticed several occurence of
the same problem pattern: one of autopkgtest's child processes runs out
of space, after which the worker never properly recovers and just stops
processing other jobs, until it is manually restarted.

The logs usually look something like this, for instance in
/var/lib/debci/tmp/tmp.nFRGjzrBnA/autopkgtest-incoming/kali-dev/amd64/l/llvm-toolchain-7/64101/log:

  [...]
  tar: ./LLVMBuild.txt: Cannot open: No space left on device
  tar: Exiting with failure status due to previous errors
  qemu-system-x86_64: terminating on signal 15 from pid 19995 (/usr/bin/python3)
  <VirtSubproc>: failure: copyup destination failed, status 2
  autopkgtest [13:31:11]: ERROR: testbed failure: cannot send to testbed: 
[Errno 32] Broken pipe

The associated cgroup looks like this to systemctl:

 CGroup: 
/system.slice/system-debci\x2dworker\x2damd64\x2dqemu.slice/debci-worker-amd64-qemu@1.service
       ├─18792 amqp-consume --url amqp://melpomene.kali.org -q 
debci-tests-amd64-qemu --prefetch-count 1 -- /usr/share/debci/bin/debci-worker 
--do-request
       ├─19555 /bin/sh /usr/share/debci/bin/debci-worker --do-request
       ├─19699 /bin/sh /usr/share/debci/bin/debci-worker --do-request
       ├─19701 /bin/sh /usr/share/debci/bin/debci-test --quiet --data-dir 
/var/lib/debci/tmp/tmp.nFRGjzrBnA --suite kali-dev --print-output 
--run-id=64101 llvm-toolchain-7
       ├─19848 /bin/sh /usr/share/debci/bin/debci-test --quiet --data-dir 
/var/lib/debci/tmp/tmp.nFRGjzrBnA --suite kali-dev --print-output 
--run-id=64101 llvm-toolchain-7
       ├─19853 /bin/sh /usr/share/debci/backends/qemu/test-package --output-dir 
/var/lib/debci/tmp/tmp.nFRGjzrBnA/autopkgtest-incoming/kali-dev/amd64/l/llvm-toolchain-7/64101
 llvm-toolchain-7
       ├─19868 /bin/sh /usr/share/debci/bin/debci-autopkgtest --user debci 
--output-dir 
/var/lib/debci/tmp/tmp.nFRGjzrBnA/autopkgtest-incoming/kali-dev/amd64/l/llvm-toolchain-7/64101
 llvm-toolchain-7 -- qemu /var/lib/debci/qemu/kali-de
       ├─19873 /usr/bin/python3 -u /usr/bin/autopkgtest --no-built-binaries 
--user debci --output-dir 
/var/lib/debci/tmp/tmp.nFRGjzrBnA/autopkgtest-incoming/kali-dev/amd64/l/llvm-toolchain-7/64101
 llvm-toolchain-7 -- qemu /var/lib/debc
       ├─19993 tee /var/lib/debci/tmp/autopkgtest-fifo.4qq8j19b -a /dev/stderr
       ├─19994 cat /var/lib/debci/tmp/autopkgtest-fifo.4qq8j19b
       └─24239 /usr/bin/python3 
/var/lib/debci/tmp/autopkgtest-qemu.9n_8irx_/runcmd sh -ec cd 
/tmp/autopkgtest.PThwPb/build.xkB/src/; tar --warning=none -c . -f -

The correct behavior in this case should probably be to mark this job as
tmpfail, clean up, and move on to the next pending job.

-- System Information:
Debian Release: 9.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.167-xxxx-std-ipv6-64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages autopkgtest depends on:
ii  apt-utils       1.4.9
ii  libdpkg-perl    1.18.25
ii  procps          2:3.3.12-3+deb9u1
ii  python3         3.5.3-1
ii  python3-debian  0.1.30

Versions of packages autopkgtest recommends:
ii  autodep8  0.18~bpo9+1

Versions of packages autopkgtest suggests:
ii  lxc               1:2.0.7-2+deb9u2
pn  lxd               <none>
pn  ovmf              <none>
pn  qemu-efi-aarch64  <none>
pn  qemu-efi-arm      <none>
ii  qemu-system       1:2.8+dfsg-6+deb9u5
ii  qemu-utils        1:2.8+dfsg-6+deb9u5
ii  schroot           1.6.10-3+deb9u1
ii  vmdb2             0.13.2+git20190215-1

-- no debconf information

Reply via email to