Skip to content

devcontainer: skip tests on GHA - #1009

Merged
tormath1 merged 3 commits into
mainfrom
tormath1/skip-tests-gha
Nov 12, 2026
Merged

tormath1 merged 3 commits into
mainfrom
tormath1/skip-tests-gha

Conversation

@tormath1

Copy link
Copy Markdown
Contributor

The investigation with CNCF gave nothing here: flatcar/Flatcar#2032 - so let's skip thoses tests for now, they will still be tested anyways in Jenkins nightlies.

This can help to see actual issues on external contributions from GHA.

Copilot AI balanced review requested due to automatic review settings November 12, 2026 10:56
@tormath1 tormath1 self-assigned this Nov 12, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The rename leaves a test calling an undefined symbol, preventing compilation, and the new Bincache gate incorrectly skips tests with valid devcontainer file or URL overrides.

2 open issues
What changed in this PR

This PR extends Kola’s Bincache availability filter to skip developer-container tests affected by the GitHub Actions connectivity issue tracked in flatcar/Flatcar#2032, while intending to retain Jenkins nightly coverage.

Changes:

  • Renames RequiresSysext and its filtering helper to reflect the broader Bincache requirement.
  • Adds the requirement to both developer-container tests and sysext.custom-oem.
  • Updates Podman and ZFS registrations to use the renamed field.
File Description
kola/​tests/​sysext/​zfs.go Uses the renamed Bincache requirement for ZFS tests.
kola/​tests/​sysext/​sysext.go Adds Bincache gating to sysext.custom-oem.
kola/​tests/​podman/​podman.go Uses the renamed requirement for Podman tests.
kola/​tests/​devcontainer/​devcontainer.go Adds Bincache gating to both developer-container tests.
kola/​register/​register.go Renames and documents the test requirement field.
kola/​harness.go Renames the availability helper, cached filter state, and log messages.

Review effort: Balanced

Comment thread kola/harness.go
// SkipUnavailableBincache excludes Flatcar release builds and development builds
// that have not been uploaded to bincache. Other distributions are unaffected.
func SkipUnavailableSysext(imageVersion, arch string) bool {
func SkipUnavailableBincache(imageVersion, arch string) bool {
Comment thread kola/harness.go
Comment on lines +419 to +421
if t.RequiresBincache {
if !bincacheChecked {
skipBincache = SkipUnavailableBincache(imageVersion, architecture(pltfrm))
That's just naming but Bincache is more generic - and the actual
dependency is not on the sysext production but on the sysext
availability... on Bincache.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
this is known to not work on GHA

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
@tormath1
tormath1 force-pushed the tormath1/skip-tests-gha branch from 3d53288 to e5bbdaa Compare November 12, 2026 11:00
Copilot AI balanced review requested due to automatic review settings November 12, 2026 11:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new Bincache-based gate skips devcontainer and custom-OEM tests even when supported artifact overrides provide the required inputs, regressing local testing beyond the intended GitHub Actions workaround.

3 open issues

Review effort: Balanced

"Http": util.Serve,
},
// The devcontainer is available only on Bincache (so this does not work on GHA)
RequiresBincache: true,
@tormath1
tormath1 marked this pull request as ready for review November 12, 2026 11:12
@tormath1
tormath1 requested a review from a team as a code owner November 12, 2026 11:12
@tormath1
tormath1 merged commit fd2e779 into main Nov 12, 2026
7 checks passed
@tormath1
tormath1 deleted the tormath1/skip-tests-gha branch November 12, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants