730 Commits

Author SHA1 Message Date
Iacob Juc
912ea75293 tests: boardfarm_tests: push WPA3-CM to agent
In the context of FEAT-65

add a test case for the nbapi_access_point tests
where WPA3-Personal-Compatibility is pushed from NBAPI
to the agent.
since agent bwl backend is arbitrary, only check that
the value is received, do not check that it is
applied (i.e., do not check the interaction between the
bwl backend and the wifi subsystem; interaction with
pwhm is tested in a separate, cram test)

added log roll for for controller
NbapiAssociationEvent sometimes fails
when log roll happens naturally during exectution
and
the check_log function depends on a
test-specific dict holding [log_filename : log_lines],
where log_lines is initialized at the beginning of the test
with the output of "wc -l log_filename"

using log roll in nbapi_access_point test as well

Implements: PPM-3352

Signed-off-by: Iacob Juc <iacob.juc_ext@softathome.com>
2025-12-12 12:13:21 +03:00
Maarten De Decker
fd93b520e6 CI: deprecate Turris-Omnia and Haze tests
Since the Mozart platform is now part of the Boardfarm test suite, all Turris-Omnia and Haze related CI jobs can be deprecated.

Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2025-11-21 15:43:50 +01:00
Lu Dai
290952cb07 Merge branch 'feature/PPM-3364_add-mozart-to-boardfarm-ci' into 'master'
CI: Add Mozart build and boardfarm jobs

Closes PPM-3364

See merge request prpl-foundation/prplmesh/prplMesh!4012
2025-11-20 17:22:58 +01:00
Lu Dai
d98673c491 ci: add mozart into boardfarm
to add mozart v2 into boardfarm,
1, add mozart whm configuration script
2, add mozart related varibales in ci
3, fix a misuse of shell pipeline
4, add mozart boardfarm configurations
5, improve the logs.py, to know which log need to move to ssh
6, override mozart device method, include "reset" and "upgrade"

note: the reason to override mozart "reset" and "upgrade" methods,
is to fit into current devices design, under the limitation that
we lack the method to upgrade mozart in u-boot

Signed-off-by: Lu Dai <lu.dai@mind.be>
2025-11-18 15:16:02 +01:00
Maarten De Decker
8b70bce57c CI: Boardfarm: temporarily disable failing tests
Channelselection and NbapiCAC tests are failing due to Docker API changes.
These test fail on different servers. Temporarily disable it until the cause is found.

Reference: PPM-3643
Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2025-11-12 16:08:28 +01:00
Lu Dai
e308b95bac ci: boardfarm: nbapi_radio: index mismatch
test case is quering radio index 0 but checking index 1

Signed-off-by: Lu Dai <lu.dai@mind.be>
2025-10-29 19:59:02 +01:00
Maarten De Decker
d97d93abeb CI: boardfarm: RDKB: temporarily disable channel selection test
Due to unstable behaviour of transmit power and channel selection settings on RDK-B, the boardfarm channel selection test might fail.
Temporarily disable this test until the root cause and solution has been found.

References: PPM-3540

Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2025-09-24 19:23:07 +02:00
Dmytro Kysil
ec2e1a99c9 Merge branch 'feature/PPM-2333-broardfarm-device-inventory-test' into 'master'
tests: test for checking Device Inventory TLV

Closes PPM-2333

See merge request prpl-foundation/prplmesh/prplMesh!4043
2025-09-01 16:33:44 +00:00
Dmytro Kysil
ced3e032e4 tests: boardfarm test for checking AP Radio Advanced Capabilities TLV
implement test for checking AP Radio Advanced Capabilities TLV and
related DM object parameters:

Device.​WiFi.​DataElements.​Network.​Device.​{i}.Radio.{i}.TrafficSeparationCombinedFronthaul
Device.​WiFi.​DataElements.​Network.​Device.​{i}.Radio.{i}.TrafficSeparationCombinedBackhaul

Closes: PPM-2345

Signed-off-by: Dmytro Kysil <d.kysil@inango-systems.com>
2025-09-01 12:15:27 +03:00
Dmytro Kysil
086908ec3f tests: test for checking Device Inventory TLV
Implemented test for checking Profile-3 Device Inventory TLV and related

Device.WiFi.DataElements.Network.Device.{i}.SerialNumber
Device.WiFi.DataElements.Network.Device.{i}.SoftwareVersion
Device.WiFi.DataElements.Network.Device.{i}.ExecutionEnv
Device.WiFi.DataElements.Network.Device.{i}.Radio.{i}.ChipsetVendor

https://prplfoundationcloud.atlassian.net/browse/PPM-2333

Signed-off-by: Dmytro Kysil <d.kysil@inango-systems.com>
2025-07-31 14:36:31 +03:00
Igor Plesser
59ef53ade1 boardfarm: add crash check support
- Add helper for ba-cli
- Introduce @process_fault_check decorator for ProcessFaults validation
- Integrate crash check into all existing tests

PPM-3241

Signed-off-by: Igor Plesser <i.plesser@inango-systems.com>
2025-05-23 11:25:19 +03:00
Petr Štetiar
eec353e971 ci: capture_logs.sh: include getDebugInformation
prplOS provides getDebugInformation script which gathers a lot of
debugging information from the system, including state of HL-API
prplWare components, logs, coredumps etc. This information is essential
in most bug hunting scenarios, so lets make it easily available in the
new logs/getDebugInformation sub-folder.

Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2025-04-18 12:35:19 +02:00
Frederik Van Bogaert
561b6236ca Merge branch 'feature/PPM-3209-btm-disallowed' into 'master'
prplAgent: Implement BTM Steering Disallowed STA list

Closes PPM-3209

See merge request prpl-foundation/prplmesh/prplMesh!3905

Signed-off-by: Frederik Van Bogaert <frederik.vanbogaert@mind.be>
2025-03-27 09:29:11 +01:00
Nefi Guclu
27b72ff845 prplAgent: Implement BTM Steering Disallowed STA list
The BTM Steering Disallowed STA list, as specified in the EasyMesh specification,
was not previously implemented in prplAgent.

This commit introduces support for handling the BTM Steering Disallowed STA list
by maintaining it in `AgentDB` and ensuring that affected STAs are steered using
the appropriate mechanism.

Issue:PPM-3209
Signed-off-by: Nefi Guclu <nefi.guclu@airties.com>
2025-03-26 19:24:49 +03:00
Arda Aras
2345a98fd7 agent: Correcting the operating class reporting in operating channel report
The operating channel report shall include operating classes corresponding
to each channel bandwidth in which the radio is currently operating.

Example: If primary channel 40 with a 160MHz bandwidth is selected, the report
should include primary channel 40 for operating class 115 (20MHz), primary
channel 40 for operating class 117 (40MHz), center channel 42 for operating
class 128 (80MHz) and center channel 50 for operating class 129 (160MHz).

PPW-341

Signed-off-by: Arda Aras <arda.aras@airties.com>
2025-03-19 14:28:34 +03:00
Durmus Koyuncu
cfe0a24193 Retrieve Neighbor AL MAC from Topology Discovery Messages
The neighbor AL MAC address for wireless clients is retrieved from
topology discovery.

The LinkMetrics and CombinedInfraMetrics tests have been updated.
Link Metric Query is sent for neighbor agent, not for station.

PPW-182

Signed-off-by: Durmus Koyuncu <durmus.koyuncu@airties.com>
2025-01-20 13:55:21 +03:00
Maarten De Decker
28b8c321be CI: Disable failing boardfarm tests
Deprecation of non-WHM platforms has led to some boardfarm issues related to fetching VAP/channel information for WHM-based platforms.
Boardfarm has to be adapted to accomodate for this.

These boardfarm tests are disabled with this commit:
*ApConfigRenew
*ClientAssociation
*ChannelSelection

These tests will be enabled again in PPM-2992.

Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2024-09-06 16:44:31 +02:00
Frederik Van Bogaert
4e827095bc CI: Rework boardfarm configuration to remove dropped platforms
We will now use Turris Omnia and Haze exclusively in boardfarm
This commit changes boardfarm configuration to start supporting and configuring Haze in the boardfarm testbed.

Signed-off-by: Frederik Van Bogaert <frederik.vanbogaert@mind.be>
Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2024-09-06 16:39:27 +02:00
Dmytro Puz
da66bde945 tests: ajust nbapi_capabilities test.
PPM-2376.

Signed-off-by: Dmytro Puz <d.puz@inango-systems.com>
2024-08-23 13:42:22 +03:00
rramasamy
00c6591a12 controller: client_steering_task : add delay between ACL and Steering Request
While testing steer_client using beerocks_cli, observed sequence
mismatching between ACL and Steering request in fronthaul process.
Due to this Client steering is not working as expected in some
scenarios.

To avoid this sequence mismatch added delay between ACL and Steering
request message while sending from controller.

Signed-off-by: rramasamy <rramasamy@maxlinear.com>
2024-08-02 14:54:12 +02:00
bsrinivasan
460a70bd18 tests: environment.py: Adapt test file
Adapt the environment.py for the new changes
in the bml_conn_map output.

PPM-2854

Signed-off-by: bsrinivasan <bsrinivasan@maxlinear.com>
2024-05-10 17:10:23 +08:00
Mohammed SI ALI
824a377199 Merge branch 'feature/PPM-2627-NBAPI-Adding-Group' into 'master'
Controller : NBAPI: added object "Group" to the Network object Network group...

Closes PPM-2627

See merge request prpl-foundation/prplmesh/prplMesh!3578
2024-04-23 15:57:26 +00:00
Houssem Dafdouf
13e05d8641 boardfarm: set AP Enable status to true when configuring SSID
The PPM-2627 implementation requirement :

 - An Accesspoint is set enabled only if Network, its group and its Enable flags are all set to True.

During the boardfarm test execution no group naing is implemented. Only setting the AP status to Enable must work.

Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2024-04-23 14:53:44 +02:00
Sagemcom
a17b9387c9 Refactor bml_conn_map to remove usage of nodes and remove radio nodes
Signed-off-by: Sagemcom <prplmesh.opensources@sagemcom.com>
2024-04-16 11:17:31 +02:00
Sagemcom
f153a0cb63 bml_conn_map: refactor to use new Agent class
Refactor also the parent relationships

Signed-off-by: Sagemcom <prplmesh.opensources@sagemcom.com>
2024-04-12 09:05:11 +02:00
Sagemcom
6d0adb33cd controller_db: move Interface and Neighbor from node to Agent class
Signed-off-by: Sagemcom <prplmesh.opensources@sagemcom.com>
2024-03-27 18:28:19 +01:00
Marouan MCHARFI
efa60793eb ci: tests: boardfarm: fix/rework ubus command output
with the upstep of ambiorix, extra output are given by ubus command
"{}
{"amxd-error-code": 0}"
this lead to an issue when parsing the output directly with json lib.

We get rid of this extra output

Signed-off-by: Marouan MCHARFI <marouan.mcharfi_ext@softathome.com>
2024-03-27 06:39:02 +01:00
Maarten De Decker
2c539a99b0 ci: increase startup delay in test-gw-repeater and boardfarm
Allow more grace time for unstable tests running in docker.

Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2023-11-29 21:46:57 +01:00
ddking_97
35f5501ff7 fix channel_selection.py test
Signed-off-by: ddking_97 <d.puz@inango-systems.com>
2023-11-05 12:09:27 +02:00
Maarten De Decker
06359aed37 ci: boardfarm: nbapi_access_point: remove from test flows
It is possible the log files are rotated between an AP commit, and BSS check config which results in the wrong log file to be searched.
Turn this test off until it passes reliably.

Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2023-07-06 22:08:38 +02:00
Frederik Van Bogaert
ba4da66ed9 Merge branch 'feature/PPM-2016-capability-report-set-present-flag-for-backhaul-MAC' into 'master'
Capability reporting task - set present flag for backhaul MAC address.

Closes PPM-2016

See merge request prpl-foundation/prplmesh/prplMesh!3470
2023-06-07 15:46:13 +00:00
Pazenko, Dmitriy
fbcd0c87cc Capability reporting task - set present flag for backhaul MAC address, fixed radio backhaul test.
Signed-off-by: Pazenko, Dmitriy <d.pazenko@inango-systems.com>
2023-05-24 19:07:15 +06:00
Igor Plesser
0b58a161af MediaType field type changed from uint16 to string
Signed-off-by: Igor Plesser <i.plesser@inango-systems.com>
2023-05-23 13:13:55 +06:00
ddking_97
dd835a692a tests: the files come from the docker runner had root user permissions.
changing the permissions in the docker container
right after running the Boardfarm tests worked.

Signed-off-by: ddking_97 <d.puz@inango-systems.com>
2023-03-28 13:01:12 +03:00
Raphaël Mélotte
9cccb4218d tests: openwrt: capture_logs.sh: allow setting LOG_DIR externally
It can sometimes be desirable to collect logs somewhere else than in
the prplMesh top level directory.

Check for LOG_DIR and do not override it if it's set, to allow setting
it externally.

Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
2023-03-02 15:05:44 +01:00
Maarten De Decker
93a83e033e ci: boardfarm: parse ucc port ignoring IPv6
When a docker runs a containerized instance of prplMesh, it can bind the UCC port to both an IPv4 and IPv6 address.
The boardfarm script then fails to parse the local UCC port.

Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2023-02-10 12:18:51 +01:00
Maarten De Decker
ef934294eb Merge branch 'hotfix/CI-certification-reduce-tests-in-variants' into 'master'
CI: reduce the number of tests done in a nightly certification run

See merge request prpl-foundation/prplmesh/prplMesh!3321
2023-01-15 20:02:11 +00:00
Maarten De Decker
1a08543acc ci: certification: reduce tests in variants list and add R4 variants
Further divides the test variant lists to make certification runs smaller.
Adds variant lists for R4.
The full R4 test list is a concatination of all_agent_tests.txt and all_controller_tests.txt.
The test list seems to match the R4 MasterTestInfo file, with a few execptions compared to the R4 test plan (V4.0):
Removed from the test plan, but replaced by another test in MasterTestInfo:
 - MAP-4.5.1 -> MAP-4.5.2
 - MAP-4.6.1 -> MAP-4.6.2

In the test plan, but not in MasterTestInfo:
 - MAP-5.3.1
 - MAP-5.10.1
 - MAP-5.10.2

Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2023-01-12 11:23:19 +01:00
Ahmed Amine HAOUES
e8ef9f222c master: boardfarm test: clientSteeringDummy: disable dummy sta BTM Support to keep default behavior
- disable BTM support on dummy station to allow default steering behavior in boardfarm test
(i.e Disallow on original bss)

https://jira.prplfoundation.org/browse/PPM-2142

Signed-off-by: Ahmed Amine HAOUES <ahmed-amine.haoues_ext@softathome.com>
2022-12-23 09:27:58 +01:00
Raphaël Mélotte
d9cdc1d0fb tests: test_gw_repeater.sh: increase the initial delay to 10 seconds
As can be seen in [1], prplMesh now seem to require more time to start
than before.

Since we do not have the bandwidth to investigate the issue now, raise
the initial delay to 10 seconds so that we can still enable this test
in CI.

[1]: https://gitlab.com/prpl-foundation/prplmesh/prplMesh/-/merge_requests/3149

Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
2022-11-30 11:14:21 +01:00
Raphaël Mélotte
e90c4100be tests: environment: remove leftover launch_environment_docker()
Commit a443503dd2 removed the last usage
of launch_environment_docker(), but didn't remove the function itself,
so remove it now.

Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
2022-11-30 11:14:21 +01:00
Yoni Abecassis
8b7459dba1 tests: nbapi_capabilities: fix finding non-operable channel
Fix finding the non-operable channel in non-operating channels.
The problem is that currently if the channel does not exist in the
first or the second place in the list, then the test will fail.

Signed-off-by: Yoni Abecassis <yabecassis@maxlinear.com>
2022-11-30 00:18:22 +02:00
Adam Dov
7c99c5e32a Merge branch 'hotfix/remove-unneeded-mac-from-update-credentials' into 'master'
hotfix: Remove unneeded mac from the update credentials flow

See merge request prpl-foundation/prplmesh/prplMesh!3263
2022-11-21 05:23:58 +00:00
Itay Elenzweig
6d565987c3 tests: remove unneeded mac from update credentials
Remove the unneeded AL-MAC parameter from the update-wifi-credentials
tests.

Signed-off-by: Itay Elenzweig <ielenzweig@maxlinear.com>
2022-11-17 14:15:50 +02:00
Nandhini Murugesan
5451b61121 boardfarm_tests: change regex for LinkMetricsCollectionTask related messages
Modify check_log to check the log in Agent instead of
BackhaulManager for LinkMetricsCollectionTask related messages.

https://prplfoundationcloud.atlassian.net/browse/PPM-1681

Signed-off-by: Nandhini Murugesan <nmurugesan@maxlinear.com>
2022-11-16 17:20:41 +05:30
Victor Pushkarev
e098a524d8 boardfarm: add TODO to implement checks for MultiApPolicyConfigWSteeringPolicy
Add comment to implement checks for boardfarm test of
Multi-AP Policy Config Request message - for related TLVs
and the corresponding DM objects.
Created PPM-2360.

PPM-2231

Signed-off-by: Victor Pushkarev <v.pushkarev@inango-systems.com>
2022-11-14 16:02:49 +02:00
Victor Pushkarev
7307f3793e boardfarm: add TODO about checking Device Inventory TLV
Add TODO comment about implementing checks for
Device Inventory TLV and related DM objects.
Created PPM-2333.

PPM-2231

Signed-off-by: Victor Pushkarev <v.pushkarev@inango-systems.com>
2022-11-14 16:02:49 +02:00
Victor Pushkarev
5b936dbd1e boardfarm: add TODO about checking AP Radio Advanced Capabilities TLV
Add TODO comment about implementing checks for
AP Radio Advanced Capabilities TLV and related DM objects.
Created PPM-2345.

PPM-2231

Signed-off-by: Victor Pushkarev <v.pushkarev@inango-systems.com>
2022-11-14 16:02:49 +02:00
Itay Elenzweig
8ec554fce8 tests: boardfarm: remove unnecessary teardown in agent
As part of the changes made in PPM-2286 the agent does not perform
unnecessary tear-downs anymore.
Instead it only tears-down the required BSSs.

We need to reflect these changes in the tests that validate the
auto-configuration flow.

Signed-off-by: Itay Elenzweig <ielenzweig@maxlinear.com>
2022-10-19 09:51:24 +03:00
Itay Elenzweig
e942e70464 tests: boardfarm: update the log grap in the teardown test
As part of PPM-2286 there were changes made in the auto-configuration
logs.

We need to reflect these changes in the tests that validate the
auto-configuration.

Signed-off-by: Itay Elenzweig <ielenzweig@maxlinear.com>
2022-10-19 09:51:24 +03:00