Skip to content

PYTHON-5389: Add Tags to each buildvariant and augment test skipping/tracking policy. #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 23, 2025
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
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
12 changes: 12 additions & 0 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ tasks:
buildvariants:
- name: test-semantic-kernel-python-rhel
display_name: Semantic-Kernel RHEL Python
tags: [python]
expansions:
DIR: semantic-kernel-python
run_on:
Expand All @@ -276,6 +277,7 @@ buildvariants:

- name: test-semantic-kernel-csharp-rhel
display_name: Semantic-Kernel RHEL CSharp
tags: [csharp]
expansions:
DIR: semantic-kernel-csharp
run_on:
Expand All @@ -286,6 +288,7 @@ buildvariants:

- name: test-langchain-python-rhel
display_name: Langchain RHEL Python
tags: [python]
expansions:
DIR: langchain-python
run_on:
Expand All @@ -297,6 +300,7 @@ buildvariants:

- name: test-langgraph-python-rhel
display_name: Langgraph RHEL Python
tags: [python]
expansions:
DIR: langgraph-python
run_on:
Expand All @@ -308,6 +312,7 @@ buildvariants:

- name: test-chatgpt-retrieval-plugin-rhel
display_name: ChatGPT Retrieval Plugin
tags: [python]
expansions:
DIR: chatgpt-retrieval-plugin
run_on:
Expand All @@ -319,6 +324,7 @@ buildvariants:

- name: test-llama-index-vectorstore-rhel
display_name: LlamaIndex RHEL Vector Store
tags: [python]
expansions:
DIR: llama-index-python-vectorstore
run_on:
Expand All @@ -331,6 +337,7 @@ buildvariants:

- name: test-docarray-rhel
display_name: DocArray RHEL
tags: [python]
expansions:
DIR: docarray
run_on:
Expand All @@ -341,6 +348,7 @@ buildvariants:

- name: test-pymongo-voyageai-rhel
display_name: PyMongo-VoyageAI RHEL
tags: [python]
expansions:
DIR: pymongo-voyageai
run_on:
Expand All @@ -351,6 +359,7 @@ buildvariants:

- name: test-haystack-embeddings-rhel
display_name: Haystack Embeddings RHEL
tags: [python]
expansions:
DIR: haystack-embeddings
run_on:
Expand All @@ -362,6 +371,7 @@ buildvariants:

- name: test-haystack-fulltext-rhel
display_name: Haystack FullText RHEL
tags: [python]
expansions:
DIR: haystack-fulltext
run_on:
Expand All @@ -373,6 +383,7 @@ buildvariants:

- name: test-langchaingo-ubuntu
display_name: LangchainGo Ubuntu2204
tags: [golang]
expansions:
DIR: langchaingo-golang
run_on:
Expand All @@ -382,6 +393,7 @@ buildvariants:

- name: test-langchain-js-ubuntu
display_name: LangchainJS Ubuntu2204
tags: [javascript]
expansions:
DIR: langchain-js
run_on:
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ Test execution flow is defined in `.evergreen/config.yml`. The test pipeline's c
- `run_on` -- Specified platform to run on. `rhel87-small` or `ubuntu2204-small` should be used by default. Any other distro may fail Atlas CLI setup.
- `tasks` -- Tasks to run. See below for more details
- `cron` -- The tests are run via a cron job on a nightly cadence. This can be modified by setting a different cadence. Cron jobs can be scheduled using [cron syntax](https://crontab.guru/#0_0_*_*_*)
- `tags` -- This should include the language where the AI/ML is run. i.e. `[python, csharp, golang, javascript]` Any tagged language will populate the
appropriate language-specific slack channel.

**[Tasks](https://docs.devprod.prod.corp.mongodb.com/evergreen/Project-Configuration/Project-Configuration-Files#tasks)** -- These are the "building blocks" of our runs. Here is where we consolidate the specific set of functions. The basic parameters to add are shown below

Expand Down Expand Up @@ -185,8 +187,10 @@ evergreen patch -p ai-ml-pipeline-testing --param REPO_ORG=caseyclements --param

### Handling Failing Tests

Tests are run periodically (nightly) and any failures will propagate into both the `dbx-ai-ml-testing-pipline-notifications` and `dbx-ai-ml-testing-pipeline-notifications-{language}` channel. Repo owners of this `ai-ml-testing-pipeline` library are required to join the `dbx-ai-ml-testing-pipeline-notifications`. Pipeline specific implementers must **at least** join `dbx-ai-ml-testing-pipline-notifications-{language}` (e.g. whomever implemented `langchain-js` must at least be a member of `dbx-ai-ml-testing-pipeline-notifications-js`).

If tests are found to be failing, and cannot be addressed quickly, the responsible team MUST create a JIRA ticket, and disable the relevant tests
in the `config.yml` file, with a comment about the JIRA ticket that will address it.

This policy will help ensure that a single failing integration does not cause noise in the `dbx-ai-ml-testing-pipeline-notifications` that would mask other
failures.
This policy will help ensure that a single failing integration does not cause noise in the `dbx-ai-ml-testing-pipeline-notifications` or `dbx-ai-ml-testing-pipeline-notifications-{language}` that would mask other
failures.
Empty file added first_stack.txt
Empty file.
Loading