Skip to content

Missing encoding module in ce-oem-crypto tests on 25.10 #2402

@bnbhat

Description

@bnbhat

Bug Description

ce-oem-crypto tests fail as it cannot find python module encoding

========[ Running job 40 / 71. Estimated time left (at least): 0:05:42 ]========
[ Check if kernel crypto API is functional with type SKCIPHER - CBC AES algorithm. ]
ID: com.canonical.contrib::ce-oem-crypto/af_alg_skcipher_cbc_aes_test
Category: com.canonical.contrib::crypto
... 8< -------------------------------------------------------------------------
Fatal Python error: Failed to import encodings module
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x0000ffffb7c6bda0 (most recent call first):
  <no Python frame>

This test work on noble without any issues

Cert-blocker Test Case

  • cert-blocker

To Reproduce

Run com.canonical.contrib::crypto tests on Questing

Expected Result

test works (finds python encoding module)

Actual Result

Fails to find python module encoding

Environment

  • Classic 25.10
checkbox-ce-oem            1.0-noble                       6547   24.04/edge     ce-certification-qa  classic
checkbox24                 7.1.0-dev49                     1604   latest/beta    ce-certification-qa  -
core22                     20260128                        2340   latest/stable  canonical✓           base
core24                     20260211                        1500   latest/stable  canonical✓           base

Relevant log output

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions