[pull] master from Project-HAMi:master#219
Merged
Merged
Conversation
) * test: add unit tests for nvinternal info, mig, and watch packages Signed-off-by: pmady <pavan4devops@gmail.com> * test: fix copyright year to 2026 in test files Signed-off-by: pmady <pavan4devops@gmail.com> * test(watch): use t.TempDir() instead of hardcoded /tmp path Signed-off-by: pmady <pavan4devops@gmail.com> * test(mig): skip capability test when nvidia-caps exists on host Signed-off-by: pmady <pavan4devops@gmail.com> --------- Signed-off-by: pmady <pavan4devops@gmail.com>
Bumps [docker/login-action](https://github.com/docker/login-action) from 4.1.0 to 4.2.0. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](docker/login-action@v4.1.0...v4.2.0) --- updated-dependencies: - dependency-name: docker/login-action dependency-version: 4.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.54.0 to 0.55.0. - [Commits](golang/net@v0.54.0...v0.55.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-version: 0.55.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/NVIDIA/nvidia-container-toolkit](https://github.com/NVIDIA/nvidia-container-toolkit) from 1.19.1-0.20260410190841-2c0c91d0ebaa to 1.19.1. - [Release notes](https://github.com/NVIDIA/nvidia-container-toolkit/releases) - [Changelog](https://github.com/NVIDIA/nvidia-container-toolkit/blob/v1.19.1/CHANGELOG.md) - [Commits](https://github.com/NVIDIA/nvidia-container-toolkit/commits/v1.19.1) --- updated-dependencies: - dependency-name: github.com/NVIDIA/nvidia-container-toolkit dependency-version: 1.19.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…e 1 (#1881) * fix(vGPUmonitor): prevent index out of bounds panic for priority above 1 utSwitchOn[uuid] was always initialized as a fixed two-element slice. A container with CUDA_TASK_PRIORITY set to 2 or higher caused a panic in three places. Observe() wrote utSwitchOn[uuid][priority] without growing the slice. CheckBlocking() and CheckPriority() accessed utSwitchOn[uuid][i] and utSwitchOn[uuid][p] without checking the slice length. The bug was introduced in commit 54dc0de which changed explicit for loops to range-over-int but kept the fixed two-element initialization. Fix grows the slice in Observe() to fit any priority value and adds length guards in CheckBlocking() and CheckPriority(). Signed-off-by: mesutoezdil <mesudozdil@gmail.com> * fix(vGPUmonitor): guard against negative priority values A negative CUDA_TASK_PRIORITY value skips the growth loop in Observe() and causes a panic on the slice write. CheckPriority() also lacked a non-negative check before the index access. Skip negative priority in Observe() and add p >= 0 guard in CheckPriority(). Signed-off-by: mesutoezdil <mesudozdil@gmail.com> --------- Signed-off-by: mesutoezdil <mesudozdil@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )