-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Labels
RegressionSomething, which was working, does not anymoreSomething, which was working, does not anymorearea: TwisterTwisterTwisterarea: WestWest utilityWest utilitybugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: highHigh impact/importance bugHigh impact/importance bug
Description
Describe the bug
Running twister
via west
(e.g. west twister -p native_sim/native/64 -T samples/hello_world/
) was broken with commit 4f63725 in #95342 (according to git bisect
).
Regression
- This is a regression.
Steps to reproduce
Steps to reproduce:
west twister -p native_sim/native/64 -T samples/hello_world/
Relevant log output
$ west twister -p native_sim/native/64 -T samples/hello_world/
Traceback (most recent call last):
File "/home/brix/Projects/zephyrproject/venv/bin/west", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/brix/Projects/zephyrproject/venv/lib/python3.12/site-packages/west/app/main.py", line 1199, in main
app.run(argv or sys.argv[1:])
File "/home/brix/Projects/zephyrproject/venv/lib/python3.12/site-packages/west/app/main.py", line 278, in run
self.run_command(argv, early_args)
File "/home/brix/Projects/zephyrproject/venv/lib/python3.12/site-packages/west/app/main.py", line 584, in run_command
self.run_extension(args.command, argv)
File "/home/brix/Projects/zephyrproject/venv/lib/python3.12/site-packages/west/app/main.py", line 739, in run_extension
self.cmd.run(args, unknown, self.topdir, manifest=self.manifest,
File "/home/brix/Projects/zephyrproject/venv/lib/python3.12/site-packages/west/commands.py", line 200, in run
self.do_run(args, unknown)
File "/home/brix/Projects/zephyrproject/zephyr/scripts/west_commands/twister_cmd.py", line 61, in do_run
ret = main(options, default_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: main() takes from 0 to 1 positional arguments but 2 were given
Impact
Critical.
Environment
- Ubuntu Linux 24.04
- Zephyr SDK 0.17.2
- West v1.4.0
- Python 3.12.3
Additional Context
No response
Metadata
Metadata
Assignees
Labels
RegressionSomething, which was working, does not anymoreSomething, which was working, does not anymorearea: TwisterTwisterTwisterarea: WestWest utilityWest utilitybugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: highHigh impact/importance bugHigh impact/importance bug