Commit Graph

1069 Commits

Author SHA1 Message Date
Mouna ALOUI
7d93582b6a ci: coverity: add lzop and libssl-dev to coverity job dependencies
The u-boot-freedom package requires lzop to compress the FIT DTB blob
(fit-dtb.blob.lzo) during the final build stage. The uboot-tools host
package requires OpenSSL headers to build. The regular build job has
these available via OpenWrt's host tools, but under Coverity's cov-build
wrapper they are not available, causing build failures:

  /bin/sh: 1: lzop: not found
  make[3]: *** [Makefile:1216: fit-dtb.blob.lzo] Error 127

  ERROR: package/feeds/feed_prplos/uboot-tools [host] failed to build.

Install lzop and libssl-dev via apt-get alongside the other Coverity
job dependencies.

Reference: PPW-2121

Signed-off-by: Mouna Aloui <mouna.aloui@softathome.com>
2026-07-02 06:57:27 +00:00
Peter Steinhaeuser
0155327bf6 PROVISORY: ci: cram: nokia-valyrian: skip known-failing tests until PCF-2669
The following cram tests fail on Nokia Valyrian and are skipped on this
platform (CI_JOB_NAME guard, exit 80) until addressed, matching the
existing per-platform skip convention:

  generic/acceleration-plan-components/046-qos-classification.t
  generic/lcm/038-lcm-pcm.t
  generic/lcm/042-lcm-usp-direct-connection.t
  generic/obuspa.t
  generic/verify-config-restore/020-verify-backup-restore-flags.t
  nokia-valyrian/100-pwhm_step_1.t
  nokia-valyrian/100-pwhm_step_2.t

The guards only skip on Valyrian; behaviour on other platforms is
unchanged. obuspa.t is a known flaky test (USP re-registration race after
obuspa restart) affecting all platforms; tracked separately.

References: PCF-2669
Signed-off-by: Peter Steinhaeuser <ps@embedd.com>
2026-07-01 15:11:27 +01:00
Peter Steinhaeuser
510fd00108 ci: cram: nokia-valyrian: add new build config packages to 005-build-config
The image-authentication feature and its dependencies (libbotan, librnp,
libsexpp) and timingila-rlyeh-security are now part of the Valyrian build.
Add them to the expected package list.

Signed-off-by: Peter Steinhaeuser <ps@embedd.com>
2026-07-01 15:11:27 +01:00
Peter Steinhaeuser
4178e14811 ci: cram: nokia-valyrian: fix VapType parameter name in 110-prplmesh-dataelements
The 110 test used the parameter name X_PRPLWARE_VapType, which the data
model does not define (amxd returns error_code 4, parameter not found),
so the ubus _set failed. The vendor parameter is X_PRPLWARE-COM_VapType,
as used by every other platform variant of this test. Correct the name in
both _set calls and align the expected output (name and key order) with
the device output.

Signed-off-by: Peter Steinhaeuser <ps@embedd.com>
2026-07-01 15:11:27 +01:00
Christian Marangi
582ccfd881 PROVISORY: ci: cram: skip USB power management test for Mozart and Valyrian
tr181-usb have a regression that makes this test fail from version 0.7.0+.
This was verified to be working with test 0.3.1 and it's a bug in tr181-usb
itself. Skip the test until it's fixed.

References: PCF-2617
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Peter Steinhaeuser <ps@embedd.com>
2026-07-01 15:11:27 +01:00
Christian Marangi
33977c34b3 profiles: add Airoha/Nokia profile
Add Airoha/Nokia profile for the Valyrian board. Required packages
are imported from the feed-airoha repository.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Peter Steinhaeuser <ps@embedd.com>
2026-07-01 15:11:24 +01:00
Christian Marangi
e342d3003e ci: cram: detach cellular specific element from generic ubus datamodel test
Some ubus datamodel are specific to devices with cellular support. Move
these element to the specific ubus datamodel test to fix the generic test
from failing.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Peter Steinhaeuser <ps@embedd.com>
2026-07-01 15:10:02 +01:00
Christian Marangi
503d3daff1 ci: cram: Permit 37 additional queue in qdisc HTB regex
Some device (Nokia Valyrian) have up to 36 queues and on creating a new
one for HTB test, the returned value from tc qdisc show is now 37.

Update the generic test to address for this new device that define
additional HW queues.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Peter Steinhaeuser <ps@embedd.com>
2026-07-01 15:05:53 +01:00
Petr Štetiar
8c8d6dbe84 Revert "PROVISORY: ci: cram: freedom: skip 5G modem tests until PCF-2663"
This reverts commit 370bbd875e.

PCF-2663 is fixed: the previous commit e3c5cc3b5a30 ("profiles:
qca_ipq95xx: extend PCIe link retries so the 5G modem enumerates")
raises link_retries_count so the controller waits long enough for the
Quectel RM520N-GL PCIe link to train. The modem enumerates on PCIe
again, so re-enable the full modem cram test suite on Freedom that was
provisionally skipped.

References: PCF-2663
Assisted-by: claude:opus-4-8:1m-context
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2026-07-01 09:29:41 +00:00
Houssem Dafdouf
e78ef81560 PROVISORY: ci: cram: pwhm: freedom: fix unexpected reconfigured links
Include all currently enabled non-TX BSS-related 6GHz links in the
expected output when disabling non-TX BSS links belonging to the same
MLD.

Due to a hostapd limitation (PCF-2595), non-TX BSS links cannot be
dynamically reconfigured and therefore must be re-added.

Context:
This limitation could be workarounded by setting WiFi.Radio.3.IEEE80211ax.MBSSIDAdvertisementMode
to "Off", which was temporarily done through the feed config in the
context of PCF-2539. Now as PCF-2539 in fixed and the config is set
back to Auto, we need to update the expected output.

References: FEAT-389,PCF-2595,PCF-2539
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-06-29 16:46:38 +01:00
Hela Saadani
fbd87e9082 ci: cram: obuspa: add MSCS/SCS QoS Management support for AccessPoint
References: PPM-3963
Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2026-06-29 15:30:11 +01:00
Maarten De Decker
26a84617ac profiles: prpl: prplMesh: bump to prplMesh v6.0.1 (prplware-5.0-2026-06-25)
Integrates following changes:
- ci: remove wireless credential before starting test (5cbbf2071)
- ci: install lzop and libbsd-dev in builder image (8f684724b)
- fronthual: fix csa_notification_timer fd leakage (235601c02)
- Boardfarm: fix importerror for module pytz (60f778ad9)
- common: optimize base_wlan_hal_whm::refresh_radio_info() (9580484d6)
- agent: fix invalid STA in unassoc link metrics resp (6dbbd3f95)
- conn_map: summarize agent classifications (63b67bd9e)
- controller: use AL-MAC for prplMesh classification (ee1b9563e)
- agent: reapply TS VLAN changes (d7a1e7d87)
- tlvf: accept variable-length WSC public keys (23d97f397)

References:  PPM-4118, PPM-4130, PPM-4129, PPM-4077, PPM-4111, PPM-4001,
             PPM-4034, PPM-4083, PPM-4108
Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2026-06-29 13:56:48 +00:00
Bhavesh Bharadiya
26e2bdfbe1 profiles: mxl_x86_osp_tb341_v2: upstep to the latest UPDK 9.2.10 ER
Fixes below issues:
* WLAN interface does not come up after changing the configuration from hidden SSID to non-hidden SSID
* Stability issue causing WLAN interfaces to go down after approximately 15 hours in a multi-client setup
* Hostapd crashes randomly when WLAN radio configurations are applied after boot
* tc commands failing when trying to create WMM stat queues
* lighttpd configuration fails when configured with PKCS#11 URI
* Default sessions cache not refreshed on netif status change

Enhancements:
* debugfs support for static pp session
* Configure MTU for VEIP interface to max available value

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
2026-06-29 10:06:59 +00:00
Patrick ROGIER
4b6b20a139 cram: add manual tests for WAN modes on OSPv2 B-step board
Add 3 manual cram tests:
- manual_test_ethernet_dhcp.t
- manual_test_gpon_dhcp.t
- manual_test_gpon_onboard_dhcp.t

They respectively test following WAN modes:
- Ethernet_DHCP
- GPON_DHCP
- GPON_ONBOARD_DHCP

Those tests should not be part of ci. Each of them requires the user to
create the proper setup manually before.

cram tests cannot pause mid-test and interactively ask a human for
input. And testing those WAN modes requires unplugging and replugging
SFPs. Therefore it's difficult to write automatic cram tests which are
part of ci to test those WAN modes.

References: PCF-2549, FEAT-287
Signed-off-by: Patrick ROGIER <patrick.rogier_ext@softathome.com>
2026-06-24 11:31:10 +01:00
Théo-Paul Bodin
43f1696033 ci: cram: periodicfileupload tests sometimes fails (PPW-1766)
Problem: Some expected errors are randomly different

Cause: sleep duration was too short for serveile to start correctly
resulting in a 9015 error instead of a 9012

Solution: Increase sleep duration and change how the CABundle is added
to avoid unexpected error

References: PPW-1766, PPW-1632
Signed-off-by: Théo-Paul Bodin <theo-paul.bodin@softathome.com>
2026-06-23 15:38:09 +00:00
Petr Štetiar
370bbd875e
PROVISORY: ci: cram: freedom: skip 5G modem tests until PCF-2663
After migrating Freedom to the new SFL/SMD secure-boot layout, the Quectel
RM520N-GL 5G modem is no longer enumerated on the PCIe bus: its PCIe
controller PHY link never trains in time, so mhi-pci-generic never binds
(the modem stays reachable only over USB). Every modem-dependent cram test
therefore fails on Freedom.

Provisionally skip the modem test suite on Freedom (DUT_BOARD=wnc-freedom)
until PCF-2663 is fixed, keeping the rest of the platform coverage intact:

- generic/cellular-manager/*.t (all 10) -- exit 80 guard
- generic/acceleration-plan-components/50-cellular-offline.t -- exit 80 guard
- generic/acceleration-plan-components/018-cellular-trusted-elements.t -- exit 80 guard
- wnc-freedom/015-platform.t -- drop the PCI / mhi-pci-generic assertion only;
  the USB-modem, ethernet-alias and WPS/reset GPIO checks keep running

Revert this commit once the modem is back on PCIe (PCF-2663).

References: PCF-2663, PCF-2643
Assisted-by: claude:opus-4-8:1m-context
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2026-06-23 10:57:10 +02:00
Petr Štetiar
78b11d2d5b
ci: testbed: labgrid: flash OSPv2 and Freedom via FEAT-29 update_prpl
Switch the OSPv2 (mxl25641-hdk-6) and Freedom (wnc-freedom) eMMC flash
flow to the FEAT-29 U-Boot update script, replacing the legacy OSPv2
update_fullimage path and the Freedom untar/flash sysupgrade path. This
exercises the image/update tooling introduced in prplos!1964.

The flow tftpboots the per-board update_script.itb, sources it and runs
update_prpl against the FEAT-29 OS artifacts:
- OSPv2: PRPL_OSP_v2-wgrtd159be_b_wav700-ext4.img (4G variant)
- Freedom: prpl_freedom-kernel.itb + prpl_freedom-rootfs.itb

update_rescue_bank is set to yes so both OS banks carry the same image
and a bank failover cannot boot a stale rootfs. U-Boot/RBE/XBL/SMD are
left unset: those are one-time migration inputs and must not be
reflashed on every refresh. Boards are expected to already be on the
prpl flash layout. Hand-off to Linux uses run bootcmd (bootprpl/bootipq)
instead of reset, which avoids a power cycle and the labgrid autoboot
re-interrupt hazard.

init_command_timeout bounds the whole init_commands sequence and is set
deliberately tight, per board, so a network/perf regression (e.g. image
TFTP throughput roughly halving) trips the timeout instead of silently
passing, while still absorbing TFTP first-packet jitter. Validated runs
executed the init_commands in:
- OSPv2:   ~30s (update_script TFTP ~10s + update_prpl ~18s)   -> 60s
- Freedom: ~37s (sleep 5 + update_script TFTP ~3.5s + update_prpl ~24s,
                 two images to both banks)                     -> 75s

The rootfs_data overlay is erased before update_prpl so every refresh
boots from a clean overlay; update_prpl itself leaves rootfs_data
untouched. The block offsets are hardcoded from each board's GPT because
the target U-Boot has no part command to derive them:
- OSPv2:   mmc erase 0x86c00 0x10000   (32 MiB, UPDK 9.2.0)
- Freedom: mmc erase 0x534022 0x40000  (128 MiB)

Because update_prpl needs both the update script and the OS image over
TFTP, generalise the testbed/cdrouter firmware copy to a list via the
new TFTP_IMAGE_FILENAMES variable (falling back to TFTP_IMAGE_FILENAME),
rather than overloading TFTP_IMAGE_UNPACK_COMMAND. The Freedom testbed
job now drives the wnc-freedom-emmc target instead of initramfs, so the
now-unused wnc-freedom-initramfs labgrid target is dropped.

Flip the wnc-freedom and mxl25641-hdk-6 testbed runner tags to the -sfl
variant (dut-wnc-freedom-sfl, dut-mxl25641-hdk-6-b-sfl), to make it
clear, that those devices are converted to the prpl Standard Flash
Layout.

References: FEAT-29
Closes: PCF-2644, PCF-2645
Assisted-by: claude:opus-4-8:1m-context
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2026-06-23 10:57:09 +02:00
Paul HENRYS
a4c008ca07
ci: cram: ospv2: test reading the FIT version using get_fit_version.sh
Test reading the FIT version from u-boot-active and kernel-active
partitions and compare it against the version stored in /etc/os-release.

cram file:
  212-read-fit-version.t

Implements: PCF-2606
Tracked-by: FEAT-29
Signed-off-by: Paul HENRYS <paul.henrys_ext@softathome.com>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [cram fixes]
2026-06-23 10:57:08 +02:00
Paul HENRYS
c7d6b1daa1
ci: cram: freedom: test reading the FIT version using get_fit_version.sh
Test reading the FIT version from u-boot-active, kernel-active and rootfs-active
partitions and compare it against the version stored in /etc/os-release.

cram file:
  212-read-fit-version.t

Implements: PCF-2606
Tracked-by: FEAT-29
Signed-off-by: Paul HENRYS <paul.henrys_ext@softathome.com>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [cram fixes]
2026-06-23 10:57:07 +02:00
yan wang
b3e49c68ce
ci: cram: freedom: test reading a register with sysregister driver
Read and write the bootcount register using sysregister driver.

Implements: PCF-2098, PCF-2099, PCF-2289
Tracked-by: FEAT-29
Signed-off-by: yan wang <yan.wang@softathome.com>
2026-06-23 10:57:06 +02:00
yan wang
b167370b0a
ci: cram: ospv2: test the upgrade with swupdate in Linux
Run upgrades in dry-mode with a correctly signed image and another one
where the keys to sign the .swu image and to authenticate the image
before the upgrade are different.
This last test also covers the case where the image is corrupted.

Implements: PCF-1876, PCF-1878
Tracked-by: FEAT-29
Signed-off-by: yan wang <yan.wang@softathome.com>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [cram fixes]
2026-06-23 10:57:05 +02:00
yan wang
1ecd787249
ci: cram: freedom: test the upgrade with swupdate in Linux
Run upgrades in dry-mode with a correctly signed image and another one
where the keys to sign the .swu image and to authenticate the image
before the upgrade are different.
This last test also covers the case where the image is corrupted.

Implements: PCF-1876, PCF-1878
Tracked-by: FEAT-29
Signed-off-by: yan wang <yan.wang@softathome.com>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [cram fixes]
2026-06-23 10:57:04 +02:00
yan wang
c317151364
ci: cram: ospv2: SMD reading
Test reading a non encrypted field and an encrypted one in Linux.

Implements: PCF-2103
Tracked-by: FEAT-29
Signed-off-by: yan wang <yan.wang@softathome.com>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [cram fixes]
2026-06-23 10:57:03 +02:00
yan wang
f0aa151d7b
ci: cram: freedom: SMD reading
Test reading a non encrypted field and an encrypted one in Linux.

Implements: PCF-2103
Tracked-by: FEAT-29
Signed-off-by: yan wang <yan.wang@softathome.com>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [cram fixes]
2026-06-23 10:57:02 +02:00
Bhavesh Bharadiya
e75f6cf681
ci: cram: ospv2: disable devmem
Disable devmem related options in the Linux kernel and Busybox.

Implements: PCF-1854
Tracked-by: FEAT-29
Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [cram fixes]
2026-06-23 10:57:01 +02:00
Paul HENRYS
89191fbc7f
ci: build: exclude non required images from the artifact
Exclude from the artifact images that are not required for prpl upgrade
This is a temporary workaround while waiting for MaxLinear to build and
copy only the required images.

Fixes: PCF-1854
Tracked-by: FEAT-29
Signed-off-by: Paul HENRYS <paul.henrys_ext@softathome.com>
2026-06-23 10:56:41 +02:00
Paul HENRYS
45ed7e2978
ci: build: install libpython3-dev in the Docker image before building
libpython3-dev provides Python header files required to build U-Boot tools.

Fixes: PCF-2606
Tracked-by: FEAT-29
Signed-off-by: Paul HENRYS <paul.henrys_ext@softathome.com>
2026-06-23 10:56:40 +02:00
Paul HENRYS
98562185be
profiles: mxl_x86_osp_tb341_v2: enable imagegenerator target package
imagegenerator is both a target and host package. Enable the target
package that installs public keys in the rootfs of the targets.

Implements: PCF-1874, PCF-1885, PCF-2141
Tracked-by: FEAT-29
Signed-off-by: Paul HENRYS <paul.henrys_ext@softathome.com>
2026-06-23 10:56:21 +02:00
Paul HENRYS
6ecd84b713
ci: build: install libssl-dev in the Docker image before building
OpenWrt does not provide an host package for OpenSSL but OpenSSL headers
files are required to build U-Boot hosttools. libssl-dev is therefore
installed in the Docker prior to launching the build.

Implements: PCF-1874
Tracked-by: FEAT-29
Signed-off-by: Paul HENRYS <paul.henrys_ext@softathome.com>
2026-06-23 10:04:23 +02:00
Mohamed-nour Toumi
7df7836e9b
profiles: qca_ipq95xx: add packages and update config to support an initramfs
* Add packages required by secure initramfs and LVM/dm:
    initramfs-generator, lvm2, kmod-dm, blkid/libblkid, libuuid,
    libcomerr, libext2fs, libfdisk, libfdt, fdt-utils.
  * Default to GZIP initramfs compression.
  * Enable secure initramfs and initramfs-generator options (eMMC,
    rootfs signature preload (+mandatory), dm-crypt, board id,
    swupdate handlers, busybox utils).

Closes: PCF-1893
Tracked-by: FEAT-29
Signed-off-by: Mohamed-nour Toumi <mohamed.toumi_ext@softathome.com>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [cram fixes]
2026-06-23 10:04:18 +02:00
yan wang
1f589f2e4e
ci: build: install libbsd-dev and lzop packages before build
libbsd and lzop are required by u-boot-qca-freedom.

Implements: PCF-1869
Tracked-by: FEAT-29
Signed-off-by: yan wang <yan.wang@softathome.com>
2026-06-22 18:20:33 +02:00
Igor Plesser
baf7466687 ci: cram: use prplmesh-process-monitor DM to check prplMesh status
Change the way to check the prplMesh status from the `ps` command to the
check X_PRPLWARE-COM_ProcessManager.PrplMesh.Status.

Affected cram tests:
* arcadyan-mozart/110-prplmesh-dataelements.t
* prpl-haze/100-prplmesh.t
* turris-omnia/100-prplmesh.t
* wnc-freedom/102-pwhm-static-puncturing.t

Closes: PPM-4071
Signed-off-by: Igor Plesser <i.plesser@inango-systems.com>
2026-06-19 09:00:47 +00:00
Roman Shcherbakov
dee52a81bf ci: cram: use prplmesh-process-manager DM to check prplMesh status
Change the way to check the prplMesh status from the `ps` command to the
check X_PRPLWARE-COM_ProcessManager.PrplMesh.Status.

Affected cram tests (Freedom):
* 102-pwhm-static-puncturing.t;
* 126-wifi-radio-capability.t.

Closes: PPW-1862
Signed-off-by: Roman Shcherbakov <r.shcherbakov@inango-systems.com>
2026-06-19 08:52:33 +00:00
Nabil BIZID
f6f1fe5418 cram: add test to for https schema
Adding a new test to validate support of the https schema

References: PPW-1525
Signed-off-by: Nabil BIZID <nabil.bizid@softathome.com>
2026-06-12 14:54:46 +00:00
FAOUZI YAHYA
9f3999fb09 ci: cram: obuspa.expected: add Device.DNS.Diagnostics.NSLookupDiagnostics
Integrate following changes:
-add Device.DNS.Diagnostics.NSLookupDiagnostics

Reference: PCF-2486
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-06-12 15:01:41 +01:00
FAOUZI YAHYA
3fc4c13d88 ci: cram: ubus-datamodel-list.t: add DNS.Relay.Config.Unbound
Integrate following changes:
-add DNS.Relay.Config.Unbound

Reference: PCF-2486
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-06-12 15:01:41 +01:00
Houssem Dafdouf
e96f74ca65 ci: cram: freedom: update bstamld test script
Update the test script with the following test cases:

- Move all endpoints to a new MLDUnit
- Verify the data model after clearing MLDUnit

References: FEAT-488
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-06-12 13:06:52 +00:00
Artem Trokhymchuk
bbd88ee342 ci: cram: don't override the usp-cli configs in the LCM tests
To overcome the known USP events limitation in OBUSPA (PCF-1287), the LCM cram
tests created and used an amx cli configuration (`usp-cli`) that connects
exclusively to the USP broker. This configuration allows creating a subscription
to OBUSPA with a specific EndpointID (`proto::local_controller`), and
notifications are handled by a Lua event script.

After integrating FEAT-27, a default amx cli called `usp-cli` (same name as used
by the LCM tests) is added as part of prplOS configuration. This leads to a
conflict between the configuration defined by the cram tests and the new default
configuration regarding the USP EndpointID (`proto::usp-cli` vs.
`proto::local_controller`).

If the event script hangs, the usp-cli becomes unusable, as two USP controllers
cannot connect to OBUSPA with the same EndpointID.

To fix this, the amx cli configuration required for the test will be installed
using a different name (`usp-test-cli`), as done in recent LCM scripts
(040-lcm-security-part1.t and 040-lcm-security-part2.t), avoiding any conflict
with the default integrated `usp-cli`.

Tests that only require a normal usp cli (no specific config) do not need to
install the cli configuration, as it is now part of the default prplOS
configuration after integrating FEAT-27.

Closes: PPW-1900
References: FEAT-27
Signed-off-by: Artem Trokhymchuk <a.trokhymchuk@inango-systems.com>
2026-06-12 12:59:24 +00:00
Patrick ROGIER
593a5edb54
ci: cram: test blocking and allowing of an SFP
Add allow_block_sfp.t: it tests allowing and blocking of a copper
Ethernet SFP.

References: PCF-2253, PCF-2524, FEAT-376
Signed-off-by: Patrick ROGIER <patrick.rogier_ext@softathome.com>
2026-06-05 18:42:45 +02:00
Patrick ROGIER
6c9a191bf1 ci: cram: ubus-datamodel-list: add SFPs.AllowedSFPs
FEAT-376 adds support to allow/block SFPs. It includes the addition of a
new object to the BBF TR-181 SFPs datamodel. Adapt ubus-datamodel-list.t
accordingly.

References: PCF-2253, FEAT-376
Signed-off-by: Patrick ROGIER <patrick.rogier_ext@softathome.com>
(cherry picked from commit 3523aa7f6e8dc88b498b7048aa595aec7e437d8b)
2026-06-05 15:20:09 +01:00
Toon Caeyers
24eb939ad4 ci: cram: obuspa: Add new AllowedSFP parameters
FEAT-376 adds support to allow/block SFPs.
To achieve this, a new object and a few new parameters where added to the SFPs datamodel in tr181.

These new parameters need to be added to the expected output of the obuspa test accordingly

References: PCF-2253, FEAT-376
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
(cherry picked from commit 21c3031dfb2497639f34cba02e05ffe659a75264)
2026-06-05 15:20:09 +01:00
Matthias Franck
3218e1024b Revert "PROVISORY: ci: 095-reboot-service.t: disable test on Freedom board because this board doesn't support ll-api bootstatus"
After the integration of PCF-2288, this test needs to be enabled again.

This reverts commit 16151853e4.

References: PPW-2015
Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2026-06-05 11:43:33 +00:00
Nabil BIZID
8bcbeb1152 ci: cram: split lcm security tests
Split the LCM security tests into two separate subsets.

The first subset is responsible for testing signature authentication methods,
supported protocols for the authentication server, and support for customizing
the User-Agent.

The second subset tests server (signature/registry) validation through CABundles
as well as mTLS.

Splitting the tests is required due to a limitation in cram, which impacts the
tests and causes failures when a test starts by executing a remote command (over
SSH) followed by a number of additional commands (even local ones). After a
certain number of commands, cram's behavior becomes unpredictable and the last
part of the test is ignored.

To reproduce this issue, the cram test pattern should be:
  $ alias R="${CRAM_REMOTE_COMMAND:-}"
  $ R logger -t cram "Starting LCM security test"

  Echo a line:

    $ echo "testing cram limitation"
    testing cram limitation

  Repeat the above test lines (e.g., 200 times) in the same cram test file.

References: PCF-2279, FEAT-300
Signed-off-by: Nabil BIZID <nabil.bizid@softathome.com>
2026-06-05 12:40:02 +01:00
Nabil BIZID
53c2297f54 ci: cram: add test for basic authentication with wrong password
Add a test to check signature server Basic authentication with
a wrong password.
This complements the existing tests that verify authentication
with a correct password.

References: PCF-2279, FEAT-300
Signed-off-by: Nabil BIZID <nabil.bizid@softathome.com>
2026-06-05 12:40:02 +01:00
Nabil BIZID
9b943bbaab ci: cram: add support for lcm security test
Adding support for using CABundle/Certificates as defined by
TR181 for both remote registry and signature server.
Adding support for signature server authentication (username/password)
Adding support for setting custom User-Agent

References: PCF-2279, FEAT-300
Signed-off-by: Nabil BIZID <nabil.bizid@softathome.com>
2026-06-05 12:40:02 +01:00
Nabil BIZID
2c14cd7d14 ci: cram: update expected datamodel and configs
Add the new expected object and parameters introduced by the PCF-2279 feature.
Add the new expected components introduced by the PCF-2279 feature.

References: PCF-2279, FEAT-300
Signed-off-by: Nabil BIZID <nabil.bizid@softathome.com>
2026-06-05 12:40:02 +01:00
Houssem Dafdouf
c73a23a6ab ci: cram: pwhm-usp.t test script is executed twice
Problem:

The revert of MR !2395 is incomplete. It added the new
103-pwhm-usp.t symlink but kept the previous 102-pwhm-usp.t symlink.

As a result, both symlinks point to the same script, causing the
pwhm-usp test to be executed twice in the same test run. Running the
script twice in a row without delay is unreliable and may lead to some
failures.

Solution:

- Remove the obsolete 102-pwhm-usp.t symlink so only 103-pwhm-usp.t
remains.
- Ensure the AccessPoint is disabled before starting the test.

Closes: PPW-2036
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-06-04 22:49:15 +02:00
Volodymyr Pavlenko
5f4f7d7b11 ci: cram: update prplMesh DM field names
Changed VapType, Group and GroupName fields parameter names:
 X_PRPLWARE_VapType   -> X_PRPLWARE-COM_VapType
 X-PRPL_ORG_Group     -> X_PRPLWARE-COM_Group
 X-PRPL_ORG_GroupName -> X_PRPLWARE-COM_GroupName

Signed-off-by: Volodymyr Pavlenko <pavlenko.vv@pm.me>
2026-06-04 18:25:19 +03:00
Maarten De Decker
7cdbf7cc3b
profiles: prpl: prplMesh: bump to prplMesh v6.0.0 (prplware-5.0-2026-06-04)
Integrates following changes:
- Fix for bSTA MLD Info empty during R6 certification (cffe57f77)
- bwl: whm: bSTAMLD API implementation (cf3753d2d)
- Add MLO Affiliated STA Link Change Detection (1c730ddd4)
- agent: enhance tc qos filter handling (ac752e26b)
- easylogging: trigger exit instead of abort when FATAL arrives (f4fd976cf)
- agent: add reconfigure flag to ap mld update request (8c6ad108f)
- agent: common: fix issues reported by coverity (c8c85f6fb)
- bcl: son_wireless_utils: avoid copying channels tables on every call (397320231)
- agent:  add ap mld mac in disassoc event (744b36bd2)
- controller: SCS/MSCS, descriptors, and settings (295e2e86a)
- agent: common: controller: vendor_message: fix coverity issues (e7e7eec98)
- agent: remove duplicate link metrics reporting (d405c9e36)
- agent: don't abort Link Metric Response on partial failures (5589184c8)
- controller: fallback to non-prplMesh onboarding on VS TLV mismatch (dfb772f38)
- agent: separate BSS active from enabled state (a72d048b4)
- Removal of X-PRPL_ORG_ in prplMesh DMs (f6df89979)
- agent: channel_scan_task: send report for all scan states (1914c5d78)
- agent:  add bsta capabilities in topology response (3ce403249)
- traffic_separation: handle wds and fh ifaces events (a5aaf4018)

References:  PPM-4091, PPM-3987, PPM-3648, PPM-4019, PPM-4030, PPM-3772,
             PPM-3912, PPM-4062, PPM-4064, PPM-4003, PPM-3917, PPM-3567,
             PPM-4028, PPM-3993, PPM-4035, PPM-3488, PPM-3794, PPM-4018,
             PPM-3905

Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [cram DM update]
2026-06-04 16:09:40 +02:00
Alexandre Fiset
951c2d1d74 ci: cram: add DHCPv4 Force option cram tests
Test the Force parameter of Device.DHCPv4.Server.Pool.{i}.Options.{i} to
force an option when ever it is not requested by the client

Closes: PCF-2462
Signed-off-by: Alexandre Fiset <alexandre.fiset@softathome.com>
2026-06-02 17:59:31 +01:00