Commit Graph
795 Commits
Author SHA1 Message Date
Mattias Walström 79cdab37f1 test: upgrade: Make more robust using yangerd 2026-06-17 11:54:25 +02:00
Mattias Walström 010b18d89c test: speed_duplex_coppar: Adapt to yangerd 2026-06-17 11:54:25 +02:00
Mattias Walström be6a02e671 REMOVE THIS: TEMPORARY DISABLE PTP TESTS 2026-06-17 11:54:25 +02:00
Mattias Walström 5c88cbf660 test: mdns_allow_deny: Adapt to yangerd behaviour changes 2026-06-17 11:54:25 +02:00
Mattias Walström 110c8d3fad test: lldp_admin_status: Adapt to yangerd changes 2026-06-17 11:54:25 +02:00
Mattias Walström 5e30cc842a dhcp: server_subnets: Adapt to yanger behaviour changes 2026-06-17 11:54:25 +02:00
Mattias Walström 5821d7907b test: firewall: ipv6-zone-migration: Adapt to yanger behaviour changes 2026-06-17 11:54:25 +02:00
Mattias Walström 8792eda219 test: rip_multihop: Adapt to yangerd changes 2026-06-17 11:54:25 +02:00
Mattias Walström 928f3eada9 test: ntp: client_stratum_selection: Adapt to yangerd behaviour 2026-06-17 11:54:25 +02:00
Mattias Walström 2327f88da8 test: ospf_default_route_advertise: Make test more robust
FRR can sometimes be pretty slow to actually install the route in
the kernel. Increase the timeout of must_reach.
2026-06-17 11:54:25 +02:00
Mattias Walström 7ecab6fe0c test: route_pref_ospf: Update test spec 2026-06-17 11:54:25 +02:00
Mattias Walström 1abfd00278 test: ntp_client: Update test spec 2026-06-17 11:54:25 +02:00
Mattias Walström 3edcc3cd59 test: hostname: adapt to yanger 2026-06-17 11:54:25 +02:00
Mattias Walström 5d513a693e test: ospf_point_to_multipoint: Adapt to yanger 2026-06-17 11:54:25 +02:00
Mattias Walström 6362ec5d98 test: spec: Allow to generate test specification without logical topology 2026-06-17 11:54:25 +02:00
Mattias Walström 5d8ee91d8c test: upgrade: add missing readme 2026-06-17 11:54:25 +02:00
Mattias Walström e5f1913ccc test: operational_all: Harden to catch more
- Test so the value in operational actually is correct
- Move test to last in suite to see that there are no stray
  data in operational (yangerd)
2026-06-17 11:54:25 +02:00
Mattias Walström a859f95dcd test: upgrade: Adapt to yangerd 2026-06-17 11:54:25 +02:00
Mattias Walström 4d2c9d8c35 test: route_pref_ospf: Adapt to yangerd 2026-06-17 11:54:25 +02:00
Mattias Walström 4fcc7d1247 test: ospf_unnumbered_interface: Adapt to new yangerd 2026-06-17 11:54:25 +02:00
Mattias Walström 4918a2d6a8 test: veth_delete: Adapt to new yangerd
Operational is now not instantly availible, is some lag.
2026-06-17 11:54:25 +02:00
Mattias Walström 199970fdac test: ntp_client: Adapt to new yangerd daemon 2026-06-17 11:54:25 +02:00
Mattias Walström 79c40e9bbb test: stp_basic: Stabilize test
With the new yangerd it failed 100% of the times, but it could fail
before as well, but that whould be very rare. Wait until operational
has been updated.
2026-06-17 11:54:25 +02:00
Mattias Walström 0fcf28d98d tests: Adapt to new yangerd 2026-06-17 11:54:25 +02:00
Mattias Walström 1995b6b34c test: syslog: property_filter: Adapt to changes required by yangerd
The test got an unexpected input in one of its logs:

'May 22 11:18:32 test-00-03-00 yangerd[3677]: SIGHUP: triggering immediate re-poll'
limit the string grepping for to be more exact.
2026-06-17 11:54:25 +02:00
Mattias Walström 0800bc5e94 test: upgrade: Add adaptions needed for yangerd 2026-06-17 11:54:25 +02:00
Mattias Walström 5a99a4d022 test: upgrade: Add adaptions needed for yangerd
Specially the change:
`
-            oper = target.get_dict("/system-state/software")
+            oper = target.get_dict("/ietf-system:system-state/software")
`
i feel is strange, since only the backend for sysrepo has changed, but the
new syntax is actually correct, unsure why it has worked before.
2026-06-17 11:54:25 +02:00
Mattias Walström 2567014452 test: iface_enable_disable: Simplify test 2026-06-17 11:54:25 +02:00
Mattias Walström 1a88164834 test: wireguard_roadwarrior: Adapt to the new polled world in yangerd 2026-06-17 11:54:25 +02:00
Mattias Walström de8d074cb9 yangerd: fix stp status 2026-06-17 11:54:25 +02:00
Mattias Walström 5884a7f6fb test: usb: adapt to new yangerd 2026-06-17 11:54:25 +02:00
Mattias Walström 6c12b30383 test: containers: host_commands/test.py: Adapt to new yangerd
Slightly slower to detect changes
2026-06-17 11:54:25 +02:00
Mattias Walström 7a28d5b509 test: case: ntp: Adapt tests for polled yangerd 2026-06-17 11:54:25 +02:00
Mattias Walström 389695c826 test: dhcp: server_subnets: Add longer timeout for polling
This since NTP status is polled in yangerd.
2026-06-17 11:54:25 +02:00
Mattias Walström 262d2b1796 test: firewall: Make tests more robust 2026-06-17 11:54:24 +02:00
Mattias Walström 59402fa83f test: system: Make tests more robust 2026-06-17 11:54:24 +02:00
Mattias Walström fd4c82735a firewall: simplify 2026-06-17 11:54:24 +02:00
Ejub ŠabićandGitHub 0c6d96f8a9 Merge pull request #1537 from saba8814/fix/flaky-dhcp-option-121-test
fix: flaky dhcp option 121 test
2026-06-16 11:50:03 +02:00
Ejub Sabic 473cda35bb fix: flaky dhcp option 121 test
This commit increases attempts on checks in this particular test from default 10 to 60.
This has been introduced to match worst case scenario where after 3 retries(5s) each dhcp waits 30 seconds before next 3 retries.
Commits yields to much more stable test behaviour.

Resolves: #1515

Signed-off-by: Ejub Sabic <ejub1946@outlook.com>
2026-06-16 08:39:40 +02:00
Joachim WibergandGitHub 227f1290fd Merge pull request #1457 from kernelkit/web 2026-06-15 22:58:44 +02:00
Joachim Wiberg f5c549f669 test: Add test for login flow in WebUI
Verify:

 - Unauthenticated GET /  -> 303 to /login
 - Bad-password rejection -> no session is created
 - Session cookie is flagged HttpOnly
 - Authenticated GET /interfaces -> 200
   - with htmx-config meta tag check
 - State-changing POST without CSRF token -> 403
 - POST with X-CSRF-Token header -> succeeds
 - After logout the session no longer grants access

The cookie-preserving WebUI helper class also folds in the IPv6
link-local zone-id workaround (re-encode %25 back to %) that
infamy.restconf already uses.

Signed-off-by: Mattias Walström <lazzer@gmail.com>
2026-06-15 21:02:16 +02:00
Mattias WalströmandGitHub ff96401ce2 Merge pull request #1530 from saba8814/test/xpath-coverage-heatmap
Added support for xpath coverage report generation
2026-06-15 16:50:38 +02:00
Ejub Sabic 9853e08145 test: Added xpath coverage report generation (make test)
This commit introduces xpath coverage test report. It plugs into transport layer of test system and generates .md report.
Commit also introduces "make xpath-coverage-report" used to generate pdf out of md.

Resolves: #581
Signed-off-by: Ejub Sabic <ejub1946@outlook.com>
2026-06-15 12:26:51 +02:00
Joachim Wiberg f8f73b89cb statd: extend mount-points + advertised pmds per interface
- Include /run and /tmp in mount-points, likely more interesting than /.
- Include advertised link modes in operational to compare with supported

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-06-14 18:28:22 +02:00
Richard Alpe 76c314a23a test: render PDF report via 9pm report.py
The test-report target fed a pre-baked report.adoc to asciidoctor-pdf.
Let 9pm's report.py, the author of result.json, both generate and
render the report instead.  It is invoked with Infix's own theme, fonts
and logo so the output is unchanged; downstream projects need only
override LOGO to rebrand it.

Signed-off-by: Richard Alpe <richard@bit42.se>
2026-06-12 15:38:24 +02:00
Richard Alpe 187c19639f Bump 9pm submodule
Signed-off-by: Richard Alpe <richard@bit42.se>
2026-06-12 15:38:22 +02:00
Ejub Sabic a2f57bdd4d doc: add missing test doc for container basic test
Signed-off-by: Ejub Sabic <ejub1946@outlook.com>
2026-06-09 08:58:18 +02:00
Joachim Wiberg 5286c16480 test: infamy: add optional argument to rpc/actions
For example setting DUT date-time using ietf-system RPC.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-06-04 13:35:02 +00:00
Mattias Walström 8e5d49665b test: Remove function put_config_dict and convert tests to use put_config_dicts
This fix #1237
2026-06-02 16:59:28 +02:00
Joachim Wiberg 65eb4c072a cli: tighten 'show interface' detail-view alignment
The Ethernet packet/RMON counters at the bottom of 'show interface
<name>' were appended with a wider label column than the operational
data above them, breaking visual alignment.  Group them under an
"Ethernet Statistics" section heading (Decore.title), same convention
as 'Available Networks' in the wifi scan view.

Narrow the operational-data label column from 20 to 19 chars so the
title bar exactly matches the heading text — a tighter and more
deliberately aligned look.  All labels in pr_iface fit within 19
chars except 'lacp system priority' (20); rename it to 'lacp sys
priority' for consistency with the other 'lacp ...' labels (lacp
aggregate id, lacp partner mac, ...) so the new field width works
universally.

Refresh CLI snapshots and doc samples to match.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-05-27 20:53:30 +02:00