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 12, 2024
1 parent 8f735d4 commit d67bd63
Showing 1 changed file with 31 additions and 4 deletions.
35 changes: 31 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
docker_fg_root_flags: --privileged -u root --memory=4g
docker_bg_flags: -d --privileged --memory=4g
defaults:
run:
working-directory: ./dash-pipeline
Expand Down Expand Up @@ -85,9 +88,33 @@ 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
cat /proc/cpuinfo
cat /proc/meminfo
sysctl vm.max_map_count
free -h
df -h
top -b -n 1
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 info
cat /proc/meminfo | grep -i huge
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
if: ${{ always() }}
run: |
docker stats --no-stream
tail -50 /var/log/syslog
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 d67bd63

Please sign in to comment.