Skip to content

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

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

Activity

  1. added
    bugSomething isn't working as expected
    on Sep 29, 2025
  2. tmleman commented on Sep 29, 2025

    @tmleman
    ContributorAuthor
  3. added theissue type on Sep 29, 2025
  4. abonislawski commented on Sep 30, 2025

    @abonislawski
    Member

    FYI: QB (different setup) is already updated to meet the new requirement.

  5. self-assigned this
    on Sep 30, 2025
  6. lgirdwood commented on Sep 30, 2025

    @lgirdwood
    Member

    Adding @cgturner1

  7. redzynix commented on Oct 1, 2025

    @redzynix
    Contributor

    @abonislawski @lgirdwood @tmleman Fix is ready for review #10273

    I also reworked zephyr workflows in it, so the workflows use now github built-in container instead of using docker-run.sh wrapper

    docker-run.sh was also updated with new docker version for legacy support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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