Skip to content
Success

#28811 (Jun 22, 2026, 12:57:32 PM)

Started 20 days ago
Took 2 sec on build5-deb12build-ansible

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

    This run spent:

    • 9.2 sec waiting;
    • 2 sec build duration;
    • 11 sec total from scheduled to completion.
    Revision: 38f93d974b3a0e4696f6aa5519cf483d521a2eb5
    Repository: $GERRIT_REPO_URL
    • master
    SmspTpScAddr: fix SMSP record length and alpha_id padding

    apply_val() was re-encoding the SMSP with the minimum total_len of 28,
    which produces a 28-byte body with no alpha_id field.  After a DER
    round-trip, the profile machinery re-pads the body to the original
    record length using the template's fill pattern, which may not be 0xFF.
    Those non-0xFF fill bytes end up in the alpha_id area, and GSM 7-bit
    decoding then fails with a KeyError when the modified profile is read
    back.

    Fix by:
    - setting alpha_id = '' so the field is present but empty
    - setting f_smsp.rec_len = 42 (28 fixed bytes + 14 bytes of alpha_id
      padding) so the re-encoded body carries 0xFF-padded alpha_id space
      and the efFileSize in the fileDescriptor stays consistent
    - passing total_len=f_smsp.rec_len to encode_record_bin() so the
      alpha_id area is actually padded to that length

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