You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the run_in script below and it finally failed with the error message: nrfconnect toolchain was not found. Make sure nrfconnect.ZEPHYR_SDK_INSTALL_DIR is set on your config.yaml file...
root@9559ad961dc3:/workspace# ./scripts/run_in_build_env.sh "./examples/chef/chef.py --ci -t nrfconnect"
WELCOME TO...
█
█
▄ █ ▄ █ █
▀▀█████▀▀ ▄▀▀▀▄ ▄▀▀▀▄ ▄▀▀▀▀▄█ ▀▀█▀▀▀▀▀█▀▀ ▄▀▀▀▀▄ ▄▀▀
▀█▄ ▄█▀ █ █ █ █ █ █ █ █▄▄▄▄▄▄█ █
▀█▄ ▄█▀ █ █ █ █ █ █ █ █ █
▄██▀▀█ █▀▀██▄ █ █ █ ▀▄▄▄▄▀█ ▀▄▄ ▀▄▄ ▀▄▄▄▄▀ █
▀▀ █ █ ▀▀
BOOTSTRAP! Bootstrap may take a few minutes; please be patient.
... (ignored) ...
Building ./chef.py -cbr -d rootnode_dimmablelight_bCwGYSDpoe -t nrfconnect
--------------------------------------------------------------------------
______ __ __ _______ _______
/ || | | | | ____|| ____|
| ,----'| |__| | | |__ | |__
| | | __ | | __| | __|
| `----.| | | | | |____ | |
\______||__| |__| |_______||__|
Target is set to rootnode_dimmablelight_bCwGYSDpoe
Setting up environment...
The path for nrfconnect toolchain was not found. Make sure nrfconnect.ZEPHYR_SDK_INSTALL_DIR is set on your config.yaml file. This is typically <NCS INSTALL PATH>/ncs/toolchains/vX.X.X/opt/zephyr-sdk
Traceback (most recent call last):
File "/workspace/./examples/chef/chef.py", line 932, in <module>
sys.exit(main())
File "/workspace/./examples/chef/chef.py", line 382, in main
shell.run_cmd(command)
File "/workspace/examples/chef/stateful_shell.py", line 139, in run_cmd
raise RuntimeError(
RuntimeError: Error. Nonzero return code.
Returncode: 1
Cmd: ./chef.py -cbr -d rootnode_dimmablelight_bCwGYSDpoe -t nrfconnect
...
config["nrfconnect"]["ZEPHYR_SDK_INSTALL_DIR"] = os.environ.get(
'ZEPHYR_SDK_INSTALL_DIR')
...
if config['nrfconnect']['ZEPHYR_SDK_INSTALL_DIR'] is None:
flush_print(
'The path for nrfconnect toolchain was not found. Make sure nrfconnect.ZEPHYR_SDK_INSTALL_DIR is set on your config.yaml file. This is typically <NCS INSTALL PATH>/ncs/toolchains/vX.X.X/opt/zephyr-sdk')
exit(1)
The text was updated successfully, but these errors were encountered:
Reproduction steps
nrfconnect toolchain was not found. Make sure nrfconnect.ZEPHYR_SDK_INSTALL_DIR is set on your config.yaml file...
Bug prevalence
Everytime
GitHub hash of the SDK that was being used
12d8fec
Platform
nrf
Platform Version(s)
No response
Anything else?
It is caused by the [nrfconnect] Update nRF Connect SDK version to 2.4.0 (#27010) where the PR is forcing to check the env ZEPHYR_SDK_INSTALL_DIR. Unfortunately, this env doesn't exist in the docker image
connectedhomeip/chip-build-vscode:0.7.16
4c7f38d#diff-3dca1b4a352864488fc76b756c0c50d4af075e886073bb5b02236065c2c6b713R471-R473
The text was updated successfully, but these errors were encountered: