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

rpc image - No module named ptf #4277

Closed
mykolaf opened this issue Mar 18, 2020 · 1 comment
Closed

rpc image - No module named ptf #4277

mykolaf opened this issue Mar 18, 2020 · 1 comment

Comments

@mykolaf
Copy link
Collaborator

mykolaf commented Mar 18, 2020

Description

Faced issue while running CoPP test:

root@sonic:/# /usr/bin/python /opt/ptf_nn_agent.py --device-socket 1@tcp://0.0.0.0:10900 -i 1-3@Ethernet12 --set-nn-rcv-buffer=109430400 --set-iface-rcv-buffer=109430400 --set-nn-snd-buffer=109430400 --set-iface-snd-buffer=109430400
Traceback (most recent call last):
  File "/opt/ptf_nn_agent.py", line 38, in <module>
    from ptf import afpacket
ImportError: No module named ptf

Looks like ptf_nn_agent.py has new dependency. Due to it being downloaded by wget we uncontrollably received an updated version.

Steps to reproduce the issue:

  1. run CoPP test

Describe the results you received:

Traceback from nn agent.
Describe the results you expected:

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

**Output of `show version`:**
SONiC Software Version: SONiC.HEAD.31-505d4bfb
Distribution: Debian 9.12
Kernel: 4.9.0-11-2-amd64
Build commit: 505d4bfb
Build date: Mon Mar 16 04:52:34 UTC 2020
Built by: johnar@jenkins-worker-8
**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```
@nazariig
Copy link
Collaborator

Closed by #4279

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