Skip to content

Bug: show_techsupport/test_techsupport.py::test_techsupport fails on multi-ASIC T1 KVM #21690

@saiarcot895

Description

@saiarcot895

Is it platform specific

generic

Importance or Severity

Medium

Description of the bug

On multi-ASIC T1 KVM setup, show_techsupport/test_techsupport.py::test_techsupport test case fails with a CLI error when trying to create a mirror session.

Steps to Reproduce

  1. Download a multi-ASIC T1 KVM image.
  2. Run add-topo with that image and vms-kvm-four-asic-t1-lag topology.
  3. Run the show_techsupport/test_techsupport.py test suite.

Actual Behavior and Expected Behavior

Test should pass.

Relevant log output

run module command failed, Ansible Results =>
failed = True
changed = True
rc = 2
cmd = ['config', 'mirror_session', 'add', 'test_session_1', '1.1.1.1', '10.0.0.33', '8', '1', '25944', '0']
start = 2025-12-13 20:02:29.247121
end = 2025-12-13 20:02:30.043657
delta = 0:00:00.796536
msg = non-zero return code
invocation = {'module_args': {'_raw_params': 'config mirror_session add test_session_1 1.1.1.1 10.0.0.33 8 1 25944 0', '_uses_shell': False, 'expand_argument_vars': True, 'stdin_add_newline': True, 'strip_empty_ends': True, 'argv': None, 'chdir': None, 'executable': None, 'creates': None, 'removes': None, 'stdin': None}}
_ansible_no_log = False
stdout =
stderr =
Usage: config mirror_session add [OPTIONS] <session_name> <src_ip> <dst_ip>
                                 <dscp> <ttl> [gre_type] [queue]
Try 'config mirror_session add -h' for help.

Error: Error: Port mirror direction 'both' is not supported by the ASIC

Output of show version

Attach files (if any)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions