Commit Graph

856 Commits

Author SHA1 Message Date
Anatolii Rybchych
bcf407dc5e ci: cram: ubus-datamodel-list.t: Datamodel alignment with BBF 2.19.1
* Device.Firewall. - removed vendor prefix for Firewall.Log.

Implements: PCF-2159, PCF-2221
References: FEAT-32
Signed-off-by: Anatolii Rybchych <anatolii.rybchych@globallogic.com>
2026-03-05 11:26:32 +01:00
Anatolii Rybchych
3fb0c7ad69 ci: cram: obuspa.t: Datamodel alignment with BBF 2.19.1
* Device.Boot! - Added Cause, FirmwareUpdated, Reason parameters
* Device.Firewall. - removed vendor prefix for Log., renamed LogController to LogRef
* Device.UserInterface.HTTPAccess.{i}.CreateWebSession() - unpotected, and renamed some parameters
* Device.SSH.Server.{i}.{vendor_prefix}Stats - Rename to Device.SSH.Server.{i}.Stats
* Device.SSH.Server.{i}.{vendor_prefix}GroupRestriction - rename to Device.SSH.Server.{i}.UserGroupAccess
* Device.Syslog.Action.{i}.LogRemote.{vendor_prefix}Status - rename to Device.Syslog.Action.{i}.LogRemote.Status
* Device.Syslog.Source.{i}.Network.{vendor_prefix}PeerVerify - rename to Device.Syslog.Source.{i}.Network.PeerVerify
* Device.Syslog.Source.{i}.Network.{vendor_prefix}Certificate - rename to Device.Syslog.Source.{i}.Network.Certificate
* Device.Time.Client.{i}.IPVersion - made object public
* Device.Time.update_status() - made object protected
* Device.UserInterface.HTTPAccessSupportedTLSOptions - added vendor prefix

Implements: PCF-2159, PCF-2221
References: FEAT-32
Signed-off-by: Anatolii Rybchych <anatolii.rybchych@globallogic.com>
2026-03-05 11:26:32 +01:00
Mouna ALOUI
8fdac6bcad ci:coverity: use prplbot instead of admin credentials
We’ve recently started seeing some authentication issues with the Coverity server.
So, per Coverity support's advice, we should avoid using the admin account in CI and use a regular Coverity user instead.
So let's configure the prplbot credentials as the Coverity user that commits issues to the Coverity server.

References: PCF-2428

Signed-off-by: Mouna ALOUI <mouna.aloui@softathome.com>
2026-03-05 08:40:23 +00:00
Nabil BIZID
273eafe1dc ci: cram: update architecture name to match available containers
Updated the container architecture name from x86-64 to amd64 to
align with the available containers in the registry for this
architecture. Also updating the script expectation to match all
possible architecture.

References: PCF-2143
Signed-off-by: Nabil BIZID <nabil.bizid@softathome.com>
2026-03-03 14:51:29 +00:00
Robin NELISSEN
d360d87f35 ci: cram: clean up at the end
Remove all containers at the end of the test,
so the next test can start with a clean system.

References: PCF-2143
Signed-off-by: Robin NELISSEN <robin.nelissen@softathome.com>
2026-03-03 14:51:29 +00:00
Nabil BIZID
47780a3ab3 ci: cram: stop cthulhu via the main process
When using the init script, the process will forcefully stop
cthulhu after a certain timeout. This behavior can cause issues
during testing, as the time needed to fully stop all containers
and shut down cthulhu depends on the number of installed processes
and the configured graceful timeout for stopping each container.
Containers are stopped sequentially.

This commit modifies the behavior to send a signal to stop cthulhu,
avoiding forceful termination if the shutdown of all containers
is not fully completed.

References: PCF-2143
Signed-off-by: Nabil BIZID <nabil.bizid@softathome.com>
2026-03-03 14:51:29 +00:00
Nabil BIZID
4fdadb8e61 ci: cram: make test more flexible
Update tests to be more flexible and accept actions in different
order.

References: PCF-2143
Signed-off-by: Nabil BIZID <nabil.bizid@softathome.com>
2026-03-03 14:51:29 +00:00
Robin NELISSEN
5029ced30b ci: cram: fix cthulhu<>rlyeh sync
References: PCF-2143
Signed-off-by: Robin Nelissen <robin.nelissen@softathome.com>
2026-03-03 14:51:29 +00:00
Nabil BIZID
07879a1eda ci: cram: add extra wait in simulated reboot
The local management test is simulating a box reboot. This
requires adding some additional wait time in order for the LCM
agent to fully start all containers after running the start
script.

References: PCF-2143
Signed-off-by: Nabil BIZID <nabil.bizid@softathome.com>
2026-03-03 14:51:29 +00:00
Nabil BIZID
916c4590ff ci: cram: adapt tests with introduction of new components
Adapt datamodel expectation with additional datamodel objects
following the introduction of new components and feature.

References: PCF-2143
Signed-off-by: Nabil BIZID <nabil.bizid@softathome.com>
2026-03-03 14:51:29 +00:00
Robin NELISSEN
68cc6ede00 ci: cram: add lpm test
Signed-off-by: Robin NELISSEN <robin.nelissen@softathome.com>
2026-03-03 14:51:29 +00:00
Nabil BIZID
0584c1c5ac ci: cram: update dm and config after adding new cthulhu plugins
cthulhu-pcm and cthulhu-lpm plugins are introduced, introducing new
datamodel and new config.
Updating the expected config

References: PCF-2143
Signed-off-by: Nabil BIZID <nabil.bizid@softathome.com>
2026-03-03 14:51:29 +00:00
Houssem Dafdouf
2c59251c30 Revert "PROVISORY: ci: cdrouter: disable regulatory domain change and use channel 11 as workaround"
Restore CDRouter testebed 2 to its previous regulatory domain (CZ).

This reverts commit 3a88ab1705.

References: PPW-303

Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-03-03 12:14:45 +00:00
Houssem Dafdouf
4134f05975 ci: cdrouter: fix regulatry domain setting
When configuring the regulatory domain, it must be applied to all
radios. Applying it to only one will produce an inconsistent state,
which should have caused the failures seen in PPW-303.

Closes: PPW-303

Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-03-03 12:14:45 +00:00
Bhavesh Bharadiya
b328ed9094 ci: cram: OSPv2: add test to check altname for wan interface "eth1"
Adding altname check test for wan interface "eth1" to prevent
PCF-2381 regressions in the future.

It simply checks whether altname value for wan interface "eth1" is "sfp0".

Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
2026-02-27 14:01:46 +00:00
Bhavesh Bharadiya
26d059ab11 profiles: mxl_x86_osp_tb341_v2: update BSP to UPDK 9.2.4 release
Update mxl_wlan_hostap_ng_wav700 profile for below changes:

 * Hostap up-step to hash # 95ad71157e3095c52d5212855ca232832b1b5085
 * RSN override support in MLO mode

Update OSPv2 profiles for below changes:

 * Bump to UPDK 9.2.4
 * Removed ob-udpst feed from MxL repository

Fixes: PCF-2228, PCF-2233, PCF-2236, PCF-2299, PCF-2381
Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [cram updates]
2026-02-27 14:01:46 +00:00
Petr Štetiar
a7d4005d03 profiles: prpl_core: enable memory analysis kernel config options
Currently prpl_core does not enable CONFIG_KERNEL_PROC_PAGE_MONITOR and
CONFIG_KERNEL_SLUB_DEBUG, so /proc/<pid>/smaps, smaps_rollup and
/proc/slabinfo are not exposed in runtime images, which means memory
analysis falls back to RSS-only attribution without shared-page
accounting, PSS-based reporting or kernel slab allocation visibility.

Add CONFIG_KERNEL_PROC_PAGE_MONITOR=y and CONFIG_KERNEL_SLUB_DEBUG=y to
prpl_core diffconfig so builds expose the procfs interfaces needed for
PSS collection, shared memory analysis and kernel slab cache reporting.

Note: CONFIG_KERNEL_SLUB_DEBUG=y is used instead of CONFIG_KERNEL_SLABINFO=y
to avoid the forced selection of CONFIG_KERNEL_SLUB_DEBUG_ON, which
enables runtime slab debug checks (sanity_checks, red_zone, poison,
store_user) on every allocation at boot.  With SLUB_DEBUG alone,
/proc/slabinfo is available but the debug checks remain dormant unless
explicitly activated via the slub_debug= kernel parameter.

References: PCF-2379
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2026-02-27 13:55:45 +00:00
Houssem Dafdouf
8762a89f14 ci: cram: update wifi-apmld.t and wifi-bstamld.t
- Check WiFi.bSTAMLDMaxLinks & Radio.*.Capabilities.WiFi7STARole
- Check default APMLDConfig & bSTAMLDConfig. as now pwhm sets these
configs according to the driver capabilities

- Replace all ba-cli get/set with wifi_dm new helper

References: PPM-3655, PPM-3349, PPW-1284
Closes: PPM-3830, PPW-1325
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-02-26 15:38:41 +01:00
Houssem Dafdouf
118eb10132 profiles: pwhm: mld: fix missing mlo capabilities and initializing MLO config
Problems:

- WiFi7 STARole has no MLO modes support detection, although bSTAMLD is
functional
- missing dynamic detection APMLD/bSTAMLD MaxNumMLDs and
MaxNumLinksPerMLD
- newly created APMLD/bSTAMLD instances have APMLDConfig/bSTAMLDConfig
mlo modes set with value -1 (driver defaults), which is meaningless
with regards to EM spec

Causes:

- STA ifType was not parsed in nl80211 EXT_CAP, for MLO related
attibutes: EML_CAPABILITY and MLD_CAPA_AND_OPS
- EML_CAPABILITY and MLD_CAPA_AND_OPS are only filled by mac80211 for
AP ifType, but left empty for STA ifType
- wrong definition of APMLDConfig/bSTAMLDConfig mlo modes

Fix:

- properly detect MLO support per iftype based on available of
both nl80211 attribs EML_CAPABILITY and MLD_CAPA_AND_OPS
- read STR and NSTR default enabling from mac80211
- set properly WiFi7 APRole and STARole mlo modes support,
- deduce STARole EMLSR support with consideration of APRole (same cap
on driver side)
- deduce NSTR support with consideration of EMLMR/MLMR
- read maxNumSimultenousLinks (num auxiliary links) from driver side
- update MaxNumMLDs and MaxNumLinksPerMLD per typed MLD
- set WiFi.bSTAMLDMaxLinks with bSTAMLD capa maxLinksPerMld
- set write-once flag on MLDID of APMLD and bSTAMLD instance to allow
defining default configs with instances and APMLDConfig
(/bSTAMLDConfig)
- when pwhm creates new instances of APMLD/bSTAMLD (based on
SSID.MLDUnit settings), the initial APMLDConfig/bSTAMLDConfig mlo modes
are set driver capabilities (WiFi7 APRole/STARole mlo modes) that will
be used by default in the driver

CRAM tests:
- Update obuspa.t script

Integrates:
- 93f848f36: ("pwhm: mld: initialize APMLDConfig/bSTAMLDConfig mlo modes using driver capabilities", 2026-02-10)
- 649998b2a: ("pwhm: mld: config APMLD/bSTAMLD MLO modes with boolean params", 2026-02-10)
- 5583c685c: ("pwhm: mld: allow defining default APMLDs and bSTAMLDs with mlo configs", 2026-02-10)
- 4b4758c57: ("pwhm: bstamld: fix missing dm param bSTAMLDMaxLinks", 2026-02-10)
- d8b1340e6: ("pwhm: nl80211: fix detecting APMLD/bSTAMLD MaxNumMLDs and MaxNumLinksPerMLD", 2026-02-10)
- ec46bd4f8: ("pwhm: mld: add apis to set MaxNumMLDs and MaxNumOfLinksPerMLD on typed MLD", 2026-02-10)
- 19ec3d89e: ("pwh: nl80211: fix detecting mlo modes capabilities of WiFi7 APRole/STARole", 2026-02-10)

References: PPM-3655 PPM-3349 PPW-1284 PPW-1325
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-02-26 15:37:31 +01:00
Houssem Dafdouf
831e5f1b0d PROVISORY: ci: cram: OSPv2: add WPA3-Personal compatibility to the available security modes for 6GHz VAPs
MxL's vendor module is overriding ModesAvailable and missing WPA3-CM.

Let's enable it manually for the OSPv2 tests for now. It should be
added by default once PCF-2259 is implemented.

References: PCF-2259, PPM-3352
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-02-26 14:20:37 +00:00
Iacob Juc
fbc039df76 ci: cram: test WPA-Personal-Compatibility interaction with prplMesh
prplMesh controller can read configuration from pwhm or from NBAPI.
This test covers both input methods.

Initial state assumption (based on default configuration) :
Controller is reading config from pwhm

Operations :

Restart prplMesh
Enable Priv VAPs
Read Security.ModeEnabled - default values

Write WPA3-Personal-Compatibility to
enabled VAPs - 3 Priv VAPs

Check that Controller Reads new values, propagates them to the Agent,
and Agent does not overwrite them not-overwrite is a double
negation that means agent writes the same value as before. A change
would imply that either:
1. Agent incorrectly reported capability - Controller downgraded security
mode
2. Controller did not read the configuration and pushed a teardown for
the Radiox instead

Switch Controller to NBAPI configuration
Push WPA3-Personal from NBAPI
Push WPA3-Personal-Compatibility from NBAPI

Restore Config to default values

Increase the testbed timeout. 5min are required to run the test.

Closes : PPM-3352
Signed-off-by: Iacob Juc <iacob.juc_ext@softathome.com>
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-02-26 14:20:37 +00:00
Volodymyr Martysh
9d50b74659 ci: cram: Add CRAM test for prplMesh Process Manager application
Added new CRAM test process-manager.t and update current related
tests to compatible with newly added component.

References: PCF-2183, FEAT-27
Signed-off-by: Volodymyr Martysh <v.martysh@inango-systems.com>
2026-02-26 14:55:11 +01:00
Houssem Dafdouf
1ac5b876ab ci: cram: OSPv2: prplmesh-static-puncturing.t: fix wrong AccessPoint index
Problem:
The same prplmesh static puncturing cram test is used on OSPv2 and
Freedom.

Some steps verify the 5 GHz private VAP using AccessPoint index 3,
which is specific to Freedom. On OSPv2, the correct index is 1.

Solution:
Keep the existing script unchanged for Freedom and add a new OSPv2
specific version with the corrected AccessPoint index.

References: FEAT-72
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-02-25 16:16:30 +01:00
Sathishkumar Selvam
e0617c0be2 ci: cram: 005-build-config.t: add CONFIG START and STOP ORDER for plugins which got replaced their static start/stop init order
Integrates:
    - add CONFIG_SAH_AMX_TR181_DHCPV4CLIENT_START_ORDER and CONFIG_SAH_AMX_TR181_DHCPV4CLIENT_STOP_ORDER
    - add CONFIG_SAH_AMX_TR181_DHCPV6CLIENT_START_ORDER and CONFIG_SAH_AMX_TR181_DHCPV6CLIENT_STOP_ORDER
    - add  CONFIG_SAH_AMX_TR181_DHCPV6S_START_ORDER and  CONFIG_SAH_AMX_TR181_DHCPV6S_STOP_ORDER
    - replace CONFIG_SAH_AMX_TR181_MCASTD_CORE_PLUGIN_ORDER with CONFIG_SAH_AMX_TR181_MCASTD_CORE_PLUGIN_START_ORDER and CONFIG_SAH_AMX_TR181_MCASTD_CORE_PLUGIN_STOP_ORDERa
    - add CONFIG_SAH_AMX_TR181_PPP, CONFIG_SAH_AMX_TR181_PPP_START_ORDER and CONFIG_SAH_AMX_TR181_PPP_STOP_ORDER
    - add CONFIG_SAH_SERVICES_AMX-HOSTS-MANAGER_START_ORDER and CONFIG_SAH_SERVICES_AMX-HOSTS-MANAGER_STOP_ORDER
    - add CONFIG_SAH_SERVICES_AMX-TR181ROUTERADVERTISEMENT_START_ORDER and CONFIG_SAH_SERVICES_AMX-TR181ROUTERADVERTISEMENT_STOP_ORDER

References: FEAT-67, PPW-1066, PPW-1067, PPW-1068
Signed-off-by: Sathishkumar Selvam <sathishkumar.selvam@capgemini.com>
2026-02-24 09:57:31 +01:00
FAOUZI YAHYA
1a7d28db4f ci: cram: 005-build-config.t: add CONFIG_SAH_AMX_TR181_CAPTIVEPORTAL_START_ORDER and CONFIG_SAH_AMX_TR181_CAPTIVEPORTAL_STOP_ORDER
Integrates:
-add CONFIG_SAH_AMX_TR181_CAPTIVEPORTAL_START_ORDER and CONFIG_SAH_AMX_TR181_CAPTIVEPORTAL_STOP_ORDER

References: FEAT-67, PPW-1066, PPW-1067, PPW-1068
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-02-24 09:57:31 +01:00
Hari Sriram
5b3fd09bf2 ci: cram: update 006_set_attributes.t for failures
Including 006_set_attributes.t testcase for
ConnectionTrackingQuery entry creation failures.

Adding script to verify failure conditions while providing invalid
parameter data types for existing ConnectionTrackingQuery entry.

References: PPW-1204
Signed-off-by: Hari Sriram <hari.s@capgemini.com>
2026-02-23 14:57:04 +01:00
Blessy Sara John
ee70172d4a Optimized the cram test for the new configurable parameter called CustomArguments (WiFi.DaemonMgt.Daemon.{}.ExecutionSettings.CustomArguments) is being introduced to allow defining a higher logging level and redirecting logs to syslog for the daemons (hostapd, wpa_supplicant) that are started by PWHM. The new log files will store the logs from these daemons as follows: hostapd logs will be available at: /var/log/hostapd wpa_supplicant logs will be available at: /var/log/wpa_supplicant Cram tests are updated to check whether these daemons restart on setting the custom argumnets DM
References: PPM-3522

Signed-off-by: Blessy Sara John <blessysara.j@tataelxsi.co.in>
2026-02-23 14:31:12 +01:00
Blessy Sara John
a31bf7f980 A new configurable parameter called CustomArguments (WiFi.DaemonMgt.Daemon.{}.ExecutionSettings.CustomArguments) is being introduced to allow defining a higher logging level and redirecting logs to syslog for the daemons (hostapd, wpa_supplicant) that are started by PWHM. The new log files will store the logs from these daemons as follows: hostapd logs will be available at: /var/log/hostapd wpa_supplicant logs will be available at: /var/log/wpa_supplicant Cram tests are updated to check whether these daemons restart on setting the custom argumnets DM
References: PPM-3522

Signed-off-by: Blessy Sara John <blessysara.j@tataelxsi.co.in>
2026-02-23 14:07:53 +01:00
Sajith Joseph
afa518aa4c A new configurable parameter called CustomArguments (WiFi.DaemonMgt.Daemon.{}.ExecutionSettings.CustomArguments) is being introduced to allow defining a higher logging level and redirecting logs to syslog for the daemons (hostapd, wpa_supplicant) that are started by PWHM. The new log files will store the logs from these daemons as follows: hostapd logs will be available at: /var/log/hostapd wpa_supplicant logs will be available at: /var/log/wpa_supplicant
Updating PWHM cram test scripts and checking logfile for wpa_supplicant and hostapd

Closes: PPM-3522
Signed-off-by: Sajith Joseph <sajithjoseph@tataelxsi.co.in>
2026-02-23 14:06:50 +01:00
Ruslana Popovych
b31b45a81a provisory: ci: cram: dhcpv6client: removed test with testing unique interface for DHCPv6Client
This change was temporary reverted because we dont have a procedure on how to properly migrate this incompatible change and test also need to be temporary
reverted.

Tracked-by: PPW-1371
Implements: PCF-2118
Refereces: FEAT-32
Signed-off-by: Ruslana Popovych <ruslana.popovych@globallogic.com>
2026-02-20 15:10:40 +01:00
Anatolii Rybchych
f1e5bd8832 ci: cram: ubus.t: DHCPv4.Server datamodel alignment with BBF 2.19.1
Following changes were made during datamodel alignment with v2.19.1 release:
Device.DHCPv4.Server.Pool.{i}.WINSServers - renamed from X_PRPLWARE-COM_WINSServer

Implements: PCF-2070
References: FEAT-32
Signed-off-by: Anatolii Rybchych <anatolii.rybchych@globallogic.com>
2026-02-20 14:46:13 +01:00
AnatoliiRybchych
4795ffa5fb ci: cram: obuspa.t: DHCP datamodel alignment with BBF 2.19.1
Following changes were made during datamodel alignment with v2.19.1 release:
Device.DHCPv4.Client.{i}.DSCPMark - renamed from DSCP
Device.DHCPv4.Client.{i}.Stats. removed %protected flag
Device.DHCPv4.Server.Pool.{i}.Client.{i}.IPv4Address.{i}.IsStatic - not standard, added prefix
Device.DHCPv4.Server.Pool.{i}.WINSServers - renamed from X_PRPLWARE-COM_WINSServer
Device.DHCPv6.Client.{i}.DSCPMark - renamed from DSCP
Device.DHCPv6.Server.Pool.{i}.DSCPMark - renamed from DSCP

Implements: PCF-2070,PCF-2072,PCF-2118,PCF-2119
References: FEAT-32
Signed-off-by: AnatoliiRybchych <anatolii.rybchych@globallogic.com>
2026-02-20 14:46:13 +01:00
Anatolii Rybchych
196bde33d7 ci: cram: test tr181-dhcv6s alignment to tr181 2.19.1
Paths under test:
* DHCPv6.Server.Pool.{i}.DSCPMark

Implements: PCF-2119
References: FEAT-32
Signed-off-by: Anatolii Rybchych <anatolii.rybchych@globallogic.com>
2026-02-20 14:46:13 +01:00
Anatolii Rybchych
50ce9c128e ci: cram: test tr181-dhcpv6client alignment to tr181 2.19.1
Paths under test:
* DHCPv6.Client.{i}.Alias
* DHCPv6.Client.{i}.DSCPMark
* DHCPv6.Client.{i}.Interface

Implements: PCF-2118
References: FEAT-32
Signed-off-by: Anatolii Rybchych <anatolii.rybchych@globallogic.com>
2026-02-20 14:46:13 +01:00
Anatolii Rybchych
7d33e03403 ci: cram: test tr181-dhcpv4client alignment to tr181 2.19.1
Paths under test:
* DHCPv4.Client.{i}.Alias
* DHCPv4.Client.{i}.DSCPMark
* DHCPv4.Client.{i}.Interface
* DHCPv4.Client.{i}.ReqOption
* DHCPv4.Client.{i}.SentOption
* DHCPv4.Client.{i}.Stats.

Implements: PCF-2072
References: FEAT-32
Signed-off-by: Anatolii Rybchych <anatolii.rybchych@globallogic.com>
2026-02-20 14:46:13 +01:00
Anatolii Rybchych
4c64d20c7e ci: cram: test tr181-bridging alignment to tr181 2.19.1
Paths under test:
* Bridging.Bridge.{i}.AgingTime
* Bridging.Bridge.{i}.Port.{i}.LowerLayers
* Bridging.Bridge.{i}.Port.{i}.PriorityRegeneration
* Bridging.Bridge.{i}.STP.BridgePriority
* Bridging.Bridge.{i}.VLAN.{i}.VLANID

Implements: PCF-2071
References: FEAT-32
Signed-off-by: Anatolii Rybchych <anatolii.rybchych@globallogic.com>
2026-02-20 14:46:13 +01:00
AnatoliiRybchych
ee50c87dcf ci: cram: test tr181-dhcpv4 alignment to tr181 2.19.1
Paths under test:
* DHCPv4.Server.Pool.{i}.WINSServers

Implements: PCF-2070
References: FEAT-32
Signed-off-by: Anatolii Rybchych <anatolii.rybchych@globallogic.com>
2026-02-20 14:46:13 +01:00
prplbot
ddb99ccbc7 profiles: prpl_core.yml: feed_prplmesh: Remove separate config for procd
Integrates following changes:
- procd: Remove separate config for procd (44fd5e31)
- ci: baf: update autogenerated files (1d657646)
- procd: Remove separate config for procd (f883c20c)
- ci: baf: update autogenerated files (869c3cf7)

References: PPW-1066
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-02-20 11:43:28 +01:00
prplbot
597e74c5d6 profiles: prpl_core.yml: feed_prplos: procd: restore original scripts to be used in non-procd environments
Integrates following changes:
- procd: restore original scripts to be used in non-procd environments (33f97e11)
- Fix on PPW-1067 - To replace static start/stop init order with config options (10354199)
- ci: baf: update autogenerated files (54507338)
- procd: restore original scripts to be used in non-procd environments (5c5f4468)
- Fix on PPW-1067 - To replace static start/stop init order with config options (0f5828e4)
- ci: baf: update autogenerated files (b98f1835)
- procd: restore original scripts to be used in non-procd environments (7b20dc70)
- Fix on PPW-1067 - To replace static start/stop init order with config options (a7c572d0)
- ci: baf: update autogenerated files (a0bdb1d4)
- procd: restore original scripts to be used in non-procd environments (4fd06973)
- ci: baf: update autogenerated files (ab2e4597)
- ci: enable unit tests (f3ffa9c2)
- procd: restore original scripts to be used in non-procd environments (263791e6)
- Fix on PPW-1067 - To replace static start/stop init order with config options (f9f3b2c3)
- ci: baf: update autogenerated files (86ccbca)
- procd: restore original scripts to be used in non-procd environments (2873daa3)
- Fix on PPW-1067 - To replace static start/stop init order with config options (46f4d197)
- ci: baf: update autogenerated files (ee673993)
- procd: restore original scripts to be used in non-procd environments (f9196323)
- ci: baf: update autogenerated files (b0578cc0)

References: PPW-1068, PPW-1066, FEAT-67, PPW-1067
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-02-20 11:43:25 +01:00
FAOUZI YAHYA
ed9918a090 ci: cram: 005-build-config.t: add CONFIG_SAH_DYNAMIC_DNS_START_ORDER and CONFIG_SAH_DYNAMIC_DNS_STOP_ORDER
Integrates following changes:
add CONFIG_SAH_DYNAMIC_DNS_START_ORDER and CONFIG_SAH_DYNAMIC_DNS_STOP_ORDER

References: PPW-1066, PPW-1068
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-02-20 11:21:04 +01:00
FAOUZI YAHYA
cd3dad5db9 ci: cram: 005-build-config.t: add CONFIG_SAH_AMX_TR181_SYSLOG_START_ORDER and CONFIG_SAH_AMX_TR181_SYSLOG_STOP_ORDER
Integrates following changes:
-add CONFIG_SAH_AMX_TR181_SYSLOG_START_ORDER and CONFIG_SAH_AMX_TR181_SYSLOG_STOP_ORDER

References: PPW-1066, PPW-1068
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-02-20 11:21:04 +01:00
Sathishkumar Selvam
1dea88e8fb ci: cram: update testcase 010-procd-spawned-process.t (PCF-2139)
Currently all missed components are migrated to procd as part of Overflow ticket [PCF-2139] except amx-shutdown-wait since amx-shutdown-wait doesnt seems to be init based start-up script, It does have only logic to handle shutdown all amx process in a customized way, Hence it doesnt seems to be eligible for procd based migration and doesnt take care further

Hence Updated the testcase 010-procd-spawned-process.t to have only "amx-shutdown-wait" still using amx_init_functions.sh (non-procd based) and removed all other services which are successfully migrated to procd to scope with procd migrated services verification

Implements:PCF-2139
Signed-off-by: Sathishkumar Selvam <sathishkumar.selvam@capgemini.com>
2026-02-20 07:46:01 +00:00
Sathishkumar Selvam
f80c75b446 ci: cram: update 110-data-model-mapper.t, ubus-datamodel-list.t testcases (PCF-2139)
1). 110-data-model-mapper.t: After procd integration, Datamodel mapper ipk installation Usage prompt message missed causing cram failure.

Problem - Previously, data-model-mapper used a custom AMX-based init script that displayed a usage prompt as "Usage : /etc/init.d/data-model-mapper [start|boot|debuginfo|stop|shutdown|restart]" upon successful IPK installation. After migrating data‑model‑mapper to procd, the earlier AMX‑based init script’s usage prompt is no longer displayed during IPK installation. The CRAM test relied on this prompt for pattern matching, leading to test failures.

Solution - Instead of cross verifing the usage prompt for data-model-mapper ipk installation, Updated the CRAM test to stop validating the deprecated usage prompt and instead verify installation success using the IPK installation exit status, which aligns with current procd behavior.

2). ubus-datamodel-list.t: Cleaning up data-model-mapper ipk installation on 110-data-model-mapper.t itself doesnt retain running data-model-mapper process after procd migration causing cram failures with its datamodel verification on ubus-datamodel-list.t

Problem - Previously once data-model-mapper installed via ipk without procd, even if its being cleaned up after its operations at the end of 110-data-model-mapper.t test case, running data-model-mapper process would still be available , hence its datamodels later being able to verified at ubus-datamodel-list.t cram test. But after migrating to procd, procd seems taking care to clean up the running process to ensure proper cleanup, due to which cram verifying data-model-mapper datamodels later at ubus-datamodel-list.t cram test getting failed now

Solution - Removing the datamodel-mapper DM elements on ubus-datamodel-list.t help to remediate this cram failure as datamodel mapper completely uninstalled with its cleanup on earlier phase itself.

Implements:PCF-2139
Signed-off-by: Sathishkumar Selvam <sathishkumar.selvam@capgemini.com>
2026-02-20 07:46:01 +00:00
Sathishkumar Selvam
ed4d37b1e6 profiles: prpl_core, lcm: finish procd init script integration for remaining components
Previously several components - acl-manager,amx-fcgi,gmap-client,data-model-mapper,netmodel-clients,tr069-discovery,tr181-conmon,tr181-conntrack-query,tr181-flashmonitor,tr181-gatewayinfo,tr181-gnimanager,tr181-homeplug,usp-discovery,cthulhu,rlyeh,timingila,tr181-upnpdiscovery were missed during procd init script conversion process, so adding the missing procd init‑script integration in order to enable auto-respawn/procd monitoring for all these services as part of overflow ticket [PCF-2139]

Integrates:
- timingila: changed service startup scripts to be started and monitored by procd for auto-respawn (069ecb08)
- ci: baf: update autogenerated files (a1a1bec1)
- rlyeh: changed service startup scripts to be started and monitored by procd for auto-respawn (04c843e7)
- ci: baf: update autogenerated files (5c24ceec)
- cthulhu: changed service startup scripts to be started and monitored by procd for auto-respawn (5d090638)
- ci: baf: update autogenerated files (a64091b0)

References:PCF-2139
Signed-off-by: Sathishkumar Selvam <sathishkumar.selvam@capgemini.com>
2026-02-20 07:46:01 +00:00
Houssem Dafdouf
8f3423b8ba ci: cram: warm apply: pwhm.t: apmld.t: update test cases (C2/C3)
100-pwhm.t:
-----------

Add hostapd socket checks after each interface state change;
other C2 requirements are implicitly covered by the apmld test.

Replace ba-cli get/set calls with the new wifi_dm helper and use
it for synchronous enable/disable operations, reducing test
duration from ~4m40s to ~1m30s (PPW-1301 #2, #3).

Verify the full interface name when reading status (PPW-1301 #4).

wifi-apmld.t:
-------------

ci: cram: warm apply: add main link interface removal new checks

Add hostapd restart check during the execution of the test
Add the check of wpactrl sockets after each operation

References: FEAT-125
Closes: PPM-3689
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-02-20 07:33:46 +00:00
Théo-Paul Bodin
1e84bb5c50 PROVISORY: ci: cram: periodicfile upload
Install servefile from pip as a workaround until PPW-1258 is fixed

Signed-off-by: Théo-Paul Bodin <theo-paul.bodin@softathome.com>
2026-02-19 15:11:44 +01:00
Théo-Paul Bodin
efacdd45b0 ci: cram: new test development for tr181-security
Add tests for CABundle

references: PCF-1940

Signed-off-by: Théo-Paul Bodin <theo-paul.bodin@softathome.com>
2026-02-19 15:11:44 +01:00
Toon Caeyers
a5b9cca7e3 ci: cram: new test development for tr181-periodicfileupload
References: PCF-1940

Signed-off-by: Théo-Paul Bodin <theo-paul.bodin@softathome.com>
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
2026-02-19 15:11:44 +01:00
Houssem Dafdouf
8159c85df4 PROVISORY: ci: cram: OSPv2: unset MLDUnit on all interfaces
OSPv2 does not currently support APMLD correctly, so all MLDUnit
parameters must be temporarily unset.

The MLDUnit for private and guest VAPs is already unset by the UPDK,
but backhaul interfaces are configured via prplMesh ODL.

Force MLDUnit to be unset on all interfaces when starting Wi-Fi tests.

References: PPW-1480
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-02-19 11:34:51 +00:00
Houssem Dafdouf
205f8d706e ci: testbed: increase test runtime from 53min to 58min
New cram tests require to increase the CI runtime timeout.

Let's extend the test runtime timeout by 5 minutes.

Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-02-18 21:49:40 +01:00