twister: sometimes the twister fails because the error configparser.NoSectionError: No section: 'manifest'
#36655
Labels
configparser.NoSectionError: No section: 'manifest'
#36655
Describe the bug
Sometimes the twister fails because the error
configparser.NoSectionError: No section: 'manifest'
That's because the specific platform will call
west
command, which will try to modify the config file.west/config
. Takensim_hs_smp
as example, thetwister
will callwest
command atzephyr/scripts/pylib/twister/twisterlib.py
Line 520 in 8826008
The contents of config are:
https://github.com/zephyrproject-rtos/west/blob/main/src/west/app/main.py#L406. The
west flash
will modify it's contents as:Because the twister run this command with multiple processes, so I guess there are race when ·twister· call this command, then the file is not modified successfully due to multi-process race.
I found that
west
tool will update the contents of.west/config
atThe text was updated successfully, but these errors were encountered: