prplos/.gitlab/scripts
Petr Štetiar b902184ce3
PROVISORY: ci: testbed-device.py: workaround MxL very generic DTS compatible
While integrating support for OSPv2, also known as MXL25641-HDK-6, I
discovered that it's impossible to uniquely identify the machine. This
is because the /proc/device-tree/compatible (DTS Root Node) is identical
across all MxL boards.

So lets workaround it by using `/proc/device-tree/model` additionally,
which at least help distinguish between OSPv1 and OSPv2, thus we first
check for `compatible` and if not usable, then fallback to `model`
property.

References: PCF-1161
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2025-07-31 10:36:12 +00:00
..
build.d ci: build: enable exception tracing on arm64 targets 2025-07-31 10:36:01 +00:00
dut-init ci: cdrouter: dut-init: change the AP in wireless setup 2025-07-31 10:34:13 +00:00
cdrouter-pretty-failures.awk
prpl-jira.py
README.md
requirements.txt
testbed-cdrouter.py ci: scripts: reformat with black 2025-07-31 10:34:23 +00:00
testbed-device.py PROVISORY: ci: testbed-device.py: workaround MxL very generic DTS compatible 2025-07-31 10:36:12 +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.