[TC-DA-1.10][TC-DA-1.12][TC-OPCREDS-3.9] Fail on non-PQC devices instead of skipping

Author: LookAtThisTreeCreated Sep 29, 2026Updated Sep 29, 2026
Labelsdevice attestation PKIfound in 1.7_SVE

Summary

All three tests validate the provisional PQCDeviceAttestation (PQCDA) feature and assert it's present as their first step, but none declare the corresponding PICS item in pics_TC_*(). On a non-PQC device the PICS gate never skips them, so they hard-fail instead:

mobly.signals.TestFailure: Details=DUT FeatureMap (0x00000000) does not have PQCDA set, Extras=None

TC_DA_1_10.py's own header comment confirms this is intentionally PQC-only ("no CI test arguments block because no PQC-capable DAC provider fixture is checked in yet") — the PICS declaration just never encodes that.

Evidence

  • Test plan (chip-test-plans/src/deviceattestation.adoc): TC-DA-1.10/1.12 are wrapped in ifdef::in-progress,PQCDeviceAttestation[], and TC-DA-1.12 Step 1 requires "TH verifies that the PQCDeviceAttestation feature bit is set" as a precondition.
  • Cluster spec (data_model/1.7/clusters/OperationalCredentialCluster.xml): <feature bit="0" code="PQCDA" .../>, provisional/optional → PICS item OPCREDS.S.F00.
  • Scripts — none include it:
python
# TC_DA_1_10.py:65-66
def pics_TC_DA_1_10(self) -> list[str]:
    return ["MCORE.ROLE.COMMISSIONEE", "OPCREDS.S", "OPCREDS.S.C02.Rsp", "OPCREDS.S.C03.Tx"]

# TC_DA_1_12.py:78-80
def pics_TC_DA_1_12(self) -> list[str]:
    return ["MCORE.ROLE.COMMISSIONEE", "OPCREDS.S", "OPCREDS.S.C00.Rsp", "OPCREDS.S.C01.Tx",
            "OPCREDS.S.C02.Rsp", "OPCREDS.S.C03.Tx"]

# TC_OPCREDS_3_9.py:58-59
def pics_TC_OPCREDS_3_9(self) -> list[str]:
    return ["OPCREDS.S", "OPCREDS.S.C02.Rsp", "OPCREDS.S.C03.Tx"]

Each then hard-asserts the feature bit shortly after (e.g. TC_DA_1_10.py:182), with no has_feature(...)-style guard upstream.

Suggested fix

Add "OPCREDS.S.F00" to pics_TC_*() in all three files — matches how every other feature-gated test in this suite skips correctly, no change to test bodies needed.

Source: project-chip/connectedhomeip