<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/smoketest/scripts/cli/base_interfaces_test.py, branch rolling</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2026-07-03T16:28:22+00:00</updated>
<entry>
<title>smoketest: T9048: keep VRF and cmdline assertions on the same PID</title>
<updated>2026-07-03T16:28:22+00:00</updated>
<author>
<name>Yuriy Andamasov</name>
<email>yuriy@vyos.io</email>
</author>
<published>2026-07-03T16:28:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=11cd6c125673d9e426aeedf64b0083b258c242b1'/>
<id>urn:sha1:11cd6c125673d9e426aeedf64b0083b258c242b1</id>
<content type='text'>
Adversarial review findings on the previous head:

* get_process_cmdline() could re-resolve a NEW PID after the
  'ip vrf pids' membership assertion had already run against the old
  one, so the two assertions could validate different processes. The
  helper now returns the (pid, cmdline) pair it actually validated and
  the VRF checks moved after it, targeting the returned PID.

* The one-shot retry left a residual double-race window. The helper
  now polls PID discovery and the /proc read together under the same
  PROCESS_WAIT_TIMEOUT deadline.

🤖 Generated by [robots](https://vyos.io)
</content>
</entry>
<entry>
<title>smoketest: T9048: guard the retry read in get_process_cmdline() too</title>
<updated>2026-07-03T16:16:09+00:00</updated>
<author>
<name>Yuriy Andamasov</name>
<email>yuriy@vyos.io</email>
</author>
<published>2026-07-03T16:16:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=238894482e89cce374ca98763f74a424aa81e2fe'/>
<id>urn:sha1:238894482e89cce374ca98763f74a424aa81e2fe</id>
<content type='text'>
The re-resolve path read /proc/&lt;pid&gt;/cmdline without defaultonfailure,
so a repeated PID race raised an unhandled exception (test ERROR)
instead of failing with a clear assertion message.

🤖 Generated by [robots](https://vyos.io)
</content>
</entry>
<entry>
<title>smoketest: T9048: harden DHCP client process checks against CI timing races</title>
<updated>2026-07-03T14:38:15+00:00</updated>
<author>
<name>Yuriy Andamasov</name>
<email>yuriy@vyos.io</email>
</author>
<published>2026-07-03T14:16:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ad3518c119641d830a6ed96c9f35de0a078e70e6'/>
<id>urn:sha1:ad3518c119641d830a6ed96c9f35de0a078e70e6</id>
<content type='text'>
Interface smoketests fail intermittently in CI on DHCP-related
assertions (test_interfaces_cli job pass rate 42-55% over the last 30
workflow runs). Three timing hazards in the interface test base class:

* process_named_running() was polled with a 10 second window at all
  dhclient/dhcp6c call sites - too short on a loaded runner. Raise to a
  shared PROCESS_WAIT_TIMEOUT of 60 seconds; the poll returns as soon
  as the process appears, so this only delays the failure path.

* /proc/&lt;pid&gt;/cmdline was read unguarded after PID discovery. dhclient
  re-executes itself while daemonizing, so the discovered PID can be
  gone by the time /proc is read - read_file() then raises and the test
  errors out instead of failing cleanly. New get_process_cmdline()
  helper re-resolves the PID once when the read fails.

* tearDown() asserted daemon absence immediately after the config was
  removed, reporting daemons still in their shutdown path as leaks.
  Use the existing wait_for_result() shim helper with the same 60s
  bound to grant a grace period before declaring a leak; the poll
  returns on first observation of a clean state, so passing runs pay
  no extra wall clock.

🤖 Generated by [robots](https://vyos.io)
</content>
</entry>
<entry>
<title>T8923: normalize "can not" to "cannot"</title>
<updated>2026-06-16T18:24:44+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-06-16T18:24:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=fa853ed8f25b5b9bf396d6e819b2c6259e7f5f42'/>
<id>urn:sha1:fa853ed8f25b5b9bf396d6e819b2c6259e7f5f42</id>
<content type='text'>
Replace two-word "can not" / "Can not" with "cannot" across comments,
ConfigError messages, CLI help text, and op-mode output.

Standard SNMP MIB files under mibs/ are left unchanged.
</content>
</entry>
<entry>
<title>T8410: Fix typos and mistakes for comments and messages</title>
<updated>2026-03-27T15:00:17+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2026-03-27T14:43:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=139b0841f8242a5c6ebdafb37380c1fb78342aae'/>
<id>urn:sha1:139b0841f8242a5c6ebdafb37380c1fb78342aae</id>
<content type='text'>
Fix typos and mistakes
No functional changes
</content>
</entry>
<entry>
<title>vyos.ifconfig: T8358: clear qdiscs when deleting mirror CLI node</title>
<updated>2026-03-10T04:15:32+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-03-07T21:33:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=abc7060ddcca0315682427a1e38faed8cfa01796'/>
<id>urn:sha1:abc7060ddcca0315682427a1e38faed8cfa01796</id>
<content type='text'>
When removing the mirror CLI node to stop mirroring or redirecting traffic
to another interface, the egress configuration was not cleared. This caused
traffic to continue being sent out the SPAN port even after the node was
removed.

Fix by properly clearing all tc(8) qdiscs.

Update smoketests to verify nothing remains after mirror deletion.
</content>
</entry>
<entry>
<title>smoketest: T8023: adjust base interface test for Vlan MTUs</title>
<updated>2025-11-21T19:39:06+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-11-21T19:23:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=67c5e2ef0ed47edb0fad5288428beeff783f460f'/>
<id>urn:sha1:67c5e2ef0ed47edb0fad5288428beeff783f460f</id>
<content type='text'>
Some drivers are limited to an MTU of 1500 byte - e.g. when VyOS runs on
PROXMOX with default bridge settings. We use lower values for the testcase
test_vif_8021q_mtu_limits which will fit for almost every NIC, but keep the
testcase logic intact.
</content>
</entry>
<entry>
<title>T7948: always call setUp() and tearDown() base class methods</title>
<updated>2025-10-21T19:03:16+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-10-20T16:52:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4995a58f998d3bdd055e49e919945bc0aa939be4'/>
<id>urn:sha1:4995a58f998d3bdd055e49e919945bc0aa939be4</id>
<content type='text'>
While working on task T7664 (FRR 10.4 upgrade), I identified the need for
additional validation and safeguards around the FRR management daemon. The
most appropriate place for this logic is in the setUp() and tearDown() methods
of the smoketest base class, VyOSUnitTestSHIM.

However, during implementation, it became apparent that test cases do not
consistently invoke the base class's setup and teardown methods. This
inconsistency complicates the process of capturing the FRR mgmtd PID at the
start of a test and verifying that it remains unchanged by the end - a key step
in detecting crashes or unexpected terminations (e.g., SIGSEGV) of the FRR
management daemon during tests.
</content>
</entry>
<entry>
<title>frr: T7664: remove CSTORE_GUARD_TIME from smoketests</title>
<updated>2025-10-16T14:25:38+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-10-14T15:35:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=6961f7373fdec559f64a82dcb8c0b87d06f53e78'/>
<id>urn:sha1:6961f7373fdec559f64a82dcb8c0b87d06f53e78</id>
<content type='text'>
</content>
</entry>
<entry>
<title>smoketest: T7858: use pylint for our testcases</title>
<updated>2025-09-30T15:25:25+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-09-30T15:17:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=fa868a6967b55c7d06220afd5a0f3e7caf97443a'/>
<id>urn:sha1:fa868a6967b55c7d06220afd5a0f3e7caf97443a</id>
<content type='text'>
</content>
</entry>
</feed>
