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

Work enable saic fun scale tests #3

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions dash-pipeline/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -859,20 +859,18 @@ kill-saichallenger-client:
run-saichallenger-tests: run-saichallenger-functional-tests run-saichallenger-scale-tests

run-saichallenger-functional-tests: deploy-ixiac
# Disabled due to https://github.com/sonic-net/DASH/issues/581
# $(DOCKER_RUN_SAI_CHALLENGER_CLIENT) \
# -w /sai-challenger/dash_tests/functional \
# $(DOCKER_FLAGS) \
# $(DOCKER_SAI_CHALLENGER_CLIENT_IMG) \
# ./run-tests.sh --setup=$(SAI_CHALLENGER_SETUP_FILE) $(SAI_CHALLENGER_TEST)
$(DOCKER_RUN_SAI_CHALLENGER_CLIENT) \
-w /sai-challenger/dash_tests/functional \
$(DOCKER_FLAGS) \
$(DOCKER_SAI_CHALLENGER_CLIENT_IMG) \
./run-tests.sh --setup=$(SAI_CHALLENGER_SETUP_FILE) $(SAI_CHALLENGER_TEST)

run-saichallenger-scale-tests: deploy-ixiac
# Disabled due to https://github.com/sonic-net/DASH/issues/581
# $(DOCKER_RUN_SAI_CHALLENGER_CLIENT) \
# -w /sai-challenger/dash_tests/scale \
# $(DOCKER_FLAGS) \
# $(DOCKER_SAI_CHALLENGER_CLIENT_IMG) \
# ./run-tests.sh --setup=$(SAI_CHALLENGER_SETUP_FILE) $(SAI_CHALLENGER_TEST)
$(DOCKER_RUN_SAI_CHALLENGER_CLIENT) \
-w /sai-challenger/dash_tests/scale \
$(DOCKER_FLAGS) \
$(DOCKER_SAI_CHALLENGER_CLIENT_IMG) \
./run-tests.sh --setup=$(SAI_CHALLENGER_SETUP_FILE) $(SAI_CHALLENGER_TEST)

run-saichallenger-tutorials: deploy-ixiac
$(DOCKER_RUN_SAI_CHALLENGER_CLIENT) \
Expand Down
7 changes: 4 additions & 3 deletions dash-pipeline/dockerfiles/Dockerfile.saichallenger-client
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ ADD SAI/rpc/saithrift-0.9.tar.gz /

# Install the python libraries
RUN cd /saithrift-0.9 && \
python3 setup.py install && \
pip3 install . && \
cd / && \
rm -rf saithrift-0.9 &&\
cd thrift-0.11.0 && \
python3 setup.py install && \
pip3 install . && \
cd / &&\
rm -rf thrift-0.11.0 && \
cd /SAI/test/ptf && \
python3 setup.py install && \
pip3 install . && \
ln -s ${DASH_PATH}/test/test-cases/scale/saic ${SAI_CHALLENGER_PATH}/dash_tests


CMD ["/usr/bin/supervisord"]
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
from pprint import pprint
import pytest
import dpugen
from saigen.confbase import *
from saigen.confutils import *
from dpugen.confbase import *
from dpugen.confutils import *

current_file_dir = Path(__file__).parent

Expand Down
Loading