We've a new 'cdrouter smoke' stage and since CDRouter-Wireless tests
should be run in this stage, lets move those tests there, to make the
test availability, execution etc. easier.
Closes: PCF-1645
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
Current CI testing pipeline is very comprehensive and unusable for
testing of more granular deliveries and thus a new prplWare Smoke Test
Suite is needed.
The idea behind this new prplWare Smoke Test Suite is, that the complete
test runtime should fit into the range of 60-90 minutes.
The new Smoke Test Suite should contain testing a bit of everything, so
we cover most of the areas, while being able to finish a test within a
reasonable timeframe.
Thus this new test suite combines the current:
* CDRouter TOP 100 IPv4 and IPv6 packages, minus:
- the longest running TCP/UDP firewall port scan tests:
* ipv6_firewall_100
* ipv6_firewall_101
* cdrouter_firewall_100
* cdrouter_firewall_101
* cdrouter_firewall_110
- the failing tests on OSP boards:
* cdrouter_nat_201 tracked in PCF-972
* cdrouter_l2tppt_2 tracked in PCF-971
* CDRouter TR-069 package, minus the reboot test od128_test_14.1
* CDRouter USP certification test cases + USP basic test + prpl HL-API
tests (minus the problematic and currently always failing prpl_hl-api.1.4 Set test)
* cdrouter_dyndns_1 - DynDNS client sends an update request when the WAN IP address changes
* cdrouter_dyndns_2 - DynDNS client does not update if the WAN reestablishes with the same IP address
So the package contains in total 310 CDRouter test cases.
Closes: PCF-1645
References: PCF-971, PCF-972
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
There is currently a lot of old and already very obsolete stuff in the
tree for the past devices like glinet-b1300, urx851-b0-dk, nec-wx3000hp.
So lets cleanup all those unused bits to make the tree more tidy and
easier to maintain.
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
We're going to use single smoke-test config to test bit of everything in
single test suite, so lets sync the DynDNS config from the generic
config.
References: PCF-1645
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
We're going to use single config for both IPv4 and IPv6 testing, so lets
sync the dhcpLeaseTime of 180 seconds from generic config, currently
being used for IPv4 based tests only.
References: PCF-1645
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
Copy over generic-ipv6 configuration to smoke-test, so later changes are
clearly visible.
References: PCF-1645
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
The tr181-mqttbroker has been introduced before, but it was decided to not include it for a prplos3.1 or prplos3.2 release.
Let's now enable it again as we want to include it in the next upcoming release.
This reverts commit eec456fa442b3d66b740631747bcc4a29607db77.
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
Integrates:
Debug: [UPnP-IGD] PCP interworking function is working even if Device.PCP.Client.1.UPnPIWF.Enable=0
Reference: PCF-1040
Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
Problem: [UPnP-IGD] PCP interworking function is working even if Device.PCP.Client.1.UPnPIWF.Enable=0
Cause: Device.PCP.Client.1.UPnPIWF.Enable isn't supported
Solution: Add Device.PCP.Client.1.UPnPIWF.Enable support
Reference: PCF-1040
Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
Integrates:
- e561d1d ("Do not consider a template object having no instances as an error", 2025-01-09)
- 13bae84 ("Add doc to includes", 2025-01-09)
- 9cf8811 ("Check return value of all snprintf() calls", 2025-01-09)
- 8d66513 ("Improve error messages for errors in incoming notifications", 2025-01-09)
References: PPW-268
Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
When we want to test development branches of components, we need to point to the gitrepo and branch/hash/version we want to checkout of the component(s).
The CI has a check to see if the checksum of the corresponding package is correctly set in the package makefiles.
With this change, one can set the "skip_integrity_check" label on a MR.
In this case, the integrity check is not performed and we can simply download and use the development branch of the gitrepo.
This allows us to make MRs on the fly for testing purposes. Without needing to calculcate the checksum every time.
References: PPW-408
Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
mod-xpon-prpl-mock package has been moved into feed_prplos in commit
16ae6b3e7a52 ("profiles: prpl: merge remaining feeds into single
feed_prplos"), so lets fix the source directory location.
References: PCF-1554
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
For the time being we’ve accepted internal prplWare feed structure as
being used within SoftAtHome.
This feed structure doesn’t fit into the working group structure and
workflows within the prpl Foundation, so it was decided, that it should
be changed.
Following feeds were merged into feed_prplos:
feed_board_configuration
feed_debug
feed_gmap
feed_mcastd
feed_net_core
feed_net_hl_services
feed_net_services
feed_netmodel
feed_opensource
feed_peripheral
feed_qos_firewall
feed_tr69
feed_usp
So lets adapt the feed configuration accordingly.
References: PPM-3113, PCF-1554
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
For the time being we’ve accepted internal prplWare feed structure as
being used within SoftAtHome.
This feed structure doesn’t fit into the working group structure and
workflows within the prpl Foundation, so it was decided, that it should
be changed.
pwhm and prplMesh are now part of one single feed_prplmesh, so lets
adapt the feed configuration accordingly.
References: PPM-3113, PCF-1554
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
Problem: Cannot set SSID during the configuration of the DUT
Cause: Starting from PWHM v6.34.1 we shouldn't use the terminating dot
when accessing SSIDReference and LowerLayers parameters.
Solution: Remove the termiantion dot when selecting SSID via the
LowerLayers reference.
Note: The previous version of the cdrouter-dut-configure-dyndns.sh was
based on PWHM version from prplOS 3.2 which is based on 6.34.0 with a
backport of only some PPWH/PPM tickets. The pwhm commit related to the
terminating dot change is not part of the list.
PWHM commit : b8706173c1240d8dabdd9816a49fd774b968c160
References: PPM-3069
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
The main purpose of this upstep is the integration of the Wifi7/MLO
feature.
Additional updates :
Feeds :
- Update libswlc to v5.30.2
CRAM tests :
- obuspa.t/ubus-datamodel-list.t : add new objects introduced by the
pwhm v7.x upstep
- 100-pwhm.t : update script to test MLO main link interface status
- 101-mlo.t : new script to test MLO deactivation
CDRouter updates (tri-band MLO prequesties) :
- Security mode is now set to WPA3-WPA2-Personal
- Add SAE in the expected key management mode list.
- Remove 'be' from the expected phy mode list on OSPv2. As it shouldn't
be broadcasted if MLO is not supported or when the access point is not
part of an MLD.
PWHM reference commit : 0627886f993c25b0de4ee628d9d07e7f67f01008
Closes: PPM-2984
References: PPW-228
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
The getDebugInformation is now exporting an archive like debug-TARGET_all.tar.gz.
So let us adapt the CI accordingly so that we use this archive to get the debug information file.
Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
This parameter is missing according to the cram test but when performing the same check manually on a board, the parameter is there.
We are removing the parameter from the test in order for the test to pass while we investigate the issue.
Issue: PPW-400 - X_PRPL-COM_DownloadResult.IncrementalResult missing
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
WORKAROUND: When the first check misses, the ddns script only rechecks after 60s,
this can fall just outside the allowed range of the test.
Lowering it to 30s should allow for the second check to still count.
Issue:PPW-282 - DynDNS 3.1 maintenance release CDRouter test fails
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
(cherry picked from commit de7bb3795ad55d21d94079bf699d15dde4d49d2d)
ProcessFaults.LastUpgradeCount keeps the crash count, even after clearing the crashes. As the cram tests and the CDRouter tests use the same post script, it should be such a test that works in both cases.
cram tests have a simulated crash (setting LastUpgradeCount to 1). In CDRouter LastUpgradeCount should be 0. By checking the contents of ProcessFaults we know if there were any crashes with the added benefit of seeing what crashed.
The check of the ProcessFaults parameters was move to the ProcessFaults cram test
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
Co-Authored-By: Petr Štetiar <petr.stetiar@prplfoundation.org>
Co-Authored-By: Vincent Harle <vincent.harle@softathome.com>
In tr181-bridging v2.8.17, support for spanning tree protocol (STP) was added.
This introduced a few new config options
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
The lib_netlink-utils library was changed in v0.1.3 to no longer depend on libnetfilter-queue, libnetfilter-log and libnetfilter-conntrack as they use GPLv2 license.
Since these dependencies are now removed, the related config options also need to be removed
Issue: Linking with GPL-2.0 licensed libnetfilter_* libraries, PPW-193
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
* v0.6.23 of ssh-server adds a ACL file to the cwmpd direcory instead of cwmp. This add an additional role
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
In v3.3.3 of tr181-dns two now parameters were added to the data model
* DomainExceptionsNumberOfEntries
* IPExceptionsNumberOfEntries
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
In v1.0.0 of the reboot-service multiple objects got renamed
* flush() to RemoveAllReboots()
* BootCounter to BootCount
* NumberOfReboots to RebootNumberOfEntries
* MaximumNumberOfReboots to MaxRebootEntries
* WatchdogRebootCounter to WatchdogBootCount
* Reboots.{i}.BootDate to Reboots.{i}.TimeStamp
* Reboot.{i} object is refactor according to BBF TR-181 2.18 which is defined like this:
- Reboot.{i}.FirmwareUpdated
- Reboot.{i}.Cause
- Reboot.{i}.Reason
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
In v1.6.0 of tr181-dhcpv6client, it now implements statistics data model and populates it with data received from odhcp6c via ubus. This commit adds the new parameters to the expected output
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
In v1.5.8 of tr181-DynamicDNS, extra parameters were added that allow different customizations. Required when using DSLite.
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
In v4.0.0 of cthulhu a Debug object was added to allow for keeping the overlayfs of a container mounted when it stops to help with debugging
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
In v0.15.8 of tr181-httpaccess the missing AvailableLanguages and CurrentLanguage tr181 parameters were added
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
* In v0.10.14 of tr181-upnp the the181capabilities object and parameters was implemented
* In v0.10.16 of tr181-upnp the AllowReserverAddr parameter was added to allow reserve addr creating a new parameter in the data-model
* In v0.10.17 of tr181-upnp the EnableIPv6 parameter was added to allow dynamic configuration of IPv6
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
In v1.6.7 of tr181-syslog a X_PRPL-COM_StructuredData parameter was added to support the ability to
log messages in structured-data format.
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
In v3.0.0 of timingila, these new parameters were added to support unprivileged containers as well as a CreationTime parameter
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
In ip-manager v1.47.8, the X_PRPL-COM_MTUMode parameter was added to support configuring the MTU for WiFi APs, Ethernet and Coax connections
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
In tr181-dhcpv6client v1.5.9 the X_PRPL-COM_DeviceConfig vendor prefix got simplified to X_PRPL-COM_Config
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
* Rework the test to look more detailed into the firewall rules set on the system
* Switch to using ba-cli instead of ubus-cli
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
In feed_lcm v4.0.1, a dependency on libacl is added to add the functionality to have containers run with an unprivileged user.
A new user will be created for each container, and the ownership of the
layers will either be modified through idmap mounting the layers if
available, or by modifying the acl of the layers with posix acl.
Issue: LCM-740 - Support for unprivileged containers
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
* tr181-time v2.7.8 updated the default name of the client to be capitalized to be in line with the default naming scheme.
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
* tr181-upnp v0.11.0 introduces a new config token CONFIG_SAH_AMX_TR181_UPNP_MOD_UPNPADVERTISE_LIBUPNP as well as a dependency on libupnp
This version of tr181-upnp was integrated in feed_net_services v12.8.0
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>