Skip to content

cicd: fix integration tests #61

@anrayliu

Description

@anrayliu

Context

The integration tests are currently silently failing.

Here are some logs from chore(Makefile): fix typo:

Verifying RBAC...
No resources found in das namespace.
No resources found in das namespace.
Warning  FailedScheduling  0s    default-scheduler  0/1 nodes are available: 1 node(s) had untolerated taint {node.kubernetes.io/not-ready: }. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.
[15:45:18] Waiting for pod namespace-cleaner-integration-test to complete... Current status: Pending
[15:45:23] Waiting for pod namespace-cleaner-integration-test to complete... Current status: Pending
[15:45:28] Waiting for pod namespace-cleaner-integration-test to complete... Current status: Pending
[15:45:33] Waiting for pod namespace-cleaner-integration-test to complete... Current status: Pending
[15:45:38] Pod namespace-cleaner-integration-test completed successfully.
# Show logs with timestamps
[15:45:38] Pod logs (with timestamps):
[15:45:38] Integration tests passed

Based off these logs, there doesn't seem to be any actual testing occurring.

TODO

  • Investigate why workflow is failing
  • add safety mechanisms to prevent silent fails like this in the future
  • Use existing github actions workflow to install kind instead of manually
  • Investigate an automatic way of verifying state of cluster instead of outputting logs

Expected Outcome

Workflow tests and fails if an error occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions