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

Add periodics and presubmits for k8s-1.21 #1192

Merged
merged 4 commits into from
May 6, 2021

Conversation

dhiller
Copy link
Contributor

@dhiller dhiller commented May 3, 2021

Presubmits are reporting to GitHub but need to get triggered manually.

FYI @EdDev

/cc @rmohr @fgimenez @qinqon

@kubevirt-bot kubevirt-bot added dco-signoff: yes Indicates the PR's author has DCO signed all their commits. size/M labels May 3, 2021
@dhiller
Copy link
Contributor Author

dhiller commented May 3, 2021

FYI @enp0s3

@dhiller
Copy link
Contributor Author

dhiller commented May 3, 2021

/retest

@qinqon
Copy link
Contributor

qinqon commented May 4, 2021

@dhiller for 1.20 we splitted it into sigs, let's do the same for 1.21.

@kubevirt-bot kubevirt-bot added size/L and removed size/M labels May 4, 2021
@dhiller dhiller changed the title Add periodic and presubmit for k8s-1.21 Add periodics and presubmits for k8s-1.21 May 4, 2021
Copy link
Member

@EdDev EdDev left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good to me, only two nits inline.

@@ -284,7 +525,7 @@ presubmits:
resources:
requests:
memory: "34Gi"

Copy link
Member

Choose a reason for hiding this comment

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

Unrelated change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So you are saying I should move the removal of trailing whitespaces to a new PR?

Copy link
Member

Choose a reason for hiding this comment

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

No :)
I am not clear what triggered this... is it your editor?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, IntelliJ has a switch that automatically removes trailing whitespace.

@@ -674,7 +915,7 @@ presubmits:
hostPath:
path: /dev/vfio/
type: Directory

Copy link
Member

Choose a reason for hiding this comment

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

Unrelated change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same here

@dhiller dhiller requested a review from EdDev May 4, 2021 12:48
Copy link
Member

@EdDev EdDev left a comment

Choose a reason for hiding this comment

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

Thank you!

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label May 4, 2021
@qinqon
Copy link
Contributor

qinqon commented May 4, 2021

/reharse

Does this work with new jobs ?

@qinqon
Copy link
Contributor

qinqon commented May 4, 2021

/rehearse

@qinqon
Copy link
Contributor

qinqon commented May 4, 2021

/hold

Let's wait for rehearse

@kubevirt-bot kubevirt-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 4, 2021
@qinqon
Copy link
Contributor

qinqon commented May 4, 2021

Looks like 1.21-cgroupsv2 is broken

 [[ k8s-1.21-cgroupsv2 =~ sig-compute ]]
+ export KUBEVIRT_PROVIDER=k8s-1.21-cgroupsv2
+ KUBEVIRT_PROVIDER=k8s-1.21-cgroupsv2
+ '[' '!' -d cluster-up/cluster/k8s-1.21-cgroupsv2 ']'
+ echo 'The cluster provider k8s-1.21-cgroupsv2 does not exist'
The cluster provider k8s-1.21-cgroupsv2 does not exist
+ exit 1
+ EXIT_VALUE=1
+ se

@dhiller
Copy link
Contributor Author

dhiller commented May 4, 2021

Looks like 1.21-cgroupsv2 is broken

 [[ k8s-1.21-cgroupsv2 =~ sig-compute ]]
+ export KUBEVIRT_PROVIDER=k8s-1.21-cgroupsv2
+ KUBEVIRT_PROVIDER=k8s-1.21-cgroupsv2
+ '[' '!' -d cluster-up/cluster/k8s-1.21-cgroupsv2 ']'
+ echo 'The cluster provider k8s-1.21-cgroupsv2 does not exist'
The cluster provider k8s-1.21-cgroupsv2 does not exist
+ exit 1
+ EXIT_VALUE=1
+ se

@qinqon I figure someone (TM) first needs to provide these on the kubevirt/kubevirt side. I didn't yet get to this.

@dhiller
Copy link
Contributor Author

dhiller commented May 4, 2021

Looks like 1.21-cgroupsv2 is broken

 [[ k8s-1.21-cgroupsv2 =~ sig-compute ]]
+ export KUBEVIRT_PROVIDER=k8s-1.21-cgroupsv2
+ KUBEVIRT_PROVIDER=k8s-1.21-cgroupsv2
+ '[' '!' -d cluster-up/cluster/k8s-1.21-cgroupsv2 ']'
+ echo 'The cluster provider k8s-1.21-cgroupsv2 does not exist'
The cluster provider k8s-1.21-cgroupsv2 does not exist
+ exit 1
+ EXIT_VALUE=1
+ se

@qinqon I figure someone (TM) first needs to provide these on the kubevirt/kubevirt side. I didn't yet get to this.

@qinqon now I get it. The cgroupsv2 is a separate provider that needs to get added to the kubevirtci. So maybe it's best to remove the cgroupsv2 at first and add it after it was created on kubevirtci. Makes sense?

@qinqon
Copy link
Contributor

qinqon commented May 4, 2021

Looks like 1.21-cgroupsv2 is broken

 [[ k8s-1.21-cgroupsv2 =~ sig-compute ]]
+ export KUBEVIRT_PROVIDER=k8s-1.21-cgroupsv2
+ KUBEVIRT_PROVIDER=k8s-1.21-cgroupsv2
+ '[' '!' -d cluster-up/cluster/k8s-1.21-cgroupsv2 ']'
+ echo 'The cluster provider k8s-1.21-cgroupsv2 does not exist'
The cluster provider k8s-1.21-cgroupsv2 does not exist
+ exit 1
+ EXIT_VALUE=1
+ se

@qinqon I figure someone (TM) first needs to provide these on the kubevirt/kubevirt side. I didn't yet get to this.

@qinqon now I get it. The cgroupsv2 is a separate provider that needs to get added to the kubevirtci. So maybe it's best to remove the cgroupsv2 at first and add it after it was created on kubevirtci. Makes sense?

Clearly it does not make sense to have a job we cannot "exercise", let's remove those.

@qinqon
Copy link
Contributor

qinqon commented May 4, 2021

humm and this ?

time="2021-05-04T14:21:30Z" level=info msg="Using remote image quay.io/kubevirtci/k8s-1.21:2104301741-c950058"
14:21:30: 2021/05/04 14:21:30 failed to download quay.io/kubevirtci/k8s-1.21:2104301741-c950058: Error response from daemon: unauthorized: access to the requested resource is not authorized
14:21:32: 2021/05/04 14:21:32 failed to download quay.io/kubevirtci/k8s-1.21:2104301741-c950058: Error response from daemon: unauthorized: access to the requested resource is not authorized
14:21:34: 2021/05/04 14:21:34 failed to download quay.io/kubevirtci/k8s-1.21:2104301741-c950058: Error response from daemon: unauthorized: access to the requested resource is not authorized
14:21:41: 2021/05/04 14:21:41 failed to download quay.io/kubevirtci/k8s-1.21:2104301741-c950058: Error response from daemon: unauthorized: access to the requested resource is not authorized

Maybe we need to change something at rehearsal to use the proper QUAY auth ?

@dhiller
Copy link
Contributor Author

dhiller commented May 4, 2021

humm and this ?

time="2021-05-04T14:21:30Z" level=info msg="Using remote image quay.io/kubevirtci/k8s-1.21:2104301741-c950058"
14:21:30: 2021/05/04 14:21:30 failed to download quay.io/kubevirtci/k8s-1.21:2104301741-c950058: Error response from daemon: unauthorized: access to the requested resource is not authorized
14:21:32: 2021/05/04 14:21:32 failed to download quay.io/kubevirtci/k8s-1.21:2104301741-c950058: Error response from daemon: unauthorized: access to the requested resource is not authorized
14:21:34: 2021/05/04 14:21:34 failed to download quay.io/kubevirtci/k8s-1.21:2104301741-c950058: Error response from daemon: unauthorized: access to the requested resource is not authorized
14:21:41: 2021/05/04 14:21:41 failed to download quay.io/kubevirtci/k8s-1.21:2104301741-c950058: Error response from daemon: unauthorized: access to the requested resource is not authorized

Maybe we need to change something at rehearsal to use the proper QUAY auth ?

IMHO this should just work, otherwise it does not make sense to have a rehearsal of a job. Maybe there's sth wrong with the container proxy settings. Will have a look.

Presubmits are reporting to GitHub but need to get triggered manually.

Signed-off-by: Daniel Hiller <dhiller@redhat.com>
@kubevirt-bot kubevirt-bot removed the lgtm Indicates that a PR is ready to be merged. label May 4, 2021
@dhiller
Copy link
Contributor Author

dhiller commented May 4, 2021

/rehearse

1 similar comment
@dhiller
Copy link
Contributor Author

dhiller commented May 5, 2021

/rehearse

@dhiller
Copy link
Contributor Author

dhiller commented May 5, 2021

/retest

resources:
requests:
memory: "34Gi"
- name: periodic-kubevirt-e2e-k8s-1.21
Copy link
Contributor

@fgimenez fgimenez May 5, 2021

Choose a reason for hiding this comment

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

I think we no longer need a provider lane, it would be empty as soon as all the tests are properly tagged (only 8 are left).

@@ -1,5 +1,209 @@
presubmits:
kubevirt/kubevirt:
- name: pull-kubevirt-e2e-k8s-1.21
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above, we don't need a provider presubmit.

- name: TARGET
value: "k8s-1.21"
- name: KUBEVIRT_E2E_FOCUS
value: "Operator"
Copy link
Contributor

Choose a reason for hiding this comment

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

All the references to Operator should be changed to [sig-operator] now that kubevirt/kubevirt#5534 has landed.

Copy link
Contributor

Choose a reason for hiding this comment

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

This Operator string is still here, once it is changed good to go.

Suggested change
value: "Operator"
value: "[sig-operator]"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Dang, sorry for that 😕

Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
@dhiller
Copy link
Contributor Author

dhiller commented May 5, 2021

/rehearse

@dhiller dhiller requested a review from fgimenez May 5, 2021 14:46
@dhiller
Copy link
Contributor Author

dhiller commented May 5, 2021

@fgimenez thanks for the review, fixed the issues. PTAL!

Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
@dhiller
Copy link
Contributor Author

dhiller commented May 5, 2021

/rehearse

- name: TARGET
value: "k8s-1.21"
- name: KUBEVIRT_E2E_FOCUS
value: "[sig-operator]"
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry that I didn't notice before but we are missing escapes for the square brackets like here https://github.com/kubevirt/kubevirt/blob/master/automation/test.sh#L308

Suggested change
value: "[sig-operator]"
value: "\\[sig-operator\\]"

- name: TARGET
value: k8s-1.21
- name: KUBEVIRT_E2E_FOCUS
value: "[sig-operator]"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
value: "[sig-operator]"
value: "\\[sig-operator\\]"

Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
@dhiller
Copy link
Contributor Author

dhiller commented May 6, 2021

/rehearse

Copy link
Contributor

@fgimenez fgimenez 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
/hold

Thanks! Feel free to unhold when ready.

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label May 6, 2021
@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fgimenez

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

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 6, 2021
@kubevirt-bot
Copy link
Contributor

@dhiller: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
rehearsal-pull-kubevirt-e2e-k8s-1.21-cgroupsv2 340a40e link /test pull-kubevirt-e2e-k8s-1.21-cgroupsv2
rehearsal-pull-kubevirt-e2e-k8s-1.21-operator 05a99bc link /test pull-kubevirt-e2e-k8s-1.21-operator
rehearsal-pull-kubevirt-e2e-k8s-1.21-sig-compute 33f7fcb link /test pull-kubevirt-e2e-k8s-1.21-sig-compute

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

@dhiller
Copy link
Contributor Author

dhiller commented May 6, 2021

/unhold

@kubevirt-bot kubevirt-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 6, 2021
@dhiller
Copy link
Contributor Author

dhiller commented May 6, 2021

/override rehearsal-pull-kubevirt-e2e-k8s-1.21-sig-compute

@kubevirt-bot
Copy link
Contributor

@dhiller: Overrode contexts on behalf of dhiller: rehearsal-pull-kubevirt-e2e-k8s-1.21-sig-compute

In response to this:

/override rehearsal-pull-kubevirt-e2e-k8s-1.21-sig-compute

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.

@dhiller
Copy link
Contributor Author

dhiller commented May 6, 2021

/override rehearsal-pull-kubevirt-e2e-k8s-1.21-operator

@kubevirt-bot
Copy link
Contributor

@dhiller: Overrode contexts on behalf of dhiller: rehearsal-pull-kubevirt-e2e-k8s-1.21-operator

In response to this:

/override rehearsal-pull-kubevirt-e2e-k8s-1.21-operator

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.

@kubevirt-bot kubevirt-bot merged commit e545b41 into kubevirt:master May 6, 2021
@kubevirt-bot
Copy link
Contributor

@dhiller: Updated the job-config configmap in namespace kubevirt-prow at cluster default using the following files:

  • key kubevirt-periodics.yaml using file github/ci/prow-deploy/files/jobs/kubevirt/kubevirt/kubevirt-periodics.yaml
  • key kubevirt-presubmits.yaml using file github/ci/prow-deploy/files/jobs/kubevirt/kubevirt/kubevirt-presubmits.yaml

In response to this:

Presubmits are reporting to GitHub but need to get triggered manually.

FYI @EdDev

/cc @rmohr @fgimenez @qinqon

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.

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. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants