Skip to content

Port Channel Interface Down While running Testcases #812

@AfraMariyam

Description

@AfraMariyam

While running test cases in virtual Switch testbed setup: i am getting an error saying port channel interfaces are down:

By default port channel interfaces should UP right?

Do i need to modify interfaces.yml file so that i can make these interfaces UP?

TASK [test : Verify interfaces are up correctly] *******************************
task path: /var/johnar/sonic-mgmt/ansible/roles/test/tasks/interface.yml:36
Friday 15 February 2019 11:28:44 +0000 (0:00:00.111) 0:00:12.289 *******
ok: [vlab-01] => {"changed": false, "invocation": {"module_args": {"that": "0 == 0"}, "module_name": "assert"}, "msg": "all assertions passed"}

TASK [test : Verify port channel interfaces are up correctly] ******************
task path: /var/johnar/sonic-mgmt/ansible/roles/test/tasks/interface.yml:45
Friday 15 February 2019 11:28:44 +0000 (0:00:00.134) 0:00:12.424 *******
failed: [vlab-01] => (item=PortChannel0001) => {"assertion": "'False' == 'True'", "evaluated_to": false, "failed": true, "invocation": {"module_args": {"that": "'False' == 'True'"}, "module_name": "assert"}, "item": "PortChannel0001"}
failed: [vlab-01] => (item=PortChannel0003) => {"assertion": "'False' == 'True'", "evaluated_to": false, "failed": true, "invocation": {"module_args": {"that": "'False' == 'True'"}, "module_name": "assert"}, "item": "PortChannel0003"}
failed: [vlab-01] => (item=PortChannel0002) => {"assertion": "'False' == 'True'", "evaluated_to": false, "failed": true, "invocation": {"module_args": {"that": "'False' == 'True'"}, "module_name": "assert"}, "item": "PortChannel0002"}
failed: [vlab-01] => (item=PortChannel0004) => {"assertion": "'False' == 'True'", "evaluated_to": false, "failed": true, "invocation": {"module_args": {"that": "'False' == 'True'"}, "module_name": "assert"}, "item": "PortChannel0004"}

I checked in sonic-vm also ,there also port-channel interfaces are down,
admin@vlab-01:~$ show interface portchannel
Flags: A - active, I - inactive, Up - up, Dw - Down, N/A - not available, S - selected, D - deselected
No. Team Dev Protocol Ports

0001 PortChannel0001 LACP(A)(Dw) Ethernet112(D)
0002 PortChannel0002 LACP(A)(Dw) Ethernet116(D)
0003 PortChannel0003 LACP(A)(Dw) Ethernet120(D)
0004 PortChannel0004 LACP(A)(Dw) Ethernet124(D)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions