You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@hippo:~/GIT_H/netlab/tests/integration/lag# netlab validate
[ping] Pinging H2 from H1 [ node(s): h1 ]
[VALUE] validate: 'Box' object is not callable
[HINT] device: frr, action: exec
plugin expression: exec_ping(nodes.h2.interfaces[0].ipv4,af='ipv4')
[MISSING] validation: Test ping: have no idea what command to execute on node h1 / device frr
[WAITING] Waiting for STP to enable the ports (retrying for 45 seconds)
[VALUE] validate: 'Box' object is not callable
[MISSING] validation: Test ping: have no idea what command to execute on node h1 / device frr
[VALUE] validate: 'Box' object is not callable
It seems the test is pointing at the wrong interface(s).
Side note: second test of 09-mlag-m-to-m.yml is broken as well:
root@hippo:~/GIT_H/netlab/tests/integration/lag# netlab validate
[ping] Pinging H2 from H1 [ node(s): h1 ]
[PASS] h1: Ping to h2 (172.16.0.6) succeeded
[PASS] Test succeeded
[ping_gw] Pinging gateway from H1 [ node(s): h1 ]
[VALUE] validate: list index out of range
[HINT] device: linux, action: exec
plugin expression: exec_ping(nodes.b1.interfaces[4].ipv4,af='ipv4')
[MISSING] validation: Test ping_gw: have no idea what command to execute on node h1 / device linux
[FAIL] 2 tests completed, one test failed
ssasso
changed the title
[BUG] Error in test validation for tests/integration/lag/07-mlag-trunk.yml
[BUG] Error in test validation for tests/integration/lag - tests 07,09
Dec 27, 2024
The second validation check in that same test is also problematic -- the moment someone touches that test the interfaces will change.
I have to admit I did a cursory review of the LAG integration tests. I assumed that an author of an integration test ran it at least once. Obviously my lofty expectations are way out of line in the brave new world of "move fast and break things"
netlab inspect --node h2 interfaces[0] might be easier (plus it adds the group variables to the node, so you get the "real" picture of what Ansible sees)
For 07-mlag-trunk.yml:
It seems the test is pointing at the wrong interface(s).
Looking at the netlab snapshot with yq:
The text was updated successfully, but these errors were encountered: