PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/System Design/NVIDIA

Build a Jenkins CI for graphics tests

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's ability in CI/CD and system design for GPU-dependent test orchestration, specifically Jenkins pipeline design, hardware/driver matrix scheduling, test sharding and retries, artifact provenance, release gating, and safe driver rollout.

  • hard
  • NVIDIA
  • System Design
  • Software Engineer

Build a Jenkins CI for graphics tests

Company: NVIDIA

Role: Software Engineer

Category: System Design

Difficulty: hard

Interview Round: Take-home Project

Set up a Jenkins pipeline to build, deploy, and run GPU-dependent graphics tests across multiple hardware/driver matrices. Describe job orchestration, pipeline-as-code, parallelization, artifact management, test sharding, retry policies, quarantining flaky tests, notifications, and promotion gates. How would you handle driver updates and rollback safely?

Quick Answer: This question evaluates a candidate's ability in CI/CD and system design for GPU-dependent test orchestration, specifically Jenkins pipeline design, hardware/driver matrix scheduling, test sharding and retries, artifact provenance, release gating, and safe driver rollout.

Related Interview Questions

  • Design a URL shortening service - NVIDIA (hard)
  • Design a bidirectional data sync dashboard - NVIDIA (medium)
  • Design first-time Kubernetes deployment in new cloud - NVIDIA (medium)
  • Design an artifact store on K8s and Cassandra - NVIDIA (hard)
  • Design signals across power and clock domains - NVIDIA (hard)
NVIDIA logo
NVIDIA
Aug 9, 2025, 12:00 AM
Software Engineer
Take-home Project
System Design
3
0

Take‑Home: Design a Jenkins Pipeline for GPU Graphics Test Matrix

Context

You need to design a Jenkins-based CI/CD system that builds a graphics application/library, deploys it to GPU-equipped test hosts, and runs automated graphics tests across a matrix of GPU hardware and driver versions. The system must scale to dozens of machines and be reliable in the face of flaky tests and occasional host/driver problems.

Assume:

  • You have a fleet of bare‑metal agents with different GPU models and multiple driver versions.
  • Tests are GPU‑dependent, may use headless EGL or virtual displays, and produce JUnit XML, logs, and performance metrics.
  • Builds can run on CPU-only builders; tests require GPUs.

Task

Propose a Jenkins pipeline design and describe how you will handle:

  1. Job orchestration and pipeline-as-code (Jenkinsfile, shared libraries).
  2. Parallelization across a hardware/driver matrix without oversubscribing GPUs.
  3. Artifact management (builds, logs, test results, metrics) and provenance.
  4. Test sharding (balanced by historical duration) and re-run of failed tests.
  5. Retry policies for transient infra vs. test-level flakiness.
  6. Quarantining flaky tests so they don’t gate merges, while still being exercised.
  7. Notifications and PR status reporting with a clear matrix summary.
  8. Promotion gates from CI → pre-prod → prod (quality and performance thresholds, manual approval when needed).
  9. Safe driver updates and rollback across the fleet (canaries, labels, blue/green, health checks).

Deliver:

  • A written design with rationale and guardrails.
  • A Jenkinsfile sketch that demonstrates the matrix fan-out, sharding, retries, artifact handling, and gating.
  • Any minimal assumptions you make explicit.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More NVIDIA•More Software Engineer•NVIDIA Software Engineer•NVIDIA System Design•Software Engineer System Design
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.