#861457 monkeysphere: FTBFS randomly (failing tests)

#861457#5
Date:
2017-04-29 11:09:51 UTC
From:
To:
Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
but it failed:
--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep
   dh_testdir -i
   dh_update_autotools_config -i
   dh_autoreconf -i
   dh_auto_configure -i
   dh_auto_build -i
	make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -o src/agent-transfer/agent-transfer -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   --pedantic -Wall -Werror -std=c99 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now src/agent-transfer/main.c -lassuan -L/usr/lib/x86_64-linux-gnu -lgpg-error -lgcrypt
mkdir -p replaced/src/
sed < src/monkeysphere > replaced/src/monkeysphere \
-e 's:__SYSSHAREDIR_PREFIX__:/usr:' \
-e 's:__SYSCONFDIR_PREFIX__::' \

[... snipped ...]


debug1: fd 1 clearing O_NONBLOCK

Transferred: sent 2752, received 2324 bytes, in 0.0 seconds

Bytes per second: sent 1888843.8, received 1595084.7

debug1: Exit status 0

##### ssh connection test PASSED. returned: 0

##################################################
### Testing TLS setup...
Generating a 1024 bit RSA private key
............++++++
..................++++++
unable to write 'random state'
writing new private key to '/<<PKGBUILDDIR>>/tests/tmp/ms.6xI/tls_key.pem'
-----
using keyserver: example.org
ms: importing key from file '/<<PKGBUILDDIR>>/tests/tmp/ms.6xI/tls_key.pem'...
ms: updating openpgp public key file '/<<PKGBUILDDIR>>/tests/tmp/ms.6xI/host_keys.pub.pgp'...
ms: host key imported:
pub   rsa1024 2017-04-23 [CA]
      1BB197B658944234E61DFA2BCE915F69E7B1737A
uid           [ unknown] https://testhost.example
OpenPGP fingerprint: 1BB197B658944234E61DFA2BCE915F69E7B1737A
ssh fingerprint: 1024 SHA256:yevhswgLcbdMEiDCE7OgQb7Isz+Z7zNuIgqGnJWTPl8 (RSA)

##################################################
### revoking ssh host key...
using keyserver: example.org
gpg: key D981F09324BA4EA5: invalid revocation certificate: Bad signature - rejected
gpg: error reading '[stdin]': Bad signature
gpg: import from '[stdin]' failed: Bad signature
gpg: Total number processed: 0
FAILED!
### removing temp dir...
Makefile:113: recipe for target 'test-basic' failed
make[1]: *** [test-basic] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: make -j1 test returned exit code 2
debian/rules:6: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

This is just how the build ends, not necessarily the relevant part.

I've put several build logs here:

https://people.debian.org/~sanvila/build-logs/monkeysphere/

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the page for this package.

The bug should be reproducible with sbuild on a single CPU virtual machine,
provided you try enough times (as the failure happens randomly).

[ Note: This is not related to #841208 because now I have /dev/random
  as a bind mount of /dev/urandom in my autobuilders ]

Thanks.

#861457#12
Date:
2019-08-10 15:54:27 UTC
From:
To:
tags 861457 + patch
thanks

Hi Santiago,

I believe this is due to the misc gnupg point or security updates in
stretch.

Patch attached.


Regards,

#861457#19
Date:
2019-08-10 15:58:40 UTC
From:
To:
Chris Lamb wrote:

Mea culpa; this patch was corrupted. Updated.


Regards,

#861457#24
Date:
2019-08-10 16:15:50 UTC
From:
To:
Hi.

Maybe you mean #934034 instead of #861457?

The one I reported recently is #934034 and it happens "always"
in stretch, not just randomly (this is why I filed it as serious).

On the other side, #861457 was reported a long time ago and it was
just "random".

Since the package always fail now, there is no way for me to tell if
the old random failure is present or not (unless they are related,
which I don't know).

Thanks.

#861457#29
Date:
2019-08-10 17:03:27 UTC
From:
To:
tags 934034 + patch
tags 861457 - patch
thanks

[Adding 934034@bugs.debian.org to CC]

Hi Santiago,

Wrong bug indeed. Fixing...


Regards,

#861457#38
Date:
2024-11-28 18:21:16 UTC
From:
To:
Dear submitter,

as the package monkeysphere has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1085868

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)