gnupg test failure

  • Done
  • quality assurance status badge
Details
5 participants
  • Andreas Enge
  • Danny Milosavljevic
  • Leo Famulari
  • Ludovic Courtès
  • Mark H Weaver
Owner
unassigned
Submitted by
Danny Milosavljevic
Severity
normal

Debbugs page

Danny Milosavljevic wrote 9 years ago
(address . bug-guix@gnu.org)
20160227115539.49203a2a@scratchpost.org
gnupg fails its tests:

...
note: keeping build directory `/tmp/guix-build-gnupg-2.1.11.drv-0'
builder for `/gnu/store/p91ba6zl4d8gr5ixfqxn8ixhrv13kdv9-gnupg-2.1.11.drv' failed with exit code 1
cannot build derivation `/gnu/store/ixcbdqm2xvclfnz4d25nv53wnp6x7alh-profile.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/904rahmy35wrhsfdb26pcfxyirhbmlnk-system.drv': 1 dependencies couldn't be built
note: keeping build directory `/tmp/guix-build-linux-libre-4.4.3-gnu.tar.xz.drv-0'
guix system: error: build failed: build of `/gnu/store/904rahmy35wrhsfdb26pcfxyirhbmlnk-system.drv' failed

More details:

FAIL: gpgtar.test
Test: gpgtar.test
GNUPGHOME=/tmp/guix-build-gnupg-2.1.11.drv-0/gnupg-2.1.11/tests/openpgp
gpgtar: gpg2: gpg: encrypted with 1024-bit ELG key, ID B27907AA, created 2003-12-31
gpgtar: gpg2: "Test two (no pp) <two@example.com>"
gpgtar: gpg2: gpg: encrypted with 1024-bit ELG key, ID B27907AA, created 2003-12-31
gpgtar: gpg2: "Test two (no pp) <two@example.com>"
gpgtar: gpg2: gpg: encrypted with 1024-bit ELG key, ID B27907AA, created 2003-12-31
gpgtar: gpg2: "Test two (no pp) <two@example.com>"
gpgtar: gpg2: gpg: block_filter 0x00000000006edd10: read error (size=12276,a->size=12276)
gpgtar: gpg2: gpg: block_filter 0x00000000006ee2e0: read error (size=13882,a->size=13882)
gpgtar: gpg2: gpg: WARNING: encrypted message has been manipulated!
gpgtar: gpg2: gpg: block_filter: pending bytes!
gpgtar: gpg2: gpg: block_filter: pending bytes!
gpgtar: error running '../../g10/gpg2': exit status 2
Mark H Weaver wrote 9 years ago
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . 22826@debbugs.gnu.org)
87egbythp5.fsf@netris.org
Danny Milosavljevic <dannym@scratchpost.org> writes:

Toggle quote (28 lines)
> gnupg fails its tests:
>
> ...
> note: keeping build directory `/tmp/guix-build-gnupg-2.1.11.drv-0'
> builder for `/gnu/store/p91ba6zl4d8gr5ixfqxn8ixhrv13kdv9-gnupg-2.1.11.drv' failed with exit code 1
> cannot build derivation `/gnu/store/ixcbdqm2xvclfnz4d25nv53wnp6x7alh-profile.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/904rahmy35wrhsfdb26pcfxyirhbmlnk-system.drv': 1 dependencies couldn't be built
> note: keeping build directory `/tmp/guix-build-linux-libre-4.4.3-gnu.tar.xz.drv-0'
> guix system: error: build failed: build of `/gnu/store/904rahmy35wrhsfdb26pcfxyirhbmlnk-system.drv' failed
>
> More details:
>
> FAIL: gpgtar.test
> Test: gpgtar.test
> GNUPGHOME=/tmp/guix-build-gnupg-2.1.11.drv-0/gnupg-2.1.11/tests/openpgp
> gpgtar: gpg2: gpg: encrypted with 1024-bit ELG key, ID B27907AA, created 2003-12-31
> gpgtar: gpg2: "Test two (no pp) <two@example.com>"
> gpgtar: gpg2: gpg: encrypted with 1024-bit ELG key, ID B27907AA, created 2003-12-31
> gpgtar: gpg2: "Test two (no pp) <two@example.com>"
> gpgtar: gpg2: gpg: encrypted with 1024-bit ELG key, ID B27907AA, created 2003-12-31
> gpgtar: gpg2: "Test two (no pp) <two@example.com>"
> gpgtar: gpg2: gpg: block_filter 0x00000000006edd10: read error (size=12276,a->size=12276)
> gpgtar: gpg2: gpg: block_filter 0x00000000006ee2e0: read error (size=13882,a->size=13882)
> gpgtar: gpg2: gpg: WARNING: encrypted message has been manipulated!
> gpgtar: gpg2: gpg: block_filter: pending bytes!
> gpgtar: gpg2: gpg: block_filter: pending bytes!
> gpgtar: error running '../../g10/gpg2': exit status 2

We often see this error occur on Hydra as well. Retrying the build
eventually works, but it would be good to fix this.

Mark
Ludovic Courtès wrote 9 years ago
(name . Mark H Weaver)(address . mhw@netris.org)
87r3fwx27n.fsf@gnu.org
Mark H Weaver <mhw@netris.org> skribis:

Toggle quote (33 lines)
> Danny Milosavljevic <dannym@scratchpost.org> writes:
>
>> gnupg fails its tests:
>>
>> ...
>> note: keeping build directory `/tmp/guix-build-gnupg-2.1.11.drv-0'
>> builder for `/gnu/store/p91ba6zl4d8gr5ixfqxn8ixhrv13kdv9-gnupg-2.1.11.drv' failed with exit code 1
>> cannot build derivation `/gnu/store/ixcbdqm2xvclfnz4d25nv53wnp6x7alh-profile.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/904rahmy35wrhsfdb26pcfxyirhbmlnk-system.drv': 1 dependencies couldn't be built
>> note: keeping build directory `/tmp/guix-build-linux-libre-4.4.3-gnu.tar.xz.drv-0'
>> guix system: error: build failed: build of `/gnu/store/904rahmy35wrhsfdb26pcfxyirhbmlnk-system.drv' failed
>>
>> More details:
>>
>> FAIL: gpgtar.test
>> Test: gpgtar.test
>> GNUPGHOME=/tmp/guix-build-gnupg-2.1.11.drv-0/gnupg-2.1.11/tests/openpgp
>> gpgtar: gpg2: gpg: encrypted with 1024-bit ELG key, ID B27907AA, created 2003-12-31
>> gpgtar: gpg2: "Test two (no pp) <two@example.com>"
>> gpgtar: gpg2: gpg: encrypted with 1024-bit ELG key, ID B27907AA, created 2003-12-31
>> gpgtar: gpg2: "Test two (no pp) <two@example.com>"
>> gpgtar: gpg2: gpg: encrypted with 1024-bit ELG key, ID B27907AA, created 2003-12-31
>> gpgtar: gpg2: "Test two (no pp) <two@example.com>"
>> gpgtar: gpg2: gpg: block_filter 0x00000000006edd10: read error (size=12276,a->size=12276)
>> gpgtar: gpg2: gpg: block_filter 0x00000000006ee2e0: read error (size=13882,a->size=13882)
>> gpgtar: gpg2: gpg: WARNING: encrypted message has been manipulated!
>> gpgtar: gpg2: gpg: block_filter: pending bytes!
>> gpgtar: gpg2: gpg: block_filter: pending bytes!
>> gpgtar: error running '../../g10/gpg2': exit status 2
>
> We often see this error occur on Hydra as well. Retrying the build
> eventually works, but it would be good to fix this.

Isn’t it the same issue as
closed.

Ludo’.
Mark H Weaver wrote 9 years ago
(name . Ludovic Courtès)(address . ludo@gnu.org)
87bn6ztc0r.fsf@netris.org
ludo@gnu.org (Ludovic Courtès) writes:

Toggle quote (39 lines)
> Mark H Weaver <mhw@netris.org> skribis:
>
>> Danny Milosavljevic <dannym@scratchpost.org> writes:
>>
>>> gnupg fails its tests:
>>>
>>> ...
>>> note: keeping build directory `/tmp/guix-build-gnupg-2.1.11.drv-0'
>>> builder for `/gnu/store/p91ba6zl4d8gr5ixfqxn8ixhrv13kdv9-gnupg-2.1.11.drv' failed with exit code 1
>>> cannot build derivation `/gnu/store/ixcbdqm2xvclfnz4d25nv53wnp6x7alh-profile.drv': 1 dependencies couldn't be built
>>> cannot build derivation `/gnu/store/904rahmy35wrhsfdb26pcfxyirhbmlnk-system.drv': 1 dependencies couldn't be built
>>> note: keeping build directory `/tmp/guix-build-linux-libre-4.4.3-gnu.tar.xz.drv-0'
>>> guix system: error: build failed: build of `/gnu/store/904rahmy35wrhsfdb26pcfxyirhbmlnk-system.drv' failed
>>>
>>> More details:
>>>
>>> FAIL: gpgtar.test
>>> Test: gpgtar.test
>>> GNUPGHOME=/tmp/guix-build-gnupg-2.1.11.drv-0/gnupg-2.1.11/tests/openpgp
>>> gpgtar: gpg2: gpg: encrypted with 1024-bit ELG key, ID B27907AA, created 2003-12-31
>>> gpgtar: gpg2: "Test two (no pp) <two@example.com>"
>>> gpgtar: gpg2: gpg: encrypted with 1024-bit ELG key, ID B27907AA, created 2003-12-31
>>> gpgtar: gpg2: "Test two (no pp) <two@example.com>"
>>> gpgtar: gpg2: gpg: encrypted with 1024-bit ELG key, ID B27907AA, created 2003-12-31
>>> gpgtar: gpg2: "Test two (no pp) <two@example.com>"
>>> gpgtar: gpg2: gpg: block_filter 0x00000000006edd10: read error (size=12276,a->size=12276)
>>> gpgtar: gpg2: gpg: block_filter 0x00000000006ee2e0: read error (size=13882,a->size=13882)
>>> gpgtar: gpg2: gpg: WARNING: encrypted message has been manipulated!
>>> gpgtar: gpg2: gpg: block_filter: pending bytes!
>>> gpgtar: gpg2: gpg: block_filter: pending bytes!
>>> gpgtar: error running '../../g10/gpg2': exit status 2
>>
>> We often see this error occur on Hydra as well. Retrying the build
>> eventually works, but it would be good to fix this.
>
> Isn’t it the same issue as
> <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22558>? But that bug was
> closed.

It's true that the first message of bug 22558 mentioned two different
failure modes of gnupg-2.1.11's test suite. However, the subsequent
discussion focused on just one of those failure modes: the one that led
to 14 test failures. I closed the bug when that failure mode was
addressed.

In retrospect, since these two failure modes have different causes and
different fixes, perhaps I should have filed two separate bug reports
from the beginning. If we can agree on this, then perhaps we can
consider 22558 to address only the 14-test failure mode, and this bug
(22826) can address the gpgtar.test failure mode.

What do you think?

Mark
Ludovic Courtès wrote 9 years ago
(name . Mark H Weaver)(address . mhw@netris.org)
87h9gqnwdx.fsf@gnu.org
Mark H Weaver <mhw@netris.org> skribis:

Toggle quote (2 lines)
> ludo@gnu.org (Ludovic Courtès) writes:

[...]

Toggle quote (10 lines)
>> Isn’t it the same issue as
>> <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22558>? But that bug was
>> closed.
>
> It's true that the first message of bug 22558 mentioned two different
> failure modes of gnupg-2.1.11's test suite. However, the subsequent
> discussion focused on just one of those failure modes: the one that led
> to 14 test failures. I closed the bug when that failure mode was
> addressed.

Oh, I see.

Toggle quote (8 lines)
> In retrospect, since these two failure modes have different causes and
> different fixes, perhaps I should have filed two separate bug reports
> from the beginning. If we can agree on this, then perhaps we can
> consider 22558 to address only the 14-test failure mode, and this bug
> (22826) can address the gpgtar.test failure mode.
>
> What do you think?

Makes sense, let’s keep it this way. We should probably retitle this
bug accordingly.

Thanks for the explanation,
Ludo’.
Andreas Enge wrote 7 years ago
Re: gnupg test failure
(address . 22826@debbugs.gnu.org)
20180205221455.GA29389@jurong
The current release of gnupg after 2.1.11 is 2.2.4, which is available
on hydra. Can we close this bug?

Andreas
Leo Famulari wrote 7 years ago
Re: bug#22826: gnupg test failure
(name . Andreas Enge)(address . andreas@enge.fr)(address . 22826-done@debbugs.gnu.org)
20180205224636.GA20907@jasmine.lan
On Mon, Feb 05, 2018 at 11:14:55PM +0100, Andreas Enge wrote:
Toggle quote (3 lines)
> The current release of gnupg after 2.1.11 is 2.2.4, which is available
> on hydra. Can we close this bug?

The GnuPG test suite has seen lots of changes since this bug was filed,
and it seems to pass consistently now, so I'm closing the bug.
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlp43swACgkQJkb6MLrK
fwhgnQ//TCPkOPrnpz/uWRdK0LbAgIIXlwzQtWjlBGfNvjEUZLvfKiOB5oStTOqk
Ji72p29vjdiZ3ibkx87+y9XcbpdJKOT6vQxwY4qGymKS0SxVfAmdDBUMeRnhdw4M
EMdTIDaled2pYsNv03mlct7vTOe7EMZoBCn0zp5d2oR84M8p2xVOfqF5uzVzV2De
rtnrii3t7JWi1f5lrfwpazlSlHSlHUt//ju/mdC7p9Lsft+UV2cwX4n0WwJUIZ6b
OJjUa46WimpL77PCLVTbdVb7T7Hx83kgXBzRH2LMWFMUSNjdNj87baoHtEob1kqg
jqbvodO8copam/2x1uLE+eeWoo9f/6zlcFXrA9eqmNmNpzNBuq3GRiU92ZmrJVuD
uTAwWe/sfGF5wZD8qSjv/+CKEuuHD20XU4ZyHJU1c99MW5AAXGItn3IS79bRbOH7
3Hv8BMQ7RJIe5ZMyvu30mxaCO9WuEWzUBQ9lpQzO0H+F6my1NaIZ6QJFFqM43L24
dzPWyyvbbYBBrBVy70wQ1K9tyDg4uIA56HBU0mM/hefE6UysmJAivOi5f/IXnZxI
nlMQNigh/MTmUs8pwLBq2+EvoHZrI6/ATSXUqORNFYaZ9c1TfOMH86LxZ2RaOsvu
LzFPRPZelKN030AIj1X0IWcI8MeGiUS/BbBmdI30UFGCZpzzhrk=
=8tqp
-----END PGP SIGNATURE-----


Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 22826@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 22826
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help