Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
4fa801a
added metro vision AI sample app sanity workflow.
sowmiar1 Oct 10, 2025
5eb32e8
test run for sanity via PR.
sowmiar1 Oct 10, 2025
ef7c04e
added sanity to PR job.
sowmiar1 Oct 10, 2025
e5aa025
added debug logs.
sowmiar1 Oct 10, 2025
7614d1d
changed selenium install cmd
sowmiar1 Oct 10, 2025
0243d52
changed selenium installation cmd
sowmiar1 Oct 10, 2025
6838819
update sanity test to install robotframework and seleniumlibrary
athina98 Oct 10, 2025
6d9cb0b
update sanity test to use Python 3.12 for package installations
athina98 Oct 10, 2025
92ce6fd
refactor dependency installation in sanity workflow
athina98 Oct 10, 2025
d126abd
refactor dependency installation in sanity workflow to use --break-sy…
athina98 Oct 10, 2025
13815b2
remove pip upgrade command and install robotframework and selenium wi…
sowmiar1 Oct 10, 2025
e26a109
force-install selenium
sowmiar1 Oct 10, 2025
6f41858
moved dependencies to venv
sowmiar1 Oct 10, 2025
bf7de37
added command to check selenium import is working or not.
sowmiar1 Oct 10, 2025
16468fe
changes to fix sanity failures.
sowmiar1 Oct 14, 2025
9939867
fix import error.
sowmiar1 Oct 14, 2025
d004ccf
installing selenium deps.
sowmiar1 Oct 14, 2025
13ba5de
added debug cmds
sowmiar1 Oct 14, 2025
db289be
updated robot command.
sowmiar1 Oct 14, 2025
f18831b
modified robot command.
sowmiar1 Oct 14, 2025
67bb1f9
added debug
sowmiar1 Oct 14, 2025
64de8bc
debug log
sowmiar1 Oct 14, 2025
ce62b24
debug commands
sowmiar1 Oct 14, 2025
6c4e14a
debug commands
sowmiar1 Oct 14, 2025
879da25
debug
sowmiar1 Oct 14, 2025
afc0adf
fix for spine app sanity failures.
sowmiar1 Oct 16, 2025
47b7487
Removed test file.
sowmiar1 Oct 16, 2025
9bb203a
changes to publish results.
sowmiar1 Oct 28, 2025
dee40db
Merge branch 'main' into sowmya/fix/sanity_spineapp
sowmiar1 Oct 28, 2025
a423232
Merge branch 'main' into sowmya/fix/sanity_spineapp
sowmiar1 Nov 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/metro_vision_ai_app_recipe_pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,12 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Trivy Report - Config scan for Helm
path: metro-ai-suite/metro-vision-ai-app-recipe/trivy-helm.txt
path: metro-ai-suite/metro-vision-ai-app-recipe/trivy-helm.txt
sanity:
uses: ./.github/workflows/metro_vision_ai_app_recipe_sanity.yaml
with:
branch: ${{ github.head_ref }}
secrets: inherit
permissions:
contents: read
packages: write
2 changes: 1 addition & 1 deletion .github/workflows/spineapp_pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
cd manufacturing-ai-suite/industrial-edge-insights-vision/helm
sed -i "s/username:*/username: user/g" values.yaml
sed -i "s/password:*/password: password/g" values.yaml
trivy config . >> trivy-Spineapp-helm.txt
trivy config . -s HIGH,CRITICAL >> trivy-Spineapp-helm.txt

- name: Upload Scan artifact to Github
uses: actions/upload-artifact@v4
Expand Down
37 changes: 20 additions & 17 deletions .github/workflows/spineapp_sanity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,27 +57,30 @@ jobs:
run: |
sudo apt-get update
sudo pip install robotframework
lspci | grep -i vga
sudo apt install -y python3-nose libxml2-utils vlc
cd edge-ai-suites-repo/manufacturing-ai-suite/industrial-edge-insights-vision/tests/robot_files
robot test.robot || true &
sleep 480
docker logs dlstreamer-pipeline-server >> dlsps_logs.txt &
wait
mkdir -p /tmp/test_results
cp -r report.html log.html output.xml dlsps_logs.txt /tmp/test_results/
passed=$(xmllint --xpath "//return/status[@status='PASS']" ./output.xml | wc -l) || true
failed=$(xmllint --xpath "//return/status[@status='FAIL']" ./output.xml | wc -l) || true
not_run=$(xmllint --xpath "//return/status[@status='NOT RUN']" ./output.xml | wc -l) || true
total=$((passed + failed + not_run))
echo "### Sanity Test Summary" >> $GITHUB_STEP_SUMMARY
echo "- Total: $total" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Passed: $passed" >> $GITHUB_STEP_SUMMARY
echo "- ❌ Failed: $failed" >> $GITHUB_STEP_SUMMARY
echo "- ⏭️ Not Run: $not_run" >> $GITHUB_STEP_SUMMARY
echo "- 📄 [Full Report](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})" >> $GITHUB_STEP_SUMMARY
robot test.robot

- name: Copy and Publish results
if: always()
run: |
mkdir -p /tmp/test_results
cd edge-ai-suites-repo/manufacturing-ai-suite/industrial-edge-insights-vision/tests/robot_files
cp -r report.html log.html output.xml /tmp/test_results/
passed=$(xmllint --xpath "//return/status[@status='PASS']" ./output.xml | wc -l) || true
failed=$(xmllint --xpath "//return/status[@status='FAIL']" ./output.xml | wc -l) || true
not_run=$(xmllint --xpath "//return/status[@status='NOT RUN']" ./output.xml | wc -l) || true
total=$((passed + failed + not_run))
echo "### Sanity Test Summary" >> $GITHUB_STEP_SUMMARY
echo "- Total: $total" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Passed: $passed" >> $GITHUB_STEP_SUMMARY
echo "- ❌ Failed: $failed" >> $GITHUB_STEP_SUMMARY
echo "- ⏭️ Not Run: $not_run" >> $GITHUB_STEP_SUMMARY
echo "- 📄 [Full Report](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})" >> $GITHUB_STEP_SUMMARY

- name: Upload Scan artifact to Github
uses: actions/upload-artifact@v4
if: always()
with:
name: Sanity_Reports
path: /tmp/test_results/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ def docker_compose_up(self, value):
self._update_env_file({
"HOST_IP": hostIP,
"MTX_WEBRTCICESERVERS2_0_USERNAME": "test1234",
"MTX_WEBRTCICESERVERS2_0_PASSWORD": "test1234"
"MTX_WEBRTCICESERVERS2_0_PASSWORD": "test1234",
"MR_PSQL_PASSWORD": "test1234",
"MR_MINIO_ACCESS_KEY": "test1234",
"MR_MINIO_SECRET_KEY": "test1234"
})

# Run setup and start services
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Automation Framework for Industrial Edge Insights Vision
# Automation Framework for Metro Vision AI App

This directory contains test scripts and utility functions required for automation testing.

Expand Down
Loading