Revert "[docker-ptf]: Upgrade scapy to 2.4.5 in docker-ptf (#10507)" (#10537)

It upgraded scapy to 2.4.5 in docker-ptf container, after this upgrade, all scripts under ansible/roles/test/files/ptftests will import scapy 2.4.5, some test cases will fail because they are not upgraded accordingly.

Reverts #10507 to avoid breaking regression test.

This reverts commit 92efc01270.
This commit is contained in:
Zhaohui Sun 2022-04-13 08:57:10 +08:00 committed by GitHub
parent 12ebe3ffa0
commit 44cf773a96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,8 +119,7 @@ RUN rm -rf /debs \
&& pip install pyrasite \
&& mkdir -p /opt \
&& cd /opt \
&& wget https://raw.githubusercontent.com/p4lang/ptf/master/ptf_nn/ptf_nn_agent.py \
&& pip install --upgrade --ignore-installed scapy==2.4.5
&& wget https://raw.githubusercontent.com/p4lang/ptf/master/ptf_nn/ptf_nn_agent.py
## Adjust sshd settings
RUN mkdir /var/run/sshd \