Skip to content

Commit

Permalink
Check dpapp status
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyzhai committed Nov 6, 2024
1 parent 8d30141 commit 9eb5a2b
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/dash-bmv2-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
name: Build and Test DASH Pipeline
runs-on: ubuntu-20.04
env:
docker_fg_flags: --privileged
docker_fg_root_flags: --privileged -u root
docker_bg_flags: -d --privileged
docker_fg_flags: --privileged --memory-swap -1
docker_fg_root_flags: --privileged -u root --memory-swap -1
docker_bg_flags: -d --privileged --memory-swap -1
defaults:
run:
working-directory: ./dash-pipeline
Expand Down Expand Up @@ -85,8 +85,19 @@ jobs:
- name: Run saithrift server
run: DOCKER_FLAGS=$docker_bg_flags make run-saithrift-server
- name: Run dpapp
run: DOCKER_FLAGS=$docker_bg_flags make run-dpapp HAVE_DPAPP=y
run: |
sleep 2 #wait a moment for saithrift-server ready
DOCKER_FLAGS=$docker_bg_flags make run-dpapp HAVE_DPAPP=y
- name: Check dpapp status
run: |
sleep 7 #wait a moment for dpapp ready
docker top dash-dpapp-$USER
docker logs -t dash-dpapp-$USER
cat /proc/cpuinfo
free -h
docker stats --no-stream
- name: Run PTF Tests
timeout-minutes: 10
run: DOCKER_FLAGS=$docker_fg_root_flags make run-saithrift-ptftests
- name: Deploy ixia-c Traffic Generator
run: DOCKER_FLAGS=$docker_fg_flags make deploy-ixiac
Expand Down

0 comments on commit 9eb5a2b

Please sign in to comment.