Rising edge: LED off at 80.0 °C, on at 80.1 °C
rising=80.0: AssertionError: After setting 80.0 °C the LED was on at 3000 ms, 2000 ms after the change. Expected LED off (TMP-04).
found by TC-TMP04-BND-01 · TMP-04 v1.1
Stage 06 · Run, debug and report
Five bugs are seeded in the simulator firmware. Pick one: the tests that catch it go red and the defect drafts appear. CI switches each bug on in turn, one per run, and records the real results, so what you see is a real run.
B5 shows why the suite has levels: smoke alone cannot see a drift that appears after hours. The soak level catches it, and the virtual clock makes it cheap enough to run on every change.
| ID | clean | B1 | B2 | B3 | B4 | B5 | Title | Level |
|---|---|---|---|---|---|---|---|---|
| TC-TMP01-FUN-01 | PASS | PASS | PASS | PASS | PASS | PASS | 25 °C reads 24 to 26 | smoke |
| TC-TMP01-BND-01 | PASS | PASS | PASS | PASS | PASS | PASS | Accuracy at the -20 °C edge | regression |
| TC-TMP01-BND-02 | PASS | PASS | PASS | FAIL | PASS | PASS | Accuracy at the 85 °C edge | regression |
| TC-TMP01-PRF-01 | PASS | PASS | PASS | PASS | PASS | PASS | Linearity sweep, 5 points | regression |
| TC-TMP01-STR-01 | PASS | PASS | PASS | PASS | PASS | PASS | 12 h at 25 °C, error stays within ±1 °C | soak |
| TC-TMP02-FUN-01 | PASS | PASS | PASS | PASS | PASS | PASS | 60 consecutive messages, none missing | smoke |
| TC-TMP02-PRF-01 | PASS | PASS | PASS | PASS | PASS | PASS | Period 1000 ± 50 ms over 300 messages | regression |
| TC-TMP02-STR-01 | PASS | PASS | PASS | PASS | PASS | FAIL | Period stable over 12 h | soak |
| TC-TMP03-FUN-01 | PASS | PASS | PASS | PASS | PASS | PASS | Format TEMP <integer> on all messages | smoke |
| TC-TMP03-BND-01 | PASS | PASS | PASS | PASS | PASS | PASS | Rounding at the half degree, never TEMP -0 | regression |
| TC-TMP03-CPL-01 | PASS | PASS | PASS | PASS | PASS | PASS | Negative values sent as TEMP -5 | regression |
| TC-TMP04-FUN-01 | PASS | PASS | PASS | PASS | PASS | PASS | LED on at 82 °C, off at 25 °C | smoke |
| TC-TMP04-NEG-01 | PASS | PASS | FAIL | PASS | PASS | PASS | No flicker under 79 ↔ 81 oscillation | regression |
| TC-TMP04-BND-01 | PASS | FAIL | PASS | PASS | PASS | PASS | Rising edge: LED off at 80.0 °C, on at 80.1 °C | regression |
| TC-TMP04-BND-02 | PASS | PASS | FAIL | PASS | PASS | PASS | Falling edge: LED on at 78.0 °C, off at 77.9 °C | regression |
| TC-TMP05-BND-01 | PASS | PASS | PASS | PASS | PASS | PASS | Outside the band: no corrupt UART output | regression |
| TC-TMP05-CFG-01 | PASS | PASS | PASS | PASS | PASS | PASS | Smoke set at three supply levels | regression |
| TC-TMP05-FI-01 | PASS | PASS | PASS | PASS | PASS | PASS | Brownout: clean restart, first message within 2 s | regression |
| TC-TMP06-NEG-01 | PASS | PASS | PASS | FAIL | PASS | PASS | 120 °C → ERR RANGE | regression |
| TC-TMP06-BND-01 | PASS | PASS | PASS | FAIL | PASS | PASS | 85.1 °C → ERR RANGE | regression |
| TC-TMP06-BND-02 | PASS | PASS | PASS | PASS | PASS | PASS | -20.1 °C → ERR RANGE | regression |
| TC-TMP06-UPG-01 | PASS | PASS | PASS | FAIL | PASS | PASS | Back in range: the first message is a reading within 1000 ± 50 ms | regression |
| TC-TMP06-OBS-01 | PASS | PASS | PASS | FAIL | PASS | PASS | Range error names its cause on the UART | regression |
| TC-TMP07-NEG-01 | PASS | PASS | PASS | PASS | PASS | PASS | NACK on read: no stale value sent | regression |
| TC-TMP07-PRF-01 | PASS | PASS | PASS | PASS | FAIL | PASS | ERR SENSOR latency within 2 s over repeated NACK faults | regression |
| TC-TMP07-FI-01 | PASS | PASS | PASS | PASS | PASS | PASS | NACK → ERR SENSOR within 2 s | regression |
| TC-TMP07-FI-02 | PASS | PASS | PASS | PASS | FAIL | PASS | Stuck SDA → ERR SENSOR, no hang | regression |
| TC-TMP07-FI-03 | PASS | PASS | PASS | PASS | FAIL | PASS | Single failed read → ERR SENSOR on that message | regression |
| TC-TMP07-UPG-01 | PASS | PASS | PASS | PASS | FAIL | PASS | Sensor returns: readings resume within 2 s | regression |
| TC-TMP07-OBS-01 | PASS | PASS | PASS | PASS | PASS | PASS | Sensor fault names its cause on the UART | regression |
$ pytest -n auto benches/bench1_temp/tests --bench bench1_temp --target sim == 121 passed ==
No failed case, so no defect draft. Pick a bug to see the drafts the suite writes.
Severity is the damage; priority is the order of fixing. A cosmetic bug on the alarm path can still be P1. CI writes drafts, a person sets severity and priority in triage, so an untriaged draft counts against EC-3.
READY All CI exit criteria of STP-TMP-001 v1.0 are met. EC-5, EC-6 are checked by a person.
The release decision stays with a person. Evaluated on: clean firmware run, no seeded bug enabled.
$ pytest -n auto benches/bench1_temp/tests --bench bench1_temp --target sim --set dut.interfaces.power.bugs=[B1] benches/bench1_temp/tests/test_tmp04.py::test_tc_tmp04_bnd_01[rising=80.0] FAILED == 120 passed, 1 failed ==
rising=80.0: AssertionError: After setting 80.0 °C the LED was on at 3000 ms, 2000 ms after the change. Expected LED off (TMP-04).
found by TC-TMP04-BND-01 · TMP-04 v1.1
Severity is the damage; priority is the order of fixing. A cosmetic bug on the alarm path can still be P1. CI writes drafts, a person sets severity and priority in triage, so an untriaged draft counts against EC-3.
NOT READY Not met: EC-1 all P1 cases pass, EC-3 no open Critical defect
The release decision stays with a person. Evaluated on: clean firmware run, no seeded bug enabled.
$ pytest -n auto benches/bench1_temp/tests --bench bench1_temp --target sim --set dut.interfaces.power.bugs=[B2] benches/bench1_temp/tests/test_tmp04.py::test_tc_tmp04_neg_01 FAILED benches/bench1_temp/tests/test_tmp04.py::test_tc_tmp04_bnd_02[falling=78.0] FAILED benches/bench1_temp/tests/test_tmp04.py::test_tc_tmp04_bnd_02[falling=78.1] FAILED == 118 passed, 3 failed ==
falling=78.0: AssertionError: After setting 78.0 °C the LED was off at 4000 ms, 2000 ms after the change. Expected LED on (TMP-04).
falling=78.1: AssertionError: After setting 78.1 °C the LED was off at 4000 ms, 2000 ms after the change. Expected LED on (TMP-04).
found by TC-TMP04-BND-02 · TMP-04 v1.1
AssertionError: The LED changed state 59 times in 60 messages, at 3000 ms, 4000 ms, 5000 ms, 6000 ms, 7000 ms. Expected at most once: 79 °C is not below 78 °C (TMP-04).
found by TC-TMP04-NEG-01 · TMP-04 v1.1
Severity is the damage; priority is the order of fixing. A cosmetic bug on the alarm path can still be P1. CI writes drafts, a person sets severity and priority in triage, so an untriaged draft counts against EC-3.
NOT READY Not met: EC-1 all P1 cases pass, EC-3 no open Critical defect
The release decision stays with a person. Evaluated on: clean firmware run, no seeded bug enabled.
$ pytest -n auto benches/bench1_temp/tests --bench bench1_temp --target sim --set dut.interfaces.power.bugs=[B3] benches/bench1_temp/tests/test_tmp01.py::test_tc_tmp01_bnd_02[upper edge=85.1] FAILED benches/bench1_temp/tests/test_tmp06.py::test_tc_tmp06_neg_01 FAILED benches/bench1_temp/tests/test_tmp06.py::test_tc_tmp06_bnd_01[upper edge=85.1] FAILED benches/bench1_temp/tests/test_tmp06.py::test_tc_tmp06_upg_01 FAILED benches/bench1_temp/tests/test_tmp06.py::test_tc_tmp06_obs_01 FAILED == 116 passed, 5 failed ==
upper edge=85.1: AssertionError: After setting 85.1 °C the device sent 'TEMP 85' at 2000 ms, 'TEMP 85' at 3000 ms. Expected `ERR RANGE` and no `TEMP` message (TMP-06, Q10 assumed: the range check compares the raw value).
found by TC-TMP01-BND-02 · TMP-01 v1.0
ERR RANGEupper edge=85.1: AssertionError: After setting 85.1 °C the device sent 'TEMP 85' at 2000 ms, 'TEMP 85' at 3000 ms. Expected `ERR RANGE` and no `TEMP` message (TMP-06, Q10 assumed: the range check compares the raw value).
found by TC-TMP06-BND-01 · TMP-06 v1.1
ERR RANGEAssertionError: After setting 120 °C the device sent 'TEMP 120' at 2000 ms, 'TEMP 120' at 3000 ms. Expected `ERR RANGE` within 2 messages (TMP-06).
found by TC-TMP06-NEG-01 · TMP-06 v1.1
AssertionError: After setting 120 °C the device sent 'TEMP 120' at 2000 ms, 'TEMP 120' at 3000 ms. Expected `ERR RANGE` within 2 messages and no `ERR SENSOR`.
found by TC-TMP06-OBS-01 · TMP-06 v1.1
SpecTimeout: ERR RANGE: not within 2100 ms (TMP-06: `ERR RANGE` within the settle window, 2 messages of at most 1050 ms each (TMP-02)), waited from 1000 to 3100 ms, last seen: 'TEMP 120' at 3000 ms
found by TC-TMP06-UPG-01 · TMP-06 v1.1
Severity is the damage; priority is the order of fixing. A cosmetic bug on the alarm path can still be P1. CI writes drafts, a person sets severity and priority in triage, so an untriaged draft counts against EC-3.
NOT READY Not met: EC-1 all P1 cases pass, EC-3 no open Critical defect
The release decision stays with a person. Evaluated on: clean firmware run, no seeded bug enabled.
$ pytest -n auto benches/bench1_temp/tests --bench bench1_temp --target sim --set dut.interfaces.power.bugs=[B4] benches/bench1_temp/tests/test_tmp07.py::test_tc_tmp07_prf_01[early fault onset after a message=1] FAILED benches/bench1_temp/tests/test_tmp07.py::test_tc_tmp07_prf_01[late fault onset after a message=999] FAILED benches/bench1_temp/tests/test_tmp07.py::test_tc_tmp07_fi_02 FAILED benches/bench1_temp/tests/test_tmp07.py::test_tc_tmp07_fi_03 FAILED benches/bench1_temp/tests/test_tmp07.py::test_tc_tmp07_upg_01 FAILED == 116 passed, 5 failed ==
ERR SENSOR, no hangSpecTimeout: `TEMP 25`: not within 2000 ms (Q8 assumed: readings resume within 2000 ms), waited from 2025 to 4025 ms, last seen: 'ERR SENSOR' at 4000 ms
found by TC-TMP07-FI-02 · TMP-07 v1.1
ERR SENSOR on that messageAssertionError: Before the fault the device sent 'TEMP 25' at 1000 ms. After 1 failed read at 1000 ms it sent 'ERR SENSOR' at 2000 ms, 'ERR SENSOR' at 3000 ms. Expected `ERR SENSOR`, `TEMP 25`: `ERR SENSOR` in place of each failed read, then a reading.
found by TC-TMP07-FI-03 · TMP-07 v1.1
ERR SENSOR latency within 2 s over repeated NACK faultsearly fault onset after a message=1: SpecTimeout: `TEMP 25`: not within 2000 ms (Q8 assumed: readings resume within 2000 ms), waited from 2000 to 4000 ms, last seen: 'ERR SENSOR' at 4000 ms
late fault onset after a message=999: SpecTimeout: `TEMP 25`: not within 2000 ms (Q8 assumed: readings resume within 2000 ms), waited from 2000 to 4000 ms, last seen: 'ERR SENSOR' at 4000 ms
found by TC-TMP07-PRF-01 · TMP-07 v1.1
SpecTimeout: `TEMP 25`: not within 2000 ms (Q8 assumed: readings resume within 2000 ms), waited from 2000 to 4000 ms, last seen: 'ERR SENSOR' at 4000 ms
found by TC-TMP07-UPG-01 · TMP-07 v1.1
Severity is the damage; priority is the order of fixing. A cosmetic bug on the alarm path can still be P1. CI writes drafts, a person sets severity and priority in triage, so an untriaged draft counts against EC-3.
NOT READY Not met: EC-1 all P1 cases pass, EC-3 no open Critical defect
The release decision stays with a person. Evaluated on: clean firmware run, no seeded bug enabled.
$ pytest -n auto benches/bench1_temp/tests --bench bench1_temp --target sim --set dut.interfaces.power.bugs=[B5] benches/bench1_temp/tests/test_tmp02.py::test_tc_tmp02_str_01 FAILED == 120 passed, 1 failed ==
AssertionError: 16230 of 41479 intervals were outside 950 to 1050 ms, the first 1051 ms before 'TEMP 25' at 25627076 ms. Expected every interval 950 to 1050 ms (TMP-02).
found by TC-TMP02-STR-01 · TMP-02 v1.1
Severity is the damage; priority is the order of fixing. A cosmetic bug on the alarm path can still be P1. CI writes drafts, a person sets severity and priority in triage, so an untriaged draft counts against EC-3.
NOT READY Not met: EC-3 no open Critical defect, EC-4 soak within tolerance
The release decision stays with a person. Evaluated on: clean firmware run, no seeded bug enabled.