Bug#951722:

2020-03-07 Thread Mpampis Kostas
Hello,

This doesn't seem to be arm64 related since the same occurs on ppc64el.

I've been reproducing this failure consistently by running the autopkgtest
suite on a stressed host.
I think that the failure appears under similar high-load circumstances on
the debian ci host.

dovecot-lda communicates with dovecot through the socket at
/var/run/dovecot/auth-userdb but on a stressed host
it's possible for dovecot-lda to call connect() before listen() is called
on this socket by dovecot.

By applying the suggested patch, the failure has been vanished since
dovecot-lda is called only after the socket becomes ready.

Regards,

Mpampis
diff --git a/debian/tests/control b/debian/tests/control
index 7abd238c3..5bf1dc94b 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -6,5 +6,5 @@ Tests: systemd
 Depends: dovecot-core, systemd-sysv
 
 Test-Command: run-parts --report --exit-on-error debian/tests/usage
-Depends: dovecot-imapd, dovecot-pop3d, python3
+Depends: dovecot-imapd, dovecot-pop3d, python3, netcat-openbsd
 Restrictions: needs-root, breaks-testbed, allow-stderr
diff --git a/debian/tests/usage/00_setup b/debian/tests/usage/00_setup
index 2eeeb2f73..e90ca7e92 100755
--- a/debian/tests/usage/00_setup
+++ b/debian/tests/usage/00_setup
@@ -29,6 +29,17 @@ chown nobody:nogroup /srv/dovecot-dep8
 echo "Restarting the service"
 systemctl restart dovecot
 
+echo "Waiting for the service to be available"
+c=0
+while ! nc -z -U /var/run/dovecot/auth-userdb; do
+	c=$(($c+1))
+	sleep 2
+	if [ $c -gt 30 ]; then
+		echo "Timed out waiting for the service to be available" >&2
+		exit 1
+	fi
+done
+
 echo "Sending a test message via the LDA"
 /usr/lib/dovecot/dovecot-lda -f "t...@example.com" -d dep8 <


Bug#824628: golang-metrics-dev and golang-github-rcrowley-go-metrics-dev: error when trying to install together

2018-03-10 Thread Mpampis Kostas

Hello and thanks Andreas for the bug report,

golang-metrics-dev is outdated for 2.5 years and greatly deviates from 
the package naming convention defined by the pkg-go team in 
https://pkg-go.alioth.debian.org/packaging.html

This naming deviation apparently causes this bug to reoccur.

Instead of removing the up-to-date golang-github-rcrowley-go-metrics-dev 
packace which follows the right naming

convention, me and my sponsor suggest the following actions:

* Revise golang-github-rcrowley-go-metrics-dev using Conflicts: 
golang-metrics-dev & Replaces: golang-metrics-dev.
* Open bug report to the 8 reverse dependencies of golang-metrics-dev 
and suggest to depend on golang-github-rcrowley-go-metrics-dev.
* Request removal of golang-metrics-dev from the archive when it has 
zero reverse dependencies.


We can proceed with the above actions if there are no objections or 
other suggestions.


Mpampis