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 7, 2024
1 parent 8d30141 commit fe342e4
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions .github/workflows/dash-bmv2-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,13 @@ jobs:
build:
name: Build and Test DASH Pipeline
runs-on: ubuntu-20.04
continue-on-error: true
strategy:
fail-fast: false
env:
docker_fg_flags: --privileged
docker_fg_root_flags: --privileged -u root
docker_bg_flags: -d --privileged
docker_fg_flags: --privileged --memory=4g --memory-swap -1
docker_fg_root_flags: --privileged -u root --memory=4g -memory-swap -1
docker_bg_flags: -d --privileged --memory=4g --memory-swap -1
defaults:
run:
working-directory: ./dash-pipeline
Expand Down Expand Up @@ -85,9 +88,28 @@ 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
cat /proc/cpuinfo
free -h
df -h
top -b -n 1
docker info
docker stats --no-stream
docker top dash-dpapp-$USER
docker logs -t dash-dpapp-$USER
- name: Run PTF Tests
timeout-minutes: 10
run: DOCKER_FLAGS=$docker_fg_root_flags make run-saithrift-ptftests
- name: Check dpapp status again
run: |
docker stats --no-stream
docker top dash-dpapp-$USER
docker logs -t dash-dpapp-$USER
- name: Deploy ixia-c Traffic Generator
run: DOCKER_FLAGS=$docker_fg_flags make deploy-ixiac
- name: Run Pytests
Expand Down

0 comments on commit fe342e4

Please sign in to comment.