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

copp test was broken with swap_syncd #7822

Closed
ysmanman opened this issue Mar 22, 2023 · 3 comments
Closed

copp test was broken with swap_syncd #7822

ysmanman opened this issue Mar 22, 2023 · 3 comments

Comments

@ysmanman
Copy link
Contributor

Description

In T2 copp testing, we noticed that ptf_nn_agent was not running in rpc syncd because ptf.afpacket module was not installed in rpc syncd. Should we add the following in https://github.com/sonic-net/sonic-buildimage/blob/202205/platform/broadcom/docker-syncd-brcm-dnx-rpc/Dockerfile.j2?

mkdir ptf && cd ptf && wget https://raw.githubusercontent.com/p4lang/ptf/master/src/ptf/afpacket.py && touch __init__.py

Steps to reproduce the issue:

  1. Enable swap_syncd and run copp test on T2 topo.
  2. Check if ptf_nn_agent is running in rpc syncd or not.

Describe the results you received:

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)
```
@ysmanman
Copy link
Contributor Author

Add @abdosi @arlakshm for visibility.

@ysmanman
Copy link
Contributor Author

ysmanman commented Apr 3, 2023

sonic-net/sonic-buildimage#14503 should fix the issue.

yxieca pushed a commit to sonic-net/sonic-buildimage that referenced this issue May 17, 2023
Why I did it
ptf_nn_agent failed to start in dnx rpc syncd because module afpacket was not installed.
Please see issue sonic-net/sonic-mgmt#7822

How I did it
Add downloading ptf afpacket module in docker file.

How to verify it
Verified that ptf_nn_agent was started successfully in dnx rpc syncd with the change.
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this issue May 17, 2023
Why I did it
ptf_nn_agent failed to start in dnx rpc syncd because module afpacket was not installed.
Please see issue sonic-net/sonic-mgmt#7822

How I did it
Add downloading ptf afpacket module in docker file.

How to verify it
Verified that ptf_nn_agent was started successfully in dnx rpc syncd with the change.
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this issue May 17, 2023
Why I did it
ptf_nn_agent failed to start in dnx rpc syncd because module afpacket was not installed.
Please see issue sonic-net/sonic-mgmt#7822

How I did it
Add downloading ptf afpacket module in docker file.

How to verify it
Verified that ptf_nn_agent was started successfully in dnx rpc syncd with the change.
mssonicbld pushed a commit to sonic-net/sonic-buildimage that referenced this issue May 17, 2023
Why I did it
ptf_nn_agent failed to start in dnx rpc syncd because module afpacket was not installed.
Please see issue sonic-net/sonic-mgmt#7822

How I did it
Add downloading ptf afpacket module in docker file.

How to verify it
Verified that ptf_nn_agent was started successfully in dnx rpc syncd with the change.
mssonicbld pushed a commit to sonic-net/sonic-buildimage that referenced this issue May 17, 2023
Why I did it
ptf_nn_agent failed to start in dnx rpc syncd because module afpacket was not installed.
Please see issue sonic-net/sonic-mgmt#7822

How I did it
Add downloading ptf afpacket module in docker file.

How to verify it
Verified that ptf_nn_agent was started successfully in dnx rpc syncd with the change.
@arlakshm
Copy link
Contributor

sonic-net/sonic-buildimage#14503 is merged. closing this issue

@rlhui rlhui moved this to Done in SONiC Chassis Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants