Commit Graph

66056 Commits

Author SHA1 Message Date
Petr Štetiar
30185bbbaf ci: testbed: stop rewriting Debian package sources
The testbed setup rewrites the Debian mirror to archive.debian.org
before installing runtime cram dependencies. This was needed for the
old Buster container, but Debian 13 uses current mirrors and stores its
configuration in deb822 files instead of /etc/apt/sources.list.

Both focused cram jobs stop at the first rewrite before DUT bring-up:

```text
$ sudo sed -i 's|http://deb.debian.org/debian|http://archive.debian.org/debian|g' /etc/apt/sources.list 2>/dev/null
Running after_script
```

Remove both obsolete rewrites and let apt use the sources supplied by
the versioned Debian 13 testbed image.

Assisted-by: codex:gpt-5
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
Fixes: 6792ba6b95 ("PROVISORY: ci: testbed: install minidlna and avahi packages at runtime")
References: PPW-1258
2026-07-28 10:14:51 +01:00
Petr Štetiar
3225ea1c95 ci: cram: stop installing Python tools at runtime
Debian 13 marks its system Python environment as externally managed,
so cram-time pip installs fail before the tests can exercise the DUT.
Python 3.13 also removed cgi, which the preinstalled servefile 0.5.4
still imports.

Use async-upnp-client, servefile, scapy, and legacy cgi from the
testbed image. Remove the per-test pip calls and PATH overrides, and
document that scapy is an image dependency. Preserve the newer
CABundle fixture setup from the source change.

The later 018-dhcpv4-client-options.t test reintroduced the same pip
call, so give it the same treatment.

Assisted-by: codex:gpt-5
Assisted-by: claude:opus-5:orchestrator
Assisted-by: codex:gpt-5.6-sol:medium-fast
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
References: PPW-1258
2026-07-28 10:14:51 +01:00
Petr Štetiar
ab855504b5 ci: cram: accept ntpsec ntpdate output
ntpsec-ntpdate 1.2.3 reports successful queries as a timestamp
followed by numeric offset and uncertainty values instead of the
former textual offset wording.

Match the numeric ntpsec query format so the time test accepts the
output provided by the Debian 13 testbed image.

Assisted-by: codex:gpt-5
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
References: PPW-1258
2026-07-28 10:14:51 +01:00
Petr Štetiar
fff3204ae2 ci: docker: drop the in-tree testbed container
The testbed container now has its own prpl Foundation project, release
pipeline, and versioned registry image. Keeping the old Debian Buster
image in prplos leaves two sources for the same CI runtime and continues
to expose obsolete build, test, and deploy jobs.

Remove the in-tree Dockerfile and its CI job definitions. Drop the root
include because the testbed and CDRouter templates now consume the
external containers/testbed release directly.

Assisted-by: codex:gpt-5
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
References: PPW-1258
2026-07-28 10:14:51 +01:00
Petr Štetiar
5c97fa5a41 ci: testbed: consume the ci/containers/testbed v1.3.0 image
The testbed and CDRouter templates currently derive their image from the
designated prplos branch. This couples image changes to an in-tree build
and prevents consumers from using the separately released container.

Use the released ci/containers/testbed v1.3.0 image in both templates,
pinning it to its published immutable manifest digest. This keeps cram
and CDRouter on the same Debian 13 environment with the runtime test
dependencies preinstalled, while every pipeline pulls the exact released
content.

The previous image declared /home/testbed as a volume. GitLab's Docker
executor replaced it with an empty, root-owned, persistent runner cache
that shadowed the writable home created in the image. OpenSSH resolves
~/.ssh through the passwd database instead of $HOME, so redirecting HOME
could not make bare ssh read the host key written by ssh-keyscan.

The v1.3.0 image drops that volume. Remove the ineffective HOME
overrides while retaining the .ssh directory setup that ssh-keyscan
needs.

Assisted-by: codex:gpt-5
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
References: PPW-1258
2026-07-28 10:14:51 +01:00
Petr Štetiar
cbc87d14e0 ci: cram: 130-periodicfileupload.t: restore the canonical R alias
Cram tests conventionally define R directly from CRAM_REMOTE_COMMAND.
Commit 43f1696033 ("ci: cram: periodicfileupload tests sometimes fails
(PPW-1766)") introduced a sed pipeline for this test.

The substitution only matches ssh when it has a leading space, while
CRAM_REMOTE_COMMAND begins with ssh. The pipeline is therefore a silent
no-op.

Keeping a per-test rewrite would duplicate the stdin handling. The
preceding "ci: cram: keep remote commands off the script stdin" puts
ssh -n into CRAM_REMOTE_COMMAND at its source for every test.

Restore the canonical alias so this test follows the suite convention
and relies on the centralized remote command definition.

References: PCF-2222, PPW-1766
Assisted-by: claude:opus-5:orchestrator
Assisted-by: codex:gpt-5.6-sol:medium-fast
Fixes: 43f1696033 ("ci: cram: periodicfileupload tests sometimes fails (PPW-1766)")
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2026-07-28 09:03:45 +00:00
Petr Štetiar
3723a2793b ci: cram: keep remote commands off the script stdin
Cram supplies the complete generated test script through the shell's
stdin. SSH inherits that input from the shared remote-command alias and
drains the script beyond the shell's read-ahead buffer. The shell then
reaches EOF in the middle of a quoted command near byte 8,192:

```text
/bin/sh: 74: Syntax error: Unterminated quoted string
```

This is independent of the Python interpreter. Freedom job 15484314070
failed the 49-command probe at chunk 0036 under Python 3.14.6. With the
same probe and firmware, job 15484856804 passed all 49 chunks under
Python 3.13 after adding the SSH stdin protection.

Pass -n to the shared SSH command so it reads from /dev/null instead of
the test script. Apply the same safe default to the MXL fallback alias.

Assisted-by: codex:gpt-5
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
References: PCF-2222
2026-07-28 09:03:45 +00:00
prplbot
040e8a69f8 profiles: prpl_core.yml: feed_prplmesh: pwhm: resolve Coverity warnings from May 11-14 scans
Integrates following changes:
- wifiGen: resolve Coverity warnings from May 11-14 scans (9d3c8fe1)

References: PPW-1948
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-07-27 11:42:20 +01:00
Florian Rouzaud
915eea47ed ci: cram: reboot TimeStamp precision
Problem:
reboot TimeStamp precision has changed: unnecessary fraction of seconds have been removed
This simplification change has been introduced in PPW-1605 in the reboot-service when
the reboot timestamp is now set to unknow when the HGW isn't NTP synced.

Solution:
change the cram test timestamp check

Reference: PPW-1605
Signed-off-by: Florian Rouzaud <florian.rouzaud@softathome.com>
2026-07-24 13:23:07 +00:00
FAOUZI YAHYA
e39edff71f ci: cram: obuspa.expected: config Device.UserInterface.HTTPAccess
Integrates:
-delete Device.UserInterface.HTTPAccess.{i}.Session.{i}.Status
-add Device.UserInterface.HTTPAccess.{i}.Session.{i}.X_PRPLWARE-COM_Status

References: PPW-1961
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-24 09:53:26 +01:00
prplbot
b97ad1f956 profiles: prpl_core.yml: feed_prplos: tr181-httpaccess: missing vendor extension in UserInterface
Integrates following changes:
- tr181-httpaccess: missing vendor extension in UserInterface (77945f03)

References: PPW-1961
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-07-24 09:53:12 +01:00
Marvin Lu
777443f891 profiles: qca_ipq95xx: mac80211: wifi:ath12k: fix bSTA MLO assoc issue
1. clean up failed MLO STA vdev start to prevent failing assoc retriese
2. handle peer creation failure with stale peer cleanup handlere
3. defer STA vdev start on same-BSSID conf

Fixes: PCF-2634

Signed-off-by: Marvin Lu <marvin.lu@wnc.com.tw>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-23 14:19:21 +01:00
Sathishkumar Selvam
9690210d99 ci: cram: 018-cellular-trusted-elements.t: Added validation on Trusted SIM with Active IMSI prepopulated
As part of PCF-2632, when no default Trusted Element is available,
the TrustedElement.SIM data model is now populated using the active
IMSI obtained from the modem.

Since a prepopulated Trusted SIM is now available, removed the
creation of a new Trusted Element during validation. This prevents
duplicate entries and resolves the cram test failure.

Updated 018-cellular-trusted-elements.t to validate Trusted SIM
based on the prepopulated active IMSI.

References: PCF-2632
Signed-off-by: Sathishkumar Selvam <sathishkumar.selvam@capgemini.com>
2026-07-23 14:12:56 +01:00
Sathishkumar Selvam
bde3f23fc4 profiles: prpl_core: feed-prplos: mod-cellular-libmm, cellular-manager, netmodel, netmodel-cellular, ip-manager: fix incapability on SIM slot data with handling multiple modems/Pre-populate default imsi if no defaults provided/Introduce separate netmodel for Celliface/Updated Cellular references.
Integrates following changes:
-  8cf8468c: ("ip-manager: Updated LowerLayer reference & 3gppNAS alias for cellular")
-  b9ae9d18: ("netmodel-cellular: Introduce Cellular.Interface NetModel Creation and Synchronization")
-  c401a6ea: ("netmodel: Added Odl separately for Cellular.Interface & Cellular.Session Netmodels with their supported fields")
-  ffc10405: ("mod-cellular-libmm: mod-cellular-libmm: libmm_sim_slot -  fix incorrect slot count/global imsi flags on handling with multiple modems")
-  aa92e577: ("mod-cellular-libmm: Populate default IMSI with libmm SIM slot & replaced mm_modem_dup_sim_slot_paths usage with mm_modem_list_sim_slots_sync API itself")
-  4ae4c8cf: ("cellular-manager: Add TrustedElements.SIM with default imsi if no entry prepopulated with defaults odl, Added NetModel for Cellular & Fixed minor issues with Event handling")

References: PCF-2632
Signed-off-by: Sathishkumar Selvam <sathishkumar.selvam@capgemini.com>
2026-07-23 14:12:50 +01:00
Sathishkumar Selvam
51dd829590 profiles: prpl_core: feed-prplos: cellular-manager,mod-cellular-libmm: Fix coverity issues reported with CI pipeline runs
Integrates following changes:
- 2e50f1dd: ("PPW-2033:  Fix Coverity issue related to API usage, 2026-06-19)
- 12c9789f: ("PPW-2001: mod-cellular-libmm: Fix Coverity issues reported with prpl CI pipeline runs, 2026-06-19)

References: PPW-2033, PPW-2001
Signed-off-by: Sathishkumar Selvam <sathishkumar.selvam@capgemini.com>
2026-07-23 13:40:11 +01:00
prplbot
960f1b1cd8 profiles: prpl_core.yml: feed_prplmesh: wifi-sensing: data distribution improvements
Integrates following changes:
- wifi-sensing: data distribution improvements (5c35d6e3)

References: PPM-3323
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-23 13:23:15 +01:00
Houssem Dafdouf
9cfef24b59 profiles: feed_prprlmesh: rename SPPAmsdu to TR-181 standard naming 'SPPAMSDU'
Integrates following changes:
- pWHM: AccessPoint: rename SPPAmsdu to TR-181 standard naming 'SPPAMSDU' (ca9133ba)
- prplmesh-dm-mapper: prplmesh-pwhm-mapping.odl: AccessPoint: rename SPPAmsdu to TR-181 standard naming 'SPPAMSDU'
- pwhm: odl: defaults: rename SPPAmsdu to TR-181 standard naming 'SPPAMSDU'

References: PPW-319
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-07-23 11:46:31 +01:00
prplbot
a9efae215f profiles: prpl_core.yml: feed_prplos: tr069-manager: PPW-500 [CWMP] ACS did not receive Inform from CPE on original ACS server after 302 redirect.
Integrates following changes:
- Issue: PPW-500 [CWMP] ACS did not receive Inform from CPE on original ACS server after 302 redirect. (0877f0b5)

References: PPW-500
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-07-22 11:58:33 +01:00
FAOUZI YAHYA
6ac1b5590c profile: prpl_core.yml: feed-prplmesh: pwhm: prplmesh-process-manager: odl: moving Extender defaults to respective service
Integrates:
 - Moved odl with required AP defauilts directly to pwhm's defaults
 - Moved odl with required Mesh ManagementMode directly to prplmesh-process-manager's defaults

Closes: PPW-991, PPW-992
Signed-off-by: avatara.kuznetsov <a.kuznetsov@inango-systems.com>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-22 10:02:16 +01:00
a.kuznetsov
b0fb476326 profiles: prpl_core.yml: feed-prplos: odl: moved Extender specific odl files to service's packages
- Added runtime environment string about in which CPE_OPMODE firmware been built by default
- Modified odl-generator to add this string to netlayout.json so it can be used in .uc files
- Moved extender-related odls to their respective packages and modified them to use new flag in netlayout.json so they be processed when required

Closes: PPW-991, PPW-992
Signed-off-by: a.kuznetsov <a.kuznetsov@inango-systems.com>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-22 10:02:13 +01:00
Hela Saadani
c7d171113f profiles: prpl-core.yml: feed-prplos: miniupnpd: coverity diff between 2026 April 13th and 2026 April 16th
Integrates:
- 4121e8d1: ("miniupnpd : fix coverity, overrung buffer pointed to by mh.msg_control", 2026-06-09)
- a2e7fe34: ("miniupnpd : fix coverity, Potential out-of-bounds access in recvmsg", 2026-06-09)
- f123ee74: ("miniupnpd : fix coverity, explicit null dereferenced", 2026-06-09)

References: PPW-1847
Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2026-07-22 09:31:09 +01:00
Alexandre Fiset
20902bec03 ci: cram: add dhcpv4-client-options test for TR-181 Client.Option
Add two dhcpv4 client tests. first one check if option provided by a
client is correctly provided in the DHCPv4.Server DM. Second one check
that if multiple client provide the same option with different value,
the value are not mixed up.

References: PCF-2262
Signed-off-by: Alexandre Fiset <alexandre.fiset@softathome.com>
2026-07-21 13:45:22 +00:00
Chitprasong Vilaysack
bad40d104e ci: cram: gitignore *.t.err artifacts
Cram tests emit .t.err files on failure; ignore them so they don't
accumulate as untracked noise.

References: PCF-2262
Signed-off-by: Alexandre Fiset <alexandre.fiset@softathome.com>
2026-07-21 13:45:22 +00:00
ragavan
71a9962b65 profile: prpl_core.yml: pwhm: wpaCtrl: fix AP-initiated STA disconnect sending reason 0 to prplMesh
Integrates:
-fix AP-initiated STA disconnect sending reason 0 to prplMesh (3dfecb7a)

References: PPW-2119
Signed-off-by: ragavan <rramasamy@maxlinear.com>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-21 14:36:44 +01:00
prplbot
726507c616 profiles: prpl_core.yml: feed_prplos: tr069-manager: libdmda_amx: fix crash on EventList parsing
Integrates following changes:
- libdmda_amx: fix crash on EventList parsing (e94c671e)

References: PPW-1528
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-07-21 13:56:16 +01:00
Artem Trokhymchuk
0351c33b7f profiles: prpl_core: libpass: remove the $ symbol from the random sets
Remove the `$` symbol from the random sets from which password is generated because it breaks ODL expansion.

Closes: PPW-2035
References: FEAT-28
Signed-off-by: Artem Trokhymchuk <a.trokhymchuk@inango-systems.com>
2026-07-21 13:53:06 +01:00
prplbot
0b9fdc0817 profiles: prpl_core.yml: feed_prplos: tr181-dns: NSLookupDiagnostics: incorrect Status="Success" on timed-out repetitions
Integrates following changes:
- tr181-dns: NSLookupDiagnostics: incorrect Status="Success" on timed-out repetitions (0a4851fa)

References: PPW-1976
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-07-21 13:44:26 +01:00
Matthias Franck
11ad570656 ci: test: cram: align expected output with upstream openwrt changes
In 05a30b1404 we removed "# CONFIG_VERSION_CODE_FILENAMES is not set" from the cram tests after aligning with openwrt 24.10.5.
However, this was forgotten for the freedom and valyrian board.

References: PPW-2167
Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2026-07-21 09:28:22 +01:00
Hari Sriram
69923b4030 ci: cram: adding NotifyFlow events cram testcase.
Adding cram testcase to subscribe to ubus events for the
notify flow created and verify no other unexpected events
listed in ubus notifications subscribed for enumerate
connection tracking object.

References: PPW-1201
Signed-off-by: Hari Sriram <hari.s@capgemini.com>
2026-07-20 14:07:23 +01:00
prplbot
67e928317b profiles: prpl_core.yml: feed_prplos: tr181-conntrack-query: NotifyFlow issue
Integrates following changes:
- Issue: PPW-1201 tr181-conntrack-query NotifyFlow issue (3341d84e)

References: PPW-1201
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-07-20 14:07:21 +01:00
Dayanidhi Singla
ecfafdc42e ci: 065-upnp_0.t: match port 5351 exactly
Avoid matching ports like :53515 when checking for :5351.

References: PPW-1995
Signed-off-by: Dayanidhi Singla <dayanidhi.singla_ext@softathome.com>
2026-07-19 09:16:15 +00:00
Andrey Erokhin
79103f0c63 profiles: prpl_core: feed-prplmesh: prplmesh-dm-mapper: connection manager: introduce reg zone
Integrates:
- f943a0e6 (connection manager: introduce reg zone)

Closes: PPW-1916
References: FEAT-27
Signed-off-by: Andrey Erokhin <a.erokhin@inango-systems.com>
2026-07-17 11:57:45 +00:00
prplbot
0c94b0b621 profiles: lcm.yml: feed_lcm: cthulhu: check and fix image file filesystem
Integrates following changes:
- cthulhu: check and fix image file filesystem (b5ed17ef)

References: PPW-2022
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-07-17 12:52:57 +01:00
Maarten De Decker
7f572dc941 ci: EasyMesh R1: flash Freedom via FEAT-29 update_prpl
Align the Easymesh R1 smoke test with the DUT flashing procedure from FEAT-29.
This commit aligns the DUT deploy scripts from the prplMesh repository.

Reference: PPM-4139
Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2026-07-17 10:33:56 +01:00
Maarten De Decker
781f619476 profiles: prpl: prplMesh: bump to master-2026-07-09
Integrates following changes:
- controller: reject trailing bytes in Intel joined notification (fcf35d1ef)
- agent: keep WDS TS state on STA disconnect (95df2ce5e)
- agent: bwl: whm: poll station stats per AP (212a95b5e)
- CI: migrate to FEAT-29 upgrades (e24e97b9b)
- agent: common: fix issues reported by coverity (cf68e0192)
- agent: fix issues reported by coverity (113e5f859)
- ci: remove wireless credential before starting test (5cbbf2071)
- ci: install lzop and libbsd-dev in builder image (8f684724b)
- fronthual: fix csa_notification_timer fd leakage (235601c02)
- Boardfarm: fix importerror for module pytz (60f778ad9)
- common: optimize base_wlan_hal_whm::refresh_radio_info() (9580484d6)
- controller: framework: subscribe to WiFi.Radio.Enable (db8aa7159)
- agent: fix invalid STA in unassoc link metrics resp (6dbbd3f95)
- tlvf: accept variable-length WSC public keys (23d97f397)
- agent: reapply TS VLAN changes (d7a1e7d87)
- conn_map: summarize agent classifications (63b67bd9e)
- controller: use AL-MAC for prplMesh classification (ee1b9563e)

References:  PPM-3993, PPM-4083, PPM-4114, PPM-4139, PPM-4103, PPM-3838,
             PPM-4118, PPM-4130, PPM-4129, PPM-4077, PPM-3786, PPM-4111,
             PPM-4108, PPM-4083, PPM-4001, PPM-4034
Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2026-07-17 10:33:39 +01:00
prplbot
2cd4c6fb6c profiles: prpl_core.yml: feed_prplos: tr181-mqtt: odl: remove duplicate %upc userflag from Alias in definition file
Integrates following changes:
- odl: remove duplicate %upc userflag from Alias in definition file (7c057ffb)

References: PPW-1945
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-17 10:20:10 +01:00
prplbot
57a5e8b09e profiles: prpl_core.yml: feed_prplos: tr181-usb: fix coverity, invalid type in argument to print format specifier
Integrates following changes:
- tr181-usb: fix coverity, invalid type in argument to print format specifier (c7e6a530)

References: CID-29547, PPW-1740, CID-29478
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-17 10:08:38 +01:00
a.kuznetsov
5dd16ff32c ci: lcm: making lcm-pcm test indifferent to index changes
During the course of the test, containers are created and tested to properly survive a simulated software upgrade.
However, pcm does not guarantee that indexes will be the same after SWU, especially if there were any gaps
in numbering prior to the upgrade.

This change to the test makes it index-agnostic by replacing all possibly affected indexes with placeholders.

References: PPW-1787
Closes: PPW-1787
Signed-off-by: a.kuznetsov <a.kuznetsov@inango-systems.com>
2026-07-16 15:52:07 +00:00
prplbot
7393c11941 profiles: prpl_core.yml: feed_prplos: reboot-service: fix coverity, UNINIT warning on transaction cleanup
Integrates following changes:
- reboot-service: fix coverity, UNINIT warning on transaction cleanup (89a8448a)

References: CID-29665, PPW-1751
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-16 16:48:34 +01:00
Petr Štetiar
afc3ca5586
ci: cram: verify-config-restore: accept multi-digit DNS aliases
Currently the final DNS host check after configuration restore
accepts only one digit in the generated alias. The failing
testbed-02 job reaches instance 10, restores a valid object, and
reports this Cram difference:

 -      "Alias": "cpe-X_PRPLWARE-COM_Host-\d", (re)
 +      "Alias": "cpe-X_PRPLWARE-COM_Host-10",

The comparable testbed-01 control job reaches instance 9 and passes
the same check. Both jobs successfully restore the DNS object, so
the failure depends on the allocator crossing the single-digit
boundary, not on invalid restored state.

The additional testbed-02 topology from PCF-2504 is the supported
trigger for the one-instance delta. It exposes the restrictive
expectation but does not make the restored alias invalid.

So lets fix the final alias expectation to accept one or more
digits, matching the equivalent check earlier in the test. This
keeps the test independent of the current multi-instance allocator
position.

Closes: PPW-1934
References: PCF-2504
Link: https://gitlab.com/prpl-foundation/prplos/prplos/-/jobs/15294595185
Link: https://gitlab.com/prpl-foundation/prplos/prplos/-/jobs/15300965299
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2026-07-16 17:33:00 +02:00
Mykhailo Polnyi
554e0b40cf profiles: prpl-core: feed-prplos: update deviceinfo-manager documentation
Several parameters for Download/Activate RPC are defined but are not
implemented yet, so setting them will not take any action.
Update package documentation to explicitly state it

Implements: PCF-2340
References: FEAT-356, FEAT-357, FEAT-358
Signed-off-by: Mykhailo Polnyi <mykhailo.polnyi@globallogic.com>
2026-07-16 12:33:43 +01:00
prplbot
60299abba2 profiles: prpl_core.yml: feed_prplos: tr181-usb: fix coverity, dereference after null check
Integrates following changes:
- tr181-usb: fix coverity, dereference after null check (3d80369c)
- tr181-usb: fix coverity, dead code (b0ffe1ac)

References: CID-29232, PPW-1930, CID-30691
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-16 12:16:08 +01:00
prplbot
d2d2a05da7 profiles: prpl_core.yml: feed_prplos: mod-logical-api: fix coverity, invalid type in argument to print format specifier
Integrates following changes:
- mod-logical-api: fix coverity, invalid type in argument to print format specifier (7be0d78c)
- mod-logical-api: fix coverity, unchecked  return value (ee5cf083)

References: CID-29090, CID-28973, PPW-1564
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-16 12:06:09 +01:00
Petr Štetiar
e3c83a26ff
ci: cram: validate the actual BulkData MQTT serial
Currently the BulkData MQTT cram test assumes that every DUT uses the
legacy SN[A-F0-9]+ serial-number format. SFL devices instead expose the
manufacturing serial through readmfg, including values such as
ospv2_A8C2463D425C and freedom_58E403D21127.

This makes a valid report fail the complete-payload grep even though the
reported SN is exactly DeviceInfo.SerialNumber. Both OSPv2 and Freedom
jobs show the following assertion failure:

  $ R 'cat /tmp/mqtt_subscriber' | \
  >   grep -cP '^\{"Report":\[\{"SN":"SN[A-F0-9]+","CollectionTime":"[0-9]{13}"\}\]\}$'
 -[1-9][0-9]* (re)
 +0
 +[1]

So lets fix the test by reading DeviceInfo.SerialNumber from the DUT and
passing that value to jq. Require exactly one report and compare its SN
with the live serial. Validate CollectionTime independently as a string
of exactly 13 digits. Print the payload when validation fails so future
cram diffs preserve the malformed message.

Closes: PPW-2102
References: PCF-2643
Assisted-by: codex:gpt-5.6-sol:high
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2026-07-16 12:30:55 +02:00
Alexandre Fiset
679f9ba785 ci: cram: network_security.t: fix cram indent on service-wait block
Problem:
network_security.t fails deterministically on latest-24.10. The
service-readiness block added by !2697 (adc82ee3, PPW-887) starts
with "$ R '" without the two-space indent cram requires for a
command line.

Root cause:
cram does not parse the malformed line as a command, so it is
absorbed as expected output of the preceding nmap check. Its
continuation lines then attach to that check and run in the local
testbed shell instead of on the DUT via the R alias:

  /bin/sh: 6: pgrep: not found
  /bin/sh: 14: Syntax error: Unterminated quoted string (no-eol)

adc82ee3 was reverted (72f0994e) once DUT jobs were finally
triggered and exposed the failure; no DUT cram job ran against any
revision of !2697 before it merged.

Solution:
Re-add the service-readiness wait, indenting "$ R '" by two spaces
so cram parses it as a command and dispatches the wait script to the
DUT through the R alias, matching every other "$ R '...'" usage in
this test suite.

Reference: PPW-2150, PPW-887, PPW-455
Signed-off-by: Alexandre Fiset <alexandre.fiset@softathome.com>
2026-07-15 09:41:31 +00:00
prplbot
d6ec185d36 profiles: prpl_core.yml: feed_prplos: mod-ppp-daemon: ppp: avoid restart loop when PPPoE credentials are empty
Integrates following changes:
- 348e1c9: ("ppp: avoid restart loop when PPPoE credentials are empty", 2026-03-04)

References: PPW-915
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-15 10:02:18 +01:00
Houssem Dafdouf
a6ff13f9a1 ci: testbed: increase timeout up to 85 min
Increase the CI timeout for added wifi-scheduler cram test.

References: PPW-774
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-07-14 16:47:04 +01:00
Houssem Dafdouf
4ac84044dd PROVISORY: ci: cram: OSPv2: pwhm-wpa3-cm.t: keep MLDUnit unset
When finishing the pwhm-wpa3-cm.t test script, MLDUnits are currently
restored to the same values as in Freedom (0: Private MLD, 1: Guest
MLD).

However, MLO is not yet supported on OSPv2, so MLDUnits should instead
remain at their default value (-1, as set through MXL UPDK).

Closes: PPW-1713
References: PCF-2395
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-07-14 16:47:04 +01:00
Houssem Dafdouf
f67f5509a6 ci: cram: wifi-scheduler: adapt test script
After re-enabling the wifi-scheduler script, update the test to:

- Add backhaul interfaces
- Use the correct prplMesh AccessPoint creation method
- Use the generic wifi_dm helper
- Adapt AP status checks to keep the script generic

References: PPW-774
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-07-14 16:47:04 +01:00
Houssem Dafdouf
369f6a0f42 Revert "PROVISORY: ci: 112-wifi-scheduler.t: disable unstable test"
Re-enable wifi-scheduler cram test.

This reverts commit ba53c45d79.

References: PPM-3523, PPM-3508, PPW-774
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-07-14 16:47:04 +01:00