Skip to content

Commit e683f85

Browse files
tbitcsoz-agent
andcommitted
fix(samples): remove console harness from build_only sample tests
Twister v4.4.0 raises 'console harness defined without a configuration' when harness: console is set without a matching harness_config block. Since all samples are build_only, no harness is needed — removing it from both the common: block and each test entry. Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent 68ee061 commit e683f85

17 files changed

Lines changed: 0 additions & 34 deletions

File tree

samples/access_control/sample.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ sample:
66
computed risk scoring.
77
common:
88
tags: arbiter reasoning cors auth security api iot
9-
harness: console
109
platform_allow: native_sim
1110
tests:
1211
sample.arbiter.access-control:
1312
tags: arbiter sample
1413
platform_allow: native_sim
15-
harness: console
1614
build_only: true
1715

samples/battery_policy/sample.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ sample:
33
description: Demonstrates arbiter battery management policy evaluation.
44
common:
55
tags: arbiter reasoning safety
6-
harness: console
76
platform_allow: native_sim
87
tests:
98
sample.arbiter.battery-policy:
109
tags: arbiter sample
1110
platform_allow: native_sim
12-
harness: console
1311
build_only: true
1412

samples/cobot_safety/sample.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ sample:
77
safety_common includes.
88
common:
99
tags: arbiter reasoning safety cobot robotics iso-10218
10-
harness: console
1110
platform_allow: native_sim
1211
tests:
1312
sample.arbiter.cobot-safety:
1413
tags: arbiter sample
1514
platform_allow: native_sim
16-
harness: console
1715
build_only: true
1816

samples/fault_diagnosis/sample.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ sample:
77
6 symptom inputs and 4 candidate diagnoses.
88
common:
99
tags: arbiter solver diagnostics fault-tree motor-drive
10-
harness: console
1110
platform_allow: native_sim
1211
tests:
1312
sample.arbiter.fault-diagnosis:
1413
tags: arbiter sample solver
1514
platform_allow: native_sim
16-
harness: console
1715
build_only: true
1816

samples/firewall_policy/sample.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ sample:
77
deny. Imports ARB://network_common for shared network facts.
88
common:
99
tags: arbiter reasoning firewall security network iot
10-
harness: console
1110
platform_allow: native_sim
1211
tests:
1312
sample.arbiter.firewall-policy:
1413
tags: arbiter sample
1514
platform_allow: native_sim
16-
harness: console
1715
build_only: true
1816

samples/firmware_guard/sample.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ sample:
66
OTA update validation, and threat scoring. Uses strict safety profile.
77
common:
88
tags: arbiter reasoning security firmware integrity av boot
9-
harness: console
109
platform_allow: native_sim
1110
tests:
1211
sample.arbiter.firmware-guard:
1312
tags: arbiter sample
1413
platform_allow: native_sim
15-
harness: console
1614
build_only: true
1715

samples/hvac_controller/sample.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ sample:
66
shedding, and dehumidification mode selection.
77
common:
88
tags: arbiter reasoning compute hvac climate iot building
9-
harness: console
109
platform_allow: native_sim
1110
tests:
1211
sample.arbiter.hvac-controller:
1312
tags: arbiter sample
1413
platform_allow: native_sim
15-
harness: console
1614
build_only: true
1715

samples/hydraulic_press/sample.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ sample:
66
and position-based stroke control. Uses strict safety profile.
77
common:
88
tags: arbiter reasoning safety hydraulic press interlock iec-62061
9-
harness: console
109
platform_allow: native_sim
1110
tests:
1211
sample.arbiter.hydraulic-press:
1312
tags: arbiter sample
1413
platform_allow: native_sim
15-
harness: console
1614
build_only: true
1715

samples/kalman_filter/sample.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ sample:
77
numerical solver pattern for embedded navigation and estimation.
88
common:
99
tags: arbiter solver kalman filter estimation sensor-fusion
10-
harness: console
1110
platform_allow: native_sim
1211
tests:
1312
sample.arbiter.kalman-filter:
1413
tags: arbiter sample solver
1514
platform_allow: native_sim
16-
harness: console
1715
build_only: true
1816

samples/mesh_router/sample.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ sample:
77
power management. Demonstrates compute + reasoning, not just policy.
88
common:
99
tags: arbiter reasoning compute mesh thread openthread routing
10-
harness: console
1110
platform_allow: native_sim
1211
tests:
1312
sample.arbiter.mesh-router:
1413
tags: arbiter sample
1514
platform_allow: native_sim
16-
harness: console
1715
build_only: true
1816

0 commit comments

Comments
 (0)