Skip to content

Conversation

@LiorLieberman
Copy link
Member

@LiorLieberman LiorLieberman commented Nov 29, 2025

What type of PR is this?
/kind cleanup
/area conformance-machinery

/cc @howardjohn
for initial feedback on the overall approach.

(I know we can refactor further and try to reuse same yaml files with Namespace, backends, and parentRef substitutes, but I think maintaining separate yamls are much simpler. )

/cc @mikemorris @youngnick @kflynn @bexxmodd

What this PR does / why we need it:
draft refactor of conformance suite to reuse test file for mesh and gw tests

Which issue(s) this PR fixes:

Ref: #3729 (comment)

Does this PR introduce a user-facing change?:

NONE

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note-none Denotes a PR that doesn't merit a release note. labels Nov 29, 2025
@k8s-ci-robot k8s-ci-robot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Nov 29, 2025
@k8s-ci-robot k8s-ci-robot added area/conformance-machinery Issues or PRs related to the machinery and the suite used to run conformance tests. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 29, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LiorLieberman

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

The pull request process is described here

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

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 29, 2025
@LiorLieberman
Copy link
Member Author

LiorLieberman commented Nov 29, 2025

maybe now it will work

/cc @howardjohn

@LiorLieberman
Copy link
Member Author

LiorLieberman commented Nov 29, 2025

also
/cc @rikatz

@k8s-ci-robot k8s-ci-robot requested a review from rikatz November 29, 2025 01:01
@k8s-ci-robot
Copy link
Contributor

@LiorLieberman: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-gateway-api-verify 43aff62 link true /test pull-gateway-api-verify

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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-sigs/prow repository. I understand the commands that are listed here.

Copy link
Contributor

@howardjohn howardjohn left a comment

Choose a reason for hiding this comment

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

Overall looks like a good direction. I think investment into helper functions to avoid (where possible) the need for test authors to care (as much?) about gtw vs mesh will be helpful but tricky

t.Run(tc.GetTestCaseName(i), func(t *testing.T) {
t.Parallel()
http.MakeRequestAndExpectEventuallyConsistentResponse(t, suite.RoundTripper, suite.TimeoutConfig, gwAddr, tc)
if !s.CurrentTest.IsMesh {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: a helper around calling the gtw vs the mesh pod would be helpful to avoid needing this if on each case

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. area/conformance-machinery Issues or PRs related to the machinery and the suite used to run conformance tests. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants