summaryrefslogtreecommitdiff
path: root/.github/workflows/run-tests.yml
AgeCommit message (Collapse)Author
2026-05-04ci: Tightening warning condition in dmesg checksDenys Fedoryshchenko
The boot-time RETBleed: WARNING: Spectre v2 mitigation... line matches the broad WARNING: regex. The intent of that pattern was to catch kernel WARN_ON() splats, which always begin with WARNING: CPU:. We can tighten checks, to avoid false positive. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
2026-05-02ci: fail workflows on kernel issues found in dmesgDenys Fedoryshchenko
Recently i wasted several hours searching bug in workflows/userspace. Turned out in dmesg we had highly visible WARNING that we dont watch. After each test run, dump dmesg and grep for canonical kernel-issue markers (WARNING, BUG, Oops, kernel panic, GPF, KASAN, kernel UBSAN, soft/hard lockup, hung tasks, bad page state, invalid opcode). Fail the job if any are present, with a GitHub Actions error annotation. Until now, kernel WARNs from out-of-tree drivers (e.g. vlan_mon tripping the new ETH_P_ALL ptype_head WARN_ON in 6.6+) were silently swallowed by the existing 'Display processes and dmesg after tests' steps -- visible only if a human inspected the log. The check runs with if: always() so it triggers both on test failure and on test completion. Applied to all four workflows that load kernel modules: run-tests-asan-ubsan.yml, run-tests.yml (Test-in-Qemu, Test-in-Alpine, Test-in-GH, Test-in-GH-Coverage), run-tests-32bit.yml, and run-tests-bigendian.yml. P.S. Some whitespace churn included. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
2025-06-13ci: remove ubuntu 20 builds due to EOL of Standard SupportSergey V. Lobanov
2025-05-07Merge pull request #239 from nuclearcat/fix-testsSergey V. Lobanov
(workflows): Ubuntu 20.04 is deprecated, removing it
2025-05-02(workflows): Ubuntu 20.04 is deprecated, removing itDenys Fedoryshchenko
This tests failing now with following message: ``` This is a scheduled Ubuntu 20.04 retirement. Ubuntu 20.04 LTS runner will be removed on 2025-04-15. For more details, see https://github.com/actions/runner-images/issues/11101 ``` Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
2024-12-11ci: update alpine linksSergey V. Lobanov
2024-11-28tests,ci: disable chap-secrets related tests on alpineSergey V. Lobanov
radius and chap-secrets can't work together due to musl library limiations This patch disables chap-secrets related tests on alpine ref: https://github.com/accel-ppp/accel-ppp/pull/190#issuecomment-2331036461
2024-10-27ci: fix testing on debian13 (pytest install issues)Sergey V. Lobanov
2024-09-02ci: change libpcre to libpcre2Sergey V. Lobanov
2024-08-23ci: run tests in alpine vmSergey V. Lobanov
Alpine Linux uses musl libc so now accel-ppp is tested under musl Currently, Alpine Linux doesn't provide a link to the latest stable version so direct link to Alpine 3.20 is used Improved musl support might be used to run on platforms like openwrt without additional patches
2024-08-19tests: fix execution orderSergey V. Lobanov
2024-08-17ci: speedup virtual machines using kvm and host cpu passthroughSergey V. Lobanov
github now allows kvm and cpu passthrough, enable it to speedup ci
2024-07-02ci: remove debian10 supportSergey V. Lobanov
Debian10 LTS is EoL (ref: https://wiki.debian.org/LTS) so it is removed from CI. Debian10 ELTS is maintained by third-party organization, only some packages are maintained so there is no reason to support Debian10 in CI
2024-05-25ci: use ubuntu 24.04 as default runner in githubSergey V. Lobanov
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2024-04-12ci: remove unnecessary gcovr python package where it's not requiredSergey V. Lobanov
This patch fixes debian10 build Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2024-03-20ci: fix pytest issue on Debian 10Sergey V. Lobanov
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2023-12-29ci: add ubuntu 24.04 support, disable mainline kernel buildSergey V. Lobanov
third-party mainline ubuntu kernel package is broken so disable it
2023-10-05ci: fix debian13 image (use explicit name 'trixie' instead of sid)Sergey V. Lobanov
2023-10-03ci: disable vlan-mon related tests on Debian10Sergey V. Lobanov
2023-07-17ci: add support for Debian 13 (trixie)Sergey V. Lobanov
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2023-04-01ci: fix python packages installation on debian12Sergey V. Lobanov
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2023-04-01ci: remove support for Ubuntu 18.04 as EOLSergey V. Lobanov
Ubuntu 18.04 is EOL so CI support is not necessary anymore Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-09-06tests ci: add testing in Qemu (Ubuntu 18.04, 20.04, 22.04, Debian 10,11,12)Sergey V. Lobanov
2022-09-04add tests and ci workflow for running testsSergey V. Lobanov
This commit adds tests (using python3 pytest framework): 1. Test basic accel-cmd commands (show version, show stat, etc) 2. Test ipoe shared session up (dhcpv4) without radius 3. Test pppoe discovery (without PADO delay) 4. Test pppoe discovery (without PADO delay) 5. Test pppoe session up (ipv4) without radius 6. Test vlan creation using vlan-mon (pppoe) These tests require external utils. Please read tests/README.md how to setup environment, how to run the tests and how to generate coverage report Also, run-tests.yml contains step-by-step instruction how to run the tests Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>