prplos/.gitlab/scripts
Petr Štetiar 7896ce48bd
ci: testbed-device.py: fix VLAN configuration on OSPv2 and OSPv1 after DTS changes
Currently the CDRouter VLAN tests are failing with:

 FAIL: Could not establish IPv4 DHCP address on lan » no-lan-dhcp-address

This is happening as the UPDK 9.1.80 upstep changes the value of the
model variables in the device tree:

 * OSPv1: from `mxl,lightning mountainmxl,lgp` to `mxl,osp-tb341`
 * OSPv2: from `mxl,lightning mountainmxl,octopusmxl,octopus-641` to `mxl,osp-tb341-v2`

and thus the DUT VLAN configuration is unable to detect the board
properly and configure the VLAN on the the correct LAN port properly.

So lets adapt the board identification in the VLAN configuration to the
new device tree model variables.

Fixes: 45d2f1fcccc7 ("profiles: mxl_x86_osp_tb341_v2: update to UPDK 9.1.80")
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2025-07-31 15:24:13 +00:00
..
build.d ci: build: enable exception tracing on arm64 targets 2025-07-31 10:36:01 +00:00
dut-init ci: cdrouter: fix error when enabling DUT SSID 2025-07-31 15:23:04 +00:00
cdrouter-pretty-failures.awk
prpl-jira.py
README.md
requirements.txt
testbed-cdrouter.py ci: testbed-cdrouter.py: fix re.sub decode issue by passing utf-8 string 2025-07-31 15:20:33 +00:00
testbed-device.py ci: testbed-device.py: fix VLAN configuration on OSPv2 and OSPv1 after DTS changes 2025-07-31 15:24:13 +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.