[Pkg-giraffe-discuss] Getting autopkgtest for kopanocore working (finally)
Carsten Schoenert
c.schoenert at t-online.de
Sat Dec 15 18:57:04 GMT 2018
Hi,
Am 15.12.18 um 18:39 schrieb Guido Günther:
> Hi,
> Yay, progress! Great you nailed it down. We're quite close to an upload
> now it seems!
>
> On Sat, Dec 15, 2018 at 05:17:51PM +0100, Carsten Schoenert wrote:
> [..snip..]
>> If I add mariadb-server to the Depends of the first autopkgtest all is
>> working without the need of any tweeks in the smoke script. Hmm, that
>> is
>
> You didn't provide the full log but something is really wrong here: The
> test was specifically written to test the correct order of getting the
> db up. I'm looking at revision 875be0f72 since it's a bit shorter:
>
> ----
> echo "Installing database and server packages..."
> apt-get -y install mariadb-server
> /etc/init.d/mysql start
> apt-get -y install kopano-server kopano-utils
> echo "done."
> ---
>
> So there is basically no way that kopano-server can get installed
> without mariadb-server being installed first.
especially if the SQL server must run on the same machine. That's what
I've found out after after a while of looking into the logs.
Currently there is kopano-server already installed by the 'help' test
target due the usage of '@' in the Depends field. In my opinion there is
no need to run the 'help' test before the smoke tests, so we can reorder
the selection of the tests.
And we could be more specific with the required packages for the 'help'
test, just add the packages with some output for '--help' as an
dependency and explicit drop kopano-server here? Just do the test of
this for kopano-server later in the smoke test would also work.
>> obviously not what we want to have. But a dpkg-reconfigure of the
>> package kopano-server after the installation of mariadb-server is doing
>> the trick and the autopkg thingy is working like before!
>>
>> Any other objections or suggestion I should consider now before pushing
>> all to Salsa? Something I've forgotten?
>
> See above. I think there is no bug here, your test setup is broken. You
> must not have kopano-server installed when running the tests. See:
>
> https://github.com/tijuca/Giraffe/blob/debian/sid/debian/tests/control
>
> So we have two choices:
>
> a) Fail outright at the beginning of the script if kopano-server is installed:
>
> if dpkg -s kopano-server 2>/dev/null; then
> echo "You must not have kopano-server installed." 1>&2
> exit 1
> fi
>
> b) Do the dpkg-reconfigure to work around broken test setups (but only then).
>
> if dpkg -s kopano-server 2>/dev/null; then
> echo "kopano-server already installed. Trying to work around that." 1>&2
> KOPANO_SERVER_WA=1
> fi
>
> ....
>
> [ -z "$KOPANO_SERVER_WA" ] || dpkg-reconfigure kopano-server
>
>
> It'd opt for a) since if we allow for that we still have problems of
> prefilled databases, etc. so we should always cater for a clean testbed.
> Does this make sense?
Given to your critics a I did a quick rearrangement of the ordering of
the test as written above and did a quick test run and this works of
course too. This is than more the "old" original fashion style that
makes sense and I agree with.
We could then also decrease the list of dependencies for the 'help' test
to just check kopano-{backup,presence,search,spamd}. kopanu-utils (for
kopano-cli) is here already installed.
This would be more straight forward than to do some special handling in
the smoke test. And yes, we will need to do more tests like db
updates/recovery so it will be mostly a question how to combine and
order the tests. For now I think it's important to see we wont have
knowingly RC bugs by the new version.
This is what I've changed now.
> $ git diff
> diff --git a/debian/tests/control b/debian/tests/control
> index 7e39c683..5335a194 100644
> --- a/debian/tests/control
> +++ b/debian/tests/control
> @@ -1,10 +1,12 @@
> -Tests: help
> -Depends: @
> -Restrictions: allow-stderr,
> - needs-root,
> -
> Tests: smoke
> Depends: python3-nose
> Restrictions: allow-stderr,
> needs-root,
>
> +Tests: help
> +Depends: kopano-backup,
> + kopano-presence,
> + kopano-search,
> + kopano-spamd
> +Restrictions: allow-stderr,
> + needs-root,
> diff --git a/debian/tests/smoke b/debian/tests/smoke
> index 6049cd84..08979217 100755
> --- a/debian/tests/smoke
> +++ b/debian/tests/smoke
> @@ -2,9 +2,6 @@
>
> set -e
>
> -# enable some debug output for dbconfig-common
> -sed -i 's/#dbc_debug/dbc_debug/' /var/lib/dpkg/info/kopano-server.postinst
> -
> echo "#######################################################################"
> echo "# Setting up database configuration... #"
> cat <<EOF | debconf-set-selections
> @@ -39,9 +36,9 @@ echo "#######################################################################"
> echo
>
> echo "#######################################################################"
> -echo "# Reconfigure package kopano-server... #"
> -dpkg-reconfigure kopano-server
> -echo "# Reconfigure package kopano-server... done. #"
> +echo "# Installing kopano-server and kopano-utils... #"
> +apt-get -y install kopano-server kopano-utils
> +echo "# Installing kopano-server and kopano-utils... done. #"
> echo "#######################################################################"
> echo
autopkgtest log looks now like this. I've cut some parts of boring stuff.
> $ ~/tmp/kvm-testing.sh
> + set -e
> + virsh destroy unstable-amd64-kopano
> Domain unstable-amd64-kopano destroyed
>
> + virsh snapshot-revert unstable-amd64-kopano sid-2018-12-15
>
> + virsh start unstable-amd64-kopano
> Domain unstable-amd64-kopano started
>
> + autopkgtest -s -B ../kopano-archiver_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-archiver-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-backup_8.6.90-1~snapshot~exp1_all.deb ../kopano-common_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-contacts_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-contacts-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-core_8.6.90-1~snapshot~exp1_all.deb ../kopano-dagent_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-dagent-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-dev_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-gateway_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-gateway-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-ical_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-ical-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-l10n_8.6.90-1~snapshot~exp1_all.deb ../kopano-libs_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-libs-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-monitor_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-monitor-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-presence_8.6.90-1~snapshot~exp1_all.deb ../kopano-search_8.6.90-1~snapshot~exp1_all.deb ../kopano-server_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-server-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-spamd_8.6.90-1~snapshot~exp1_all.deb ../kopano-spooler_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-spooler-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-utils_8.6.90-1~snapshot~exp1_amd64.deb ../kopano-utils-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb ../php-mapi_8.6.90-1~snapshot~exp1_amd64.deb ../php-mapi-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb ../python3-kopano_8.6.90-1~snapshot~exp1_all.deb ../python3-mapi_8.6.90-1~snapshot~exp1_amd64.deb ../python3-mapi-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb ../kopanocore_8.6.90-1~snapshot~exp1.dsc -- ssh -H 192.168.122.237 -lcarsten -Pfoo --timeout-ssh=300
> autopkgtest [19:45:40]: version 5.6
> autopkgtest [19:45:40]: host i5; command line: /usr/bin/autopkgtest -s -B '../kopano-archiver_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-archiver-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-backup_8.6.90-1~snapshot~exp1_all.deb' '../kopano-common_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-contacts_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-contacts-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-core_8.6.90-1~snapshot~exp1_all.deb' '../kopano-dagent_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-dagent-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-dev_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-gateway_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-gateway-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-ical_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-ical-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-l10n_8.6.90-1~snapshot~exp1_all.deb' '../kopano-libs_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-libs-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-monitor_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-monitor-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-presence_8.6.90-1~snapshot~exp1_all.deb' '../kopano-search_8.6.90-1~snapshot~exp1_all.deb' '../kopano-server_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-server-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-spamd_8.6.90-1~snapshot~exp1_all.deb' '../kopano-spooler_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-spooler-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-utils_8.6.90-1~snapshot~exp1_amd64.deb' '../kopano-utils-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb' '../php-mapi_8.6.90-1~snapshot~exp1_amd64.deb' '../php-mapi-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb' '../python3-kopano_8.6.90-1~snapshot~exp1_all.deb' '../python3-mapi_8.6.90-1~snapshot~exp1_amd64.deb' '../python3-mapi-dbgsym_8.6.90-1~snapshot~exp1_amd64.deb' '../kopanocore_8.6.90-1~snapshot~exp1.dsc' -- ssh -H 192.168.122.237 -lcarsten -Pfoo --timeout-ssh=300
> autopkgtest [19:45:55]: testbed dpkg architecture: amd64
> autopkgtest [19:45:55]: testbed running kernel: Linux 4.18.0-3-amd64 #1 SMP Debian 4.18.20-2 (2018-11-23)
> autopkgtest [19:45:56]: @@@@@@@@@@@@@@@@@@@@ source ../kopanocore_8.6.90-1~snapshot~exp1.dsc
> dpkg-source: Warnung: unsigniertes Quellpaket wird extrahiert (/tmp/autopkgtest.aalD1Y/kopanocore_8.6.90-1~snapshot~exp1.dsc)
> dpkg-source: Information: kopanocore wird nach src extrahiert
> dpkg-source: Information: kopanocore_8.6.90.orig.tar.xz wird entpackt
> dpkg-source: Information: kopanocore_8.6.90-1~snapshot~exp1.debian.tar.xz wird entpackt
> dpkg-source: Information: Patchliste aus debian/patches/series wird verwendet
> dpkg-source: Information: debian/Add-include-for-database-configuration.patch wird angewandt
> dpkg-source: Information: debian/Run-deamons-as-user-group-kopano.patch wird angewandt
> dpkg-source: Information: Use-proper-python-pkg-config.patch wird angewandt
> dpkg-source: Information: Use-install-layout-deb.patch wird angewandt
> dpkg-source: Information: Use-python3-everywhere.patch wird angewandt
> dpkg-source: Information: apparmor-Be-less-strict-on-the-Python-binary.patch wird angewandt
> dpkg-source: Information: Python3-fixes.patch wird angewandt
> autopkgtest [19:45:56]: testing package kopanocore version 8.6.90-1~snapshot~exp1
> autopkgtest [19:45:56]: build not needed
> autopkgtest [19:45:57]: test smoke: preparing testbed
> Holen:1 file:/tmp/autopkgtest.aalD1Y/binaries InRelease
> Ign:1 file:/tmp/autopkgtest.aalD1Y/binaries InRelease
> Holen:2 file:/tmp/autopkgtest.aalD1Y/binaries Release [816 B]
> Holen:2 file:/tmp/autopkgtest.aalD1Y/binaries Release [816 B]
> Holen:3 file:/tmp/autopkgtest.aalD1Y/binaries Release.gpg
> Ign:3 file:/tmp/autopkgtest.aalD1Y/binaries Release.gpg
> Holen:4 file:/tmp/autopkgtest.aalD1Y/binaries Packages [36,7 kB]
> Paketlisten werden gelesen...
> Paketlisten werden gelesen...
> Abhängigkeitsbaum wird aufgebaut....
> Statusinformationen werden eingelesen....
> Abhängigkeiten werden korrigiert ...Starting pkgProblemResolver with broken count: 0
> Starting 2 pkgProblemResolver with broken count: 0
> Done
> Fertig
> Starting pkgProblemResolver with broken count: 0
> Starting 2 pkgProblemResolver with broken count: 0
> Done
> Die folgenden zusätzlichen Pakete werden installiert:
> python3-nose
> Vorgeschlagene Pakete:
> python-nose-doc
> Die folgenden NEUEN Pakete werden installiert:
> python3-nose
> 0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
> 1 nicht vollständig installiert oder entfernt.
> Es müssen 132 kB an Archiven heruntergeladen werden.
> Nach dieser Operation werden 565 kB Plattenplatz zusätzlich benutzt.
> Holen:1 http://ftp.de.debian.org/debian unstable/main amd64 python3-nose all 1.3.7-4 [132 kB]
> Es wurden 132 kB in 0 s geholt (2.549 kB/s).
> Vormals nicht ausgewähltes Paket python3-nose wird gewählt.
> (Lese Datenbank ... 38773 Dateien und Verzeichnisse sind derzeit installiert.)
> Vorbereitung zum Entpacken von .../python3-nose_1.3.7-4_all.deb ...
> Entpacken von python3-nose (1.3.7-4) ...
> python3-nose (1.3.7-4) wird eingerichtet ...
> Trigger für man-db (2.8.4-3) werden verarbeitet ...
> autopkgtest-satdep (0) wird eingerichtet ...
> (Lese Datenbank ... 38838 Dateien und Verzeichnisse sind derzeit installiert.)
> Entfernen von autopkgtest-satdep (0) ...
> autopkgtest [19:46:06]: test smoke: [-----------------------
> #######################################################################
> # Setting up database configuration... #
> # Setting up database configuration... done. #
> #######################################################################
>
> #######################################################################
> # Installing MariaDB server package... #
> Reading package lists...
> Building dependency tree...
> Reading state information...
> The following additional packages will be installed:
> galera-3 libaio1 libcgi-fast-perl libcgi-pm-perl libconfig-inifiles-perl
> libdbd-mysql-perl libdbi-perl libencode-locale-perl libfcgi-perl
> libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl
> libhttp-date-perl libhttp-message-perl libio-html-perl libjemalloc1
> liblwp-mediatypes-perl libmariadbclient18 libreadline5 libterm-readkey-perl
> libtimedate-perl liburi-perl mariadb-client-10.1 mariadb-client-core-10.1
> mariadb-common mariadb-server-10.1 mariadb-server-core-10.1 mysql-common
> rsync socat
> Suggested packages:
> libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl
> libdata-dump-perl libipc-sharedcache-perl libwww-perl mailx mariadb-test
> netcat-openbsd tinyca
> The following NEW packages will be installed:
> galera-3 libaio1 libcgi-fast-perl libcgi-pm-perl libconfig-inifiles-perl
> libdbd-mysql-perl libdbi-perl libencode-locale-perl libfcgi-perl
> libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl
> libhttp-date-perl libhttp-message-perl libio-html-perl libjemalloc1
> liblwp-mediatypes-perl libmariadbclient18 libreadline5 libterm-readkey-perl
> libtimedate-perl liburi-perl mariadb-client-10.1 mariadb-client-core-10.1
> mariadb-common mariadb-server mariadb-server-10.1 mariadb-server-core-10.1
> mysql-common rsync socat
> 0 upgraded, 31 newly installed, 0 to remove and 0 not upgraded.
> Need to get 20.3 MB of archives.
> After this operation, 164 MB of additional disk space will be used.
> Get:1 http://ftp.de.debian.org/debian unstable/main amd64 mysql-common all 5.8+1.0.4 [7276 B]
> ...[cut]
> Setting up mariadb-client-core-10.1 (1:10.1.37-3) ...
> Setting up libcgi-fast-perl (1:2.13-1) ...
> Setting up libhttp-message-perl (6.18-1) ...
> Setting up libdbd-mysql-perl:amd64 (4.049-1) ...
> Setting up mariadb-client-10.1 (1:10.1.37-3) ...
> Setting up mariadb-server-10.1 (1:10.1.37-3) ...
> Created symlink /etc/systemd/system/mysql.service → /lib/systemd/system/mariadb.service.
> Created symlink /etc/systemd/system/mysqld.service → /lib/systemd/system/mariadb.service.
> Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.
> Setting up mariadb-server (1:10.1.37-3) ...
> Processing triggers for libc-bin (2.28-2) ...
> Processing triggers for systemd (239-15) ...
> # Installing MariaDB server package... done. #
> #######################################################################
>
> #######################################################################
> # Restart MariaDB server... #
> Starting mysql (via systemctl): mysql.service.
> # Restart MariaDB server... done. #
> #######################################################################
>
> #######################################################################
> # Installing kopano-server and kopano-utils... #
> Reading package lists...
> Building dependency tree...
> Reading state information...
> The following additional packages will be installed:
> dbconfig-common kopano-common kopano-libs libcurl4 libdata-dump-perl
> libdigest-hmac-perl libfile-copy-recursive-perl libgsasl7 libgsoap-2.8.60
> libhx28 libical3 libio-socket-ssl-perl libio-tee-perl libjsoncpp1
> libmail-imapclient-perl libnet-ssleay-perl libntlm0 libparse-recdescent-perl
> libpython3.7 libreadonly-perl libunicode-string-perl libvmime1 libwebpdemux2
> libwebpmux3 perl-openssl-defaults python3-bsddb3 python3-daemon
> python3-dateutil python3-kopano python3-lockfile python3-mapi
> python3-olefile python3-pil python3-tz
> Suggested packages:
> dbconfig-mysql | dbconfig-pgsql | dbconfig-sqlite | dbconfig-sqlite3
> | dbconfig-no-thanks libauthen-sasl-perl python3-bsddb3-dbg
> python-lockfile-doc python-pil-doc python3-pil-dbg
> The following NEW packages will be installed:
> dbconfig-common kopano-common kopano-libs kopano-server kopano-utils
> libcurl4 libdata-dump-perl libdigest-hmac-perl libfile-copy-recursive-perl
> libgsasl7 libgsoap-2.8.60 libhx28 libical3 libio-socket-ssl-perl
> libio-tee-perl libjsoncpp1 libmail-imapclient-perl libnet-ssleay-perl
> libntlm0 libparse-recdescent-perl libpython3.7 libreadonly-perl
> libunicode-string-perl libvmime1 libwebpdemux2 libwebpmux3
> perl-openssl-defaults python3-bsddb3 python3-daemon python3-dateutil
> python3-kopano python3-lockfile python3-mapi python3-olefile python3-pil
> python3-tz
> 0 upgraded, 36 newly installed, 0 to remove and 0 not upgraded.
> Need to get 6460 kB/9382 kB of archives.
> After this operation, 41.0 MB of additional disk space will be used.
> Get:1 file:/tmp/autopkgtest.aalD1Y/binaries kopano-libs 8.6.90-1~snapshot~exp1 [1930 kB]
> ...
> Setting up libnet-ssleay-perl (1.85-2+b1) ...
> Setting up libmail-imapclient-perl (3.39-1) ...
> Setting up libio-socket-ssl-perl (2.060-3) ...
> Setting up libvmime1:amd64 (0.9.2-5+b2) ...
> Setting up kopano-libs:amd64 (8.6.90-1~snapshot~exp1) ...
> Setting up python3-daemon (2.1.2-2) ...
> Setting up kopano-server (8.6.90-1~snapshot~exp1) ...
> Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
> dbconfig-common: writing config to /etc/dbconfig-common/kopano-server.conf
>
> Creating config file /etc/dbconfig-common/kopano-server.conf with new version
>
> Creating config file /etc/kopano/debian-db.cfg with new version
> checking privileges on database kopanoserver for kopano-server at localhost: user creation needed.
> granting access to database kopanoserver for kopano-server at localhost: success.
> verifying access for kopano-server at localhost: success.
> creating database kopanoserver: success.
> verifying database kopanoserver exists: success.
> dbconfig-common: flushing administrative password
> Setting up python3-mapi (8.6.90-1~snapshot~exp1) ...
> Setting up python3-kopano (8.6.90-1~snapshot~exp1) ...
> Setting up kopano-utils (8.6.90-1~snapshot~exp1) ...
> Processing triggers for libc-bin (2.28-2) ...
> Processing triggers for systemd (239-15) ...
> # Installing kopano-server and kopano-utils... done. #
> #######################################################################
>
> #######################################################################
> # (Re)start the kopano-server... #
> Restarting kopano-server (via systemctl): kopano-server.service.
> # (Re)start the kopano-server... done. #
> #######################################################################
>
> #######################################################################
> # Check that we have a running server... #
> # Check that we have a running server... done. #
> #######################################################################
>
> #######################################################################
> # Check we can create users... #
> # Check we can create users... done. #
> #######################################################################
>
> #######################################################################
> # Check that we can create a store for the user... #
> The selected option is deprecated in this utility.
> Forwarding call to: `kopano-storeadm -h default: -Cn testadmin`.
> Store GUID is 2f3fa2ee88b64ea6894ed1a483e9df04
> # Check that we can create a store for the user... done. #
> #######################################################################
>
> #######################################################################
> # Check that we can deliver... #
> Reading package lists...
> Building dependency tree...
> Reading state information...
> The following additional packages will be installed:
> libpcre2-8-0 libsodium23 php-cli php-common php-mapi php7.3-cli
> php7.3-common php7.3-json php7.3-opcache php7.3-readline
> Suggested packages:
> php-pear
> The following NEW packages will be installed:
> kopano-dagent libpcre2-8-0 libsodium23 php-cli php-common php-mapi
> php7.3-cli php7.3-common php7.3-json php7.3-opcache php7.3-readline
> 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
> Need to get 2934 kB/3270 kB of archives.
> After this operation, 14.8 MB of additional disk space will be used.
> Get:1 file:/tmp/autopkgtest.aalD1Y/binaries php-mapi 8.6.90-1~snapshot~exp1 [202 kB]
> Get:2 file:/tmp/autopkgtest.aalD1Y/binaries kopano-dagent 8.6.90-1~snapshot~exp1 [134 kB]
> ...[cut]
> Creating config file /etc/php/7.3/cli/php.ini with new version
> Setting up php-cli (2:7.3+68) ...
> Setting up kopano-dagent (8.6.90-1~snapshot~exp1) ...
> Processing triggers for libc-bin (2.28-2) ...
> Processing triggers for systemd (239-15) ...
> # Check that we can deliver... done. #
> #######################################################################
>
> #######################################################################
> # Checking that we can backup and retrieve email... #
> Reading package lists...
> Building dependency tree...
> Reading state information...
> The following NEW packages will be installed:
> kopano-backup
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B/39.6 kB of archives.
> After this operation, 131 kB of additional disk space will be used.
> Get:1 file:/tmp/autopkgtest.aalD1Y/binaries kopano-backup 8.6.90-1~snapshot~exp1 [39.6 kB]
> Selecting previously unselected package kopano-backup.
> (Reading database ... 41204 files and directories currently installed.)
> Preparing to unpack .../binaries/./kopano-backup.deb ...
> Unpacking kopano-backup (8.6.90-1~snapshot~exp1) ...
> Setting up kopano-backup (8.6.90-1~snapshot~exp1) ...
> Processing triggers for man-db (2.8.4-3) ...
> testBackupRestoreUser (test_backup.TestBackup) ... ok
> testFindItemBySubject (test_server.TestServer) ... ok
>
> ----------------------------------------------------------------------
> Ran 2 tests in 2.511s
>
> OK
> # Checking that we can backup and retrieve email... done. #
> #######################################################################
> ---> Smoke test of kopano server successful! <---
> autopkgtest [19:47:29]: test smoke: -----------------------]
> autopkgtest [19:47:29]: test smoke: - - - - - - - - - - results - - - - - - - - - -
> smoke PASS
> autopkgtest [19:47:29]: test help: preparing testbed
> Holen:1 file:/tmp/autopkgtest.aalD1Y/binaries InRelease
> Ign:1 file:/tmp/autopkgtest.aalD1Y/binaries InRelease
> Holen:2 file:/tmp/autopkgtest.aalD1Y/binaries Release [816 B]
> Holen:2 file:/tmp/autopkgtest.aalD1Y/binaries Release [816 B]
> Holen:3 file:/tmp/autopkgtest.aalD1Y/binaries Release.gpg
> Ign:3 file:/tmp/autopkgtest.aalD1Y/binaries Release.gpg
> Paketlisten werden gelesen...
> Paketlisten werden gelesen...
> Abhängigkeitsbaum wird aufgebaut....
> Statusinformationen werden eingelesen....
> Starting pkgProblemResolver with broken count: 0
> Starting 2 pkgProblemResolver with broken count: 0
> Done
> 0 aktualisiert, 0 neu installiert, 9 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
> Es müssen noch 0 B von 3.298 kB an Archiven heruntergeladen werden.
> Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
> Holen:1 file:/tmp/autopkgtest.aalD1Y/binaries kopano-dagent 8.6.90-1~snapshot~exp1 [134 kB]
> Holen:2 file:/tmp/autopkgtest.aalD1Y/binaries kopano-server 8.6.90-1~snapshot~exp1 [264 kB]
> Holen:3 file:/tmp/autopkgtest.aalD1Y/binaries kopano-backup 8.6.90-1~snapshot~exp1 [39,6 kB]
> Holen:4 file:/tmp/autopkgtest.aalD1Y/binaries kopano-common 8.6.90-1~snapshot~exp1 [26,1 kB]
> Holen:5 file:/tmp/autopkgtest.aalD1Y/binaries kopano-libs 8.6.90-1~snapshot~exp1 [1.930 kB]
> Holen:6 file:/tmp/autopkgtest.aalD1Y/binaries kopano-utils 8.6.90-1~snapshot~exp1 [331 kB]
> Holen:7 file:/tmp/autopkgtest.aalD1Y/binaries php-mapi 8.6.90-1~snapshot~exp1 [202 kB]
> Holen:8 file:/tmp/autopkgtest.aalD1Y/binaries python3-kopano 8.6.90-1~snapshot~exp1 [109 kB]
> Holen:9 file:/tmp/autopkgtest.aalD1Y/binaries python3-mapi 8.6.90-1~snapshot~exp1 [262 kB]
> (Lese Datenbank ... 41218 Dateien und Verzeichnisse sind derzeit installiert.)
> Vorbereitung zum Entpacken von .../0-kopano-dagent.deb ...
> Entpacken von kopano-dagent (8.6.90-1~snapshot~exp1) über (8.6.90-1~snapshot~exp1) ...
> Vorbereitung zum Entpacken von .../1-kopano-server.deb ...
> Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
> Entpacken von kopano-server (8.6.90-1~snapshot~exp1) über (8.6.90-1~snapshot~exp1) ...
> Vorbereitung zum Entpacken von .../2-kopano-backup.deb ...
> Entpacken von kopano-backup (8.6.90-1~snapshot~exp1) über (8.6.90-1~snapshot~exp1) ...
> Vorbereitung zum Entpacken von .../3-kopano-common.deb ...
> Entpacken von kopano-common (8.6.90-1~snapshot~exp1) über (8.6.90-1~snapshot~exp1) ...
> Vorbereitung zum Entpacken von .../4-kopano-libs.deb ...
> Entpacken von kopano-libs:amd64 (8.6.90-1~snapshot~exp1) über (8.6.90-1~snapshot~exp1) ...
> Vorbereitung zum Entpacken von .../5-kopano-utils.deb ...
> Entpacken von kopano-utils (8.6.90-1~snapshot~exp1) über (8.6.90-1~snapshot~exp1) ...
> Vorbereitung zum Entpacken von .../6-php-mapi.deb ...
> Entpacken von php-mapi (8.6.90-1~snapshot~exp1) über (8.6.90-1~snapshot~exp1) ...
> Vorbereitung zum Entpacken von .../7-python3-kopano.deb ...
> Entpacken von python3-kopano (8.6.90-1~snapshot~exp1) über (8.6.90-1~snapshot~exp1) ...
> Vorbereitung zum Entpacken von .../8-python3-mapi.deb ...
> Entpacken von python3-mapi (8.6.90-1~snapshot~exp1) über (8.6.90-1~snapshot~exp1) ...
> kopano-common (8.6.90-1~snapshot~exp1) wird eingerichtet ...
> [kopano-tmpfiles.conf:2] Line references path below legacy directory /var/run/, updating /var/run/kopano → /run/kopano; please update the tmpfiles.d/ drop-in file accordingly.
> Trigger für libc-bin (2.28-2) werden verarbeitet ...
> kopano-libs:amd64 (8.6.90-1~snapshot~exp1) wird eingerichtet ...
> Trigger für systemd (239-15) werden verarbeitet ...
> Trigger für man-db (2.8.4-3) werden verarbeitet ...
> php-mapi (8.6.90-1~snapshot~exp1) wird eingerichtet ...
> kopano-server (8.6.90-1~snapshot~exp1) wird eingerichtet ...
> Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
> dbconfig-common: writing config to /etc/dbconfig-common/kopano-server.conf
> dbconfig-common: flushing administrative password
> python3-mapi (8.6.90-1~snapshot~exp1) wird eingerichtet ...
> kopano-dagent (8.6.90-1~snapshot~exp1) wird eingerichtet ...
> python3-kopano (8.6.90-1~snapshot~exp1) wird eingerichtet ...
> kopano-backup (8.6.90-1~snapshot~exp1) wird eingerichtet ...
> kopano-utils (8.6.90-1~snapshot~exp1) wird eingerichtet ...
> Trigger für libc-bin (2.28-2) werden verarbeitet ...
> W: --force-yes ist veraltet, verwenden Sie stattdessen eine der Optionen, die mit --allow beginnen.
> Paketlisten werden gelesen...
> Abhängigkeitsbaum wird aufgebaut....
> Statusinformationen werden eingelesen....
> Abhängigkeiten werden korrigiert ...Starting pkgProblemResolver with broken count: 0
> Starting 2 pkgProblemResolver with broken count: 0
> Done
> Fertig
> Starting pkgProblemResolver with broken count: 0
> Starting 2 pkgProblemResolver with broken count: 0
> Done
> Die folgenden zusätzlichen Pakete werden installiert:
> catdoc kopano-presence kopano-search kopano-spamd libjs-jquery
> libjs-sphinxdoc libjs-underscore libxslt1.1 python3-click python3-colorama
> python3-dnspython python3-flask python3-itsdangerous python3-jinja2
> python3-magic python3-markupsafe python3-pyasn1 python3-pyasn1-modules
> python3-sleekxmpp python3-werkzeug python3-xapian xsltproc
> Vorgeschlagene Pakete:
> tk | wish python-flask-doc python-jinja2-doc ipython3 python3-lxml
> python3-termcolor python3-watchdog python-werkzeug-doc xapian-doc
> Empfohlene Pakete:
> javascript-common python3-blinker python3-simplejson python3-gnupg
> python3-socks | python3-socksipy python3-openssl python3-pyinotify
> Die folgenden NEUEN Pakete werden installiert:
> catdoc kopano-presence kopano-search kopano-spamd libjs-jquery
> libjs-sphinxdoc libjs-underscore libxslt1.1 python3-click python3-colorama
> python3-dnspython python3-flask python3-itsdangerous python3-jinja2
> python3-magic python3-markupsafe python3-pyasn1 python3-pyasn1-modules
> python3-sleekxmpp python3-werkzeug python3-xapian xsltproc
> 0 aktualisiert, 22 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
> 1 nicht vollständig installiert oder entfernt.
> Es müssen noch 3.058 kB von 3.166 kB an Archiven heruntergeladen werden.
> Nach dieser Operation werden 15,6 MB Plattenplatz zusätzlich benutzt.
> Holen:1 file:/tmp/autopkgtest.aalD1Y/binaries kopano-presence 8.6.90-1~snapshot~exp1 [29,8 kB]
> ...[cut]
> kopano-search (8.6.90-1~snapshot~exp1) wird eingerichtet ...
> Created symlink /etc/systemd/system/multi-user.target.wants/kopano-search.service → /lib/systemd/system/kopano-search.service.
> python3-flask (1.0.2-3) wird eingerichtet ...
> kopano-presence (8.6.90-1~snapshot~exp1) wird eingerichtet ...
> autopkgtest-satdep (0) wird eingerichtet ...
> Trigger für systemd (239-15) werden verarbeitet ...
> (Lese Datenbank ... 42518 Dateien und Verzeichnisse sind derzeit installiert.)
> Entfernen von autopkgtest-satdep (0) ...
> autopkgtest [19:47:58]: test help: [-----------------------
> + for p in backup cli search spamd presence
> + kopano-backup --help
> Usage: kopano-backup [PATH] [options]
>
> Options:
> -h, --help show this help message and exit
> -c FILE, --config=FILE load settings from FILE
> -s SOCKET, --server-socket=SOCKET connect to server SOCKET
> -k FILE, --ssl-key=FILE SSL key file
> -p PASS, --ssl-pass=PASS SSL key password
> -U NAME, --auth-user=NAME login as user
> -P PASS, --auth-pass=PASS login with password
> -C NAME, --company=NAME Specify company
> -u NAME, --user=NAME Specify user
> -S GUID, --store=GUID Specify store
> -f NAME, --folder=NAME Specify folder
> -b DATE, --period-begin=DATE Specify period
> -e DATE, --period-end=DATE Specify period
> -l LEVEL, --log-level=LEVEL set log level (CRITICAL, ERROR, WARNING,
> INFO, DEBUG)
> -V, --version show program version
> -w N, --worker-processes=N number of parallel worker processes
> -O PATH, --output-dir=PATH specify output directory
> --skip-junk skip junk folder
> --skip-deleted skip deleted items folder
> --skip-public skip public store
> --skip-attachments skip attachments
> --skip-meta skip metadata
> --only-meta only backup/restore metadata
> --deletes=YESNO store/restore deleted items/folders
> --purge=N purge items/folders deleted more than N
> days ago
> --restore restore from backup
> --restore-root=PATH restore under specific folder
> --stats list folders for PATH
> --index list items for PATH
> --sourcekey=SOURCEKEY restore specific sourcekey
> --recursive backup/restore folders recursively
> --differential create/restore differential backup
> --merge merge differential backups
> + for p in backup cli search spamd presence
> + kopano-cli --help
> Usage: kopano-cli [options]
>
> Options:
> -h, --help show this help message and exit
> -c FILE, --config=FILE load settings from FILE
> -s SOCKET, --server-socket=SOCKET connect to server SOCKET
> -k FILE, --ssl-key=FILE SSL key file
> -p PASS, --ssl-pass=PASS SSL key password
> -U NAME, --auth-user=NAME login as user
> -P PASS, --auth-pass=PASS login with password
> -G NAME, --group=NAME Specify group
> -C NAME, --company=NAME Specify company
> -u NAME, --user=NAME Specify user
> -S GUID, --store=GUID Specify store
> -f NAME, --folder=NAME Specify folder
> -V, --version show program version
> --debug Debug mode
> --lang=LANG Create folders in this language
> --create Create object
> --delete Delete object
>
> Listings:
> --list-users List users
> --list-groups List groups
> --list-companies List companies
> --list-orphans List orphan stores
> --user-count Output user counts
>
> User/Group attributes:
> --name=NAME Name (User/Group)
> --fullname=NAME Full name (User)
> --email=NAME Email address (User/Group)
> --password=NAME Password (User)
> --password-prompt Password (prompt) (User)
> --active=YESNO User is active (User)
> --add-feature=NAME Feature to add (User)
> --remove-feature=NAME Feature to remove (User)
> --admin=NAME Administrator (User)
> --admin-level=N Admin level (User)
>
> Store and archive:
> --create-store Create store
> --unhook-store Unhook (public) store
> --unhook-archive Unhook archive store
> --hook-store=GUID Hook store
> --hook-archive=GUID Hook archive store
> --remove-store=GUID Remove orphaned store
> --add-permission=NAME Permission to add
> (member:right1,right2..)
> --remove-permission=NAME Permission to remove
>
> Group membership:
> --add-user=NAME User to add
> --remove-user=NAME User to remove
>
> Meeting request processing:
> --mr-accept=YESNO Auto-accept meeting requests
> --mr-accept-conflicts=YESNO Auto-accept conflicting meeting
> requests
> --mr-accept-recurring=YESNO Auto-accept recurring meeting
> requests
> --mr-process=YESNO Auto-process meeting requests
>
> Send-as and delegations:
> --add-sendas=NAME User to add to send-as
> --remove-sendas=NAME User to remove from send-as
> --add-delegation=NAME Delegation to add
> (user:flag1,flag2..)
> --remove-delegation=NAME Delegation to remove
> --send-only-to-delegates=YESNO Send meeting requests only to
> delegates
>
> Quota options:
> --quota-override=YESNO Override server quota limits
> --quota-hard=N Hardquota limit in MB
> --quota-soft=N Softquota limit in MB
> --quota-warn=N Warnquota limit in MB
> --add-companyquota-recipient=NAME User to add to companyquota
> recipients
> --remove-companyquota-recipient=NAME User to remove from companyquota
> recipients
> --add-userquota-recipient=NAME User to add to userquota recipients
> --remove-userquota-recipient=NAME User to remove from userquota
> recipients
>
> Out of office options:
> --ooo=YESNO Out-of-office is enabled
> --ooo-clear Clear Out-of-office settings
> --ooo-subject=NAME Out-of-office subject
> --ooo-message=PATH Out-of-office message (path to file)
> --ooo-from=DATE Out-of-office from date
> --ooo-until=DATE Out-of-office until date
>
> Misc commands:
> --sync Synchronize users and groups with
> external source
> --clear-cache Clear all server caches
> --purge-softdelete=N Purge items marked as softdeleted
> more than N days ago
> --purge-deferred Purge all items in the deferred
> update table
> --reset-folder-count Reset folder counts
>
> Remote:
> --add-admin=NAME User to add as remote-admin
> --remove-admin=NAME User to remove as remote-admin
> --add-view=NAME Company to add as remote-viewer of
> address book
> --remove-view=NAME Company to remove as remote-viewer
> of address book
> + for p in backup cli search spamd presence
> + kopano-search --help
> Usage: kopano-search [options]
>
> Options:
> -h, --help show this help message and exit
> -c FILE, --config=FILE load settings from FILE
> -s SOCKET, --server-socket=SOCKET connect to server SOCKET
> -k FILE, --ssl-key=FILE SSL key file
> -p PASS, --ssl-pass=PASS SSL key password
> -u NAME, --user=NAME Specify user
> -S GUID, --store=GUID Specify store
> -F, --foreground run program in foreground
> -l LEVEL, --log-level=LEVEL set log level (CRITICAL, ERROR, WARNING,
> INFO, DEBUG)
> -V, --version show program version
> -r, --reindex Reindex user/store
> + for p in backup cli search spamd presence
> + kopano-spamd --help
> Usage: kopano-spamd [options]
>
> Options:
> -h, --help show this help message and exit
> -c FILE, --config=FILE load settings from FILE
> -s SOCKET, --server-socket=SOCKET connect to server SOCKET
> -k FILE, --ssl-key=FILE SSL key file
> -p PASS, --ssl-pass=PASS SSL key password
> -F, --foreground run program in foreground
> -l LEVEL, --log-level=LEVEL set log level (CRITICAL, ERROR, WARNING,
> INFO, DEBUG)
> + for p in backup cli search spamd presence
> + kopano-presence --help
> Usage: kopano-presence [options]
>
> Options:
> -h, --help show this help message and exit
> -c FILE, --config=FILE load settings from FILE
> -s SOCKET, --server-socket=SOCKET connect to server SOCKET
> -k FILE, --ssl-key=FILE SSL key file
> -p PASS, --ssl-pass=PASS SSL key password
> -F, --foreground run program in foreground
> autopkgtest [19:47:59]: test help: -----------------------]
> autopkgtest [19:47:59]: test help: - - - - - - - - - - results - - - - - - - - - -
> help PASS
> autopkgtest [19:47:59]: @@@@@@@@@@@@@@@@@@@@ summary
> smoke PASS
> help PASS
> autopkgtest [19:47:59]: Binaries: resetting testbed apt configuration
--
Regards
Carsten Schoenert
More information about the Pkg-giraffe-discuss
mailing list