Commit Graph

1174 Commits

Author SHA1 Message Date
Petr Štetiar
bea35dcb81
ci: tests: glinet-b1300: 010-network: adjust output after DSA conversion
Naming and layout of the interfaces has changed due to added DSA
support, so change the test case accordingly..

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:49 +00:00
Petr Štetiar
2277a81023
ci: tests: glinet-b1300: 010-firewall-dmz: fix DSA WAN interface
With the switch to the DSA, the WAN interface got renamed from `eth1` to
`wan`, so lets fix the SourceInterface accordingly.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:48 +00:00
Petr Štetiar
0d50a285ed
ci: testbed: glinet-b1300: define DSA WAN interface
With the switch to the DSA, the WAN interface got renamed from `eth1` to
`wan`, so lets define it properly.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:47 +00:00
Petr Štetiar
50d777d8d2
ci: tests: ubus: fix test for hotplug.firmware object
It seems like this new `hotplug.firmware` object in OpenWrt 22.03 is
only present on glinet-b1300 device, so we need to remove it from
generic tests and move it to device specific tests.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:46 +00:00
Petr Štetiar
8edd076614
ci: tests: turris-omnia: 100-prplmesh: adjust hostapd test for OpenWrt 22.03
Seems like process list for hostapd has changed in OpenWrt 22.03, so
adjust the test cases accordingly.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:45 +00:00
Petr Štetiar
9482ae29a6
ci: tests: glinet-b1300: network: adjust test output for OpenWrt 22.03
OpenWrt 22.03 has no ifbX interfaces available anymore, so let's adjust
test cases accordingly.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:44 +00:00
Petr Štetiar
5456ff38bf
ci: testbed: glinet-b1300: fix firmware image name with OpenWrt 22.03
Upstream in commit 81d694e30b ("ipq40xx: use zImage for GL.iNet
GL-B1300, GL-S1300 to shrink below 4096k") has changed the compression
type of kernel in order to overcome bootloader kernel size constraint of
4M.

References: https://github.com/openwrt/openwrt/pull/4620#issuecomment-932765776
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:43 +00:00
Petr Štetiar
95f6fc6cde
ci: tests: turris-omnia: 100-prplmesh: adjust hostapd test for OpenWrt 22.03
Seems like process list for hostapd has changed in OpenWrt 22.03, so
adjust the test cases accordingly.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:41 +00:00
Petr Štetiar
53bbbb30db
ci: tests: turris-omnia: 020-bridging-guest: fix test for OpenWrt 22.03
Seems like the output of brctl has changed in OpenWrt 22.03 in a way,
that the first interface attached to the bridge is random, so we need to
adjust the test cases accordingly.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:40 +00:00
Petr Štetiar
3dfef1b742
ci: tests: generic: 013-firewall-mac-filter: adjust test for OpenWrt 22.03
OpenWrt 22.03 with 5.15 kernel has apparently different output of
iptables rule list command, so let's adjust test cases accordingly.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:39 +00:00
Petr Štetiar
fa89515e75
ci: tests: generic: network: adjust test output for OpenWrt 22.03
OpenWrt 22.03 has no ifbX interfaces available anymore, so let's adjust
test cases accordingly.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:38 +00:00
Petr Štetiar
4b6f093b92
ci: tests: generic: ubus: adjust test output for OpenWrt 22.03
OpenWrt 22.03 has apparently more objects available on the ubus, so
let's adjust test cases accordingly.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:37 +00:00
Petr Štetiar
1850e99c27
ci: tests: generic: 040-lcm: adjust test output for OpenWrt 22.03
As we've rebased onto OpenWrt 22.03, we can use upstream LXC v4 packages
thus there is no need to use vendored packages in /opt/prplos anymore,
so adjust test cases accordingly.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:36 +00:00
Petr Štetiar
0f96253ca3
ci: tests: generic: 045-qos: adjust test output for OpenWrt 22.03
As we've rebased onto OpenWrt 22.03 some of the values have changed, so
let's adjust them in order to fix the CI test cases.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:35 +00:00
Matthias FRANCK
c78bb7af2a
ci: cram: generic: 035-multisettings.t: fix occasional test failures
It seems like test for multisettings component fails from time to time,
interestingly only on Turris Omnia device, probably the fastest
reference device in the testbed.

Fixes: PCF-583
Signed-off-by: Matthias FRANCK <matthias.franck_ext@softathome.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [commit subject and description]
2025-07-31 10:31:34 +00:00
Petr Štetiar
f44a974110
ci: docker: sdk: fix build test issue with OpenWrt 22.03
Currently SDK container build test fails:

 tmp/.config-package.in:7:warning: ignoring type redefinition of 'PACKAGE_busybox' from 'bool' to 'tristate'
 feeds/base/package/utils/busybox/config/Config.in:697: syntax error

Fix it by using proper base container and prplOS base feed, also use
urngd for build testing as it seems, that busybox can't be currently
build:

 include/libbb.h:83:11: fatal error: selinux/selinux.h: No such file or directory
   83 | # include <selinux/selinux.h>
      |           ^~~~~~~~~~~~~~~~~~~

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:26 +00:00
Petr Štetiar
989842a592
ci: sdk: remove installation of python-yaml Debian package
As apparently OpenWrt 22.03 containers are based on newer Debian version
and thus:

 E: Package 'python-yaml' has no installation candidate

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:25 +00:00
Petr Štetiar
426adae172
ci: build: use gitlab.com mirror for OpenWrt feeds
In order to speedup the feed checkouts and as a bonus we don't hammer
openwrt.org Git servers.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:20 +00:00
Petr Štetiar
b21baea44d
ci: sdk: use ath79-generic-22.03-SNAPSHOT container
As we're rebasing onto OpenWrt 22.03 release.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:20 +00:00
Petr Štetiar
81f080b001
ci: docker: testbed: bump labgrid to latest testbed-next
In order to start using and testing latest labgrid version, pending
fixes and improvements.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:18 +00:00
Petr Štetiar
8016b3a894
ci: focus only on turris-omnia and glinet-b1300 devices
Remove testing on intel_mips target as this one is probably going to be
replaced by newer target in the testbed soon anyway.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:17 +00:00
Petr Štetiar
6103037fd9
ci: build,testbed: remove JIRA reporting
As we don't want any JIRA reporting during development.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:16 +00:00
Petr Štetiar
e4ea36739d
ci: change designated branch to prplos-next
So we don't interfere with current production build and testing containers etc.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:15 +00:00
Petr Štetiar
cbead58ac4
ci: copy over files from prplOS v1.5 release
In order to have QA in place.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-07-31 10:31:14 +00:00