Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jjb: system-tests: use
yaml.unsafe_unload()
method
Since PyYAML version 5.2 `load()` errors out when parsing such field: !!python/object/apply:collections.OrderedDict [...] This is done to prevent vulnerabilities exploitable using the `object/apply` construct. See this Github issue [1]: I believe the real bug is that Lava produce a yaml file with such a construct. I believe it's not on purpose because we can see a commit [2] preventing the use of `object/apply` for another type. For now, use `unsafe_load()` until lava does not produce `object/apply` contructs. [1] yaml/pyyaml#364 [2] Linaro/lava@14b347c Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
- Loading branch information