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

Enable Snapshot e2e tests #1175

Closed
wants to merge 1 commit into from

Conversation

ramineni
Copy link
Contributor

@ramineni ramineni commented Aug 31, 2020

This commit enables snapshot e2e tests. Also adds
snapshot-controller yamls to repo, they are required for tests
and also to fix the version supported by plugin which is 2.1.1
as of now.

What this PR does / why we need it:

Which issue this PR fixes(if applicable):
fixes #

Special notes for reviewers:

Depends on theopenlab/openlab-zuul-jobs#1036
Release note:

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Aug 31, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign ramineni
You can assign the PR to them by writing /assign @ramineni in a comment when ready.

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

@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 31, 2020
@theopenlab-ci
Copy link

theopenlab-ci bot commented Aug 31, 2020

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Aug 31, 2020

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Aug 31, 2020

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Aug 31, 2020

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Aug 31, 2020

Build failed.

@jichenjc
Copy link
Contributor

jichenjc commented Sep 1, 2020

/test cloud-provider-openstack-e2e-test-csi-cinder

@k8s-ci-robot
Copy link
Contributor

@jichenjc: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

  • /test pull-cloud-provider-openstack-check
  • /test pull-cloud-provider-openstack-test

Use /test all to run all jobs.

In response to this:

/test cloud-provider-openstack-e2e-test-csi-cinder

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.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Sep 1, 2020

Build failed.

@ramineni ramineni mentioned this pull request Sep 2, 2020
10 tasks
@lingxiankong
Copy link
Contributor

Hi @ramineni, is the test failure related to the new test suit?

@jichenjc
Copy link
Contributor

jichenjc commented Sep 3, 2020

@lingxiankong I believe it's a technical debt we left .. there is no snapshot e2e before so this is something we need add

@ramineni
Copy link
Contributor Author

ramineni commented Sep 3, 2020

@lingxiankong This PR is dependent on #974 , e2e runs on v1beta1 version , ill recheck the job once that PR is merged

@lingxiankong
Copy link
Contributor

@ramineni #974 was merged.

@ramineni
Copy link
Contributor Author

ramineni commented Sep 4, 2020

/test cloud-provider-openstack-e2e-test-csi-cinder

@k8s-ci-robot
Copy link
Contributor

@ramineni: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

  • /test pull-cloud-provider-openstack-check
  • /test pull-cloud-provider-openstack-test

Use /test all to run all jobs.

In response to this:

/test cloud-provider-openstack-e2e-test-csi-cinder

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.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Sep 4, 2020

Build failed.

@jichenjc
Copy link
Contributor

jichenjc commented Sep 4, 2020

2020-09-04 04:50:28.192871 | ubuntu-xenial-citynetwork | �[91m�[1m• Failure [32.926 seconds]�[0m
2020-09-04 04:50:28.192922 | ubuntu-xenial-citynetwork | [sig-storage] [cinder-csi-e2e] CSI Volumes
2020-09-04 04:50:28.192997 | ubuntu-xenial-citynetwork | �[90m/home/zuul/pkg/mod/k8s.io/[email protected]/test/e2e/storage/utils/framework.go:23�[0m
2020-09-04 04:50:28.193039 | ubuntu-xenial-citynetwork |   [Driver: cinder.csi.openstack.org]
2020-09-04 04:50:28.193122 | ubuntu-xenial-citynetwork |   �[90m/home/zuul/src/k8s.io/cloud-provider-openstack/tests/e2e/csi/cinder/csi-volumes.go:29�[0m
2020-09-04 04:50:28.193176 | ubuntu-xenial-citynetwork |     [Testpattern: Dynamic PV (block volmode)] provisioning
2020-09-04 04:50:28.193253 | ubuntu-xenial-citynetwork |     �[90m/home/zuul/pkg/mod/k8s.io/[email protected]/test/e2e/storage/testsuites/base.go:94�[0m
2020-09-04 04:50:28.193336 | ubuntu-xenial-citynetwork |       �[91m�[1mshould provision storage with snapshot data source [Feature:VolumeSnapshotDataSource] [It]�[0m
2020-09-04 04:50:28.193420 | ubuntu-xenial-citynetwork |       �[90m/home/zuul/pkg/mod/k8s.io/[email protected]/test/e2e/storage/testsuites/provisioning.go:201�[0m
2020-09-04 04:50:28.193439 | ubuntu-xenial-citynetwork |
2020-09-04 04:50:28.193474 | ubuntu-xenial-citynetwork |       �[91mUnexpected error:
2020-09-04 04:50:28.193523 | ubuntu-xenial-citynetwork |           <*errors.StatusError | 0xc000732b40>: {
2020-09-04 04:50:28.193558 | ubuntu-xenial-citynetwork |               ErrStatus: {
2020-09-04 04:50:28.193609 | ubuntu-xenial-citynetwork |                   TypeMeta: {Kind: "", APIVersion: ""},
2020-09-04 04:50:28.193645 | ubuntu-xenial-citynetwork |                   ListMeta: {
2020-09-04 04:50:28.193697 | ubuntu-xenial-citynetwork |                       SelfLink: "",
2020-09-04 04:50:28.193760 | ubuntu-xenial-citynetwork |                       ResourceVersion: "",
2020-09-04 04:50:28.193816 | ubuntu-xenial-citynetwork |                       Continue: "",
2020-09-04 04:50:28.193867 | ubuntu-xenial-citynetwork |                       RemainingItemCount: nil,
2020-09-04 04:50:28.193898 | ubuntu-xenial-citynetwork |                   },
2020-09-04 04:50:28.193939 | ubuntu-xenial-citynetwork |                   Status: "Failure",
2020-09-04 04:50:28.194014 | ubuntu-xenial-citynetwork |                   Message: "the server could not find the requested resource",
2020-09-04 04:50:28.194067 | ubuntu-xenial-citynetwork |                   Reason: "NotFound",
2020-09-04 04:50:28.194104 | ubuntu-xenial-citynetwork |                   Details: {
2020-09-04 04:50:28.194142 | ubuntu-xenial-citynetwork |                       Name: "",
2020-09-04 04:50:28.194180 | ubuntu-xenial-citynetwork |                       Group: "",
2020-09-04 04:50:28.194218 | ubuntu-xenial-citynetwork |                       Kind: "",
2020-09-04 04:50:28.194254 | ubuntu-xenial-citynetwork |                       UID: "",
2020-09-04 04:50:28.194291 | ubuntu-xenial-citynetwork |                       Causes: [
2020-09-04 04:50:28.194326 | ubuntu-xenial-citynetwork |                           {
2020-09-04 04:50:28.194382 | ubuntu-xenial-citynetwork |                               Type: "UnexpectedServerResponse",
2020-09-04 04:50:28.194437 | ubuntu-xenial-citynetwork |                               Message: "404 page not found",
2020-09-04 04:50:28.194480 | ubuntu-xenial-citynetwork |                               Field: "",
2020-09-04 04:50:28.194515 | ubuntu-xenial-citynetwork |                           },
2020-09-04 04:50:28.194548 | ubuntu-xenial-citynetwork |                       ],
2020-09-04 04:50:28.194592 | ubuntu-xenial-citynetwork |                       RetryAfterSeconds: 0,
2020-09-04 04:50:28.194623 | ubuntu-xenial-citynetwork |                   },
2020-09-04 04:50:28.194659 | ubuntu-xenial-citynetwork |                   Code: 404,
2020-09-04 04:50:28.194704 | ubuntu-xenial-citynetwork |               },
2020-09-04 04:50:28.194737 | ubuntu-xenial-citynetwork |           }
2020-09-04 04:50:28.194791 | ubuntu-xenial-citynetwork |           the server could not find the requested resource
2020-09-04 04:50:28.194821 | ubuntu-xenial-citynetwork |       occurred�[0m
2020-09-04 04:50:28.194839 | ubuntu-xenial-citynetwork |

seems this is the error ,not sure it's related to some API resource not enabled?

@theopenlab-ci
Copy link

theopenlab-ci bot commented Sep 4, 2020

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Sep 4, 2020

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Sep 4, 2020

Build failed.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Sep 4, 2020

Build failed.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Sep 4, 2020

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Oct 15, 2020

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Oct 15, 2020

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Oct 15, 2020

Build failed.

@jichenjc
Copy link
Contributor

latest fail seems still related to create the cinder-client pod wait 15 min and failed to make it running, still need more info (maybe need describe the cinder-client pod itself..)

the pod is created at test/e2e/framework/volume/fixtures.go:runVolumeTesterPod

Warning: Making PVC: VolumeMode specified as invalid empty string, treating as nil Oct 15 07:55:34.583: INFO: Warning: Making PVC: VolumeMode specified as invalid empty string, treating as nil 



cinder.csi.openstack.org-scx4wrw �[1mSTEP�[0m: creating a claim �[1mSTEP�[0m: checking whether the created volume has the pre-populated data �[1mSTEP�[0m: starting cinder-client �[1mSTEP�[0m: Deleting pod cinder-client in namespace provisioning-7425 Oct 15 08:57:58.419: INFO: Waiting for pod cinder-client to disappear Oct 15 08:57:58.422: INFO: Pod cinder-client no longer exists Oct 15 08:57:58.422: FAIL: Failed to create client pod: timed out waiting for the condition Full Stack Trace k8s.io/kubernetes/test/e2e/framework


https://logs.openlabtesting.org/logs/75/1175/65abd111d34cf7833e20ff25279269b4fd9eb65d/cloud-provider-openstack-e2e-test-csi-cinder/cloud-provider-openstack-e2e-test-csi-cinder/29c6b20/logs/kubernetes/junit_01.xml

@jichenjc
Copy link
Contributor

/retest

@theopenlab-ci
Copy link

theopenlab-ci bot commented Oct 21, 2020

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Oct 21, 2020

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Oct 21, 2020

Build failed.

@jichenjc
Copy link
Contributor

theopenlab/openlab#603 is the thing that we are facing
I don't know the snapshot/quota/volume questions discussed there ,but I doubt whether
this is the PR that lead to that issue.

@jichenjc
Copy link
Contributor

/hold

see theopenlab/openlab#603 for further info

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 22, 2020
@ramineni
Copy link
Contributor Author

ramineni commented Nov 4, 2020

@jichenjc Do we have any update here?

@jichenjc
Copy link
Contributor

jichenjc commented Nov 4, 2020

@ramineni I retried then found CSI test is 100% failure , I I think we need get theopenlab/openlab#603 fixed
in order to know what's further need to be done, current CI is 100% failure and spend time on this test IMHO is 2nd step

@ramineni
Copy link
Contributor Author

ramineni commented Nov 4, 2020

@ramineni I retried then found CSI test is 100% failure , I I think we need get theopenlab/openlab#603 fixed
in order to know what's further need to be done, current CI is 100% failure and spend time on this test IMHO is 2nd step

@jichenjc Thanks. Any update from openlab on that issue, I guess they have to manually cleanup for now I suppose right? Otherwise may be we need to check with them on IRC

@jichenjc
Copy link
Contributor

jichenjc commented Nov 4, 2020

@ramineni I retried then found CSI test is 100% failure , I I think we need get theopenlab/openlab#603 fixed
in order to know what's further need to be done, current CI is 100% failure and spend time on this test IMHO is 2nd step

@jichenjc Thanks. Any update from openlab on that issue, I guess they have to manually cleanup for now I suppose right? Otherwise may be we need to check with them on IRC

I asked them and they told us it's citynetwork env and they need open issue to them as well
so far , I am still using my test PR #1302 to retest
if you can reach them at IRC then it might be helpful as well

@ramineni
Copy link
Contributor Author

/test cloud-provider-openstack-e2e-test-csi-cinder

@k8s-ci-robot
Copy link
Contributor

@ramineni: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

  • /test pull-cloud-provider-openstack-check
  • /test pull-cloud-provider-openstack-test

Use /test all to run all jobs.

In response to this:

/test cloud-provider-openstack-e2e-test-csi-cinder

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.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Jan 20, 2021

Build failed.

@ramineni
Copy link
Contributor Author

@jichenjc @lingxiankong Any idea the issue related to snapshot still exists from openlab side. I see issue is closed from openlab , so just confirming.

@jichenjc
Copy link
Contributor

theopenlab/openlab#667 is not closed yet...

@ramineni
Copy link
Contributor Author

theopenlab/openlab#667 is not closed yet...

No, I meant we had some issue with snapshot , as deletion not supported or something. Can't remember exact issue. I was talking about that one?

@jichenjc
Copy link
Contributor

theopenlab/openlab#667 is not closed yet...

No, I meant we had some issue with snapshot , as deletion not supported or something. Can't remember exact issue. I was talking about that one?

maybe theopenlab/openlab#603?

@lingxiankong
Copy link
Contributor

Yes, theopenlab/openlab#603 was the issue we were handling before. @jichenjc the issue was closed but I didn't see any conclusion, anything we need to follow up?

@jichenjc
Copy link
Contributor

@lingxiankong reopened that issue and added some comments :)

@ramineni
Copy link
Contributor Author

ramineni commented Mar 8, 2021

/test cloud-provider-openstack-e2e-test-csi-cinder

@k8s-ci-robot
Copy link
Contributor

@ramineni: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

  • /test pull-cloud-provider-openstack-check
  • /test pull-cloud-provider-openstack-test

Use /test all to run all jobs.

In response to this:

/test cloud-provider-openstack-e2e-test-csi-cinder

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.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 8, 2021

Build failed.

@ramineni ramineni closed this Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. release-note-none Denotes a PR that doesn't merit a release note. 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.

4 participants