From 308c67a710ff481656c032de853d8ab12afd8c6c Mon Sep 17 00:00:00 2001 From: Junhua Zhai Date: Wed, 6 Nov 2024 02:17:52 +0000 Subject: [PATCH] Check dpapp status --- .github/workflows/dash-bmv2-ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dash-bmv2-ci.yml b/.github/workflows/dash-bmv2-ci.yml index a87b8cbc1..e7b3aedb6 100644 --- a/.github/workflows/dash-bmv2-ci.yml +++ b/.github/workflows/dash-bmv2-ci.yml @@ -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