Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: trigger tests set annotations correctly now #7887

Merged
merged 3 commits into from
May 7, 2024

Conversation

Cali0707
Copy link
Member

@Cali0707 Cali0707 commented May 2, 2024

Locally, this patch fixes the bug seen in knative-extensions/eventing-kafka-broker#3819. It looks like we weren't setting the annotation correctly on the trigger in the tests, so the ordered config was not applied.

Proposed Changes

  • Set the trigger annotation properly

Signed-off-by: Calum Murray <cmurray@redhat.com>
@knative-prow knative-prow bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. area/test-and-release Test infrastructure, tests or release labels May 2, 2024
@Cali0707
Copy link
Member Author

Cali0707 commented May 2, 2024

/cc @pierDipi @creydr @NeerajNagure

@knative-prow knative-prow bot requested a review from pierDipi May 2, 2024 20:00
Copy link

knative-prow bot commented May 2, 2024

@Cali0707: GitHub didn't allow me to request PR reviews from the following users: NeerajNagure.

Note that only knative members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @pierDipi @creydr @NeerajNagure

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.

@knative-prow knative-prow bot requested a review from creydr May 2, 2024 20:00
@Cali0707
Copy link
Member Author

Cali0707 commented May 2, 2024

For context, the relevant part of the yaml template is:

  {{ if .annotations }}
  annotations:
  {{ range $key, $value := .annotations }}
    {{ $key }}: {{ $value }}
  {{ end }}

Copy link

codecov bot commented May 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.18%. Comparing base (7e1c082) to head (30bf876).
Report is 29 commits behind head on main.

❗ Current head 30bf876 differs from pull request most recent head e2bc2ff. Consider uploading reports for the commit e2bc2ff to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7887      +/-   ##
==========================================
- Coverage   69.22%   69.18%   -0.04%     
==========================================
  Files         339      341       +2     
  Lines       19494    15816    -3678     
==========================================
- Hits        13494    10943    -2551     
+ Misses       5337     4200    -1137     
- Partials      663      673      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

knative-prow bot commented May 3, 2024

@NeerajNagure: changing LGTM is restricted to collaborators

In response to this:

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.

Copy link
Member

@pierDipi pierDipi left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label May 3, 2024
Copy link
Member

@creydr creydr left a comment

Choose a reason for hiding this comment

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

/lgtm

@pierDipi
Copy link
Member

pierDipi commented May 3, 2024

/test reconciler-tests

Signed-off-by: Calum Murray <cmurray@redhat.com>
@knative-prow knative-prow bot removed the lgtm Indicates that a PR is ready to be merged. label May 6, 2024
@Cali0707
Copy link
Member Author

Cali0707 commented May 6, 2024

/cc @pierDipi @creydr @Leo6Leo

@knative-prow knative-prow bot requested review from creydr, Leo6Leo and pierDipi May 6, 2024 18:01
Signed-off-by: Calum Murray <cmurray@redhat.com>
@Cali0707
Copy link
Member Author

Cali0707 commented May 7, 2024

/cc @pierDipi

@knative-prow knative-prow bot requested a review from pierDipi May 7, 2024 14:43
Copy link
Member

@pierDipi pierDipi left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label May 7, 2024
Copy link

knative-prow bot commented May 7, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Cali0707, creydr, NeerajNagure, pierDipi

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

@pierDipi
Copy link
Member

pierDipi commented May 7, 2024

/retest-required

@Cali0707
Copy link
Member Author

Cali0707 commented May 7, 2024

wait.go:200: test-zqexebpt/customname condition is {"type":"Ready","status":"False","lastTransitionTime":"2024-05-07T16:48:18Z","reason":"TrustBundlePropagation","message":"failed to create ConfigMap test-zqexebpt/knative-eventing-bundlekne-bundle: configmaps \"knative-eventing-bundlekne-bundle\" already exists"}

Trust bundle issues 😞

/retest-required

@Cali0707
Copy link
Member Author

Cali0707 commented May 7, 2024

/retest-required

Trust bundles again :(

@knative-prow knative-prow bot merged commit 1e6e235 into knative:main May 7, 2024
32 of 37 checks passed
@maschmid
Copy link
Contributor

/cherry-pick release-1.14

@knative-prow-robot
Copy link
Contributor

@maschmid: new pull request created: #8053

In response to this:

/cherry-pick release-1.14

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.

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/test-and-release Test infrastructure, tests or release lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants