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

bgp_gr_helper Test suite Execution Fails in Latest MSFT Sonic Testbed #3511

Open
DhinakaranDayalan opened this issue Sep 25, 2019 · 1 comment

Comments

@DhinakaranDayalan
Copy link

DhinakaranDayalan commented Sep 25, 2019

Description

Issue:

I was trying to run the bgp_gr_helper test suite form the MSFT Test bed Suite.
bgp_gr_helper.yml

Steps to reproduce the issue:
When I was executing the script the test case failed at the Following Location.

# When RIBD up and send bgp open message it will set F bit to 1. Which means that during restart
# all routes were preserved in FIB. When DUT receives open message with F bit set to 1 it also
# should preserve all routes (no route update should happens).
- name: Force stop RIBD to simulate GR.
  shell: "killall -9 ribd; sleep 0.5; ifconfig et1 down"
  delegate_to: "{{ vm_ip }}"

When I executed with the detailed verbose I see the script is trying to login into the DUT with the User=root
But the lab config file is using login=admin

TASK [test : Force stop RIBD to simulate GR.] **********************************
task path: /var/azure/sonic-mgmt/ansible/roles/test/tasks/bgp_gr_helper.yml:49
Wednesday 25 September 2019 17:18:48 +0000 (0:00:00.997) 0:01:25.666 ***
<10.28.XX.XX> ESTABLISH SSH CONNECTION FOR USER: root
<10.28.XX.XX> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)
<10.28.XX.XX> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<120.228.XX.XX> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=root)
<120.228.XX.XX> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=30)
<120.228.XX.XX> SSH: PlayContext set ssh_common_args: ()
<120.228.XX.XX> SSH: PlayContext set ssh_extra_args: ()
<120.228.XX.XX> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/azure/.ansible/cp/ansible-ssh-%h-%p-%r)
<120.228.XX.XX> SSH: EXEC sshpass -d15 ssh -C -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o User=root -o ConnectTimeout=30 -o ControlPath=/var/azure/.ansible/cp/ansible-ssh-%h-%p-%r 120.228.XX.XX 'LANG=C LC_ALL=C LC_MESSAGES=C /usr/bin/python'
fatal: [et6448m-M0]: UNREACHABLE! => {"changed": false, "msg": "ERROR! SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh", "unreachable": true}

Describe the results you received:
Test Execution Failed

Describe the results you expected:
Test Execution to Pass

Additional information you deem important (e.g. issue happens only occasionally):

**Sonic Management GIT Version**

commit a3f24588b4785263c588211aa88baed228a01509
Author: Stephen Sun [email protected]
Date: Sat Sep 21 00:47:42 2019 +0800

[tests/platform/test_reboot.py] add testcases for reboot cause (#1079)


(paste your output here)
```

**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```
@wangxin
Copy link
Contributor

wangxin commented Dec 13, 2019

@DhinakaranDayalan It looks like there is issue with establishing SSH connection to the PTF host.

fatal: [et6448m-M0]: UNREACHABLE! => {"changed": false, "msg": "ERROR! SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh", "unreachable": true}

This task is to be executed on the PTF host.

mssonicbld added a commit that referenced this issue Feb 13, 2025
…lly (#21664)

#### Why I did it
src/sonic-swss
```
* 5031aadc - (HEAD -> 202411, origin/202411) Capability query for MACSEC ACL attribute (#3511) (31 hours ago) [mssonicbld]
* 4b357e59 - Fix VRF update handling for loopback interfaces in IntfsOrch (#3512) (31 hours ago) [mssonicbld]
* fe98176b - Add a delay between killing teamd processes (#3510) (2 days ago) [mssonicbld]
* e967711e - Remove RIF from m_rifsToAdd before deleting it (#3499) (6 days ago) [mssonicbld]
* 337c9a10 - Optimize counter polling interval by making it more accurate (#3500) (6 days ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants