Skip to content

Commit ff04e6d

Browse files
committed
[doc]: update instruction to run vstest under python3
Signed-off-by: Guohan Lu <lguohan@gmail.com>
1 parent c90b281 commit ff04e6d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ SWSS, Redis, and all the other required components run inside a virtual switch D
1414
```
1515
sudo modprobe team
1616
sudo apt install net-tools ethtool vlan
17-
sudo pip install docker zipp==2.2.1 pytest==4.6.9 flaky redis
17+
sudo pip3 install docker zipp==2.2.1 pytest==4.6.9 flaky redis distro==1.4.0
1818
```
19-
3. Install `python-swsscommon_1.0.0_amd64.deb`. You will need to install all the dependencies as well in the following order:
19+
3. Install `python3-swsscommon_1.0.0_amd64.deb`. You will need to install all the dependencies as well in the following order:
2020
2121
```
2222
sudo dpkg -i libnl-3-200_3.5.0-1_amd64.deb
@@ -30,7 +30,10 @@ SWSS, Redis, and all the other required components run inside a virtual switch D
3030
3131
You can find the dependencies [here](https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-all/lastSuccessfulBuild/artifact/target/debs/stretch/), and get this package by:
3232
- [Building it from scratch](https://github.com/Azure/sonic-swss-common)
33-
- [Downloading the latest build from Jenkins](https://sonic-jenkins.westus2.cloudapp.azure.com/job/common/job/sonic-swss-common-build/lastSuccessfulBuild/artifact/target/)
33+
- Downloading the latest build from Jenkins
34+
- [Debian](https://sonic-jenkins.westus2.cloudapp.azure.com/job/common/job/sonic-swss-common-build/lastSuccessfulBuild/artifact/target/)
35+
- [Ubuntu 18.04](https://sonic-jenkins.westus2.cloudapp.azure.com/job/common/job/sonic-swss-common-build-ubuntu/lastSuccessfulBuild/artifact/target/)
36+
- [Ubuntu 20.04](https://sonic-jenkins.westus2.cloudapp.azure.com/job/common/job/sonic-swss-common-build-ubuntu-20_04/lastSuccessfulBuild/artifact/target/)
3437
4. Load the `docker-sonic-vs.gz` file into docker. You can get the image by:
3538
- [Building it from scratch](https://github.com/Azure/sonic-buildimage)
3639
- [Downloading the latest build from Jenkins](https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-all/lastSuccessfulBuild/artifact/target/)

0 commit comments

Comments
 (0)