Search by Tags

TorizonCore Builder Issue Tracker

 

The following table contains known issues, scheduled bug fixes, and feature improvements for the TorizonCore Builder. The tickets are split in two major states:

  • Submitted (open): new features and bug fixes for TorizonCore Builder versions that have not yet been released. They may be scheduled for a specific release version; not planned; or in our backlog. All of them have one of the following states:
    • Known Issue: a bug or unexpected behavior that has been reported and pending a fix. Once fixed, the status will transition to Fixed.
    • Feature Request: a new feature that may be added to a future release. Once released, the status will transition to New Feature.
  • Released (closed): new features and bug fixes for BSP versions that have already been released. All of them have one of the following states:
    • Fixed: a bug that has been fixed and released.
    • New Feature: something that didn't exist before and was added to a new release.

Any schedules are not guaranteed but reflect the current planning. The planning could be shifted due to priority changes.
Issues that are scheduled for a specific version will be integrated into the mentioned version of the BSP.

We will update this table continuously in order to always provide the latest state of our development plan.

View All Submitted (open) Released (closed)
Clear Filter
Issue #StatusSubjectSeverity

3.9.0
TCB-426Known IssueBuilding kernel modules for Verdin AM62 fails with error "make[1]: *** No rule to make target 'arch/arm64/tools/gen-sysreg.awk', needed by 'arch/arm64/include/generated/asm/sysreg-defs.h'. Stop."Low

Description: As reported on Hello-mod kernel module doesn’t build Building kernel modules for Verdin AM62 fails with error "make[1]: *** No rule to make target 'arch/arm64/tools/gen-sysreg.awk', needed by 'arch/arm64/include/generated/asm/sysreg-defs.h'. Stop."

Workaround: This has been fixed and you must use the Torizon OS monthly 202403 or newer.

3.8.1
TorizonCore Builder 3.8.1 release
TCB-401Known Issue"platform lockbox" command fails with error "TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'" when using a custom OS imageLow

Description: On TCB 3.8.0, when you use the "platform lockbox" to create a lockbox that has been defined in the Platform Services, it may fail with the error "TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'" in case your lockbox contains an OS update with a custom OS image that you pushed to the Platform Services.

TCB-399Feature RequestAs a user, I want the "platform lockbox" to work on non-host networks, so I can use it on GH Actions

Description: As reported on the TorizonCore Builder issue tracker on GitHub, the command "platform lockbox" fails on non-host networks.

3.5.1 (Release date: 2022-05-18)
TorizonCore Builder 3.5.1 patch release
TCB-293Known IssueBuild error "KeyError: 'dir'" in TCB 3.5.0 when bundling imagesCritical

Description: When bundling a Docker Compose file with TorizonCore Builder 3.5.0, a stack trace is printed and the error "KeyError: 'dir'" is displayed

3.10.0
TorizonCore Builder 3.10.0 release
TCB-438Feature RequestAdd basic support for WIC images on TCB by supporting some OSTree features with the build command

Description: Until this feature is introduced, only Toradex SoMs with images in the Toradex Easy Installer format are supported.

Moving forward, raw filesystem images including the WIC images generated by Yocto/OpenEmbedded are also supported. The initial support is limited to using standalone commands and making OSTree operations. The build command, bundling of images, kernel and device tree operations are not supported yet.

Not Planned
TCB-328Known IssueBundle command fails with the error "ConnectionRefusedError: [Errno 111] Connection refused" when using a Linux distro with the ZFS filesystemLow

Description: TorizonCore Builder does not support the ZFS filesystem. If you setup a computer with a Linux distro that uses ZFS - for example, Ubuntu 22.04 LTS with the experimental ZFS support enabled - you will see errors such as "ConnectionRefusedError: [Errno 111] Connection refused" when running the bundle command.

On TorizonCore Builder we run Docker in Docker (DinD) and use the OverlayFS driver. As stated on Docker storage drivers - Supported storage drivers per Linux distribution, it is the recommended storage driver and requires XFS or ext4 as the filesystem where "/var/lib/docker" (from the DinD) is located. In practice, this means that you have to use a filesystem compatible with OverlayFS on your computer for TorizonCore Builder to work, even if you don't run the Docker daemon itself with OverlayFS.

At the moment, our plans are to make the error message more intuitive, stating that ZFS is not supported. We will keep monitoring the adoption of ZFS and possibly other filesystems and, as they gain traction and become the default on major Linux distros, we might consider adding support for them in upcoming TorizonCore versions.

Workaround: Use a Linux distro with either ext4 or XFS (with `d_type=true` enabled) as the filesystem

TCB-208Known IssueTorizonCore Builder: bundled container executed with net=host permission fails with error "SIOCSIFFLAGS: Operation not permitted"Low

Description: As reported in our community, with TorizonCore Builder, If you bundle a container that sets extended attributes on files inside the container (for example, using the "setcap" command), the container will fail upon execution with the error "SIOCSIFFLAGS: Operation not permitted" or another related error.

If you remove the bundled container and manually pull it from Docker Hub, then try to run it again, the same error will not happen.

While this bug was investigated, we came to docker build does not preserve xattrs in the generated image, and after several tests such as setting capabilities and building the container with the classic Docker vs Buildkit, we concluded that:

  • Docker does not keep all extended attributes that are set in a Dockerfile, regardless of using Buildkit or the Classic Docker builder, and using Docker directly (without Compose).
  • Even some capabilities that are kept by Docker get lost when bundling a container with TorizonCore Builder

Given the constraints of Docker, we won't work on a fix in TorizonCore Builder, and we advise you to not rely on xattrs or any feature based on them inside a container.

Workaround: For this specific bug: set the suid for executable files rather than using setcap. For example use "chmod u+s" instead of "setcap" seems to work as well and may carry through the bundle process.

In general, do not rely on xattrs or any feature based on them inside a container. Capabilities and ACLs are features that may be set via xattrs and can also be set via docker-compose properties, which is the recommended way to set them in a portable and reliable way.

TCB-232Known IssueTorizonCore Builder: "bundle" command causes issues on a local registry on Windows machinesLow

Description: After using the "bundle" command the container running the local registry stops working properly. On further investigation, it appears that while the container for the local registry is still up and running the port for this container is no longer accessible.

This issue only happens on Windows machines.

Update: this bug is not reproducible anymore, therefore it has possibly been fixed by an update on Docker for Windows. If you face such issue, please let us know and we'll reevaluate it.

Workaround: Until the bug is fixed, use a Linux machine.

TCB-409Known IssueApplying overlay on Apalis iMX8X failsLow

Description: Activating device tree overlay fails on Apalis i.MX8

Backlog
TCB-327Feature RequestAs a user of torizoncore-builder I want a line number when a parse error occurs in the "build" command

Description: When running the build command with a tcbuild.yaml file with incorrect syntax, the error does not display the line number.

TCB-316Known IssueBuild command fails when not using Docker volumesLow

Description: It is possible to run TorizonCore Builder without using a Docker volume, by passing some extra flags to the setup script: "source tcb-env-setup.sh -d -s /srv/builder-tool/storage".

When using the "tcb build" command, though, it does not create the output directory as expected.

It has been reported on the TCB GitHub issues.

Workaround: Use docker volumes (the default option) when using the build command.

TCB-305Known Issue"dto deploy" error "AttributeError: 'Namespace' object has no attribute 'update'" because it does not have the "update" switchLow

Description: The command "dto deploy" is a combination of several commands at once. It essentially runs the following commands in sequence:

  • images download
  • dt checkout
  • dto remove
  • dto apply
  • union
  • deploy

However not every switch for the individual commands is supported by dto deploy. In particular for this bug the --update switch from the dt checkout command isn’t supported which causes the error AttributeError: 'Namespace' object has no attribute 'update'

Workaround: Run the commands stated in the public description above one-by-one.
You might not need to run all of them, though. Consult each command functionality in the TorizonCore Builder - Commands Manual to evaluate which ones you need to run.

TCB-205Known Issue"images serve" command not working on WindowsLow

Description: The TorizonCore Builder "images serve" command was added to TorizonCore Builder on version 3.2.0. It does not work on Windows due to two limitations: (1) the Docker host network driver is not supported on Windows and (2) the multicast DNS (mDNS) used by Avahi does not work.

Workaround: Take the output image from TorizonCore Builder and use an SD Card/USB stick to install it to a Toradex SoM.

Alternatively, use a Linux machine.

TCB-230Known IssueTorizoncore builder "bundle" command fails when TCP docker access is enabledLow

Description: When Docker is run with TCP access, the bundle command fails with error "ConnectionRefusedError: [Errno 111] Connection refused"

Workaround: Run Docker with the default configuration instead of TCP.