Skip to content
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

CI Failing on Wrong BIG-IP Netmiko Platform #455

Closed
jdrew82 opened this issue May 13, 2024 · 1 comment · Fixed by #456
Closed

CI Failing on Wrong BIG-IP Netmiko Platform #455

jdrew82 opened this issue May 13, 2024 · 1 comment · Fixed by #456
Assignees
Labels
integration: device42 Issues/PRs for Device42 Integration type: bug Issues/PRs addressing a bug.

Comments

@jdrew82
Copy link
Contributor

jdrew82 commented May 13, 2024

Environment

  • Python version: 3.11
  • Nautobot version: 2.2.3
  • nautobot-ssot version: 2.6.1

Expected Behavior

CI to pass for test_get_netmiko_platform_5_bigip unit test.

Observed Behavior

Test fails with AssertionError:

======================================================================
FAIL: test_get_netmiko_platform_5_bigip (nautobot_ssot.tests.device42.unit.test_utils_device42.TestUtilsDevice42.test_get_netmiko_platform_5_bigip)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/parameterized/parameterized.py", line 533, in standalone_func
    return func(*(a + p.args), **p.kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/source/nautobot_ssot/tests/device42/unit/test_utils_device42.py", line 174, in test_get_netmiko_platform
    self.assertEqual(device42.get_netmiko_platform(sent), received)
AssertionError: 'bigip_f5' != 'f5_tmsh'
- bigip_f5
+ f5_tmsh

Steps to Reproduce

  1. Build dev environment for SSoT.
  2. Run invoke tests.
  3. Look at results.
@jdrew82 jdrew82 self-assigned this May 13, 2024
@jdrew82 jdrew82 added type: bug Issues/PRs addressing a bug. integration: device42 Issues/PRs for Device42 Integration labels May 13, 2024
@jdrew82
Copy link
Contributor Author

jdrew82 commented May 13, 2024

I believe this is related to a change in the PYATS_LIB_MAPPER mapping in netutils.

@jdrew82 jdrew82 linked a pull request May 14, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration: device42 Issues/PRs for Device42 Integration type: bug Issues/PRs addressing a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant