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

[test_po_update] Fails due to found "mclag" errors in syslog #4503

Closed
yvolynets-mlnx opened this issue Apr 29, 2020 · 3 comments · Fixed by #4502
Closed

[test_po_update] Fails due to found "mclag" errors in syslog #4503

yvolynets-mlnx opened this issue Apr 29, 2020 · 3 comments · Fixed by #4502
Assignees
Labels

Comments

@yvolynets-mlnx
Copy link

Description
Test test_po_update from pc/test_po_update.py fails because during test case execution there were printed errors to the DUT syslog, and loganalyzer match this errors.

Steps to reproduce the issue:

  1. Run test case on T0 topology:
    py.test $PYTEST_COMMON_OPTS pc/test_po_update.py

Describe the results you received:

LogAnalyzerError:
{'expect_messages': {'/tmp/pytest-run/syslog.2020-04-29-14:04:23': []},
 'match_files': {'/tmp/pytest-run/syslog.2020-04-29-14:04:23': {'expected_match': 0,
                                                                'match': 5}},
 'match_messages': {'/tmp/pytest-run/syslog.2020-04-29-14:04:23': ['Apr 29 14:02:16.465750 [DUT_NAME] WARNING iccpd#iccpd: message repeated 46 times: [ [iccp_connect_syncd.WARN] Failed to connect to mclag syncd: errno str Connection refused]\n',
                                                                   'Apr 29 14:02:31.865508 [DUT_NAME] WARNING iccpd#iccpd: [iccp_connect_syncd.WARN] Failed to connect to mclag syncd: errno str Connection refused\n',
                                                                   'Apr 29 14:03:23.870157 [DUT_NAME] WARNING iccpd#iccpd: [iccp_connect_syncd.WARN] Failed to connect to mclag syncd: errno str Connection refused\n',
                                                                   'Apr 29 14:03:49.920659 [DUT_NAME] WARNING iccpd#iccpd: [local_if_destroy.WARN] Destroy interface PortChannel999, 202\n',
                                                                   'Apr 29 14:04:14.558838 [DUT_NAME] WARNING iccpd#iccpd: [iccp_connect_syncd.WARN] Failed to connect to mclag syncd: errno str Connection refused\n']},
 'total': {'expected_match': 0, 'expected_missing_match': 0, 'match': 5},
 'unused_expected_regexp': []}

Describe the results you expected:
Error logs should not be printed to the syslog.

Additional information you deem important:
mclag functionality should be verified.

It is 100% reproducible on the latest SONiC master.

**Output of `show version`:**

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

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

```
(paste your output here)
```
@lguohan lguohan self-assigned this Apr 29, 2020
@lguohan
Copy link
Collaborator

lguohan commented Apr 29, 2020

move to buildimage repo and addressed there.

@lguohan lguohan transferred this issue from sonic-net/sonic-mgmt Apr 29, 2020
@lguohan lguohan linked a pull request Apr 29, 2020 that will close this issue
@lguohan lguohan added the ICCPD label Apr 29, 2020
@lguohan
Copy link
Collaborator

lguohan commented Apr 29, 2020

iccpd needs to triage the log message. check #4404 , iccpd needs to be disabled by default.

@jianjundong
Copy link
Contributor

jianjundong commented Apr 30, 2020

@lguohan
The reason of this error log is ICCPD can not establish TCP connection to MCLAGSYNCD. The commit ID of PR 'add mclagsyncd (#811)' is 0de72da, 'sonic-swss' may be pushed or cherry-picked to this ID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants