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 kubectl_test to arm64 e2e test suit #6979

Closed
wants to merge 1 commit into from

Conversation

zhlhahaha
Copy link
Contributor

Release note:

NONE

@kubevirt-bot kubevirt-bot added release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. size/XS labels Dec 21, 2021
@zhlhahaha
Copy link
Contributor Author

verify if pull-kubevirt-e2e-arm64 CI test works well
/test pull-kubevirt-e2e-arm64

@zhlhahaha
Copy link
Contributor Author

/retest pull-kubevirt-e2e-arm64

@kubevirt-bot
Copy link
Contributor

@zhlhahaha: The /retest command does not accept any targets.
The following commands are available to trigger required jobs:

  • /test pull-kubevirt-apidocs
  • /test pull-kubevirt-build
  • /test pull-kubevirt-build-arm64
  • /test pull-kubevirt-check-unassigned-tests
  • /test pull-kubevirt-client-python
  • /test pull-kubevirt-e2e-k8s-1.20-cgroupsv2
  • /test pull-kubevirt-e2e-k8s-1.20-operator
  • /test pull-kubevirt-e2e-k8s-1.20-operator-nonroot
  • /test pull-kubevirt-e2e-k8s-1.20-sig-compute
  • /test pull-kubevirt-e2e-k8s-1.20-sig-compute-nonroot
  • /test pull-kubevirt-e2e-k8s-1.20-sig-network
  • /test pull-kubevirt-e2e-k8s-1.21-operator
  • /test pull-kubevirt-e2e-k8s-1.21-sig-compute
  • /test pull-kubevirt-e2e-k8s-1.21-sig-network
  • /test pull-kubevirt-e2e-k8s-1.21-sig-storage
  • /test pull-kubevirt-e2e-k8s-1.22-operator
  • /test pull-kubevirt-e2e-k8s-1.22-sig-compute
  • /test pull-kubevirt-e2e-k8s-1.22-sig-network
  • /test pull-kubevirt-e2e-k8s-1.22-sig-storage
  • /test pull-kubevirt-e2e-kind-1.19-sriov
  • /test pull-kubevirt-e2e-kind-1.19-vgpu
  • /test pull-kubevirt-e2e-windows2016
  • /test pull-kubevirt-generate
  • /test pull-kubevirt-manifests
  • /test pull-kubevirt-prom-rules-verify
  • /test pull-kubevirt-unit-test

The following commands are available to trigger optional jobs:

  • /test pull-kubevirt-check-tests-for-flakes
  • /test pull-kubevirt-e2e-arm64
  • /test pull-kubevirt-e2e-k8s-1.20-cgroupsv2-rook-ceph
  • /test pull-kubevirt-e2e-k8s-1.20-sig-network-nonroot
  • /test pull-kubevirt-e2e-k8s-1.20-sig-storage
  • /test pull-kubevirt-e2e-k8s-1.20-sig-storage-nonroot
  • /test pull-kubevirt-e2e-k8s-1.21-rest-coverage
  • /test pull-kubevirt-e2e-k8s-1.22-ipv6-sig-network
  • /test pull-kubevirt-e2e-k8s-1.22-sig-compute-migrations
  • /test pull-kubevirt-e2e-k8s-1.22-sig-compute-realtime
  • /test pull-kubevirt-e2e-k8s-1.22-sig-monitoring
  • /test pull-kubevirt-e2e-k8s-1.23-operator
  • /test pull-kubevirt-e2e-k8s-1.23-sig-compute
  • /test pull-kubevirt-e2e-k8s-1.23-sig-network
  • /test pull-kubevirt-e2e-k8s-1.23-sig-storage
  • /test pull-kubevirt-e2e-kind-1.19-sriov-nonroot
  • /test pull-kubevirt-e2e-kind-1.19-vgpu-nonroot
  • /test pull-kubevirt-e2e-kind-1.22-sriov
  • /test pull-kubevirt-e2e-kind-1.22-sriov-nonroot
  • /test pull-kubevirt-fossa
  • /test pull-kubevirt-gosec
  • /test pull-kubevirt-goveralls
  • /test pull-kubevirt-verify-go-mod
  • /test pull-kubevirt-verify-rpms

Use /test all to run the following jobs that were automatically triggered:

  • pull-kubevirt-apidocs
  • pull-kubevirt-build
  • pull-kubevirt-build-arm64
  • pull-kubevirt-check-tests-for-flakes
  • pull-kubevirt-check-unassigned-tests
  • pull-kubevirt-client-python
  • pull-kubevirt-e2e-k8s-1.20-cgroupsv2
  • pull-kubevirt-e2e-k8s-1.20-operator
  • pull-kubevirt-e2e-k8s-1.20-operator-nonroot
  • pull-kubevirt-e2e-k8s-1.20-sig-compute
  • pull-kubevirt-e2e-k8s-1.20-sig-compute-nonroot
  • pull-kubevirt-e2e-k8s-1.20-sig-network
  • pull-kubevirt-e2e-k8s-1.21-operator
  • pull-kubevirt-e2e-k8s-1.21-sig-compute
  • pull-kubevirt-e2e-k8s-1.21-sig-network
  • pull-kubevirt-e2e-k8s-1.21-sig-storage
  • pull-kubevirt-e2e-k8s-1.22-operator
  • pull-kubevirt-e2e-k8s-1.22-sig-compute
  • pull-kubevirt-e2e-k8s-1.22-sig-network
  • pull-kubevirt-e2e-k8s-1.22-sig-storage
  • pull-kubevirt-e2e-kind-1.19-sriov
  • pull-kubevirt-e2e-kind-1.19-vgpu
  • pull-kubevirt-e2e-windows2016
  • pull-kubevirt-fossa
  • pull-kubevirt-generate
  • pull-kubevirt-goveralls
  • pull-kubevirt-manifests
  • pull-kubevirt-prom-rules-verify
  • pull-kubevirt-unit-test

In response to this:

/retest pull-kubevirt-e2e-arm64

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.

@zhlhahaha
Copy link
Contributor Author

/test pull-kubevirt-e2e-arm64

1 similar comment
@zhlhahaha
Copy link
Contributor Author

/test pull-kubevirt-e2e-arm64

@zhlhahaha
Copy link
Contributor Author

/test pull-kubevirt-e2e-arm64

@zhlhahaha
Copy link
Contributor Author

/retest

@zhlhahaha
Copy link
Contributor Author

/test pull-kubevirt-e2e-arm64

@kubevirt-bot kubevirt-bot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/S and removed size/XS labels Dec 23, 2021
@kubevirt-bot kubevirt-bot added size/M and removed size/S needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Dec 23, 2021
@zhlhahaha
Copy link
Contributor Author

/test pull-kubevirt-e2e-arm64

@zhlhahaha
Copy link
Contributor Author

/test pull-kubevirt-e2e-arm64

2 similar comments
@zhlhahaha
Copy link
Contributor Author

/test pull-kubevirt-e2e-arm64

@zhlhahaha
Copy link
Contributor Author

/test pull-kubevirt-e2e-arm64

@zhlhahaha
Copy link
Contributor Author

/test pull-kubevirt-e2e-arm64

@zhlhahaha
Copy link
Contributor Author

/retest

@zhlhahaha
Copy link
Contributor Author

/test pull-kubevirt-e2e-arm64

@zhlhahaha
Copy link
Contributor Author

/test pull-kubevirt-e2e-arm64

@zhlhahaha
Copy link
Contributor Author

/test pull-kubevirt-e2e-arm64

@zhlhahaha
Copy link
Contributor Author

CC: @rmohr

@maya-r
Copy link
Contributor

maya-r commented Jan 25, 2022

/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Jan 25, 2022
schedulableNodesNum := len(nodes.Items)
if schedulableNodesNum < nodeCount {
msg := fmt.Sprintf(
"no enough Schedulable node: expected %v nodes, but got %v",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"no enough Schedulable node: expected %v nodes, but got %v",
"skipping due to not enough Schedulable nodes: tes requires %v nodes, but got %v",

@@ -1216,6 +1217,9 @@ spec:
}),
table.Entry("[test_id:6308] daemonsets",
func() {
// When only have one node, updating virt-hander would get following error
// "Unable to mark node as unschedulable"
Copy link
Member

Choose a reason for hiding this comment

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

Could you explain that a little bit? I would expect that we can update virt-handler without issues and I can't see where we are setting the node to unschedulable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi Roman, I did more investigation on it. If I only test test_id:6308, it would pass, but when I test both test_id:6256 and test_id:6308 on a one-node k8s cluster, the tests get fail. Test test_id:6308 restarts virt-hander, but virt-hander fail to start with following error message:

{"Unable to mark node as unschedulable":"nodes \"$(NODE_NAME)\" not found","component":"virt-handler","level":"error","pos":"virt-handler.go:175","timestamp":"2022-04-15T02:05:23.421281Z"}

And I use ps aux to see the command of virt-hander, it shows

virt-handler --port 8443 --hostname-override $(NODE_NAME) --pod-ip-address $(MY_POD_IP) --max-metric-requests 3 --console-server-port 8186 --graceful-shutdown-seconds 315 -v 2

NODE_NAME and MY_POD_IP does not have correct value. It seems that NODE_NAME is failed to get value from spec.nodeName.

        containerEnv := []corev1.EnvVar{
                {
                        Name: "NODE_NAME",
                        ValueFrom: &corev1.EnvVarSource{
                                FieldRef: &corev1.ObjectFieldSelector{
                                        FieldPath: "spec.nodeName",
                                },
                        },
                },
                {
                        Name: "MY_POD_IP",
                        ValueFrom: &corev1.EnvVarSource{
                                FieldRef: &corev1.ObjectFieldSelector{
                                        FieldPath: "status.podIP",
                                },
                        },
                },
        }

Any suggestion?

@@ -2229,6 +2239,7 @@ spec:
Context("With PrometheusRule Enabled", func() {

BeforeEach(func() {
tests.SkipIfARM64("Currently not works on Arm64")
Copy link
Member

Choose a reason for hiding this comment

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

Could you rephrase these:

Suggested change
tests.SkipIfARM64("Currently not works on Arm64")
tests.SkipIfARM64("Currently not supported on arm64")

@kubevirt-bot kubevirt-bot removed the lgtm Indicates that a PR is ready to be merged. label Feb 11, 2022
@kubevirt-bot
Copy link
Contributor

@zhlhahaha: PR needs rebase.

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 added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 17, 2022
kubectl_test
operator_test

Signed-off-by: Howard Zhang <howard.zhang@arm.com>
@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please ask for approval from rmohr after the PR has been reviewed.

The full list of commands accepted by this bot can be found 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
Copy link
Contributor

@zhlhahaha: The following tests 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-kubevirt-e2e-k8s-1.21-sig-compute 98f7cad link true /test pull-kubevirt-e2e-k8s-1.21-sig-compute
pull-kubevirt-e2e-k8s-1.21-sig-storage 98f7cad link true /test pull-kubevirt-e2e-k8s-1.21-sig-storage
pull-kubevirt-e2e-k8s-1.21-sig-network 98f7cad link true /test pull-kubevirt-e2e-k8s-1.21-sig-network
pull-kubevirt-e2e-windows2016 98f7cad link true /test pull-kubevirt-e2e-windows2016
pull-kubevirt-e2e-kind-1.22-sriov 98f7cad link true /test pull-kubevirt-e2e-kind-1.22-sriov
pull-kubevirt-e2e-k8s-1.21-operator 98f7cad link true /test pull-kubevirt-e2e-k8s-1.21-operator
pull-kubevirt-e2e-k8s-1.23-operator-nonroot 98f7cad link true /test pull-kubevirt-e2e-k8s-1.23-operator-nonroot
pull-kubevirt-e2e-k8s-1.23-sig-compute-cgroupsv2 98f7cad link true /test pull-kubevirt-e2e-k8s-1.23-sig-compute-cgroupsv2
pull-kubevirt-e2e-k8s-1.23-sig-compute-nonroot 98f7cad link true /test pull-kubevirt-e2e-k8s-1.23-sig-compute-nonroot
pull-kubevirt-check-tests-for-flakes 98f7cad link false /test pull-kubevirt-check-tests-for-flakes
pull-kubevirt-e2e-k8s-1.23-sig-network-nonroot 98f7cad link true /test pull-kubevirt-e2e-k8s-1.23-sig-network-nonroot
pull-kubevirt-e2e-k8s-1.22-sig-compute-migrations 98f7cad link true /test pull-kubevirt-e2e-k8s-1.22-sig-compute-migrations
pull-kubevirt-e2e-k8s-1.23-sig-storage-nonroot 98f7cad link true /test pull-kubevirt-e2e-k8s-1.23-sig-storage-nonroot
pull-kubevirt-e2e-k8s-1.23-sig-compute-migrations 98f7cad link true /test pull-kubevirt-e2e-k8s-1.23-sig-compute-migrations
pull-kubevirt-e2e-k8s-1.22-sig-network 98f7cad link true /test pull-kubevirt-e2e-k8s-1.22-sig-network
pull-kubevirt-e2e-k8s-1.23-sig-storage-cgroupsv2 98f7cad link false /test pull-kubevirt-e2e-k8s-1.23-sig-storage-cgroupsv2
pull-kubevirt-e2e-kind-1.23-vgpu 98f7cad link true /test pull-kubevirt-e2e-kind-1.23-vgpu
pull-kubevirt-e2e-k8s-1.22-operator 98f7cad link true /test pull-kubevirt-e2e-k8s-1.22-operator
pull-kubevirt-e2e-k8s-1.23-sig-network 98f7cad link true /test pull-kubevirt-e2e-k8s-1.23-sig-network
pull-kubevirt-e2e-kind-1.23-vgpu-nonroot 98f7cad link true /test pull-kubevirt-e2e-kind-1.23-vgpu-nonroot
pull-kubevirt-e2e-k8s-1.21-sig-compute-migrations 98f7cad link true /test pull-kubevirt-e2e-k8s-1.21-sig-compute-migrations
pull-kubevirt-e2e-k8s-1.23-sig-storage 98f7cad link true /test pull-kubevirt-e2e-k8s-1.23-sig-storage
pull-kubevirt-e2e-k8s-1.23-sig-compute 98f7cad link true /test pull-kubevirt-e2e-k8s-1.23-sig-compute
pull-kubevirt-e2e-k8s-1.22-sig-compute 98f7cad link true /test pull-kubevirt-e2e-k8s-1.22-sig-compute
pull-kubevirt-e2e-k8s-1.23-operator 98f7cad link true /test pull-kubevirt-e2e-k8s-1.23-operator
pull-kubevirt-e2e-k8s-1.22-ipv6-sig-network 98f7cad link true /test pull-kubevirt-e2e-k8s-1.22-ipv6-sig-network
pull-kubevirt-e2e-k8s-1.22-sig-storage 98f7cad link true /test pull-kubevirt-e2e-k8s-1.22-sig-storage
pull-kubevirt-goveralls 98f7cad link false /test pull-kubevirt-goveralls
pull-kubevirt-e2e-k8s-1.23-sig-compute-migrations-nonroot 98f7cad link true /test pull-kubevirt-e2e-k8s-1.23-sig-compute-migrations-nonroot
pull-kubevirt-fossa 98f7cad link false /test pull-kubevirt-fossa
pull-kubevirt-apidocs 98f7cad link true /test pull-kubevirt-apidocs
pull-kubevirt-build 98f7cad link true /test pull-kubevirt-build
pull-kubevirt-prom-rules-verify 98f7cad link true /test pull-kubevirt-prom-rules-verify
pull-kubevirt-unit-test 98f7cad link true /test pull-kubevirt-unit-test
pull-kubevirt-check-unassigned-tests 98f7cad link true /test pull-kubevirt-check-unassigned-tests
pull-kubevirt-build-arm64 98f7cad link true /test pull-kubevirt-build-arm64
pull-kubevirt-manifests 98f7cad link true /test pull-kubevirt-manifests
pull-kubevirt-client-python 98f7cad link true /test pull-kubevirt-client-python
pull-kubevirt-generate 98f7cad link true /test pull-kubevirt-generate

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.

@kubevirt-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@kubevirt-bot kubevirt-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 17, 2022
@kubevirt-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle rotten

@kubevirt-bot kubevirt-bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Aug 16, 2022
@kubevirt-bot
Copy link
Contributor

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

/close

@kubevirt-bot
Copy link
Contributor

@kubevirt-bot: Closed this PR.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

/close

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
dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. release-note-none Denotes a PR that doesn't merit a release note. size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants