Skip to content

[integration tests] add regular workspace PVC integration test from PVC test plans #12497

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

Closed
9 tasks done
Tracked by #7901
jenting opened this issue Aug 30, 2022 · 6 comments · Fixed by #12650, #12808, #12856 or #12861
Closed
9 tasks done
Tracked by #7901
Assignees
Labels
team: workspace Issue belongs to the Workspace team

Comments

@jenting
Copy link
Contributor

jenting commented Aug 30, 2022

Is your feature request related to a problem? Please describe

Manually go thru. the PVC test plans take about half a day, and it's too long for each release to manually test against all the PVC test plans.

Describe the behaviour you'd like

Trying to add more integration tests from the PVC test plans if possible, and make the manual PVC tests as small as possible.
Therefore, we could minimize the deployer only need to test the manually PVC test plans.

Describe alternatives you've considered

None

Definition of Done (DoD)

Additional context

#7901

@jenting I briefly looked at the below tests, and removed them from scope for now. Can you review, and let me know your thoughts? They seem unnecessary, but, let me know what you think? 🙏

  • Other regular workspace tests, not necessarily needed for PVC
    • TestWorkspaceInstrumentation (creates a user via server API, starts a workspace from gitpod repo, transfers or uses an agent to the workspace pod, sets up a port forward, and asserts it can connect to the agent via RPC...it is unclear how this relates to PVC)?
    • TestLaunchWorkspaceDirectly (this is exercised in most of the tests starting a workspace already)
@jenting jenting added the team: workspace Issue belongs to the Workspace team label Aug 30, 2022
@jenting jenting self-assigned this Aug 31, 2022
@jenting jenting moved this to In Progress in 🌌 Workspace Team Aug 31, 2022
@kylos101
Copy link
Contributor

kylos101 commented Aug 31, 2022

👋 thank you for moving this to in-progress, @jenting !

To start, I recommend a minimal PR, which covers regular workspace start and stop scenarios, by adding the PVC feature flag to existing tests, as new permutations for those tests (you might have to alter them to conditionally support feature flags). Then, if some regular workspace scenarios are still not covered from the PVC test plan, plan on writing those new tests in a separate PR.

In other words, please create a separate issue to cover prebuilds with PVC, and don't plan on covering prebuild test cases for now.

@kylos101
Copy link
Contributor

kylos101 commented Sep 2, 2022

@jenting I updated Additional Context for this issue to reduce the # of required tests for regular workspaces, please review? 🙏

@kylos101
Copy link
Contributor

kylos101 commented Sep 2, 2022

👋 @jenting regarding cases 2 and 3 (which warrant new tests), if I were to run those cases, would you expect them to pass? I ask because this discussion is unresolved.

@jenting
Copy link
Contributor Author

jenting commented Sep 2, 2022

👋 @jenting regarding cases 2 and 3 (which warrant new tests), if I were to run those cases, would you expect them to pass? I ask because this discussion is unresolved.

Yes, I expect them to pass.

@jenting
Copy link
Contributor Author

jenting commented Sep 2, 2022

@jenting I updated Additional Context for this issue to reduce the # of required tests for regular workspaces, please review? 🙏

Thanks for the detailed check, I agree those two tests do not require testing against the PVC feature flag.

@kylos101
Copy link
Contributor

kylos101 commented Sep 4, 2022

@jenting could you move the Prebuild tests for PVC tasks to a separate issue? That way, this issue doesn't stay "in progress" for "too long" in our groundwork. 🙇

@jenting jenting changed the title [integration tests] move some PVC test plans into workspace integration test [integration tests] add regular workspace PVC integration test from PVC test plans Sep 4, 2022
Repository owner moved this from In Progress to Awaiting Deployment in 🌌 Workspace Team Sep 5, 2022
@jenting jenting moved this from Awaiting Deployment to In Validation in 🌌 Workspace Team Sep 5, 2022
@jenting jenting moved this from In Validation to Done in 🌌 Workspace Team Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment