← Validation Lab Bench 1 · Temperature monitor I2CUARTPython simulator
Clean run STR-TMP-002: ready

Stage 06 · Run, debug and report

Break it. Watch the suite catch it.

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.

Bugs seeded
5
Caught by smoke
0
By regression
4
Only by soak level
1
Escaped
0

Results by case

verdict of each STD case, per run
ID cleanB1B2B3B4B5TitleLevel
TC-TMP01-FUN-01 PASSPASSPASSPASSPASSPASS25 °C reads 24 to 26smoke
TC-TMP01-BND-01 PASSPASSPASSPASSPASSPASSAccuracy at the -20 °C edgeregression
TC-TMP01-BND-02 PASSPASSPASSFAILPASSPASSAccuracy at the 85 °C edgeregression
TC-TMP01-PRF-01 PASSPASSPASSPASSPASSPASSLinearity sweep, 5 pointsregression
TC-TMP01-STR-01 PASSPASSPASSPASSPASSPASS12 h at 25 °C, error stays within ±1 °Csoak
TC-TMP02-FUN-01 PASSPASSPASSPASSPASSPASS60 consecutive messages, none missingsmoke
TC-TMP02-PRF-01 PASSPASSPASSPASSPASSPASSPeriod 1000 ± 50 ms over 300 messagesregression
TC-TMP02-STR-01 PASSPASSPASSPASSPASSFAILPeriod stable over 12 hsoak
TC-TMP03-FUN-01 PASSPASSPASSPASSPASSPASSFormat TEMP <integer> on all messagessmoke
TC-TMP03-BND-01 PASSPASSPASSPASSPASSPASSRounding at the half degree, never TEMP -0regression
TC-TMP03-CPL-01 PASSPASSPASSPASSPASSPASSNegative values sent as TEMP -5regression
TC-TMP04-FUN-01 PASSPASSPASSPASSPASSPASSLED on at 82 °C, off at 25 °Csmoke
TC-TMP04-NEG-01 PASSPASSFAILPASSPASSPASSNo flicker under 79 ↔ 81 oscillationregression
TC-TMP04-BND-01 PASSFAILPASSPASSPASSPASSRising edge: LED off at 80.0 °C, on at 80.1 °Cregression
TC-TMP04-BND-02 PASSPASSFAILPASSPASSPASSFalling edge: LED on at 78.0 °C, off at 77.9 °Cregression
TC-TMP05-BND-01 PASSPASSPASSPASSPASSPASSOutside the band: no corrupt UART outputregression
TC-TMP05-CFG-01 PASSPASSPASSPASSPASSPASSSmoke set at three supply levelsregression
TC-TMP05-FI-01 PASSPASSPASSPASSPASSPASSBrownout: clean restart, first message within 2 sregression
TC-TMP06-NEG-01 PASSPASSPASSFAILPASSPASS120 °C → ERR RANGEregression
TC-TMP06-BND-01 PASSPASSPASSFAILPASSPASS85.1 °C → ERR RANGEregression
TC-TMP06-BND-02 PASSPASSPASSPASSPASSPASS-20.1 °C → ERR RANGEregression
TC-TMP06-UPG-01 PASSPASSPASSFAILPASSPASSBack in range: the first message is a reading within 1000 ± 50 msregression
TC-TMP06-OBS-01 PASSPASSPASSFAILPASSPASSRange error names its cause on the UARTregression
TC-TMP07-NEG-01 PASSPASSPASSPASSPASSPASSNACK on read: no stale value sentregression
TC-TMP07-PRF-01 PASSPASSPASSPASSFAILPASSERR SENSOR latency within 2 s over repeated NACK faultsregression
TC-TMP07-FI-01 PASSPASSPASSPASSPASSPASSNACK → ERR SENSOR within 2 sregression
TC-TMP07-FI-02 PASSPASSPASSPASSFAILPASSStuck SDA → ERR SENSOR, no hangregression
TC-TMP07-FI-03 PASSPASSPASSPASSFAILPASSSingle failed read → ERR SENSOR on that messageregression
TC-TMP07-UPG-01 PASSPASSPASSPASSFAILPASSSensor returns: readings resume within 2 sregression
TC-TMP07-OBS-01 PASSPASSPASSPASSPASSPASSSensor fault names its cause on the UARTregression

STR-TMP-002: clean firmware

Terminal

the run's command and its failed records, rebuilt from results.json
$ pytest -n auto benches/bench1_temp/tests --bench bench1_temp --target sim
== 121 passed ==

Defect drafts

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.

STR · by class

  • FUN4 / 4 pass
  • NEG3 / 3 pass
  • BND8 / 8 pass
  • CFG1 / 1 pass
  • CMPn/a
  • CPL1 / 1 pass
  • PRF3 / 3 pass
  • STR2 / 2 pass
  • FI4 / 4 pass
  • SECn/a
  • UPG2 / 2 pass
  • OBS2 / 2 pass

READY All CI exit criteria of STP-TMP-001 v1.0 are met. EC-5, EC-6 are checked by a person.

  • EC-1 met All P1 cases pass (19 of 19)
  • EC-2 met Every requirement has an executed case (7 of 7)
  • EC-3 met No open Critical defect (0 of 0)
  • EC-4 met Soak within tolerance (2 of 2)
  • EC-5 manual Major defects only with a waiver
  • EC-6 manual STR reviewed

The release decision stays with a person. Evaluated on: clean firmware run, no seeded bug enabled.

Versions
SRS 1.1 · STP 1.0 · STD 1.0 · TMP-MON 1.0 · vlab 0.1.0
Target
sim

STR-TMP-002-B1: B1 on

Terminal

the run's command and its failed records, rebuilt from results.json
$ 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 ==

Defect drafts

DEF-001draftseverity: triagepriority: triage

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

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.

STR · by class

  • FUN4 / 4 pass
  • NEG3 / 3 pass
  • BND7 / 8 pass
  • CFG1 / 1 pass
  • CMPn/a
  • CPL1 / 1 pass
  • PRF3 / 3 pass
  • STR2 / 2 pass
  • FI4 / 4 pass
  • SECn/a
  • UPG2 / 2 pass
  • OBS2 / 2 pass

NOT READY Not met: EC-1 all P1 cases pass, EC-3 no open Critical defect

  • EC-1 not met All P1 cases pass (18 of 19)
  • EC-2 met Every requirement has an executed case (7 of 7)
  • EC-3 not met No open Critical defect (0 of 1)
  • EC-4 met Soak within tolerance (2 of 2)
  • EC-5 manual Major defects only with a waiver
  • EC-6 manual STR reviewed

The release decision stays with a person. Evaluated on: clean firmware run, no seeded bug enabled.

Versions
SRS 1.1 · STP 1.0 · STD 1.0 · TMP-MON 1.0 · vlab 0.1.0
Target
sim

STR-TMP-002-B2: B2 on

Terminal

the run's command and its failed records, rebuilt from results.json
$ 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 ==

Defect drafts

DEF-001draftseverity: triagepriority: triage

Falling edge: LED on at 78.0 °C, off at 77.9 °C

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

DEF-002draftseverity: triagepriority: triage

No flicker under 79 ↔ 81 oscillation

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.

STR · by class

  • FUN4 / 4 pass
  • NEG2 / 3 pass
  • BND7 / 8 pass
  • CFG1 / 1 pass
  • CMPn/a
  • CPL1 / 1 pass
  • PRF3 / 3 pass
  • STR2 / 2 pass
  • FI4 / 4 pass
  • SECn/a
  • UPG2 / 2 pass
  • OBS2 / 2 pass

NOT READY Not met: EC-1 all P1 cases pass, EC-3 no open Critical defect

  • EC-1 not met All P1 cases pass (17 of 19)
  • EC-2 met Every requirement has an executed case (7 of 7)
  • EC-3 not met No open Critical defect (0 of 2)
  • EC-4 met Soak within tolerance (2 of 2)
  • EC-5 manual Major defects only with a waiver
  • EC-6 manual STR reviewed

The release decision stays with a person. Evaluated on: clean firmware run, no seeded bug enabled.

Versions
SRS 1.1 · STP 1.0 · STD 1.0 · TMP-MON 1.0 · vlab 0.1.0
Target
sim

STR-TMP-002-B3: B3 on

Terminal

the run's command and its failed records, rebuilt from results.json
$ 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 ==

Defect drafts

DEF-001draftseverity: triagepriority: triage

Accuracy at the 85 °C edge

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

DEF-002draftseverity: triagepriority: triage

85.1 °C → ERR RANGE

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-TMP06-BND-01 · TMP-06 v1.1

DEF-003draftseverity: triagepriority: triage

120 °C → ERR RANGE

AssertionError: 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

DEF-004draftseverity: triagepriority: triage

Range error names its cause on the UART

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

DEF-005draftseverity: triagepriority: triage

Back in range: the first message is a reading within 1000 ± 50 ms

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.

STR · by class

  • FUN4 / 4 pass
  • NEG2 / 3 pass
  • BND6 / 8 pass
  • CFG1 / 1 pass
  • CMPn/a
  • CPL1 / 1 pass
  • PRF3 / 3 pass
  • STR2 / 2 pass
  • FI4 / 4 pass
  • SECn/a
  • UPG1 / 2 pass
  • OBS1 / 2 pass

NOT READY Not met: EC-1 all P1 cases pass, EC-3 no open Critical defect

  • EC-1 not met All P1 cases pass (15 of 19)
  • EC-2 met Every requirement has an executed case (7 of 7)
  • EC-3 not met No open Critical defect (0 of 5)
  • EC-4 met Soak within tolerance (2 of 2)
  • EC-5 manual Major defects only with a waiver
  • EC-6 manual STR reviewed

The release decision stays with a person. Evaluated on: clean firmware run, no seeded bug enabled.

Versions
SRS 1.1 · STP 1.0 · STD 1.0 · TMP-MON 1.0 · vlab 0.1.0
Target
sim

STR-TMP-002-B4: B4 on

Terminal

the run's command and its failed records, rebuilt from results.json
$ 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 ==

Defect drafts

DEF-001draftseverity: triagepriority: triage

Stuck SDA → ERR SENSOR, no hang

SpecTimeout: `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

DEF-002draftseverity: triagepriority: triage

Single failed read → ERR SENSOR on that message

AssertionError: 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

DEF-003draftseverity: triagepriority: triage

ERR SENSOR latency within 2 s over repeated NACK faults

early 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

DEF-004draftseverity: triagepriority: triage

Sensor returns: readings resume within 2 s

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.

STR · by class

  • FUN4 / 4 pass
  • NEG3 / 3 pass
  • BND8 / 8 pass
  • CFG1 / 1 pass
  • CMPn/a
  • CPL1 / 1 pass
  • PRF2 / 3 pass
  • STR2 / 2 pass
  • FI2 / 4 pass
  • SECn/a
  • UPG1 / 2 pass
  • OBS2 / 2 pass

NOT READY Not met: EC-1 all P1 cases pass, EC-3 no open Critical defect

  • EC-1 not met All P1 cases pass (16 of 19)
  • EC-2 met Every requirement has an executed case (7 of 7)
  • EC-3 not met No open Critical defect (0 of 4)
  • EC-4 met Soak within tolerance (2 of 2)
  • EC-5 manual Major defects only with a waiver
  • EC-6 manual STR reviewed

The release decision stays with a person. Evaluated on: clean firmware run, no seeded bug enabled.

Versions
SRS 1.1 · STP 1.0 · STD 1.0 · TMP-MON 1.0 · vlab 0.1.0
Target
sim

STR-TMP-002-B5: B5 on

Terminal

the run's command and its failed records, rebuilt from results.json
$ 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 ==

Defect drafts

DEF-001draftseverity: triagepriority: triage

Period stable over 12 h

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.

STR · by class

  • FUN4 / 4 pass
  • NEG3 / 3 pass
  • BND8 / 8 pass
  • CFG1 / 1 pass
  • CMPn/a
  • CPL1 / 1 pass
  • PRF3 / 3 pass
  • STR1 / 2 pass
  • FI4 / 4 pass
  • SECn/a
  • UPG2 / 2 pass
  • OBS2 / 2 pass

NOT READY Not met: EC-3 no open Critical defect, EC-4 soak within tolerance

  • EC-1 met All P1 cases pass (19 of 19)
  • EC-2 met Every requirement has an executed case (7 of 7)
  • EC-3 not met No open Critical defect (0 of 1)
  • EC-4 not met Soak within tolerance (1 of 2)
  • EC-5 manual Major defects only with a waiver
  • EC-6 manual STR reviewed

The release decision stays with a person. Evaluated on: clean firmware run, no seeded bug enabled.

Versions
SRS 1.1 · STP 1.0 · STD 1.0 · TMP-MON 1.0 · vlab 0.1.0
Target
sim

CI pipeline · one GitHub Actions job, one command

See the full CI/CD page →
  1. Static checksruff · mypy · import-linter
  2. Spec lintYAML · matrix · STD ↔ code
  3. Framework testsunit · contract
  4. Bench suiteclean run + one per bug
  5. Report and siteSTR · RTM · history · pages
  6. Security checksheaders · links · gitleaks
Next: CI/CD →