prplos/.gitlab/scripts
Petr Štetiar a4ff6b0ccf
ci: testbed,cdrouter: improve error visibility with colored logging
Currently it's not easy to identify errors in CI job log output, so
let's introduce centralized logging helpers with colored output and
visual indicators to make errors more prominent.

The helpers are consolidated in .gitlab/scripts/helpers.sh and replace
inline logging in dut-init scripts. Error messages in cdrouter.yml and
testbed.yml now use log_error() for hopefully better visibility in CI
logs.

References: PCF-2157
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2025-11-07 06:00:20 +00:00
..
build.d ci: build: enable exception tracing on arm64 targets 2025-07-31 10:36:01 +00:00
dut-init ci: testbed,cdrouter: improve error visibility with colored logging 2025-11-07 06:00:20 +00:00
prplMesh CI: easymesh: add prplMesh smoke test 2025-07-31 15:29:01 +00:00
cdrouter-pretty-failures.awk
helpers.sh ci: testbed,cdrouter: improve error visibility with colored logging 2025-11-07 06:00:20 +00:00
prpl-jira.py
README.md
requirements.txt
testbed-cdrouter.py ci: add test execution timeouts with grace period for artifact collection 2025-11-07 06:00:18 +00:00
testbed-device.py ci: testbed-device.py: improve error reporting during the board bringup 2025-10-11 07:52:28 +00:00

Content

This directory contains files used mainly during testing on the GitLab CI.

requirements.txt

This requirements.txt file is used for specifying what Python packages are required to run the scripts in this directory. Usually used with pip install -f requirements.txt command.

prpl-jira.py

This helper Python script creates new or updates existing Jira ticket when something goes wrong during GitLab CI testing process. Currently only supports reporting of build test failures.

Needs Python version 3.6+ due to use of f-strings feature.

testbed-device.py

This helper Python scripts allows managing of device under test (DUT) via labgrid framework.