Skip to content

[test-gap] lldp neighbors disappear when orchagnet restarted #6560

@ZhaohuiS

Description

@ZhaohuiS

Description

There is a known issue for lldp lldpd/lldpd#492.

Steps to reproduce the issue:

  1. sudo config feature autorestart swss diable
  2. docker exec swss supervisorctl status
  3. docker exec swss kill -SIGKILL 111(orchagent)
  4. docker inspect -f {{.State.Running}} swss => make sure swss is running
  5. docker exec swss supervisorctl start orchagent

Or run autorestart/test_container_autorestart.py

It's been fixed in sonic-net/sonic-buildimage#9519.
But there is test gap to cover this scenario.

  1. restart orchagent
  2. check if lldp neighbors are missing.

Describe the results you received:

lldp neighbors gone but bgp sessions are up, interfaces are up. Throw these warning log.

Oct 18 07:07:58.126844 str2-z9332f-01 INFO lldp#/supervisord: lldpd 2022-10-18T07:07:58 [WARN/lldp] unable to send packet on real device for Ethernet112: No such device or address
Oct 18 07:07:58.127528 str2-z9332f-01 INFO lldp#/supervisord: lldpd 2022-10-18T07:07:58 [WARN/lldp] unable to send packet on real device for Ethernet136: No such device or address
Oct 18 07:07:58.142229 str2-z9332f-01 WARNING lldp#lldpd[25]: unable to send packet on real device for Ethernet200: No such device or address
Oct 18 07:07:58.142578 str2-z9332f-01 INFO lldp#/supervisord: lldpd 2022-10-18T07:07:58 [WARN/lldp] unable to send packet on real device for Ethernet200: No such device or address

Describe the results you expected:

Additional information you deem important:

**Output of `show version`:**

```
(paste your output here)
```

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

```
(paste your output here)
```

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions