Skip to content

Add GStreamer AI_ML test suite#279

Open
vijpatel22 wants to merge 1 commit intoqualcomm-linux:mainfrom
vijpatel22:feature/gstreamer-ai-ml
Open

Add GStreamer AI_ML test suite#279
vijpatel22 wants to merge 1 commit intoqualcomm-linux:mainfrom
vijpatel22:feature/gstreamer-ai-ml

Conversation

@vijpatel22
Copy link
Copy Markdown

PR – Add AI/ML GStreamer Test Suite


Overview

This pull request introduces, a self‑contained test suite for the AI/ML GStreamer suite located at:
Runner/suites/Multimedia/GStreamer/AI_ML/run.sh

The script automates the end‑to‑end validation of object‑detection and image‑classification pipelines that leverage Qualcomm‑specific GStreamer plugins.

It will:

  1. Downloads TFLite models, sample video, and label zip‑files on‑the‑fly.
  2. Checks that all GStreamer elements needed by the pipelines are available.
  3. Executes both pipelines with configurable timeout, GST_DEBUG level, and output‑video path.
  4. Handles Wayland socket discovery/adoption when a compositor is present.
  5. Emits a result file (AI_ML.res) containing PASS, FAIL, or SKIP.
  6. Provides detailed logging via the existing test‑kit helper functions.

🛠️ What’s Added / Modified

Runner/suites/Multimedia/GStreamer/AI_ML/run.sh - New executable script (the full implementation is attached in this PR).
Runner/suites/Multimedia/GStreamer/AI_ML/AI_ML.yaml - New YAML file
Runner/suites/Multimedia/GStreamer/AI_ML/Readme.md - New Readme file
Runner/utils/lib_gstreamer.sh - Added new functions.

@smuppand
Copy link
Copy Markdown
Contributor

smuppand commented Feb 8, 2026

@vijpatel22
Copy link
Copy Markdown
Author

Hi @smuppand, I’ve pushed the latest changes. Could you please review.

@vijpatel22 vijpatel22 force-pushed the feature/gstreamer-ai-ml branch from ce24ad8 to 6479657 Compare February 13, 2026 12:00
@vijpatel22
Copy link
Copy Markdown
Author

Hi @smuppand, I’ve addressed the comments and updated the code based on the feedback. Could you please review the changes?

@smuppand
Copy link
Copy Markdown
Contributor

smuppand commented Mar 2, 2026

@vijpatel22 Please rebase and resolve the conflicts

@vijpatel22
Copy link
Copy Markdown
Author

Hi @smuppand, I’ve resolved the merge conflicts and updated the branch accordingly

@vijpatel22 vijpatel22 force-pushed the feature/gstreamer-ai-ml branch from 97e28d3 to 2cb7be4 Compare March 20, 2026 10:40
@smuppand
Copy link
Copy Markdown
Contributor

@vijpatel22 Could you please address the workflow issues that have been reported?

@vijpatel22 vijpatel22 force-pushed the feature/gstreamer-ai-ml branch 3 times, most recently from d080921 to 21249c3 Compare March 24, 2026 07:36
@smuppand
Copy link
Copy Markdown
Contributor

@vijpatel22 Could you please address the workflow issues that have been reported?

This PR still contains unrelated commits, making the review hard. Please clean it up with a proper rebase.

@vijpatel22
Copy link
Copy Markdown
Author

Hi @smuppand, shall I clean up all history and force‑push a new clean commit to this PR branch?

@smuppand
Copy link
Copy Markdown
Contributor

Hi @smuppand, shall I clean up all history and force‑push a new clean commit to this PR branch?

Hi @vijpatel22 , yes — please do a proper interactive rebase and force-push a clean branch.

This PR should contain only the AI_ML suite and the minimal shared lib_gstreamer changes needed for it. Please remove unrelated changes from this PR, rebase on latest main, and ensure the workflow issues are fixed so CI passes.

After that cleanup, we can continue with the functional review.

Signed-off-by: Vij Patel <vijpatel@qti.qualcomm.com>
@vijpatel22 vijpatel22 force-pushed the feature/gstreamer-ai-ml branch from 21249c3 to 8330dde Compare March 27, 2026 10:58
@vijpatel22
Copy link
Copy Markdown
Author

Hi @smuppand,
I’ve completed the cleanup as requested. The branch now contains only the AI_ML suite and the required changes in lib_gstreamer.sh, rebased on top of the latest main with a clean commit history.
All unrelated commits have been removed.
Please review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants