-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
(Created after 1/16 office hours)
If we echo $CHECKBOX_RUNTIME in checkbox.shell from a strict frontend, we would get a string that looks like
(checkbox-shell)$ echo $CHECKBOX_RUNTIME
/snap/checkbox24/1417 /snap/checkbox/20486/checkbox-runtime /snap/checkbox/20486/providers/checkbox-provider-certification-client /snap/checkbox/20486/providers/checkbox-provider-certification-server /snap/checkbox/20486/providers/checkbox-provider-checkbox /snap/checkbox/20486/providers/checkbox-provider-docker /snap/checkbox/20486/providers/checkbox-provider-gpgpu /snap/checkbox/20486/providers/checkbox-provider-resource /snap/checkbox/20486/providers/checkbox-provider-sru /snap/checkbox/20486/providers/checkbox-provider-tpm2
which would break test cases that try to read this as a regular path string.
Note that this does not happen in any of the classic frontends.
Cert-blocker Test Case
- cert-blocker
To Reproduce
- Install strict frontend
sudo snap install checkbox24 --edge
sudo snap install checkbox --channel uc24/edge --devmode- Enter the shell and read the varaible
checkbox.shell
echo $CHECKBOX_RUNTIME # prints the string shown in the description- Inside the shell, read the variable from python and it would reveal that CHECKBOX_RUNTIME is a newline-separated string
ceqa@localhost:/home/ceqa$ python3
Python 3.12.3 (main, Nov 6 2025, 13:44:16) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.environ["CHECKBOX_RUNTIME"]
'/snap/checkbox24/1417\n/snap/checkbox/20486/checkbox-runtime\n/snap/checkbox/20486/providers/checkbox-provider-certification-client\n/snap/checkbox/20486/providers/checkbox-provider-certification-server\n/snap/checkbox/20486/providers/checkbox-provider-checkbox\n/snap/checkbox/20486/providers/checkbox-provider-docker\n/snap/checkbox/20486/providers/checkbox-provider-gpgpu\n/snap/checkbox/20486/providers/checkbox-provider-resource\n/snap/checkbox/20486/providers/checkbox-provider-sru\n/snap/checkbox/20486/providers/checkbox-provider-tpm2'
Expected Result
CHECKBOX_RUNTIME is a single path
Actual Result
CHECKBOX_RUNTIME has multiple lines in strict frontends
Environment
- OS: UC24, Desktop 24.04
- Checkbox Version: 7.0.0.dev116
- Checkbox Type: Snap
Relevant log output
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working