Skip to content

[copp] script hang after ControlPlaneBaseTest is initialized #273

@okanchou9

Description

@okanchou9

Hi,

I'm trying to run the CoPP script on my testbed using topology ptf32 but got script hang after ControlPlaneBaseTest is initialized.
Checked the process of CoPP script is like the following:

1. In copp.yml calling ptf_runner.yml to run the copp_tests.py for each test, like ARPTest.
2. In copp_tests.py, test will initializing the class ARPTest.
3. In class ARPTest's init function, test will initializing the class PolicyTest.
4. In class PolicyTest's init function, test will initializing the class ControlPlaneBaseTest.
5. In class ControlPlaneBaseTest's init function, test will initializing the class BaseTest.
6. Test will hang after ControlPlaneBaseTest is initialized.

Also the following ptf command is executed by script in test:

ptf --test-dir ptftests copp_tests.ARPTest --qlen=100000 --platform nn -t "verbose=False;pkt_tx_count=0" --device-socket 0-3@tcp://127.0.0.1:10900 --device-socket 1-3@tcp://172.20.192.94:10900 --disable-vxlan --disable-geneve --disable-erspan --disable-mpls --disable-nvgre 2>&1

"172.20.192.94" is the IP address of interface eth0(mgmt) of DUT.

All executed CoPP scripts in my testbed are the same as latest version on master branch.
Since I have no clue why this script will hang in this situation, could someone give me an advice to let me know about what's the process of CoPP test and the status of CoPP test.
Any information is welcome. thank you.


Regards,
Kenie Liu

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions