-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexError when new value appears in postcheck #394
Comments
I am checking route next-hops. When a new route appears in post I get an error trying to reference a related element. The first test case has no issue, just looking at routes. When I look at next-hops and reference the route, is when I run into issues test.yaml
output:
Should this fail the second test but at least tell me what the post route element was that is new? Or report the missing pre element as None? Sorry if my test case is a mess, I'm learning :-) Attached are my pre and post snapshots (renamed .txt so they can paste) 192.168.3.4_post_show_route.txt Versions:
|
issue is fixed and working fine now, we will close this issue as fixed .
Thanks |
issue is fixed #399 |
Description of Issue/Question
When a device is upgraded, a new environmental item is detected in post check, whilst not detected in precheck, the test errors out.
Setup
config.yaml
test.yaml
Precheck XML: https://snippi.com/s/2ftc9mu
Postcheck XML: https://snippi.com/s/8k1k71g
Steps to Reproduce Issue
Run compare:
jsnapy --check pre post -f config.yaml
Receive the following error due to
FPC 5 PLX PCIe Switch TSen
&FPC 7 PLX PCIe Switch TSen
are missing in the precheck./var/logs/jsnapy/jsnapy.log:
Versions Report
The text was updated successfully, but these errors were encountered: