-
Notifications
You must be signed in to change notification settings - Fork 29
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
bug: Test case erroneously run when more than one tag in inventory #974
Comments
kosichd
changed the title
bug: Test case erroneously run w
bug: Test case erroneously run when more than one tag in inventory
Dec 20, 2024
@gmuloc i also tried with cloning the repo to a new directory to get the most recent v1.1.0 updates, and issue still appears to be there. |
Hi @kosichd - so v1.1.0 was released before #903 and does indeed have the bug
However in main currently (so including PR 903) here is the output I get (which is as expected):
I think the next release should fix your issue. How have you tested 903? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using tags with the anta.tests.interfaces/VerifyInterfacesStatus test, there seems to be an issue where tests are being executed that should not be.
This seems to happen when a switch has more than one tag in the inventory file.
In the below example catalog and inventory files, "management_switch" has two tags, 'osw' and 'DUB'
When running the NRFU command with --tags osw, it should only execute InterfaceStatus against interfaces E51 and E52. However, it seems to be running it against E53/E54 also, which is actually part of the 'DUB' tag, not 'osw'
This causes the test case to fail -
Steps to recreate:
inventory file
catalog file
The text was updated successfully, but these errors were encountered: