Checkbox is a testing framework used to validate device compatibility with Ubuntu Linux. It’s the testing tool developed for the purposes of the Ubuntu Certification program.
The lab pipeline was failing on 24.04 because one of the packages was using the interactive frontend to fetch some value from the user. This was because the apt command was launched without the -E flag, therefore the environment was not inherited from the parent shell, clearing the cusom environment. Additionally, the DEBIAN_FRONTEND envvar was unset, leaving to the specific workflow the chore to set it. This fixes both of these issues.
Minor: this also adds grouping to the installer output, making it easier to read
Minor: this also enables exit on error, as this makes the output easier to read on failure
Resolved issues
Fixes: pipeline currently not working on noble (not working if any dependency asks for manual interaction)
Fixes: CHECKBOX-1579
Description
The lab pipeline was failing on 24.04 because one of the packages was using the interactive frontend to fetch some value from the user. This was because the
apt
command was launched without the-E
flag, therefore the environment was not inherited from the parent shell, clearing the cusom environment. Additionally, theDEBIAN_FRONTEND
envvar was unset, leaving to the specific workflow the chore to set it. This fixes both of these issues.Minor: this also adds grouping to the installer output, making it easier to read Minor: this also enables exit on error, as this makes the output easier to read on failure
Resolved issues
Fixes: pipeline currently not working on noble (not working if any dependency asks for manual interaction) Fixes: CHECKBOX-1579
Documentation
N/A
Tests
Failing run: https://github.com/canonical/checkbox/actions/runs/10958861773/job/30429994853 Passing run post patch: https://github.com/canonical/checkbox/actions/runs/10989122085/job/30506715951
After edit inline DEBIAN_FRONTED