Commit Graph
798 Commits
Author SHA1 Message Date
Mattias Walström d0df900376 test: speed_duplex_coppar: Adapt to yangerd 2026-06-19 11:38:09 +02:00
Mattias Walström b3865efcdc REMOVE THIS: TEMPORARY DISABLE PTP TESTS 2026-06-19 11:38:09 +02:00
Mattias Walström 22f0ba30f3 test: mdns_allow_deny: Adapt to yangerd behaviour changes 2026-06-19 11:38:09 +02:00
Mattias Walström 9639ebe4ce test: lldp_admin_status: Adapt to yangerd changes 2026-06-19 11:38:09 +02:00
Mattias Walström 811d66d0e5 dhcp: server_subnets: Adapt to yanger behaviour changes 2026-06-19 11:38:09 +02:00
Mattias Walström 7c1fc48201 test: firewall: ipv6-zone-migration: Adapt to yanger behaviour changes 2026-06-19 11:38:09 +02:00
Mattias Walström 7f69b564c5 test: rip_multihop: Adapt to yangerd changes 2026-06-19 11:38:09 +02:00
Mattias Walström 7ec1ef4a0b test: ntp: client_stratum_selection: Adapt to yangerd behaviour 2026-06-19 11:38:09 +02:00
Mattias Walström 9813889ed7 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-19 11:38:09 +02:00
Mattias Walström ff6dcfcf70 test: route_pref_ospf: Update test spec 2026-06-19 11:38:09 +02:00
Mattias Walström 82a72ae293 test: ntp_client: Update test spec 2026-06-19 11:38:09 +02:00
Mattias Walström b7f4341775 test: hostname: adapt to yanger 2026-06-19 11:38:09 +02:00
Mattias Walström 7e3d92cdbb test: ospf_point_to_multipoint: Adapt to yanger 2026-06-19 11:38:09 +02:00
Mattias Walström bd97fcb16d test: spec: Allow to generate test specification without logical topology 2026-06-19 11:38:09 +02:00
Mattias Walström 0e778090a8 test: upgrade: add missing readme 2026-06-19 11:38:09 +02:00
Mattias Walström 3a0bdfff9c 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-19 11:38:09 +02:00
Mattias Walström 2efb396a50 test: upgrade: Adapt to yangerd 2026-06-19 11:38:09 +02:00
Mattias Walström 7135dfb6fb test: route_pref_ospf: Adapt to yangerd 2026-06-19 11:38:09 +02:00
Mattias Walström 8955975126 test: ospf_unnumbered_interface: Adapt to new yangerd 2026-06-19 11:38:09 +02:00
Mattias Walström 76ff3b4c9b test: veth_delete: Adapt to new yangerd
Operational is now not instantly availible, is some lag.
2026-06-19 11:38:09 +02:00
Mattias Walström c70e2ff78c test: ntp_client: Adapt to new yangerd daemon 2026-06-19 11:38:09 +02:00
Mattias Walström f4c2671e92 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-19 11:38:09 +02:00
Mattias Walström eaa737ff94 tests: Adapt to new yangerd 2026-06-19 11:38:09 +02:00
Mattias Walström 642e7a6523 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-19 11:38:09 +02:00
Mattias Walström b918c32ea2 test: upgrade: Add adaptions needed for yangerd 2026-06-19 11:38:09 +02:00
Mattias Walström fe680190e2 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-19 11:38:09 +02:00
Mattias Walström 82bc86e10a test: iface_enable_disable: Simplify test 2026-06-19 11:38:09 +02:00
Mattias Walström e95c75d702 test: wireguard_roadwarrior: Adapt to the new polled world in yangerd 2026-06-19 11:38:09 +02:00
Mattias Walström fc2517720b yangerd: fix stp status 2026-06-19 11:38:09 +02:00
Mattias Walström c3c5ec3bb4 test: usb: adapt to new yangerd 2026-06-19 11:38:09 +02:00
Mattias Walström 937e7caf52 test: containers: host_commands/test.py: Adapt to new yangerd
Slightly slower to detect changes
2026-06-19 11:38:09 +02:00
Mattias Walström c046f01ad8 test: case: ntp: Adapt tests for polled yangerd 2026-06-19 11:38:09 +02:00
Mattias Walström 891723f861 test: dhcp: server_subnets: Add longer timeout for polling
This since NTP status is polled in yangerd.
2026-06-19 11:38:09 +02:00
Mattias Walström b491820155 test: firewall: Make tests more robust 2026-06-19 11:38:08 +02:00
Mattias Walström c9835dfc4a test: system: Make tests more robust 2026-06-19 11:38:08 +02:00
Mattias Walström 4df99fcd9f firewall: simplify 2026-06-19 11:38:08 +02:00
Ejub Sabic be6d287b19 web: added update notification on web-ui
Signed-off-by: Ejub Sabic <ejub1946@outlook.com>
2026-06-18 10:59:03 +02:00
Ejub Sabic 67ea7a74c1 feat: infix-schedule based on ietf-schedule implementation
Signed-off-by: Ejub Sabic <ejub1946@outlook.com>
2026-06-18 10:22:35 +02:00
Joachim WibergandGitHub 19c820fac2 Merge pull request #1539 from kernelkit/web-test-check
Web test check
2026-06-17 15:33:27 +02:00
Joachim Wiberg 4d398bbf57 test: skip webui test when not available in build
Add conditional YANG feature 'web-ui' to infix-services.yang, set when
the webui is built.  This feature is what the test now looks for to
determine if it should be skipped or not.

Also, clean up remnant of old test, which was entirely replaced by
Mattias' login/csrf test.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-06-17 10:30:43 +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