Skip to content

[BUG] CI Failing: Update Docker Image to Include Missing jsonschema Dependency #10270

@tmleman

Description

@tmleman

Describe the bug
CI builds are currently failing with the following error:

CMake Error at /zep_workspace/zephyr/cmake/modules/boards.cmake:195 (message):
  Error finding board: intel_adsp

  Error message: Traceback (most recent call last):
    File "/zep_workspace/zephyr/scripts/list_boards.py", line 14, in <module>
      import jsonschema
  ModuleNotFoundError: No module named 'jsonschema'

Zephyr has added a new dependency on the jsonschema Python module in their board listing scripts. The current SOF Docker image thesofproject/zephyr-lite:v0.27.4 does not include this dependency.

Solution
Update the SOF Docker configuration to use a newer Zephyr Docker image that includes the required dependencies.

Create a new SOF Docker image based on ghcr.io/zephyrproject-rtos/zephyr-build:v0.28.4
Or temporarily install jsonschema in the existing image

Metadata

Metadata

Labels

P2Critical bugs or normal featuresbugSomething isn't working as expected

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions