prplos/.gitlab/scripts/dut-init
Petr Štetiar accd15a3eb ci: testbed,cdrouter: add opt-in obuspa debug logging
Currently the testbed and cdrouter jobs need an opt-in way to raise
OBUSPA logging when debugging intermittent USP and MTP issues such as
PPW-1897, PPW-1837 and PCF-2565. The normal CI path should keep the DUT
at firmware defaults and avoid editing /etc/init.d/obuspa unless a debug
run asks for extra logging.

So lets add DUT_OBUSPA_VERBOSE_LEVEL and DUT_OBUSPA_PROTOCOL_TRACE as
empty-by-default CI variables. The CI templates call the OBUSPA debug
helper only when either variable is non-empty, so normal runs leave the
DUT unchanged.

DUT_OBUSPA_VERBOSE_LEVEL configures runtime verbosity and the persisted
-v init-script argument. DUT_OBUSPA_PROTOCOL_TRACE configures runtime
prototrace and the persisted -p init-script argument for later OBUSPA
restarts. Invalid values fail before SSH so typoed CI variables do not
partially mutate the DUT.

DUT_OBUSPA_VERBOSE_LEVEL=3 enables the info-level OBUSPA logging useful
for USP controller and MTP debugging. DUT_OBUSPA_PROTOCOL_TRACE=1
enables protocol-level tracing when the CI run needs message-level
visibility.

Assisted-by: codex:gpt-5.5:xhigh
References: PPW-1897, PPW-1837, PCF-2565
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2026-05-22 13:33:05 +00:00
..
cdrouter-dut-configure-cwmpd.sh ci: cdrouter: cwmpd DUT init script: replace old vendor prefix by the new one 2025-07-31 15:27:54 +00:00
cdrouter-dut-configure-dslite.sh ci: cdrouter: dut-init: run init scripts via shebang 2025-07-31 15:21:57 +00:00
cdrouter-dut-configure-dyndns.sh Revert "PROVISORY: ci: cdrouter: Lower DynamicDNS.Server.{i}.CheckInterval to 30s" 2025-07-31 15:29:19 +00:00
cdrouter-dut-configure-prplmesh-controller.sh cram: prplmesh: migrate test control flow to ProcessManager DM 2026-03-06 15:31:11 +01:00
cdrouter-dut-configure-prplos-certification.sh ci: cdrouter: provide configuration for prplOS Network Test Plan 2025-10-11 13:54:13 +00:00
cdrouter-dut-configure-usp-common.sh ci: cdrouter: switch USP testing from STOMP to MQTTv5 as primary MTP 2026-04-21 16:00:15 +01:00
cdrouter-dut-configure-usp-mqtt.sh ci: cdrouter: switch USP testing from STOMP to MQTTv5 as primary MTP 2026-04-21 16:00:15 +01:00
cdrouter-dut-configure-usp-ws.sh ci: cdrouter: switch USP testing from STOMP to MQTTv5 as primary MTP 2026-04-21 16:00:15 +01:00
cdrouter-dut-configure-wireless.sh Revert "PROVISORY: ci: cdrouter: disable regulatory domain change and use channel 11 as workaround" 2026-03-03 12:14:45 +00:00
cdrouter-dut-enable-pppoe.sh ci: cdrouter: dut-init: run init scripts via shebang 2025-07-31 15:21:57 +00:00
cdrouter-dut-enable-vlans.sh ci: cdrouter: dut-init: run init scripts via shebang 2025-07-31 15:21:57 +00:00
cdrouter-dut-flush-dns-relay-cache.sh ci: cdrouter: flush DNS relay cache on loopback instance as well 2026-03-09 18:12:32 +00:00
cdrouter-tr181-mockups.sh ci: cdrouter: dut-init: run init scripts via shebang 2025-07-31 15:21:57 +00:00
dut-change-fail-action-to-restart.sh ci: cdrouter: cram: update ProcessMonitor FailAction to RESTART if it is set to REBOOT (PPW-1234) 2026-03-23 09:25:41 +00:00
dut-configure-obuspa-logging.sh ci: testbed,cdrouter: add opt-in obuspa debug logging 2026-05-22 13:33:05 +00:00
obuspa_param_reset-mqtt.txt ci: cdrouter: switch USP testing from STOMP to MQTTv5 as primary MTP 2026-04-21 16:00:15 +01:00
obuspa_param_reset-ws.txt ci: cdrouter: switch USP testing from STOMP to MQTTv5 as primary MTP 2026-04-21 16:00:15 +01:00