Skip to content

tests requiring interfaces to be operationally fail after running test_po_cleanup in regression runs #5294

Open
@sanmalho-git

Description

@sanmalho-git

Description

PR #4888 introduced the call to 'duthost.critical_services_fully_started' which checks if all the critical services dockers are in running state.

Since, test_po_cleanup restarts the swss docker (which restarts syncd docker as well), it does not wait long enough for syncd to fully initialize (all ports are operationally up).

Thus, in regression runs, if tests are executing that require all ports to be operationally up (like test_interfaces sanity check) fail.

Steps to reproduce the issue:

  1. Run test_po_cleanup in test_po_cleanup.py.
  2. As soon as the test is done, monitor 'show interface status' - and ports won't show up.
  3. After a while (2 mins or so for Nokia's linecards), 'show interface status' would have the ports.

Describe the results you received:

Describe the results you expected:
The test should check if syncd is fully initialized at the end.

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

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