Skip to content
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

E2E tests can be run with default-counters.csv #295

Merged
merged 3 commits into from
Mar 21, 2024

Conversation

nvvfedorov
Copy link
Collaborator

The E2E tests with default configuration use the helm release, which deploys the dcgm-exporter with the dcp-metrics-included.csv configuration. This configuration includes profiling metrics available on the datacenter-grade GPU.
For example, if you use NVIDIA T400, the e2e test fails because the dcgm-exporter can not be initiated because of unsupported hardware.

To provide the ability to run e2e tests on low-grade GPUs compatible with DCGM, I added the ability to specify custom arguments in the e2e scripts. As a result:

  1. The default make e2e command runs e2e tests with enabled profiling metrics.
  2. If the developer wants to run the e2e tests without profiling metrics, they can do the following:
cd tests/e2e
make e2e-test-no-profiling

@nvvfedorov nvvfedorov self-assigned this Mar 20, 2024
tests/e2e/Makefile Outdated Show resolved Hide resolved
tests/e2e/Makefile Outdated Show resolved Hide resolved
tests/e2e/main_test.go Outdated Show resolved Hide resolved
tests/e2e/internal/framework/kube.go Show resolved Hide resolved
@nvvfedorov nvvfedorov force-pushed the e2e-work-without-profiling branch from 45147ef to a8ef8ac Compare March 21, 2024 16:00
Signed-off-by: Vadym Fedorov <[email protected]>
Copy link
Collaborator

@rohit-arora-dev rohit-arora-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A minor accidental editting, otherwise looking good.

/LGTM

.vscode/launch.json Show resolved Hide resolved
tests/e2e/main_test.go Outdated Show resolved Hide resolved
Removed accidental change
@nvvfedorov nvvfedorov merged commit 12695ba into main Mar 21, 2024
1 check passed
@nvvfedorov nvvfedorov deleted the e2e-work-without-profiling branch March 21, 2024 16:23
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