[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#944819: cyrus-imapd: autopkgtest does not test the installed package, and consumes too much disk space



Source: cyrus-imapd
Severity: normal
User: debian-ci@lists.debian.org
Usertags: issue
X-Debbugs-CC: debian-ci@lists.debian.org

For reference, this is the entire code that runs as autopkgtest for
cyrus-imapd.

----------------8<----------------8<----------------8<-----------------
#!/bin/bash

set -e

cd debian/tests

# build image
docker build --rm -t cyrus-test -f Dockerfile.sid .

# get local repository path
source_list="/etc/apt/sources.list.d/autopkgtest.list"
p=$(perl -pe 's#.*file://([^ ]+).*#$1#' $source_list)

# run it
docker run --rm \
       -v ${source_list}:${source_list} \
       -v ${p}:${p} \
       cyrus-test
----------------8<----------------8<----------------8<-----------------

The purpose of autopkgtest is testing the packages as installed in a
Debian system. Building docker containers and testing stuff inside of
them is not really what is expected.

Also, these tests consume way too much disk space, and caused some of the
ci.debian.net workers to go out of disk space.

For the time being, I'm blacklisting cyrus-imapd on ci.debian.net. This
will be revisited in the future when this bug is closed.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=pt_BR:pt:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Attachment: signature.asc
Description: PGP signature


Reply to: