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>
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>
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>
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>
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>
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>
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>
- 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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>