86 Commits
Author SHA1 Message Date
Etienne PerotandgVisor bot 4e53fafea2 Use //:release rather than //runsc target for all gVisor test usage
PiperOrigin-RevId: 973178774
2026-08-29 12:57:17 -07:00
gVisor bot a6f4af8051 Merge pull request #13929 from EtiennePerot:sentry-binary
PiperOrigin-RevId: 959992675
2026-08-05 19:00:10 -07:00
Etienne PerotandgVisor bot 239b20e233 Increase prompt timeouts in GPU textgen tests.
Tests are flaky at 3 minutes.

PiperOrigin-RevId: 952927390
2026-07-23 13:35:28 -07:00
AnilAltinayandgVisor bot 006c184fdd Use a fresh container for exclusive GPU test execution.
Exclusive GPU tests(tests that are failed) now launch a dedicated container
instead of using one from the pre-warmed pool.

PiperOrigin-RevId: 915689394
2026-05-14 17:02:34 -07:00
AnilAltinayandgVisor bot 359f3552f7 Merge llm benchmark client images to one image.
PiperOrigin-RevId: 908911746
2026-05-01 14:56:48 -07:00
AnilAltinayandgVisor bot 235500a37a Refactor common LLM testing utilities into llmutil.
This change moves the Server interface, DockerServer implementation, ResponseMetrics, APIResponse, and MakeAPIResponse functions from the individual LLM test packages (ollama, sglang, triton, vllm) into a new shared package llmutil. This reduces code duplication across the different LLM test clients.

PiperOrigin-RevId: 907987791
2026-04-29 23:59:25 -07:00
Zach KoopmansandgVisor bot 70884b04fd Fix cos_gpu_compatibility_test
Update the proto for the cos_gpu_compatibility_test so that it passes

PiperOrigin-RevId: 876426910
2026-02-27 14:52:45 -08:00
Konstantin BogomolovandgVisor bot 4dfcd5e1ae nogo: Fix more analyzer findings.
PiperOrigin-RevId: 875246522
2026-02-25 11:07:15 -08:00
AnilAltinayandgVisor bot 139e5329a5 Fix the math test for Triton.
The answer might come in multiple tokens. In that case, we add a space in
between. Let's add that case as a valid answer for the test as a fix.

PiperOrigin-RevId: 855360375
2026-01-12 13:27:42 -08:00
Ayush RanjanandgVisor bot 864d0fd736 Enable conjugateGradientMultiDeviceCG test in gVisor.
The `conjugateGradientMultiDeviceCG` CUDA sample is now passing after
62023143e7 ("nvproxy: Add support for UVM_ENABLE_READ_DUPLICATION and
UVM_SET_ACCESSED_BY.") and no longer needs to be marked as broken in gVisor.

This fixes BuildKite failures.

PiperOrigin-RevId: 853365121
2026-01-07 12:22:18 -08:00
AnilAltinayandgVisor bot 768998b136 GKE tests for Triton+TensorRT
Test: http://sponge2/271fb572-247f-43a4-9d5a-f7b66122bd4a
PiperOrigin-RevId: 834505553
2025-11-19 17:22:24 -08:00
AnilAltinayandgVisor bot d3131e4f1f SGLang GKE test
PiperOrigin-RevId: 832193475
2025-11-14 00:18:40 -08:00
Zach KoopmansandgVisor bot 7d4e9ff415 Remove old bug message in cuda tests.
PiperOrigin-RevId: 831996692
2025-11-13 13:58:24 -08:00
AnilAltinayandgVisor bot 92b739ae24 Docker tests for Triton+TensorRT
Presubmit test:https://buildkite.com/gvisor/pipeline/builds/38505/steps/canvas

PiperOrigin-RevId: 829117319
2025-11-06 14:56:54 -08:00
AnilAltinayandgVisor bot 0d290fdfd7 Add SGLang Docker tests/benchmark
PiperOrigin-RevId: 824805273
2025-10-27 20:30:38 -07:00
Ayush RanjanandgVisor bot 04bc260625 Skip Docker restore tests on Docker v28+.
Docker's `restore` functionality is broken starting from v28 due to
https://github.com/moby/moby/issues/50750. This change adds a version check to
`dockerutil` and skips tests that rely on `docker restore` if the Docker
version is v28 or greater. TCP checkpoint/restore tests are also refactored to
centralize common setup and version checks.

PiperOrigin-RevId: 818827864
2025-10-13 14:20:57 -07:00
Ayush RanjanandgVisor bot ed8ffc4f4d gpu: Remove --cuda_verify_compatibility flag.
CUDA tests run in reasonable time with this flag enabled as well.
Remove this flag (hence enabling it be default) so that we catch
any test compatibility issues on pre-submits.

PiperOrigin-RevId: 796618710
2025-08-18 16:25:35 -07:00
Ayush RanjanandgVisor bot 7d498310ce gpu: Re-enable streamOrderedAllocationIPC CUDA test.
PiperOrigin-RevId: 795633650
2025-08-15 15:29:10 -07:00
Zach KoopmansandgVisor bot e4cc717a14 Internal Change
PiperOrigin-RevId: 794168146
2025-08-12 10:33:18 -07:00
Ayush RanjanandgVisor bot 964e017d03 GPU compatibility test: Accept image name with "cos-arm64-lm-" prefix.
Unbreaks failing tests, see https://buildkite.com/gvisor/release/builds/4785.

PiperOrigin-RevId: 785717006
2025-07-21 23:08:19 -07:00
Zach KoopmansandgVisor bot 1aae423905 Make nccl and sr tests work on ARM
PiperOrigin-RevId: 781204946
2025-07-09 14:15:04 -07:00
Zach KoopmansandgVisor bot e15f7ae91b Make GPU smoke tests work on ARM
PiperOrigin-RevId: 781128259
2025-07-09 11:08:47 -07:00
Zach KoopmansandgVisor bot 5d0a26a757 Implement driver version test
PiperOrigin-RevId: 762098050
2025-05-22 13:21:28 -07:00
Zach KoopmansandgVisor bot 7c9318cb1a Add all CUDA tests
Add all CUDA test suites except for a few
lingering failing tests. Most of the failures
are build problems where make fails for some
reason.

Also, have the `MaxSupportedCUDAVersion` method
take an image so we choose the CUDA image per test.

PiperOrigin-RevId: 762043438
2025-05-22 11:18:08 -07:00
Zach KoopmansandgVisor bot ee7751bdbe Add more CUDA 12.8 tests
Add two more suites of tests to the CUDA 12.8 tests
after testing on two types of GPUs. Also add
a test definition in the release pipeline.

PiperOrigin-RevId: 758393605
2025-05-13 15:15:38 -07:00
Zach KoopmansandgVisor bot 2aac32fb57 Add CUDA 12.8 tests
Add tests using the Cuda Samples repo for CUDA 12.8

PiperOrigin-RevId: 756917719
2025-05-09 15:01:28 -07:00
Zach KoopmansandgVisor bot 16a52a7caa Split cuda tests into separate lib.
PiperOrigin-RevId: 755118711
2025-05-05 16:45:00 -07:00
Zach KoopmansandgVisor bot 79c036d8a4 Add 12.8 CUDA tests
Add 12.8 basic CUDA image and smoke tests. A later submission
will add CUDA tests similar to the current 12.2 tests.

PiperOrigin-RevId: 751593396
2025-04-25 16:16:48 -07:00
Zach KoopmansandgVisor bot 2fa2dd1ee3 Add back 'nvidia-smi' test in gpu-smoke-tests
Simply running nvidia-smi can expose unsupported IOCTLs
quickly and efficiently. It is also portable. During one
qualification, this picked up some control IOCTLs that the
other workloads did not.

PiperOrigin-RevId: 744866697
2025-04-07 15:19:32 -07:00
Zach KoopmansandgVisor bot 12916d0cb9 Fix broken cuda tests
PiperOrigin-RevId: 734342887
2025-03-06 17:11:19 -08:00
Ayush RanjanandgVisor bot b950f71370 Add Container.RestoreInTest() to handle known Docker bugs.
This can be used by all test users. Avoids duplicated code. We can handle all
known issues in one place.

There is a Docker bug which causes restore to fail sporadically. See
https://github.com/moby/moby/issues/42900. This has been broken at least since
Docker v19.03.12 (when the issue was reported) and was fixed in v25.0.4. Added
the handling for this issue.

Also got rid of the testutil.Poll() around restore. That can hide gVisor
restore flakiness issues. That was added in 1ec5baeb31 ("Make
checkpoint/restore e2e test less flaky"). The original sleep has been restored.

PiperOrigin-RevId: 734303878
2025-03-06 15:13:16 -08:00
gVisor bot 90d339b59f Merge pull request #11495 from zkoopmans:cuda
PiperOrigin-RevId: 733445831
2025-03-04 13:35:08 -08:00
zkoopmans 23ce923376 Update cuda-tests for ARM workloads
Add image for ARM workloads for cuda-tests and mark tests that work on ARM.

Most tests don't work due to cross-compiling between sbma and aarch64.
However, a few do. Add an image to support them.
2025-02-27 21:55:38 +00:00
Etienne PerotandgVisor bot 2faea70e64 CUDA test compatibility: Remove p2pBandwidthLatencyTest special case.
While this test does use the P2P capability, it also has fallback code to
do regular memcopies when P2P is not available. So it does not require the
P2P capability.

PiperOrigin-RevId: 714344567
2025-01-10 22:34:39 -08:00
gVisor bot bd731f1cc6 Merge pull request #11321 from 2022tgoel:nvproxy_video_cap
PiperOrigin-RevId: 713755984
2025-01-09 12:27:22 -08:00
2022tgoel 30bcf2ddd6 Add GPU video codecs support to nvproxy (so that tools like ffmpeg work)
adding cap

tests work

fix merge

unit test

small fixes

additional ioctls for L4 gpu
2025-01-09 01:09:47 +00:00
Zach KoopmansandgVisor bot 2f03e3d191 Don't fail compatibility test when COS versions are not yet released.
COS can take a day or two to release a new version. While this is happening
versions can appear in gcloud projects, but not on the public site. In this
case, pass the tests so that we don't have failures while release is happening.

PiperOrigin-RevId: 713388040
2025-01-08 13:02:49 -08:00
Ayush RanjanandgVisor bot 6eb6d6cbea Specify all capabilities in TestGPUCheckpointRestore.
This test was broken by 8e3b1bb7d4 ("Update CUDA test compatibility to keep
up with added gVisor support.") which requires all
images/gpu/cuda-tests/run_sample.go users to specify "all" driver capabilities.

PiperOrigin-RevId: 713170590
2025-01-07 23:28:03 -08:00
Etienne PerotandgVisor bot 8e3b1bb7d4 Update CUDA test compatibility to keep up with added gVisor support.
These CUDA tests were initially broken in gVisor but now appear to pass.

The test now also verifies that all capabilities are enabled when running.

PiperOrigin-RevId: 713094806
2025-01-07 17:28:00 -08:00
Etienne PerotandgVisor bot 0ed0bc3dcc ollama benchmark: Add embedding benchmark, refresh set of models.
This refreshes the set of models built into the image to a more diverse
set of models while keeping the same categories covered.

It also adds support for embedding generation and benchmark metrics for
embedding-type models.

The image is also (slightly) smaller which helps make benchmarks not take
forever.

PiperOrigin-RevId: 706594537
2024-12-15 23:53:52 -08:00
Zach KoopmansandgVisor bot abdd9859bd Add test to check COS drivers as they are posted.
Our current check of COS drivers often lags behind COS releases.
This is due to needing to preload GPU docker images onto the
images that run in our CI pipelines.

In addition, COS can be a bit more complex than originally thought
releasing driver versions both across GPU types and release branches.

Thus, this test searches the latest COS images on each family for
new drivers. It does this by looking at COS's published release notes
which include a proto of LATEST/DEFAULT drivers selected for each device.

This will flag new versions faster with more coverage than our
CI pipeline currently. Due to this not actually needing a GPU
to run, this can run on any VM.

PiperOrigin-RevId: 693736100
2024-11-06 08:30:38 -08:00
Etienne PerotandgVisor bot c3381824b7 Parallelize CUDA test and run it continuously.
Tested in presubmit mode:
https://buildkite.com/gvisor/pipeline/builds/32983#0192e4d7-2a41-4505-8eea-422477b07644

PiperOrigin-RevId: 692198767
2024-11-01 09:17:14 -07:00
Etienne PerotandgVisor bot 6d1aa78426 Run CUDA tests as part of GPU tests.
Attempt #2.

This runs in continuous mode only.

PiperOrigin-RevId: 691516066
2024-10-30 12:39:30 -07:00
Etienne PerotandgVisor bot 803d7cb648 Automated rollback of changelist 688755446
PiperOrigin-RevId: 688831563
2024-10-22 23:24:30 -07:00
Etienne PerotandgVisor bot 56eb80a7cb Run CUDA tests as part of GPU tests.
This runs in continuous mode only.

PiperOrigin-RevId: 688755446
2024-10-22 18:04:35 -07:00
Etienne PerotandgVisor bot 18a5d7a9a9 Update all GPU tests to use the ioctl sniffer.
Fixes issue #10885.

PiperOrigin-RevId: 688728104
2024-10-22 16:21:47 -07:00
Nathan Wang c2ca294038 Add ffmpeg nvdec test 2024-10-07 12:16:02 +00:00
Etienne PerotandgVisor bot 9a52174d13 Add ffmpeg GPU test with h264_nvenc video codec (which uses NVENC).
This test does NOT work yet in gVisor.

Updates #9452

PiperOrigin-RevId: 682127429
2024-10-03 19:33:50 -07:00
Etienne PerotandgVisor bot 335d86a321 Disable GPU sniffer on all non-smoke GPU tests.
The presubmit pipeline does not exercise these, so commit
ab5ca5f42d broke them.

This change disables the sniffer on all the non-smoke tests to unbreak
the release pipeline. I will then send another change to re-enable them
on tests where the sniffer works fine after manual testing.

Updates #10885

PiperOrigin-RevId: 673555026
2024-09-11 15:17:58 -07:00
Etienne PerotandgVisor bot ab5ca5f42d Integrate GPU ioctl sniffer in GPU tests.
This wraps all GPU tests' command line with the nvproxy ioctl sniffer.

This has multiple functions:

- Verifying that the application does not call ioctls unsupported by
  nvproxy. This is controlled by a `AllowIncompatibleIoctl` option, which
  is initially set to `true` in all tests to mirror current behavior, but
  should be flipped as we verify that they do not call unsupported ioctls.
- Verifying that the sniffer itself works transparently for a wide range
  of applications.
- Later down the line, enforcing that the application only calls ioctls
  that are part of GPU capabilities that it has a need for. This is
  controlled by a capability string which is currently only used to set
  the `NVIDIA_DRIVER_CAPABILITIES` environment variable.

Updates issue #10856

PiperOrigin-RevId: 672714520
2024-09-09 16:34:19 -07:00