Back to list
atrawog

test

by atrawog

Claude Code plugins for Bazzite AI

0🍴 0📅 Jan 24, 2026

SKILL.md


name: test description: | Runtime verification tests for bazzite-ai installations. Validates GPU access, CUDA/PyTorch, service health, pod lifecycles, k3d clusters, and network connectivity. Run with 'ujust test' on installed systems. Use when developers need to verify their bazzite-ai installation is working correctly.

Test - Runtime Verification

Overview

The test command provides runtime verification tests for bazzite-ai installations. It validates that GPU access, services, containers, and network connectivity are working correctly.

Key Concept: These are runtime tests that run on an installed bazzite-ai system using ujust test. For development overlay management, see the /bazzite-ai-dev:overlay skill.

Quick Reference

Quick Tests

ActionCommandDescription
Quickujust test quickGPU + service status (~30s)
Allujust test allFull test suite (~2min)
Infoujust test infoShow system information

Individual Tests

ActionCommandDescription
GPUujust test gpuGPU detection and CDI check
CUDAujust test cudaCUDA tests in nvidia container
PyTorchujust test pytorchPyTorch tests in jupyter container
Ollamaujust test ollamaOllama health + quick inference
Jupyterujust test jupyterJupyter service health
ComfyUIujust test comfyuiComfyUI service health
OpenWebUIujust test openwebuiOpen WebUI service health
Servicesujust test servicesAll installed services status
Configujust test configConfig validation
Networkujust test networkRegistry connectivity

Pod Testing (default INSTANCE=90)

ActionCommandDescription
Configujust test pods configConfigure all test pods
Startujust test pods startStart all test pods
Statusujust test pods statusCheck test pod status
Stopujust test pods stopStop all test pods
Deleteujust test pods deleteDelete test pod configs
Allujust test pods allFull lifecycle test

K3d Cluster Testing (default INSTANCE=90)

ActionCommandDescription
Configujust test k3d configCreate k3d cluster
Startujust test k3d startStart k3d cluster
Statusujust test k3d statusCheck cluster health
GPUujust test k3d gpuSetup NVIDIA GPU support
Networkujust test k3d networkTest K8s → bazzite-ai network
Ollamaujust test k3d ollamaTest ollama from k8s
Stopujust test k3d stopStop k3d cluster
Deleteujust test k3d deleteDelete k3d cluster
Allujust test k3d allFull k3d lifecycle

Portainer + K3d Testing (default INSTANCE=91)

ActionCommandDescription
Configujust test portainer configConfigure k3d + Portainer
Startujust test portainer startStart both services
Statusujust test portainer statusCheck both services
Healthujust test portainer healthTest Portainer HTTPS API
K3dujust test portainer k3dTest Portainer sees k3d
Stopujust test portainer stopStop both services
Deleteujust test portainer deleteDelete both configs
Allujust test portainer allFull Portainer + k3d lifecycle

VM & Install Testing

ActionCommandDescription
VMujust test vmVM testing menu
VM Addujust test vm addAdd test VM
VM Startujust test vm startStart test VM
Installujust test installInstall command testing
Install Allujust test install allTest all install commands

Parameters

ujust test ACTION [SUBACTION] [OPTIONS...]
ParameterValuesDescription
ACTIONSee quick referenceTest category
SUBACTIONVaries by actionSpecific test within category
INSTANCENumberInstance number for isolated testing (default: 90)

Quick Tests

Quick Test (~30s)

ujust test quick

Runs essential checks:

  1. GPU detection
  2. CDI configuration
  3. Running services status

Use when: Quick sanity check after installation or reboot.

Full Test Suite (~2min)

ujust test all

Runs comprehensive tests:

  1. GPU and CUDA validation
  2. PyTorch in container
  3. All service health checks
  4. Network connectivity

Use when: Full validation after major changes.

GPU Testing

GPU Detection

ujust test gpu

Checks:

  • GPU vendor detection (NVIDIA, AMD, Intel)
  • Driver loaded
  • CDI configuration present

CUDA Test

ujust test cuda

Runs CUDA tests inside nvidia container:

  • nvidia-smi output
  • CUDA version
  • GPU memory info

PyTorch Test

ujust test pytorch

Runs PyTorch GPU tests inside jupyter container:

  • torch.cuda.is_available()
  • GPU tensor operations
  • Memory allocation

Pod Lifecycle Testing

Test pods use isolated instances (default: 90) to avoid interfering with user configurations.

Full Pod Lifecycle

ujust test pods all

Runs complete lifecycle:

  1. config - Configure test pods
  2. start - Start all pods
  3. status - Verify running
  4. stop - Stop all pods
  5. delete - Clean up configs

Custom Instance

# Use different instance number
ujust test pods all INSTANCE=50

K3d Cluster Testing

Tests k3d Kubernetes cluster functionality.

Full K3d Lifecycle

ujust test k3d all

Tests:

  1. Cluster creation on bazzite-ai network
  2. Node health
  3. GPU support (if NVIDIA)
  4. Network connectivity to other pods
  5. Ollama inference from k8s
  6. Cleanup

Network Connectivity

ujust test k3d network

Verifies k8s pods can reach bazzite-ai network services (ollama, jupyter, etc.)

Common Workflows

After Installation

# Quick sanity check
ujust test quick

# If issues, run full suite
ujust test all

GPU Troubleshooting

# Check GPU detection
ujust test gpu

# Test CUDA
ujust test cuda

# Test PyTorch
ujust test pytorch

Service Validation

# Check all services
ujust test services

# Individual service
ujust test ollama
ujust test jupyter

Before Development

# Full validation
ujust test all

# Enable overlay mode for development
just overlay refresh

Troubleshooting

GPU Test Fails

Symptom: ujust test gpu reports no GPU

Check:

# Host GPU
nvidia-smi  # or lspci | grep -i vga

# CDI configuration
ls /etc/cdi/

Fix:

# Regenerate CDI
ujust config gpu setup

CUDA Test Fails

Symptom: CUDA not available in container

Cause: CDI not configured or driver mismatch

Fix:

# Rebuild CDI spec
sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml

Service Test Fails

Symptom: Service reports unhealthy

Check:

# Service status
systemctl --user status <service>

# Logs
journalctl --user -u <service> -n 50

Pod Test Cleanup Failed

Symptom: Test pods still exist after failure

Fix:

# Manual cleanup
ujust test pods delete INSTANCE=90

Cross-References

  • Overlay Development: /bazzite-ai-dev:overlay skill for development mode
  • GPU Setup: ujust config gpu setup for GPU configuration
  • Services: Individual service skills for detailed management

When to Use This Skill

Use when the user asks about:

  • "test installation", "verify bazzite-ai"
  • "test gpu", "test cuda", "test pytorch"
  • "test services", "service health"
  • "ujust test" (any test command)
  • "test pods", "test k3d", "lifecycle test"

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon