Commit Graph

59747 Commits

Author SHA1 Message Date
prplbot
7a7177e232 profiles: prpl.yml: feed_prplmesh: pwhm: Integrating: wld_rad_nl80211: guard negative delta in other_bss_time calculation
Integrates following changes:
- wld_rad_nl80211: guard negative delta in other_bss_time calculation (0f1e2d90)
- ci: baf: update autogenerated files (b216939d)

References: PPW-1310, PPW-1268
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-12-19 13:13:12 +01:00
Houssem Dafdouf
557b362df7 ci: cram: wifi-usp.t: fix test order
Problem:
The wifi-usp.t script is impacting tests that verify the default wifi
interface configuration (network.t and wifi.t).

Cause:
The wifi-usp.t script, which recently started manipulating VAPs, is
being executed before network.t and wifi.t. Those tests implicitly
assume that VAPs have never been enabled, causing the precondition to
be broken.

Solution:
Run the wifi-usp.t script at the appropriate time after network.t and
wifi.t.

Note:
The wifi-usp.t script was being executed twice because it existed in
the generic/ folder and also a symlink is pointing to it in the DUT
folder.
To resolve this, and by the way the initial purpose of this commit,
let's move it under wifi/ folder and update symlinks accordingly.

Closes: PPW-1259
References: PPW-1208
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2025-12-19 10:29:38 +01:00
Houssem Dafdouf
db2ce83e6b ci: cram: wifi-usp.t: add pwhm usp events check
This commit adds a test to verify that USP events are raised through
the pwhm USP direct socket

Closes: PPW-1259
References: PPW-1208

Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
(cherry picked from commit d8602b0e1e)
2025-12-19 10:29:38 +01:00
prplbot
86c79bb5cd profiles: prpl.yml: feed_prplos: mod-amxb-usp: fix: translate output arguments and return values in USP invoke operations
Integrates following changes:
- fix: translate output arguments and return values in USP invoke operations (0fc67f2d)
- ci: baf: update autogenerated files (4f5de8e3)

References: PPW-1208, PPW-1262
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-12-19 10:29:32 +01:00
Benamor Imene
758bf12df0 ci: cram: add RotateProcessFaultEntries
Signed-off-by: Benamor Imene <imene.benamor_ext@softathome.com>
(cherry picked from commit 65e0e94843)
2025-12-18 11:52:51 +01:00
FAOUZI YAHYA
9477c9be9d ci: cram: obuspa: add RotateProcessFaultEntries
Integrates following changes:
- [faultmonitor] Implementation: Add ProcessFault Rotation option [new](PPW-620) (ea1e57d5)
- faultmonitor: [amx-faultmonitor] allow retrieval of early boot core dumps (PPW-620) (1ffe17f7)
- Apply 1 suggestion(s) to 1 file(s) (d42aac2f)
- Apply 1 suggestion(s) to 1 file(s) (8d65c7c5)
- MR Review: correct a possible memory leak (PPW-620) (f6542759)
- rc.d : Ensure Monitor plugins are stopped last during the shutdown process (PPW-620) (331a23bd)
- ci: baf: update autogenerated files (8b0e2050)
- faultmonitor: Make it possible to configure whether core dumps are stored or discarded (PPW-620) (7df8ff2e)
- faultmonitor: fault datamodel has empty Arguments and ProcessName variables (PPW-620) (b03d2fc8)
- faultmonitor: [fallback] fault datamodel has empty Arguments and ProcessName variables (PPW-620) (1eefac5e)

References: PPW-620

Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
(cherry picked from commit b1321daef2)
2025-12-18 11:52:51 +01:00
FAOUZI YAHYA
56bc3d6576 profiles: prpl: feed-amx: amxo-cg: upstep to v1.8.0
Integrates following changes:
-upstep to v1.8.0

References: Backported ticket PPW-297, backport ticket PPW-1280

Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2025-12-18 11:52:51 +01:00
FAOUZI YAHYA
8b6ef2b0c6 ci: cram: 005-build-config: update config AMX_FAULTMONITOR_STOP_ORDER and AMX_FAULTMONITOR_START_ORDER
Integrates following changes:
- [faultmonitor] Implementation: Add ProcessFault Rotation option [new](PPW-620) (ea1e57d5)
- faultmonitor: [amx-faultmonitor] allow retrieval of early boot core dumps (PPW-620) (1ffe17f7)
- Apply 1 suggestion(s) to 1 file(s) (d42aac2f)
- Apply 1 suggestion(s) to 1 file(s) (8d65c7c5)
- MR Review: correct a possible memory leak (PPW-620) (f6542759)
- rc.d : Ensure Monitor plugins are stopped last during the shutdown process (PPW-620) (331a23bd)
- ci: baf: update autogenerated files (8b0e2050)
- faultmonitor: Make it possible to configure whether core dumps are stored or discarded (PPW-620) (7df8ff2e)
- faultmonitor: fault datamodel has empty Arguments and ProcessName variables (PPW-620) (b03d2fc8)
- faultmonitor: [fallback] fault datamodel has empty Arguments and ProcessName variables (PPW-620) (1eefac5e)

References: PPW-620

Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
(cherry picked from commit b744369814)
2025-12-18 11:52:51 +01:00
FAOUZI YAHYA
11d4d0fffd ci: cram: add amxo-cg
Integrates following changes:
- [faultmonitor] Implementation: Add ProcessFault Rotation option [new](PPW-620) (ea1e57d5)
- faultmonitor: [amx-faultmonitor] allow retrieval of early boot core dumps (PPW-620) (1ffe17f7)
- Apply 1 suggestion(s) to 1 file(s) (d42aac2f)
- Apply 1 suggestion(s) to 1 file(s) (8d65c7c5)
- MR Review: correct a possible memory leak (PPW-620) (f6542759)
- rc.d : Ensure Monitor plugins are stopped last during the shutdown process (PPW-620) (331a23bd)
- ci: baf: update autogenerated files (8b0e2050)
- faultmonitor: Make it possible to configure whether core dumps are stored or discarded (PPW-620) (7df8ff2e)
- faultmonitor: fault datamodel has empty Arguments and ProcessName variables (PPW-620) (b03d2fc8)
- faultmonitor: [fallback] fault datamodel has empty Arguments and ProcessName variables (PPW-620) (1eefac5e)

References: PPW-620

Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
(cherry picked from commit 5af585b71c)
2025-12-18 11:52:51 +01:00
FAOUZI YAHYA
9aa8b141db profiles: prpl: feed-prplos: faultmonitor: datamodel empty despite coredumps present(PPW-1280)
Integrates following changes:
- Issue: PCF-1059 [faultmonitor] add upload rpc [new] (4a926f27)
- ci: baf: update autogenerated files (6dc26edd)
- ci: fix missing test dependencies in GitLab CI (d48686ee)
- [faultmonitor] Implementation: Add ProcessFault Rotation option [new](PPW-620) (1e5617ea)
- faultmonitor: [amx-faultmonitor] allow retrieval of early boot core dumps (PPW-297) (ec01b829)
- rc.d : Ensure Monitor plugins are stopped last during the shutdown process (PPW-620) (d123ff8b)
- faultmonitor: Make it possible to configure whether core dumps are stored or discarded (PPW-690) (fc14dd01)
- faultmonitor: fault datamodel has empty Arguments and ProcessName variables (PPW-620) (6576d620)
- faultmonitor: [fallback] fault datamodel has empty Arguments and ProcessName variables (PPW-620) (1bd8350e)
- faultmonitor: ProcessFaults doesn't store new crashes in DM (PPW-620) (c293062a)
- ci: baf: update autogenerated files (c1f1769d)
- amx-fault: script: revert process status check (a8bc9f9c)

References: Backported ticket: PPW-297 backport ticket PPW-1280

Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2025-12-18 11:51:09 +01:00
Maarten De Decker
51a6969bba profiles: prpl: prplMesh: bump to prplware-4.0-2025-12-17
Integrates following changes:
- agent: channel scan task: Prevent duplicate neighbor entries caused by multiple and/or invalid neighbor results (6e24dafb1)
- bwl: agent: fix amxb_usp events not received (ca1e25aac)
- channel_selection_task: Fix incorrect CPR/OCR sequencing and DFS radar handling (1e1fc7b71)
- framework: choose encryption type when set to "Default" (f1899d97b)
- agent: ap_manager: fix mismatch between 1905 steering flags and 802.11v BTM (805ee0d99)
- bwl: Reflect actual OperatingStandards in AP capability report (52f614cf1)
- multi_vendor: airties: refactor Airties Ethernet Stats and Interface TLVs (4ddd9df30)

References:  PPM-3698, PPW-1208, PPM-3663, PPM-3584, PPM-3676, PPM-3263,
             PPM-3393

Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2025-12-17 15:53:52 +01:00
prplbot
cd8f3d59e4 profiles: prpl: feed_lcm: cthulhu-networking: networking: handle default or invalid network configuration
Integrates following changes:
- ci: enable crosscompilations (1acfe8f5)
- Merge branch 'dev_enable_ci' into 'main' (f27dab43)
- cthulhu-networking: introduce CTHULHU_PLUGIN_CTR_IMPORT plugin callback implementation (07384b0e)
- cthulhu-networking: adjust the object search paths when removing lingering stuff (0b78aced)
- PROVISORY: cthulhu-networking: increase the amxb_get request timeouts (5b6601ed)
- test: add unit test for container import (1b3cab1a)
- networking: handle default or invalid network configuration (02b870d9)
- ci: baf: update autogenerated files (28ec6af3)

References: PPW-944, LCM-843, PPW-943, PPW-1279
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-12-12 15:53:30 +01:00
prplbot
ed4580896d profiles: prpl.yml: feed_prplos: tr181-dhcpv6client: Br-lan is not receiving an IPv6 address while multiple times WAN mode switches
Integrates following changes:
- Backport PPW-657 CLONE - dhcpv6-client: Br-lan is not receiving an IPv6 address while multiple times WAN mode switches (926fdb43)
- ci: baf: update autogenerated files (50c91614)

References: PPW-1202, PPW-657
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-12-11 10:27:31 +01:00
Maarten De Decker
e68c1a605d c: tests: cram: prplmesh-dataelements: update status check
The prplmesh_utils script was updated to correctly include a process check for the prplmesh ieee1905_transport process.
Before this fix, pgrep wouldn't match the process fully because of the 15 char limit.
This is a test script change to accomodate the fixed prplmesh_utils.sh script.

Reference: PPM-3436, PPM-3662

Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2025-11-24 12:50:23 +01:00
Maarten De Decker
f30041002d profiles: prpl: prplMesh: bump to prplware-4.0-2025-11-24
Integrates following changes:
- controller: wifi_manager: switch from usp to ubus backend (24aa909b1)
- CI: Add Mozart build and boardfarm jobs (290952cb0)
- prplmesh_utils: use pgrep -f flag to avoid the 15-char limit (d045393ac)

References:  PPM-3659, PPM-3364, PPM-3436

Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2025-11-24 09:41:29 +01:00
Nick Hainke
f57e2913e5 strace: update to 6.6
Release Notes:
https://github.com/strace/strace/releases/tag/v6.6

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit f630995677)
Signed-off-by: Lu Dai <lu.dai@mind.be>
2025-11-23 14:15:30 +01:00
Nick Hainke
91679e1b97 strace: update to 6.5
Release Notes:
https://github.com/strace/strace/releases/tag/v6.5

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 316b8e0909)
Signed-off-by: Lu Dai <lu.dai@mind.be>
2025-11-23 14:15:30 +01:00
Nick Hainke
d58e3259b5 strace: update to 6.4
Release Notes:
https://github.com/strace/strace/releases/tag/v6.4

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 08607da37c)
Signed-off-by: Lu Dai <lu.dai@mind.be>
2025-11-23 14:15:30 +01:00
Petr Štetiar
090d39f352 scripts: prplos_version.sh: mark development version as 4.0.3
Development on next prplOS release 4.0.3 started, so lets mark the
version accordingly.

Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2025-11-23 10:08:49 +00:00
Petr Štetiar
71060692a9 PROVISORY: ci: cdrouter: mxl25641-hdk-6: extend prplWare-Smoke-Test-Suite timeout by 2 minutes
[ backport:
  - mainline-23.05 timeout https://gitlab.com/prpl-foundation/prplos/prplos/-/jobs/12183415293#L275
  - extending the timeout from 40 to 42 minutes as there is 309 tests being run,
    on latest-24.10 we've 323 test cases ]

The prplWare-Smoke-Test-Suite on OSPv2 (MXL25641-HDK-6) has been experiencing
test runtime increases of approximately 9.2%, causing the CDRouter test to
take 33 minutes 51 seconds, which exceeds the default 40-minute CI job
timeout threshold.

This provisional change extends the timeout from 40 to 45 minutes to prevent
CI failures while the root cause of the performance degradation is being
investigated.

The performance issue appears to be specific to the OSPv2 platform on the
latest-24.10 branch, which runs consistently slower than other platforms
(Freedom, Mozart) and has shown a recent increase beyond its historical
average of ~31 minutes.

This is a temporary workaround. The underlying performance regression still
needs to be identified and resolved.

References: PPW-908, PCF-2058
Link: https://gitlab.com/prpl-foundation/prplos/prplos/-/jobs/11338822768
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
(cherry picked from commit 0395f03cc0)
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2025-11-23 09:54:15 +00:00
prplbot
273d78adaa profiles: prpl: feed_amx: libamxb: subscription: Add remote subscription index vs. named test [fix]
Integrates following changes:
- subscription: Add remote subscription index vs. named test [fix] (92c9b66f)
- subscription: Add remote subscription index vs. named test [fix] (aa3735b9)
- [dmproxy][amx timeouts] Replace synchronous describe call from dmproxy (3fb84b92)
- refactor: rename amxb_subscription_new_v2 to amxb_subscription_new_no_check (459b2900)
- docs: enhance subscription API documentation and add internal code comments (dad44643)

References: PPW-1048
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-11-22 18:48:39 +01:00
prplbot
a24ca4ee14 profiles: prpl.yml: feed_prplos: mod-dmproxy: [dmproxy][amx timeouts] Replace synchronous describe call from dmproxy [fix]
Integrates following changes:
- [dmproxy][amx timeouts] Replace synchronous describe call from dmproxy [fix] (d4b45df1)

References: PPW-1048
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-11-22 18:47:32 +01:00
FAOUZI YAHYA
5f98842540 profiles: prpl: feed-prplos: prpl-webui: remove 51-prplos-webui.conf
Integrates following changes:
-Remove prplos/network/utilities/prpl-webui/files/etc/lighttpd/conf.d/51-prplos-webui.conf

References: PPW-876

Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2025-11-22 14:30:21 +01:00
prplbot
7a8775dac6 profiles: prpl: feed_prplos: tr181-captiveportal, tr181-dns,mod-dns-unbound,prpl-webui: Fix Redirection to Portal URL's were not happening.
Integrates following changes:
- ci: enable crosscompilations and unit tests (5d5a4bc0)
- baf: fix documentation generation (7175dbf8)
- ci: baf: update autogenerated files (2196bf7a)
- captive_portal: update root directory for captive portal UI (499ba3ae)
- tr181-captiveportal: changed service startup scripts to be started and monitored by procd for auto-respawn (a062c931)
- tr181-captiveportal: Fix Redirection to Portal URL's were not happening. (5556ca81)
- tr181-captiveportal: Fix Captive Portal root dir. (39505a50)
- ci: baf: update autogenerated files (ef22f60b)

References: PPW-876, PCF-2069, PCF-1990, TR-181, PPW-623
Signed-off-by: prplbot <bot@prplfoundation.org>

Integrates following changes:
- [Captive Portal] Fix Redirection to Portal URL's were not happening. (967b7e74)
- ci: baf: update autogenerated files (7612ac36)

References: TR-181, PPW-876
Signed-off-by: default avatarprplbot <bot@prplfoundation.org>

Integrates following changes:
- fix: subscribe to wait:Unbound instead of wait:done (9b720b5c)
- [Captive Portal] Fix Redirection to Portal URL's were not happening. (a13ca18f)

References: PPW-876, TR-181
Signed-off-by: default avatarprplbot <bot@prplfoundation.org>

In commit 1eb70463 ("tr181-captiveportal: Fix Redirection to Portal
URL's were not happening.") lighttpd config files/etc/lighttpd/conf.d/51-prplos-webui.conf
was removed and since it was last file in files directory the complete
directory was removed, but package install rules weren't updated,
resulting into following build failures:

  cp: cannot stat './files/*': No such file or directory

So lets fix the package install rules and cleanup the conffiles as well.

Fixes: PPW-1170
References: PPW-876
Link: https://gitlab.com/prpl-foundation/prplos/prplos/-/jobs/12094851780#L10300

Fixes: 1eb70463 ("tr181-captiveportal: Fix Redirection to Portal URL's were not happening.")
Signed-off-by: default avatarPetr Štetiar <petr.stetiar@prplfoundation.org>
(cherry picked from commit 381f6410)
2025-11-22 12:57:49 +01:00
Petr Štetiar
8d9b262fbe PROVISORY: ci: 055-ssh-server.t: disable remaining unstable Session DM test
The test 055-ssh-server.t is currently unstable and fails frequently,
leading to repeated CI job re-runs just to achieve a CI green status.
This unnecessarily consumes CI resources.

In commit 1b75a99538 ("PROVISORY: ci: 055-ssh-server.t: disable
unstable Session DM test") the relevant failing part was removed, but it
turned out, that it sometimes currently fails in subsequent test as well:

 --- .gitlab/tests/cram/generic/acceleration-plan-components/055-ssh-server.t
 +++ .gitlab/tests/cram/generic/acceleration-plan-components/055-ssh-server.t.err
 @@ -68,6 +68,9 @@
  Wait a bit and check that the Session datamodel is empty:

    $ sleep 4 ; R "ubus call SSH.Server.3.Session _get | jsonfilter -e @[*].IPAddress -e @[*].User -e @[*].Alias" | sort
 +  192.168.1.2
 +  cpe-Session-3
 +  root

So temporarily disable that test until the underlying issues are resolved.

References: PPW-600
Fixes: 1b75a99538 ("PROVISORY: ci: 055-ssh-server.t: disable unstable Session DM test")
Link: https://gitlab.com/prpl-foundation/prplos/prplos/-/jobs/11605567496#L115
Reported-by: Nikolai Merinov <n.merinov@inango-systems.com>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
(cherry picked from commit eb46007a74)
2025-11-22 07:32:13 +00:00
Petr Štetiar
f50e35db05 PROVISORY: ci: 055-ssh-server.t: disable unstable Session DM test
The test 055-ssh-server.t is currently unstable and fails frequently,
leading to repeated CI job re-runs just to achieve a CI green status.
This unnecessarily consumes CI resources.

Temporarily disable the test until the underlying issues are resolved.

References: PPW-600
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
(cherry picked from commit 1b75a99538)
2025-11-22 07:32:12 +00:00
Petr Štetiar
b33fd50bb5 PROVISORY: ci: 110-prplmesh-dataelements.t: disable ieee1905_transp process check
The prplmesh_utils.sh status output no longer shows the
ieee1905_transport process because the helper uses `pgrep -l
ieee1905_transport` and only matches the comm field, which is truncated
to TASK_COMM_LEN (15 chars). As a result, the ieee1905_transp line is
missing from the status output and the cram tests expecting it fail.

As a temporary workaround, drop the `ieee1905_transp` expectation from
the prplmesh status checks so the tests match the current status output.

Once the PPM-3436 fix is backported into the prplMesh used by
prplware-4.0, this check should be re-enabled.

References: PPM-3662, PPM-3436
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2025-11-20 17:11:00 +00:00
Petr Štetiar
e9645bf5b4 ci: cram: fix operational prplmesh_utils.sh status tests
[ during backport fixed Mozart in 100-prplmesh.t as there is no
  110-prplmesh-dataelements.t in the mainline-23.05 branch,
  additionally removed ieee1905_transp process check as this
  is not being provided in the current version of prplmesh_utils.sh
  script ]

Currently the prplMesh test pipes the prplmesh_utils.sh status output
(including PIDs) into LC_ALL=C sort and then matches the full lines,
which makes the check sensitive to ASCII PID ordering once PIDs cross
digit boundaries and results in random false negatives as seen in
PPW-881.

So lets strip the leading PIDs before sorting and only assert on the
sorted list of beerocks process names to make the agent operational
check deterministic and CI-stable.

Fixes: PPW-881
Debugged-by: Lu Dai <lu.dai@mind.be>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
(cherry picked from commit 176b975c80)
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2025-11-20 17:10:59 +00:00
Petr Štetiar
f9bbd4cf50 ci: mozart: 005-build-config.t: update expected state after recent changes
Currently the test fails as the test is not being updated during merge
requests, since Mozart is Regular Track platform and thus not mandatory.

Since its no brainer to fix it, lets do it now to keep the number of
failing at minimum.

Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2025-11-20 17:10:57 +00:00
Petr Štetiar
1b8c599959 PROVISORY: ci: 036-lcm-applicationdata.t: remove unstable test
We're seeing this test failing a bit more lately, so lets remove it
to save some time and enable it once its fixed.

References: PPW-860
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
(cherry picked from commit d2a30e7432)
2025-11-20 17:10:56 +00:00
Petr Štetiar
2afc4ecff9 ci: wnc-freedom: 015-platform.t: fix random libkmod output positions in lspci output
We’re seeing following random test failures:

  --- .gitlab/tests/cram/wnc-freedom/015-platform.t
  +++ .gitlab/tests/cram/wnc-freedom/015-platform.t.err
  @@ -6,7 +6,6 @@

    $ R lspci -v -d 17cb:0308
     0000:01:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0308
  -  lspci: Unable to load libkmod resources: error -2
     \tSubsystem: Qualcomm Technologies, Inc Device 5201 (esc)
     \tFlags: bus master, fast devsel, latency 0, IRQ 34 (esc)
     \tMemory at 28300000 (64-bit, non-prefetchable) [size=4K] (esc)
  @@ -24,6 +23,7 @@
     \tCapabilities: [240] Data Link Feature <?> (esc)
     \tKernel driver in use: mhi-pci-generic (esc)

  +  lspci: Unable to load libkmod resources: error -2

Likely happening due to stderr/stdout buffering, so lets fix it by
silecing this stderr output.

Fixes: PCF-2049
Link: https://gitlab.com/prpl-foundation/prplos/prplos/-/jobs/11268790630#L167
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
(cherry picked from commit a7bdab3907)
2025-11-20 17:10:55 +00:00
Petr Štetiar
2b4cae8a13 ci: wnc-freedom: 015-platform.t: fix lspci Flags: flapping check
There is a race condition somewhere in the system causing randomly
different lspci output in various test runs, like for example:

  --- .gitlab/tests/cram/wnc-freedom/015-platform.t
  +++ .gitlab/tests/cram/wnc-freedom/015-platform.t.err
  @@ -8,7 +8,7 @@
     0000:01:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0308
     lspci: Unable to load libkmod resources: error -2
     \tSubsystem: Qualcomm Technologies, Inc Device 5201 (esc)
  -  \tFlags: fast devsel, IRQ 35 (esc)
  +  \tFlags: bus master, fast devsel, latency 0, IRQ 35 (esc)
     \tMemory at 28300000 (64-bit, non-prefetchable) [size=4K] (esc)
     \tMemory at 28301000 (64-bit, non-prefetchable) [size=4K] (esc)

Purpose of this test is to assure, that the modem is available on the
PCI bus and this Flag: check is not necessary for this purpose, simply
fix it by removing the check.

Fixes: PCF-2050
Link: https://gitlab.com/prpl-foundation/prplos/prplos/-/jobs/10930563907#L247
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
(cherry picked from commit dc306ec71e)
2025-11-20 17:10:54 +00:00
Petr Štetiar
c9f0bcfb9b PROVISORY: ci: 471-iplayercapacity.t: skip failing test on OSPv2
Currently the test is always failing on OSPv2 as there is incompatible
udpst being used in UPDK. So lets skip this test on OSPv2 until its
fixed.

References: PPW-1093
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2025-11-20 14:59:20 +01:00
prplbot
e92a3a1a70 profiles: prpl: feed_prplmesh: pwhm: radmgt: Update channel for existing station MAC in createNonAssociatedDevice
Integrates following changes:
- pwhm: radmgt: Update channel for existing station MAC in createNonAssociatedDevice (ed251ebd)

References: PPW-1147
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-11-20 14:59:16 +01:00
prplbot
b6f2a23b3f profiles: prpl.yml: feed_prplmesh: libswla: bump to v3.13.6
Integrates following changes:
- Revert "libswla: dm: fix unit test not working" (702e685c)
- Revert "libswla: dm: add support for param group handler" (760a20b3)

References: SSW-9943, PPW-308
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-11-20 12:12:27 +01:00
prplbot
8fffeeca57 profiles: prpl.yml: feed_prplmesh: pwhm: bump to v7.6.35
Integrates following changes:
- Revert "pwhm: hostapd: fix failure to start hostapd with 11be when backhaul bw is 160MHz" (dd49fccb)
- Revert "pwhm: hostapd: fix failure to start hostapd with only 11be enabled" (6883dce1)
- Revert "pwhm: rad: fix operating Standard is not boot persistent" (349efe95)
- Revert "pwhm: chanmgt: fix failure to set Auto bandwidth after static bw value" (77136c26)
- Revert "pwhm: chanmgt: fix bandwidth changed after chanspec being auto set" (d25b4944)
- Revert "pwhm: chanmgt: fix autoChannelselection still enabled when we change the channel from AP WebUI" (0541c3d9)
- Revert "pwhm: chanmgt: fix auto bandwidth selection does not work on channel 6/213" (0f2d94d5)
- Revert "pwhm: chanmgt: fix simultaneous switch of channel and bandwidth" (56f30018)

References: PPW-308
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-11-20 10:40:04 +00:00
prplbot
05660869e8 profiles: prpl.yml: feed_prplmesh: libswlc: bump to v5.30.8
Integrates following changes:
- Revert "libswlc: common: add preprocessor macros to loop over variable arguments" (05bab0af)
- Revert "libswlc: chanspec: add unit tests for apis to get applicable bandwidths per radio standard" (57b27838)
- Revert "libswlc: chanspec: add util apis to get applicable radio bandwitdhs per radio standard" (7b5d0d00)
- Revert "libswlc: radStd: add unit tests for api to get and check enabled radStds" (02e391da)
- Revert "libswlc: radStd: add apis to get enabled radio standards" (3c8f7eaf)
- Revert "libswlc: radStd: deprecate inconsistent type swl_radioStandard_m" (516a3366)

Signed-off-by: prplbot <bot@prplfoundation.org>
2025-11-20 10:40:02 +00:00
Houssem Dafdouf
b40d26dced 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>
(cherry picked from commit c58a2c3f87)
2025-11-19 15:24:55 +01:00
Maarten De Decker
477b4fd05c profiles: prpl: prplMesh: bump to prplware-4.0-2025-11-13
Integrates following changes:
- Change BackhaulWireIface for Freedom and else (e3c1b122f)
- bwl: whm: Unassoc Query Issues: Channel Not Passed to pWHM and Incorrect Band Selection in prplMesh (6b6ea0f6f)
- Revert "common: whm: easymesh duplicate credential update" (cafbd9135)
- multi_vendor: optimize vendor-specific TLV insertion logic (6c5499739)
- tlvf_airties_utils: fix MAC mismatch in Airties Device Metrics TLV (74a4543e7)
- bwl: whm: set MAC Filtering Mode object back to "Off" when DM returns false (04adf434f)
- ci: boardfarm: nbapi_radio: index mismatch (f622b301e)
- Use general Ambiorix USP backend instead of pWhm-specific socket (33201ba55)
- fronthaul_manager:monitor: Allow chan_util reporting when threshold is zero (50a594feb)
- agent: topology task: fix incorrect role in 1905 device info TLV (9fa1af998)

References:  PPM-3647, PPM-3640, PPM-3486, PPM-3587, PPM-3473, PPW-1112,
             PPM-3615, PPM-3606, PPM-3476, PPM-3554

Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2025-11-19 15:24:52 +01:00
prplbot
f6fdc92384 profiles: prpl.yml: feed_prplos: dhcpv4-manager: bump to v2.14.4
Integrates following changes:
- tr181-dhcpv4: prevent double restart of dnsmasq after forced-kill recovery (b74f884a)
- DHCPv4Server: fix unit test failure (43030abf)
- ci: baf: update autogenerated files (08e5f710)

References: PPW-849
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-11-18 16:22:05 +00:00
prplbot
cc9dff2340 profiles: prpl.yml: feed_prplos: tr181-ipdiagnostics: bump to v0.9.39
Integrates following changes:
- tr181-ipdiagnostics: IPPing: correct error mapping and improve timeout handling (eff30b82)
- tr181-ipdiagnostics: Traceroute: adjust DataBlockSize based on glibc and system architecture (4bc2a606)
- tr181-ipdiagnostics: IPPing: ensure FailCount and SuccessCount match NumOfRepetitions (258f425d)
- tr181-ipdiagnostics: IPPing: increase default timeout to allow multiple ping attempts (8c8ce4f9)
- tr181-ipdiagnostics: IPPing: enforce use of full path for iputils ping (c52f78b1)
- tr181-ipdiagnostics: IPPing: add unit tests to cover ipd_dns.c (ff2ca167)
- tr181-ipdiagnostics: ping,traceroute: replace test scripts to support systems without overlayfs (a3544cd4)
- tr181-ipdiagnostics: ipd-dns: fix addrinfo_callback implementation to return correct ResolvedHostIP (599a9b13)
- tr181-ipdiagnostics: Traceroute, Ping: remove IP_DIAGNOSTICS_UNIT_TEST if(n)defs and align amxp handling (0e0b47f3)
- tr181-ipdiagnostics: subprocess: introduce MOD_IPD_SUBPROC_WAIT macro for unified timeout handling (5640c12f)
- tr181-ipdiagnostics: subprocess: reset Process variables at test end (b9616300)
- tr181-ipdiagnostics: ipd-dns: improve callback safety (4108d134)
- tr181-ipdiagnostics: IPPing: ensure first IPDiagnostics.IPPing() call executes correctly (b6b981d9)
- tr181-ipdiagnostics: IPPing: improve ping result parsing to handle all error cases (69da070b)
- tr181-ipdiagnostics: IPPing: ensure correct ping command construction for ProtocolVersion="Any" (6c9165f4)
- tr181-ipdiagnostics: IPPing: handle all wait return codes (c9228c28)
- tr181-ipdiagnostics: IPPing: prioritize IPv4 when IPv6 off (c4038493)
- tr181-ipdiagnostics: IPPing: ensure IPDiagnostics.IPPing() returns in all status cases (a4601bdb)
- tr181-ipdiagnostics: plugin: rename function prefixes from cfgctrlr_ to ipd_ (afa337ad)
- PROVISORY: test: disable test_upload_file_based from test-rpc-upload (514a133f)

References: PPW-951, PPW-879
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-11-18 16:06:08 +00:00
prplbot
f977b9b80e profiles: prpl.yml: feed_prplos: wan-manager: bump to v1.6.33
Integrates following changes:
- Upstream Inteface: Properly enable/disable when switching WANModes (68737a78)
- Cellular Interface should be disabled when not used (f3e88ec1)
- ci: baf: update autogenerated files (6b93326b)

References: PPW-515
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-11-18 11:32:26 +00:00
Hela Saadani
350d71a828 ci: cram: 095-reboot-service: update test 095-reboot-service
References: PPW-612

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-11-18 09:57:20 +01:00
Hela Saadani
0416f27d7b ci: cram: 005-build-config: update test 005-build-config
References: PPW-612

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-11-18 09:57:20 +01:00
prplbot
f33ee7fdba profiles: prpl.yml: feed_prplos: reboot-service: Reboot reason bug fixes
Integrates following changes:
- Use dates in UTC format not Local (d05f8c05)
- [CI] Update changelog for release master_v1.0.2 (0390485e)
- BootCount and WatchdogBootCount must not be reset on Reboot.RemoveAllReboots() calls (3770a584)
- Add 'Source' parameter to 'Firmware Upgrade/Downgrade' reason (9e137363)
- [CI] Update changelog for release master_v1.0.3 (776f38d8)
- [CI] Update changelog for release master_v1.1.0 (65d5b28e)
- [CI] Update changelog for release master_v1.2.0 (c726cf34)
- Update Reboot.Reboot.{i}.TimeStamp last entry when NTP is synchronised (111accb6)
- [CI] Update changelog for release master_v1.2.1 (7c460f53)
- [CI] Update changelog for release master_v1.2.2 (06547915)
- rc.d : Plugin shutdown order should be adjusted (5e750b0e)
- [CI] Update changelog for release master_v1.2.3 (25cfb515)
- Fix overflow issue when applying NTP offset to timestamp in reboot entry (76098b2e)
- [CI] Update changelog for release master_v1.3.0 (77378c18)
- Address Code Review Remarks from prpl (c32e4f3c)
- [CI] Update changelog for release master_v1.3.1 (f9497453)
- [reboot-service] No rotation of reboot entries (e26a0813)
- [CI] Update changelog for release master_v1.3.2 (46610e4e)
- odl: Change populate behavior for duplicate instances to "update" (bd5a715e)
- [CI] Update changelog for release master_v1.3.3 (1e358343)
- Issue: [AppAmor][reboot-service] AppAmor profile should be created for reboot-service (041459f5)
- ci: baf: update autogenerated files (b7ea0232)

References: PPW-612
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-11-18 09:56:40 +01:00
FAOUZI YAHYA
d8a62e9a77 profiles: prpl: feed-prplos: prpl-webui: fix multiple build breakages
References: PCF-1057

Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2025-11-17 12:33:41 +01:00
Petr Štetiar
4f43cfbe4c ci: release: include OSPv2 B-Step simple images in the release artifacts
Since OSPv2 B-Step devices are de-facto a standard devices currently being sold,
we should include those images in the release.

References: PCF-2200
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
(cherry picked from commit 3d4789ed74)
2025-11-16 15:57:44 +00:00
Petr Štetiar
3d2335eb84 ci: switch testing from OSPv2 A-Step board to B-Step board
Since OSPv2 B-Step devices are de-facto a standard devices currently
being sold, it was decided to start using them for testing in prplOS CI
instead of current OSPv2 A-Step boards.

References: PCF-2200
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
(cherry picked from commit 7310621934)
2025-11-16 15:57:43 +00:00
Petr Štetiar
13e610152b profiles: prpl: prpl-webui: fix build breakage by using correct PKG_SOURCE_URL
The PKG_SOURCE_URL was changed incorrectly during the integration of
tag/release 0.2.8 where the package source was switched to source code tarball
archive, which doesn't contain the dist/ directory which is produced during the
release process by npm build process, leading to following build breakage:

  cp: cannot stat '/builds/prpl-foundation/prplos/prplos/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/prpl-webui-0.2.8/dist/*': No such file or directory

So lets fix it by using the correct PKG_SOURCE_URL which is the one that points
to the release tarball archive.

Fixes: PPW-1172
References: PCF-1057, PPW-1170
Link: https://gitlab.com/prpl-foundation/prplos/prplos/-/jobs/12099954437#L8657
Fixes: 60a9f14660 ("profiles: prpl: feed-prplos: prpl-webui: Replace vendor prefix (FEAT-51)")
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2025-11-15 14:18:04 +00:00
Petr Štetiar
e86c4d3ae4 ci: build: fix escaping of export variable in message
Fixes an issue in commit 99dcb0e625 ("gitlab:build: Add option to export
staging rootfs for debugging") where the CI_BUILD_EXPORT_STAGING_ROOTFS
variable was not properly escaped in the export message.

Fixes: PCF-2201
Reported-by: Lu Dai <lu.dai@mind.be>
Fixes: 99dcb0e625 ("gitlab:build: Add option to export staging rootfs for debugging")
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
(cherry picked from commit e5ae0a5103)
2025-11-15 12:39:30 +00:00