Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions test/extended/node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,47 @@ This directory contains OpenShift end-to-end tests for node-related features.
- **kubeletconfig_features.go** - Tests applying KubeletConfig to custom machine config pools, requires node reboots
- **kubelet_secret_pulled_images.go** - Tests kubelet credential verification for image pulls (`KubeletEnsureSecretPulledImages` feature gate). Covers multi-tenancy isolation, credential rotation, ImagePullPolicy behavior, credential verification policy (NeverVerify/AlwaysVerify), and registry availability scenarios. Requires `TechPreviewNoUpgrade` or `CustomNoUpgrade` FeatureSet.

### Suite: openshift/conformance/parallel

- **Additional Storage Support API Validation** - API validation tests for additionalArtifactStores, additionalImageStores, and additionalLayerStores CRI-O configuration

**Availability:**
- **OCP 4.22:** TechPreview (requires TechPreviewNoUpgrade feature gate)
- **OCP 4.23+/5.0+:** GA (Generally Available)

**Suite:** `openshift/conformance/parallel`
**Feature Tag:** `[Feature:AdditionalStorageSupport]`
**Sig Tag:** `[sig-node]`
**OCPFeatureGate:** `AdditionalStorageConfig`

**Test File:**
- **additional_storage_api.go** - 13 API validation tests using DryRun (non-disruptive, parallel execution)
- Combined Additional Stores (3 tests): invalid paths, max count enforcement, duplicate detection
- Additional Layer Stores (8 tests): comprehensive path validation (empty, relative, spaces, special chars, length, max count, consecutive slashes, duplicates)
- Additional Image Stores (1 smoke test): path validation wiring
- Additional Artifact Stores (1 smoke test): path validation wiring

**Requirements:**
- AdditionalStorageConfig feature gate must be enabled
- API tests are non-disruptive (use DryRun)
- Run in parallel with other conformance tests
- Skip on MicroShift (no MachineConfig support)
- Skip on Microsoft Azure (known platform issues)

**Running API validation tests:**
```bash
# Run only Additional Storage API validation tests (fast, non-disruptive)
./openshift-tests run "openshift/conformance/parallel" --dry-run | \
grep "\[Feature:AdditionalStorageSupport\]" | \
./openshift-tests run -f -
```

**Test Coverage (13 tests, ~2-3 min total):**
- Path format validation (absolute paths, character restrictions, length limits)
- Count limits enforcement (5 for artifact/layer stores, 10 for image stores)
- Duplicate path detection within store types
- Combined store configurations with invalid paths

### Suite: openshift/usernamespace

- **nested_container.go** - Tests running nested containers (podman-in-pod) with user namespaces and nested-container SCC
Expand Down
Loading