Commit Graph

64546 Commits

Author SHA1 Message Date
Hela Saadani
43fd3ce06f profiles: prpl: Allow Classifying Traffic as not Eligible for Hardware Packet Offload, and for Policy-Based Routing
Integrates following changes:
*tr181-routing
2d761cf ("policy: implement Routing.Policy.{i}.ForwardingPolicy", 2025-09-18)
c93e44d ("routing_manager.c: interpret return value of amxm modules functions correctly", 2025-09-22)
d48e8e2 ("policy: implement IPVersion parameter", 2025-09-22)
99797a1 ("README.md: update README with all classification criteria for policy based routing", 2025-09-23)

*tr181-qos
e07cc74 ("odl: classification: introduce DoNotOffload parameter", 2025-09-18)
4fc6907 ("classification: implement DoNotOffload parameter", 2025-09-18)
8e4cb02 ("classification: implement ForwardingPolicy parameter", 2025-09-18)
ab786a8 ("doc: update QoS.Classification documentation regarding fwmarks and hw offloading", 2025-09-23)
18bc682 ("test: classification: add unit tests for DoNotOffload and ForwardingPolicy params", 2025-09-23)
2070f9d ("Revert "PROVISORY: ci: disable unit tests"", 2025-09-26)
d890efb ("PROVISORY: test: disable bunch of failing unit tests", 2025-09-26)
9e5a24d ("README.md: fix outdated prerequisites for unit tests", 2025-09-26)

References: PCF-1910, PCF-2065, FEAT-102

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-10-10 18:45:54 +02:00
Ashik Ahmed A
fcb92c7f70 profiles: prpl_core: tr181-gnimanager: fix missing USP bus registration
Currently Device.X_PRPLWARE-COM_GenericNetworkInterface. is missed on the USP bus.
Thus the component is not available in USP controller. Fixed it by adding needed USP registration ODL configuration.

Fixes: PPW-1000
Signed-off-by: Ashik Ahmed <ashik-ahmed.a@capgemini.com>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [fix author name to match SoB, rebase]
2025-10-10 17:28:00 +02:00
prplbot
d613af2d43 profiles: prpl_core: backup-restore: align prplWare 4.0.0 Backup & Restore behavior
Following components are adapted to make sure the needed parameters of the datamodel survive an upgrade.

- tr181-led
- tr181-dhcpv6client: bump to v1.12.1
- oopsmonitor: bump to v1.2.1
- wan-manager: bump to v1.10.1
- reboot-service: bump to v1.0.6
- ethernet-manager: bump to v1.29.1
- amx-faultmonitor: bump to v1.3.1
- tr181-bulkdata: bump to v0.2.6
- tr181-periodicfileupload: bump to v0.3.1
- cellular-manager: bump to v1.1.1
- tr181-firewall: bump to v8.14.1
- tr181-mqttbroker: bump to v0.3.1

References: FEAT-132, PPW-609
Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-10-10 17:16:01 +02:00
Matthias Franck
4bc12a9f69 ci: cram: update tests after introduction of network mapper
References: PCF-1833, PCF-2086, PPW-976,PCF-2090, PPW-935, PCF-1836, PCF-1835, FEAT-13

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-10-10 17:04:58 +02:00
Hela Saadani
b57200c85f profiles: prpl: feed-prplos: Topology Management (a.k.a. Network Mapper): Generic Protocols. OS9
Integrates following changes:
* libtr181-hosts
- b332e54: ("Add Doxygen code documentation", 2025-10-02)
- abf051a: ("lib-tr181-hosts: get_host() should follow format Device.Hosts.Host.X", 2025-09-10)
- 658507a: ("upnp-discovery: remove dot at the end of Hosts data model parameter", 2025-08-13)
- 1e6473e: ("upnp-discovery: remove dot at the end of Hosts data model parameter", 2025-08-13)

* tr181-hosts
- e250d36: ("Add missing dogygen documentation", 2025-10-02)
- 2ca1cad: ("PROVISORY: test: disable failing unit test", 2025-10-01)
- a5b417e: ("Revert "PROVISORY: ci: disable unit tests"", 2025-10-01)
- b4c43b6: ("doc: update documentation", 2025-09-30)
- b4c831e: ("hosts-definitions: make key parameters %read-only", 2025-09-15)
- c7a2fdc: ("test/hosts_sync: correct test checking for removed hosts", 2025-09-12)
- c032e38: ("tr181-hosts: fix hosts-manager freeze when CleanupHostsThreshold exceeded", 2025-09-12)
- 6e52d83: ("sync: remove terminating dot from Hosts.Host.{i}.DHCPClient", 2025-09-10)
- 5ad5371: ("test_sync: test new max hosts config", 2025-08-28)
- 1c18914: ("hosts_sync: add tr181 standardized max hosts config", 2025-07-23)
- 19d81f3: ("time_sync: track whether Time is currently synced to NTP", 2025-08-28)
- 43d8ba5: ("hosts_utils: move common utility functions to utils header", 2025-08-28)
- 85c0239: ("test/hosts_sync: fix inconsistent model setup/teardown", 2025-09-01)
- 42cd2b6: ("test/hosts_sync: add Layer3Interface unit test", 2025-08-12)
- ae040fd: ("test/test_sync: update existing sync tests", 2025-08-12)
- 756b6a1: ("test/mock_netmodel: mock additional (query) functions", 2025-08-12)
- bd9d425: ("test/mock_netmodel: fix expected subscriber name", 2025-08-12)
- ef0ac87: ("test/mock_netmodel: add properly mocked NetModel", 2025-08-12)
- 972aee2: ("hosts_sync.c: skip vlan ports for layer3interface", 2025-08-07)
- 71148b8: ("test: replace common test device Alias with macro", 2025-08-07)
- 204c737: ("test/hosts_sync: add sync from alternatives unit tests", 2025-08-07)
- ad91c75: ("hosts_sync.c: synchronize AssociatedDevice from alternatives", 2025-08-05)
- 8ed3e16: ("test: update unit test", 2025-06-25)
- ebdb9a7: ("_ip_info_updated: prefer reachable address", 2025-06-25)
- 596a2b4: ("hosts_sync.c: invalid NULL check", 2025-06-19)
- 90c4a6a: ("tr181-hosts: enforce upper-case PhysAddress content", 2025-06-12)
- 6a05e73: ("tr181-hosts: AccessControl and Schedules are not correctly applied", 2025-06-12)
- 5b1e5fc: ("tr181-hosts: access denied: "WANBlock" Tag Remains After Deleting or Disabling the Schedule", 2025-03-18)
- 7d3ce78: ("tr181-hosts: access denied: Device Blocked Instead of Allowing Access at Scheduled Time", 2025-02-07)
- 700e902: ("test_sync: test pcm import", 2025-04-22)
- f404f49: ("test_sync: test delayed open gmap query success", 2025-04-22)
- c8e0a2c: ("test: fix current tests", 2025-04-15)
- 5ea271c: ("sync: allow hot-restore from backup data", 2025-04-15)
- a960cd2: ("tr181-hosts: optimimze path to intf type", 2025-04-14)
- 431c4e1: ("dm_hosts_*: don't use amxc_string(_setf) for literals", 2025-04-14)
- f53f405: ("unit tests: add a unit test to cover the IPAddress parameter behavior", 2025-02-06)
- 88bcdb4: ("tr181-hosts: prioritize showing IPv4 address information", 2025-02-05)
- 05ad70f: ("tr181-hosts: debounce hosts WANStats reads", 2025-01-23)

*tr181-dnssd
- 0c63c7e: ("[TR181-DNSSD] DNS.SD.AdvertisedInterfaces is deprecated", 2025-07-10)
- 04555d8: ("[TR181-DNSSD] Fix DNSSD.Service.Host to show Host Path Names", 2025-09-15)

*tr181-homeplug
- 926aeb9: ("doc: fix documentation target", 2025-10-02)
- 75899cd: ("ci: baf: update autogenerated files", 2025-10-01)
- 6e0e064: ("TR181-Homeplug: Add doxygen comments", 2025-10-01)
- 20a567a: ("TR181-Homeplug: Update the doxygen file.", 2025-09-30)
- 49c08ad: ("TR181-Homeplug: Update the readme file.", 2025-09-29)
- 0984d54: ("tr181-homeplug: Topology Management (a.k.a. Network Mapper) - MME (PCF-1836)", 2025-08-25)

*tr181-dhcpv6s
- 7f384f3: ("tr181-dhcpv6s: handle all Option tags under Client.{i}.Option.{i}, not just Tag 39 (HOP-9809)", 2025-07-29)

* odhcpd:
- bcdd7dc: ("doc: add initial documentation", 2025-10-01)
- 5f1ae8d: ("odhcpd-ia: add raw options", 2025-09-22)

References: PCF-1833, PCF-2086, PPW-976,PCF-2090, PPW-935, PCF-1836, PCF-1835, FEAT-13

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-10-10 17:02:10 +02:00
Matthias Franck
3ef44e4d65 ci: cram: 005-build-config: correct expected output after integration of tr181-conntrack-query
During integration of tr181-conntrack-query it was seen that two config options were named incorectly:
- CONFIG_SAH_AMX_TR181_CONNTRACK_QUERY_AS_GROUP="tr181_app"
- CONFIG_SAH_AMX_TR181_CONNTRACK_QUERY_AS_USER="tr181_app"

During integration these options were replaced in the system by:
- CONFIG_SAH_AMX_TR181_CONNTRACK_QUERY_RUN_AS_GROUP="tr181_app"
- CONFIG_SAH_AMX_TR181_CONNTRACK_QUERY_RUN_AS_USER="tr181_app"

This commit adjusts the tests accordingly.

References: PCF-2107

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-10-10 15:13:17 +02:00
Sarra Kacem
a7280c32c3 ci: cram:add the new Device.DHCPv6.Client.{i}.X_PRPLWARE-COM_DHCPv6Status parameter
Problem: CRAM tests are failing because the new parameter Device.DHCPv6.Client.{i}.X_PRPLWARE-COM_DHCPv6Status is not recognized.

Solution: Update the CRAM test definitions to include the new DHCPv6Status parameter.

References: PCF-1839

Signed-off-by: Sarra Kacem <sarra.kacem_ext@softathome.com>
Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
(cherry picked from commit 935387da12)
2025-10-10 13:14:35 +02:00
Matthias Franck
ba4b3afb25 PROVISORY: ci: 125-conmon.t: temporarily disable DHCPv6 check
Currently the cram testbeds doesn't support DHCPv6, so the test needs to be disabled
to keep CI green. Will be enabled later when testbed properly supports DHCPv6.

References: PCF-1786

Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-10-10 13:14:34 +02:00
Nicolas BESNARD
abaa4eb889 ci: cram: obuspa.t: add tr181-conmon component
References: PCF-1840
Signed-off-by: Nicolas BESNARD <nicolas.besnard_ext@softathome.com>
2025-10-10 13:14:31 +02:00
Nicolas BESNARD
c628f41934 ci: cram: conmon: add initial cram test for conmon
Add test for tr181-conmon.
The cram test checks ConMon status and checks that the error counters are 0.

References: PCF-1840
Signed-off-by: Nicolas BESNARD <nicolas.besnard_ext@softathome.com>
2025-10-10 13:14:31 +02:00
Hela Saadani
5d54fbe4b0 ci: cram: ubus-datamodel-list: Add conmon
Add ConMon data model check for overl DM check

References:PCF-1840

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-10-10 13:14:28 +02:00
Hela Saadani
cf448efe86 ci: cram: 005-build-config: Add conmon
add conmon to the config for smoktest

References:PCF-1840

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-10-10 13:14:24 +02:00
FAOUZI YAHYA
18a9a897c7 profiles: prpl: feed-prplos: tr181-conmon: WAN IP Connectivity Monitoring. OS7- Neighbor discovery
Integrates:
- Add compatibility for non dot terminated paths (PCF-1840) (6688006e)
- Add unit test for non dot terminated reference (PCF-1840) (cde75cb3)
- DHCPv4 MIB: Clear dhcpv4-up and dhcpv4-bound flags when the MIB is removed (ac954104)
- [Terminating dot][tr181] fix DHCP4 client (PCF-1840) (94e00cd1)
- cca09ce: ("Initial commit", 2025-06-16)

add conmon to prplos image

References: PCF-1840, PPW-417, PPW-694

Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2025-10-10 13:05:03 +02:00
muralisenthil
492cf1dcb0 prpl.yml: feed_prplos : Integrating Tr-181-conntrack - Enumerate Conntrack Connections feature with prplos (FEAT-90)
Implements: PCF-2107. Adding associated cram
testcases for this feature.

Closes PCF-2107

Signed-off-by: muralisenthil <murali-senthil.alagesan@capgemini.com>
2025-10-10 10:23:07 +02:00
Nabil BIZID
c9e9a8d596 ci: cram: nat: adapt reverse portmapping test to use LCM container
Update the reverse portmapping NAT test that uses the LCM
agent to correctly assign the necessary Linux capabilities.

Additionally, leverage the existing LCM infrastructure
for related operations such as installation, EE setup,
and execution within the container.

Signed-off-by: Nabil BIZID <nabil.bizid@softathome.com>
2025-10-10 09:00:54 +02:00
prplbot
199d1c152a profiles: lcm.yml: feed_lcm: cthulhu-networking: handle default or invalid network configuration
Integrates following changes:
- networking: handle default or invalid network configuration (4cdba37e)

References: PPW-944, LCMFT-559
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-10 09:00:49 +02:00
prplbot
b40fddb7dd profiles: prpl.yml: feed_lcm: cthulhu: bump to bugfix_PPW-992
Integrates following changes:
- cthulhu: ApplicationUUID should point to UUID iso DUID (f440089e)
- cthulhu: Container creation should fail if metadata is invalid (59d4c96f)
- cthulhu: ApplicationData input validation (b879ee49)
- cthulhu: Ensure AppData entry is created for disabled containers (b6d90908)

References: LCMFT-552, PPW-922
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-10 06:39:58 +00:00
Petr Štetiar
8a172d1b03
profiles: x86_64: fix build failure by increasing rootfs size to 150MiB
We've started adding more features recently which increased rootfs size,
resulting to the following builds errors:

  Pseudo file "dev" exists in source filesystem "/builds/prpl-foundation/prplos/prplos/build_dir/target-x86_64_musl/root-x86/dev".
  ...
  Creating 4.0 filesystem on /builds/prpl-foundation/prplos/prplos/build_dir/target-x86_64_musl/linux-x86_64/root.squashfs, block size 262144.
  [|                                                             ]    0/4678   0%error: ext4_allocate_best_fit_partial: failed to allocate 135 blocks, out of space?
  Creating filesystem with parameters:
      Size: 136314880
      Block size: 4096
  ...
  make[4]: *** Waiting for unfinished jobs....

So lets fix it by increasing the size of rootfs to 150MiB.

References: PCF-2021, FEAT-54
Fixes: b58f476c16 ("profiles: prpl: add support for pkcs11 and softHSM")
Link: https://gitlab.com/prpl-foundation/prplos/prplos/-/jobs/11402124317#L9008
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2025-10-09 20:03:03 +00:00
Toon Caeyers
7cb0509ce0 ci: cram: ubus-datamodel-list: Replace PeriodicFileUpload by PeriodicFileTransfer
As per PCF-1940, the PeriodicFileUpload datamodel is replaced by PeriodicFileTransfer. The test should be updated accordingly

References: PCF-1940
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
2025-10-09 20:54:33 +02:00
Toon Caeyers
e1443e6906 ci: cram: obuspa: Replace PeriodicFileUpload by PeriodicFileTransfer
As per PCF-1940, the PeriodicFileUpload datamodel is replaced by PeriodicFileTransfer. The test should be updated accordingly

References: PCF-1940
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
2025-10-09 20:54:33 +02:00
FAOUZI YAHYA
40cdee59c9 profiles: prpl: feed-prplos: periodicfileupload: upstep to new architecture
Integrates following changes:
-lib_filetransfer: give the possibility to enforce a preferred IP version for a transfer (96cc196d)
-PeriodicFileUpload: Use Security.Certificate / ForceTransfer refactor (9d2a9652)
-ci: add missing zlib and mod-dmext to baf.yml (c5390406)
-FileTransfer: Making hook script async (917e29fa)
-tr181-periodicfileupload: Path Taken Without Trailing Dot Causes Error in libfiletransfer (ed41b811)
-FileTransfer: Upstep to new architecture (a95d9fbc)

References: PCF-1940

Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
2025-10-09 20:54:16 +02:00
Christian Marangi
d21bd6593b ci: cram: 038-lcm-fd.t: add Mozart entry for script functions
Add Mozart entry to get_container_name() and get_board_arch script
functions to correctly select the container arch and name for the
Arcadyan Mozart device.

References: PPM-3436
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-10-09 18:05:06 +00:00
Christian Marangi
62d7faaf86 PROVISORY: ci: mozart: 110-prplmesh-dataelements.t: disable failing status test
Currently the prplMesh operational state test is failing after the
rebase onto OpenWrt 24.10:

   $ R "/opt/prplmesh/scripts/prplmesh_utils.sh status" | LC_ALL=C sort
   pgrep: pattern that searches for process name longer than 15 characters will result in zero matches
   Try `pgrep -f' option to match against the complete command line.

So lets disable the test until the issue is fixed.

References: PPM-3436
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-10-09 18:05:06 +00:00
Christian Marangi
d467fd4524 ci: cram: mozart: sync wifi tests with 24.10 release
Sync wifi tests with new prplOS 24.10 release.

References: PCF-1970
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-10-09 18:05:06 +00:00
Christian Marangi
09c989d862 ci: cram: mozart: sync build config test with 24.10 release
Sync Arcadyan Mozart build config test with new package/config
introduced with 24.10 prplOS release.

References: PCF-1970
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-10-09 18:05:06 +00:00
Christian Marangi
a7837bc510 ci: cram: 105-temperature.t: restore regex for TemperatureStatus _get
On updating the test for the new variable "PollingMaxRetry", the regex
for the NumberOfEntries was wrongly hardcoded to 13.

Restore the original matching for the test.

Fixes: 38dc179bb4 ("ci: cram: 105-temperature.t: update tests after adding PollingMaxRetry parameter")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-10-09 18:05:06 +00:00
Christian Marangi
548bcfb519 Revert "PROVISORY: ci: disable support for Mozart board"
This reverts commit 743214c800.

Enable test for Mozart board now that they are supported again.

References: PCF-1970
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-10-09 18:05:06 +00:00
Christian Marangi
718bcc34e1 profiles: mtk_filogic: Update feed to track new latest-24.10 branch
Update mediatek feed to track new latest-24.10 branch to better support
prplOS 24.10 release.

References: PCF-1970
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-10-09 18:05:06 +00:00
Christian Marangi
3b4390a5c8 ci: builder: Install required Swig package for U-Boot prereq
New U-Boot dependency require the additional Swig package to correctly
build for some Target.

Add it to the list of Host package in the builder Dockerfile.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-10-09 18:05:06 +00:00
Christian Marangi
455d3d0b8a Revert "netifd: allow concurrent build with wifi-scripts"
This reverts commit e26e856459.

From release 24.10 we always use wifi-scripts and netifd doesn't ship
netifd-wireless.sh anymore.

When wifi-scripts is selected, the netifd install fails as it can't find
the local script to remove.

To fix it, drop the workaround entirely.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-10-09 18:05:06 +00:00
Christian Marangi
2049a65a9c PROVISORY: ci: build: manually install swig package
While Docker image is updated for Swig package inclusion, install it in
build workflow.

References: PPM-3436
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-10-09 18:05:06 +00:00
Tim Hsu
213e6be457 profiles: prpl: qca_ipq95xx: fix EFR32MG, LEDs, pstore and build/packages
* remove unused omci, omci-base, and trex-drv packages to resolve build errors
	The image build process generated error messages for three unused packages: omci, omci-base, and trex-drv. Removed these packages to prevent unnecessary build errors.

* remove dependencies on nonexistent packages
	This commit addresses build warnings caused by references to nonexistent packages in several Makefiles During the build process, multiple warnings were reported indicating dependencies on packages such as kmod-crypto-ocf, kmod-qca-wifi, kmod-qca-nss-crypto, kmod-qca-mcs, kmod-qca-hyfi-bridge, qca-nss-fw-eip-al, and kmod-qca-rfs , which do not exist in the current build environment.
	Removed dependencies on missing packages in the affected Makefiles to resolve these warnings. This fix was originally made by Nikhil Gurram in branch dev_ath13.0-ipq95xx.

* Enable CONFIG_PSTORE_RAM
	kernelfaults module will retrieve panics and oops form pstore. 64 KiB reserved for ramoops/pstore

* add support for EFR32MG
	Enable UART and I/O expander to support ATH13.0 for EFR32MG on the Freedom board.

* add support for LED driver
	The I2C multiplexer TCA9548A is connected to the I2C3 bus. The I/O expander TCA6416A is connected to channel 5 of the I2C multiplexer TCA9548A and is controlled by GPIO17/18 for interrupt and reset. The LED driver LP5562 is connected to the I2C3 bus and enabled by GPIO13 of the I/O expander TCA6416A. The LED driver LP5562 controls one RGB LED and one white LED. Set up the system indicator lights.

Fixes: PCF-1968 PCF-1977 PCF-2028 PCF-2027 PCF-2059
Signed-off-by: Tim Hsu <tim.hsu@wnc.com.tw>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [rebase]
2025-10-09 20:03:34 +02:00
prplbot
4f41223ece profiles: prpl: feed_prplos: Routing read-only compliance with TR-181
Integrates following changes:
- baf: introduce the baf.yml file (c70cd7a0)
- ci: include the ci templates (66f7fc15)
- ci: baf: update autogenerated files (925a95f9)
- InterfacePath: Add compatibility for non dot terminated paths (de04786d)
- odl: make data model parameters read-only according to TR-181(PCF-1850) (de3ebdb9)
- route information: automatically create instances at startup (PCF-1850) (93685f69)
- unit test: add test for automatic RouteInformation.InterfaceSetting (PCF-1850) (75fa6a9a)
- ipv6,route information: don't modify (PCF-1850) (4971bc0e)

References: PCF-1850
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-09 19:03:43 +02:00
Alexandre Fiset
9ec0abe31e time: 070-time.t: add test for POSIX validation
Problem:
========

No POSIX check was done for the Time.LocalTimeZone

Solution:
=========

Add a check for a random POSIX compatible timezone and a check for non
valid POSIX timezone

References: PPW-511

Signed-off-by: Alexandre Fiset <alexandre.fiset@softathome.com>
2025-10-09 18:28:54 +02:00
prplbot
6711bb6875 profiles: prpl_core.yml: feed_prplos: time-manager: Time.LocalTimeZone does not properly support IEEE 1003.1 (POSIX) time zones
Integrates following changes:
- time: timezone: Change validation function (d7e90b2f)
- ci: baf: update autogenerated files (c47cf006)

References: PPW-511
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-09 18:28:53 +02:00
ashikaa
b30d0085c0 profiles: prpl: tr181-flashmonitor: Flash Wear Monitoring Support in prplOS
Introduce a flash health monitoring service to support wear-level tracking and predictive failure analysis of NAND and eMMC flash devices under TR-181 data model.

- Enumerates all flash devices (eMMC, NAND via UBI) and exposes wear metrics
- Supports vendor-specific and standard wear indicators via mmc-utils and ubinfo
- Enables operators to assess device reliability and take preemptive action
- Proposes TR-181 extension for flash health, targeting BBF standardization

This component enhances operational visibility into flash degradation, enabling smarter lifecycle management and reducing field failures in prplOS deployments.

Implements: PCF-2008, FEAT-92

Signed-off-by: Ashik Ahmed A <ashik-ahmed.a@capgemini.com>
2025-10-09 18:12:37 +02:00
prplbot
e8f631570f profiles: lcm.yml: feed_lcm: librlyeh: bump to v1.4.1
Integrates following changes:
- librlyeh: do not print registry password in clear text (fce2dd0f)

References: LCMFT-423, PPW-863
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-09 11:52:55 +00:00
prplbot
9f6242dba4 profiles: prpl.yml: feed_prplos: tr181-dynamicdns: bump to v1.7.0
Integrates following changes:
- ci: enable crosscompilations and unit tests (284ee28e)
- dynds: ddns-script: fix Protocl by replacing https by http (1602d8cd)
- dyndns: dns_disable_service: remove deprecated function (735634a4)
- dyndns: mod_ddns_uci: remove script wrapper with sleep and use only libamxp (6d72e20b)
- dyndns: odl: allow expanded Server parameter in Client (0d8a539c)
- dyndns: odl: make DynamicDNS.Server object upgrade persistent (f4a27a10)
- dyndns: ddns-script: improve ServerAddress parsing (5c83e953)
- dyndns: odl: make the Alias write once (343a106a)

References: PCF-1683
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-09 11:25:17 +02:00
Alexandre Fiset
772b50ed4f ci: cram: 005-build-config.t: remove mstpd related build config options
Problem:
========

mstpd is still enable in the configuration files were it was removed
from the bridge plugin

Solution:
=========

Remove the package configs of the bridge and mstpd

References: PPW-679

Signed-off-by: Alexandre Fiset <alexandre.fiset@softathome.com>
2025-10-09 11:04:19 +02:00
prplbot
61733d0a36 profiles: prpl: feed_prplos: tr181-bridging: remove mstp module
Integrates following changes:
- mod-stp-mstp: tr181-bridging: remove mstp module (f32fcc09)
- ci: baf: update autogenerated files (a87934e9)

References: PPW-679
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-09 11:03:47 +02:00
Maarten De Decker
bf105e65c8 profiles: prpl: prplMesh: bump to prplware-4.1-2025-10-07
Integrates following changes:
- whm: usp: the "from" parameter is empty when catching object change event (0fbccc9da)
- OSPv2: QoS: migrate from ebtables to tc (c42c92a2e)
- controller: nbapi: fix WPA3-Personal-Transition (f013bc31b)
- ap_manager: 802.11v Validity Interval adjustment (09defca48)
- bwl:whm:: Add BSSID to STA connection failure event (edab11c0a)
- ieee1905_transport: fix potential endian/bit-field issues in VLAN TCI (9943be77a)
- tlvf: fix Airties Eth Iface TLV to use correct Interface paths for status/admin (84740dc56)
- prplmesh_utils: use pgrep -f flag to avoid the 15-char limit (d045393ac)
- link_metrics_collection: Add WFA exception to multi-chan 11k Bcn Req handling (872e4d0f7)
- agent:Handle new TLV RSN Parameters Configuration in AP-Autoconfiguration WSC... (18c9370cf)

References:  PPW-947, PPM-3566, PPW-955, PPM-3519, PPM-3159, PPM-3059,
             PPM-3550, PPM-3436, PPM-3548, PPM-3291

Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2025-10-09 08:56:40 +00:00
Houssem Dafdouf
c58a2c3f87 ci: cram: freedom: properly stop/start prplmesh during mlo.t execution
Problem:
During the mlo.t cram test execution, the wld process may get stuck for
the same reason when previously the pwhm.t test was causing a similar
issue. (cf 72689c9980)

Cause:
- When mlo.t starts, we suspend the beerocks processes using SIGSTOP.
- When pwhm raises an event through the USP socket, it expects an
acknowledgement from prplmesh (the client). Since prplmesh is suspended
it never replies.
- This concerns ony the direct socket case, which is point-to-point
connection. With ubus, events are broadcasted, so no pear acknowledgement
is required.
- The issue became visible after unfiltering custom events in amxb_usp.

Solution:
Do the same fix as done in pwhm.t. ie: stop prplmesh properly before
starting the script so that it cleanly disconnects from the USP backend.

Fixes: PPW-1017

Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2025-10-09 08:56:40 +00:00
Petr Štetiar
fad852247f
ci: cdrouter: prplWare-Smoke-Test-Suite: add 7 new UPnP tests
To increase QA of UPnP/IGD stack, lets add following new 7 smoke tests with approx. runtime of 66 seconds.

+----------+-----------------------+----------------------------------------------------------------------------------------+
| Duration | Test Name             | Description                                                                            |
+----------+-----------------------+----------------------------------------------------------------------------------------+
| 1        | cdrouter_upnp_igd2_30 | Verify UPnP GetExternalIPAddress Action returns WAN IP address (IGD2)                  |
| 1        | ipv6_upnp_igd2_230    | Verify router responds to UPnP GetFirewallStatus action (IGD2, IPv6)                   |
| 2        | ipv6_upnp_igd2_10     | Verify XML description of IGD root device can be parsed (IGD2, IPv6)                   |
| 4        | cdrouter_upnp_igd2_45 | Verify UPnP Router rejects new port mappings that conflict (IGD2)                      |
| 5        | cdrouter_upnp_45      | Verify UPnP Router rejects new port mappings that conflict                             |
| 27       | ipv6_upnp_igd2_300    | Add/delete dynamic UPnP TCP port mapping for wildcard IPv6 source address (IGD2, IPv6) |
| 27       | ipv6_upnp_igd2_302    | Add/delete dynamic UPnP port mapping for wildcard IPv6 source address (IGD2, IPv6)     |
+----------+-----------------------+----------------------------------------------------------------------------------------+

References: FEAT-13, FEAT-85
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
Co-authored-by: Nikolai Merinov <n.merinov@inango-systems.com>
Co-authored-by: Timothy Winters <tim@qacafe.com>
2025-10-08 20:18:55 +00:00
Petr Štetiar
a144fe12cf
ci: cdrouter: add CDRouter-UPnP-IPv46-Failing with currently failing UPnP tests
In CDRouter-UPnP-IPv46 we've now all passing UPnP tests from both upnp
and upnp-v6 modules, which are known to be working as of today.

From the list of available 111 tests in CDRouter version 15.8.1 in both
upnp-v6.tcl (60) and upnp.tcl(51) modules we've removed following 30
tests currently known to be not failing:

  cdrouter_upnp_203, cdrouter_upnp_204, cdrouter_upnp_220,
  cdrouter_upnp_igd2_203, cdrouter_upnp_igd2_204, cdrouter_upnp_igd2_220,
  ipv6_upnp_35, ipv6_upnp_36, ipv6_upnp_40, ipv6_upnp_41, ipv6_upnp_45,
  ipv6_upnp_50, ipv6_upnp_100, ipv6_upnp_203, ipv6_upnp_204,
  ipv6_upnp_220, ipv6_upnp_igd2_20, ipv6_upnp_igd2_25, ipv6_upnp_igd2_35,
  ipv6_upnp_igd2_36, ipv6_upnp_igd2_40, ipv6_upnp_igd2_41,
  ipv6_upnp_igd2_45, ipv6_upnp_igd2_50, ipv6_upnp_igd2_100, ipv6_upnp_igd2_200,
  ipv6_upnp_igd2_203, ipv6_upnp_igd2_204, ipv6_upnp_igd2_220,
  ipv6_upnp_igd2_307

So lets introduce a new CDRouter-UPnP-IPv46-Failing package, with the
above mentioned failing tests (29) which would allow us tracking the
potentially remaining bits which needs to be fixed.

Link: https://support.qacafe.com/cdrouter/knowledge-base/upnp-testing-guide
References: PCF-720, PPW-336, FEAT-85, FEAT-244
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2025-10-08 20:18:54 +00:00
Petr Štetiar
587158c13d
ci: cdrouter: CDRouter-UPnP-IPv46: enable only tests which are passing
We're currently using just a subset of UPnP test cases as being
available in CDRouter via PCF-720.

We need to increase the QA of UPnP, so lets add complete upnp and
upnp-v6 modules, which are known to be working as of today. From the
list of available 111 tests in CDRouter version 15.8.1 in both upnp-v6.tcl
(60) and upnp.tcl(51) modules we're removing following 30 tests currently known
to be not passing:

 cdrouter_upnp_203, cdrouter_upnp_204, cdrouter_upnp_220,
 cdrouter_upnp_igd2_203, cdrouter_upnp_igd2_204, cdrouter_upnp_igd2_220,
 ipv6_upnp_35, ipv6_upnp_36, ipv6_upnp_40, ipv6_upnp_41, ipv6_upnp_45,
 ipv6_upnp_50, ipv6_upnp_100, ipv6_upnp_203, ipv6_upnp_204,
 ipv6_upnp_220, ipv6_upnp_igd2_20, ipv6_upnp_igd2_25, ipv6_upnp_igd2_35,
 ipv6_upnp_igd2_36, ipv6_upnp_igd2_40, ipv6_upnp_igd2_41,
 ipv6_upnp_igd2_45, ipv6_upnp_igd2_50, ipv6_upnp_igd2_200, ipv6_upnp_igd2_203,
 ipv6_upnp_igd2_204, ipv6_upnp_igd2_220, ipv6_upnp_igd2_307

So we can regression test UPnP stack in current state and thus improve the QA.

Cap the CI job runtime to 60 minutes as currently it seems, that it
takes around 53 minutes to complete.

References: PCF-720, PPW-336, FEAT-85, FEAT-244
Link: https://support.qacafe.com/cdrouter/knowledge-base/upnp-testing-guide
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
Co-authored-by: Nikolai Merinov <n.merinov@inango-systems.com>
2025-10-08 20:18:53 +00:00
Matthias Franck
f2d0d582b3 PROVISORY: ci: cram: mxl25641-hdk-6: 015-platform.t: remove failing sfp test
Changes in FEAT-97 are affecting the sfp datamodel.
It is now seen that the test to check detection of the sfp stick is failing.

The test will need adaptation later to make it aligned with the new datamodel.

Let's disable the test for now so that we can continue with a green CI.

Fixing this test is tracked in PPW-1015

References: PPW-1015, FEAT-97, PCF-1924

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-10-08 11:52:49 +02:00
Patrick ROGIER
4b80eda9cb ci: cram: update expected output after integration of SFP manager changes
References: PCF-1924

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-10-08 11:51:36 +02:00
ahmed sassi
ca17e08d39 profiles: prpl: SFP Manager: Support for BOSA SFP Modules as xPON Front-Ends
References: FEAT-97, PCF-1924

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-10-08 11:51:35 +02:00
Matthias Franck
6a19bc7d64 ci: cram: increase timeout with 4 minutes
Last days we introduced new features and tests in the CI.
Because of that we are hitting now and then the maximum excecution time.

So let's increase the timeout from 40 to 44 minutes.

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-10-08 10:50:38 +02:00
Artem Trokhymchuk
a185a03f98 ci: usp-discovery, tr069-discovery fix cram tests
References: PCF-1912, PCF-1925, FEAT-134
Signed-off-by: Artem Trokhymchuk <a.trokhymchuk@inango-systems.com>
2025-10-08 10:50:08 +02:00