Skip to content
Success

#27451 (Mar 15, 2026, 9:56:58 AM)

Started 14 hr ago
Took 2.2 sec on build4-deb12build-ansible

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

This run spent:

  • 59 sec waiting;
  • 2.2 sec build duration;
  • 1 min 1 sec total from scheduled to completion.
Revision: 27031e78d9b3f9c7c5d2c215c275098bf0f34bcb
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