Skip to content
Success

#27332 (Mar 10, 2026, 2:20:12 PM)

Started 8 hr 46 min ago
Took 2.4 sec on build5-deb12build-ansible

Started by upstream project gerrit-pysim build number 2903
originally caused by:

This run spent:

  • 7.4 sec waiting;
  • 2.4 sec build duration;
  • 9.8 sec total from scheduled to completion.
Revision: e4b372de61e9ad0b0b0d165e243e1605b9bc32de
Repository: $GERRIT_REPO_URL
  • master
global_platform: install_cap_parser: argument groups cannot be nested

pySim-shell currently does not work on systems with Python 3.14+:

  File ".../pysim/pySim/global_platform/__init__.py", line 868, in AddlShellCommands
    install_cap_parser_inst_prm_g_grp = install_cap_parser_inst_prm_g.add_argument_group()
  File "/usr/lib/python3.14/argparse.py", line 1794, in add_argument_group
    raise ValueError('argument groups cannot be nested')
  ValueError('argument groups cannot be nested')

The problem is that install_cap_parser creates a nested group inside
of mutually exclusive group.  argparse never supported group nesting
properly, so it has been deprecated since Python 3.11, and eventually
got removed in Python 3.14.

Remove group nesting, adjust the usage string, and implement the
mutual exclusiveness/inclusiveness manually in do_install_cap().

Change-Id: Idddf72d5a745345e134b23f2f01e0257d0667579
Vadim Yanitskiy at