pqc-thunderbird / rnp

Manual clone of the repository https://github.com/rnpgp/rnp
Other
0 stars 0 forks source link

sporadic failures of test cli_tests-Encryption / test_encryption_no_wrap #37

Closed falko-strenzke closed 1 year ago

falko-strenzke commented 1 year ago

We saw the following error in our CI, which after a manual re-run was OK:

======================================================================
FAIL: test_encryption_no_wrap (__main__.Encryption)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/__w/rnp-dev/rnp-dev/src/tests/cli_tests.py", line 4494, in test_encryption_no_wrap
    self.assertEqual(ret, 0)
AssertionError: 2 != 0

[...]

The following tests FAILED:
      256 - cli_tests-Encryption (Failed)

@ni4 is anything in the regard known to you?

@TJ-91

This is something we should keep an eye on.

ni4 commented 1 year ago

2023-06-15T08:57:18.7676719Z gpg: public key decryption failed: Corrupted protection 2023-06-15T08:57:18.7676863Z gpg: decryption failed: Corrupted protection

I saw this issue on RNP main repository as well, and believe it is due to GnuPG batch-running/killing gpg-agent/cleaning keyrings.

falko-strenzke commented 1 year ago

OK, then I think we can close this issue.