Skip to content

Commit a6cadc2

Browse files
authored
fix runtime errs.
1 parent 28d3464 commit a6cadc2

File tree

2 files changed

+28
-7
lines changed

2 files changed

+28
-7
lines changed

.github/workflows/metro_vision_ai_app_recipe_sanity.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,14 @@ jobs:
8080
- name: Sanity Test
8181
run: |
8282
sudo apt-get update
83-
sudo pip install --ignore-installed robotframework
83+
8484
lspci | grep -i vga
8585
sudo apt install -y python3-nose libxml2-utils vlc
86-
sudo pip install --ignore-installed selenium
86+
87+
python3 -m venv venv
88+
source venv/bin/activate
89+
pip install --upgrade pip
90+
pip install robotframework selenium
8791
cd edge-ai-suites-repo/metro-ai-suite/metro-vision-ai-app-recipe/test-suite/robot_files
8892
robot test.robot || true &
8993
sleep 480
@@ -105,9 +109,15 @@ jobs:
105109
- name: Helm Sanity Test
106110
run: |
107111
sudo apt-get update
108-
sudo pip install --ignore-installed robotframework
112+
109113
lspci | grep -i vga
110114
sudo apt install -y python3-nose libxml2-utils vlc
115+
116+
python3 -m venv venv
117+
source venv/bin/activate
118+
pip install --upgrade pip
119+
pip install robotframework selenium
120+
111121
cd edge-ai-suites-repo/metro-ai-suite/metro-vision-ai-app-recipe/test-suite/robot_files
112122
robot test_helm.robot || true &
113123
sleep 480

.github/workflows/spineapp_sanity.yaml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,15 @@ jobs:
7575
- name: Sanity Test
7676
run: |
7777
sudo apt-get update
78-
sudo pip install robotframework
78+
7979
lspci | grep -i vga
8080
sudo apt install -y python3-nose libxml2-utils vlc
81+
82+
python3 -m venv venv
83+
source venv/bin/activate
84+
pip install --upgrade pip
85+
pip install robotframework selenium
86+
8187
cd edge-ai-suites-repo/manufacturing-ai-suite/industrial-edge-insights-vision/tests/robot_files
8288
robot test.robot || true &
8389
sleep 480
@@ -98,14 +104,19 @@ jobs:
98104
- name: Helm Sanity Test
99105
run: |
100106
sudo apt-get update
101-
sudo pip install robotframework
107+
102108
lspci | grep -i vga
103109
sudo apt install -y python3-nose libxml2-utils vlc
110+
111+
python3 -m venv venv
112+
source venv/bin/activate
113+
pip install --upgrade pip
114+
pip install robotframework selenium
104115
cd edge-ai-suites-repo/manufacturing-ai-suite/industrial-edge-insights-vision/tests/robot_files
105116
robot test_helm.robot || true &
106117
sleep 480
107-
docker logs dlstreamer-pipeline-server >> dlsps_logs.txt &
108-
wait
118+
119+
109120
mkdir -p /tmp/test_results
110121
cp -r report.html log.html output.xml dlsps_logs.txt /tmp/test_results/
111122
passed=$(xmllint --xpath "//return/status[@status='PASS']" ./output.xml | wc -l) || true

0 commit comments

Comments
 (0)