Skip to content

Conversation

@vdemeester
Copy link
Member

@vdemeester vdemeester commented Dec 17, 2025

Changes

Improves the dind-sidecar.yaml example test reliability by adding a startupProbe and enhancing the readinessProbe:

  • Added startupProbe: Allows up to 30 seconds for Docker daemon initialization before marking the sidecar as failed, addressing slow startup in CI environments
  • Enhanced readinessProbe: Changed from checking cert file existence to running docker info to verify the daemon is actually ready to accept commands
  • Better k8s native sidecar support: StartupProbe is properly honored with enableKubernetesSidecar: true, while readinessProbe may not be

This addresses flaky test failures seen in CI, particularly in alpha mode with k8s native sidecar support enabled.

Related analysis: dind-sidecar-failure-analysis.md (Nov 28, 2025)

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
  • Has Tests included if any functionality added or changed
  • pre-commit Passed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including functionality, content, code)
  • Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
  • Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

NONE

- Add startupProbe to accommodate slow Docker daemon initialization
- Allow up to 30 seconds for daemon startup before marking as failed
- Verify daemon functionality with 'docker info' instead of cert existence
- Tries to address flaky test failures in CI with k8s native sidecar support

Signed-off-by: Vincent Demeester <[email protected]>
@tekton-robot tekton-robot added the do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. label Dec 17, 2025
@tekton-robot tekton-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. release-note-none Denotes a PR that doesnt merit a release note. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Dec 17, 2025
@vdemeester
Copy link
Member Author

/kind flake

@tekton-robot tekton-robot added the kind/flake Categorizes issue or PR as related to a flakey test label Dec 17, 2025
Copy link
Contributor

@khrm khrm left a comment

Choose a reason for hiding this comment

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

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 17, 2025
@anithapriyanatarajan
Copy link
Contributor

/lgtm

@tekton-robot
Copy link
Collaborator

@anithapriyanatarajan: changing LGTM is restricted to collaborators

Details

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@afrittoli
Copy link
Member

@vdemeester looks like a rebase is needed..

Copy link
Member

@afrittoli afrittoli left a comment

Choose a reason for hiding this comment

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

/approve

@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: afrittoli

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 17, 2025
@tekton-robot tekton-robot merged commit 57927d7 into tektoncd:main Dec 17, 2025
22 of 27 checks passed
@vdemeester vdemeester deleted the disable-dind-sidecar-test branch December 17, 2025 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/flake Categorizes issue or PR as related to a flakey test lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesnt merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants