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

e2e tests for capa/capv hybrid env #3619

Closed
5 tasks done
Tracked by #3585
anvddriesch opened this issue Jul 31, 2024 · 3 comments
Closed
5 tasks done
Tracked by #3585

e2e tests for capa/capv hybrid env #3619

anvddriesch opened this issue Jul 31, 2024 · 3 comments
Assignees
Labels
team/rocket Team Rocket

Comments

@anvddriesch
Copy link

anvddriesch commented Jul 31, 2024

We want e2e tests for the capa/capv hybrid environment.
Furthermore, working on them is a good test driven way of working on the product itself so let's start here.

  • add context
  • make cluster standup work
  • make cluster teardown work
  • add test suite
  • ensure all tests pass
@anvddriesch
Copy link
Author

I made a local new context for cluster standup/teardown which deploys capv to private capa.
After fixing some crd issues cluster creation is now working as expected. However, due to #3587 it gets stuck as expected

    conditions:
    - lastTransitionTime: "2024-07-31T12:38:58Z"
      message: 'failed to create vCenter session: failed to create client: Post "https://...":
        Forbidden'
      reason: VCenterUnreachable
      severity: Error
      status: "False"
      type: Ready
    - lastTransitionTime: "2024-07-31T12:38:58Z"
      message: 'failed to create vCenter session: failed to create client: Post "https://...":
        Forbidden'
      reason: VCenterUnreachable
      severity: Error
      status: "False"
      type: VCenterAvailable

@anvddriesch
Copy link
Author

Test run honestly does not look too bad.
Creation and deletion works, nodes are ready. Most tests pass.

We do have some fails:

Summarizing 3 Failures:
  [FAIL] Common tests default apps [It] all default apps are deployed without issues
  /app/internal/common/apps.go:67
  [FAIL] Common tests observability-bundle apps [It] all observability-bundle apps are deployed without issues
  /app/internal/common/apps.go:97
  [FAIL] Common tests cert-manager ClusterIssuers [It] cert-manager default ClusterIssuers are present and ready
  /app/internal/common/certmanager.go:43

Ran 21 of 32 Specs in 2923.695 seconds
FAIL! -- 18 Passed | 3 Failed | 0 Pending | 11 Skipped

It's possible that those are flaky and we should try rerunning. However, they could also be related to some more proxy/private setting mess due to the environment.

@anvddriesch
Copy link
Author

test-suites ran succesfully 🥳

@anvddriesch anvddriesch added team/rocket Team Rocket and removed team/bigmac Team BigMac labels Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team/rocket Team Rocket
Projects
Archived in project
Development

No branches or pull requests

2 participants