Skip to content

intermittent cms test failure #380

@jamuir

Description

@jamuir

Tomas M pointed out the following intermittent CI failure against the 3.1 branch:

https://github.com/openssl/openssl/actions/runs/7184322214/job/19565167165

Here is a screenshot:

cms-failure_20231212

The failure is in a cms test.

It can be reproduced against openssl-3.1 by running those cms-encrypt / cms-decrypt commands in a loop (script attached below).

$ cd issues/ci-cms-fail
$ ./doit.bash
Error decrypting CMS structure
40A7E6F88E7F0000:error:1C800064:Provider routines:ossl_cipher_unpadblock:bad decrypt:providers/implementations/ciphers/ciphercommon_block.c:124:
$ cat iters.txt
59437

It can take several minutes to reproduce the error, but it is reproducible.

I ran the script three times and observed the following iteration counts:

59437
29304
29927

(i.e. the test passed 59436 times, then failed after the 59437 time, etc.)

doit.bash.txt

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions