Skip to content
Success

#28230 (Apr 25, 2026, 9:37:00 PM)

Started 16 hr ago
Took 6.2 sec on build5-deb12build-ansible

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

This run spent:

  • 1 min 6 sec waiting;
  • 6.2 sec build duration;
  • 1 min 12 sec total from scheduled to completion.
Revision: 5b6d5455e578b50437f20299104642d86715d2bd
Repository: $GERRIT_REPO_URL
  • master
ConfigurableParameter: safer val length check

validate_val() calls len() to check the value against allow_len,
min_len and max_len. len() requires the object to have a __len__()
method, which integers do not — calling len() on an int raises
TypeError.

Fix this by checking for __len__ first: if present, use len(val) as
usual; otherwise fall back to len(str(val)), which gives the number
of decimal digits for integer values.

Change-Id: Ibe91722ed1477b00d20ef5e4e7abd9068ff2f3e4
Jenkins: skip-card-test
Vadim Yanitskiy at