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

Remediate Ready Worker Node in E2E #159

Merged
merged 6 commits into from
Nov 14, 2024

Commits on Nov 6, 2024

  1. Try to remediate only a Ready node and get node role

    Improve getAvailableWorkerNodes to getReadyWorkerNodes by getting a list of all the ready worker nodes. Otherwise we will try to remediate node and fail on fetching its boot time at BeforeEach. Furthemrmore getNodeRoleFromMachine function will add the node role at the list of nodes prior to every e2e test
    razo7 committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    b89cccb View commit details
    Browse the repository at this point in the history
  2. Fix listing machines with no associated node

    Bad return error and continue inside if was removed in favor of else to the if statement
    razo7 committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    c2baa2f View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. Extend RetryCount for AWS agent

    RetryCount of 5 is too low for running the AWS agent. Leading to a context timed out, and stop trying to reboot the unhealthy node
    razo7 committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    b9cc66b View commit details
    Browse the repository at this point in the history
  2. Fail testing on non-supported platform and change toleration operator…

    … for test pods
    
    Move cluster information from BeforeEach to an independent test, and skip subsequent tests on failure. Tested pods toleration should use the Exist operator over Equal as the toleration value is irrelevant
    razo7 committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    8589575 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. Fail on missing Ready Worker nodes

    Previously it was just skiping but it hides that we don't run tests and still getting a green result
    razo7 committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    156442e View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. Fail early on missing Ready Worker node

    Move the check of missing Ready worker node outside of the previous two functions. It simplifies the code
    razo7 committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    556f51a View commit details
    Browse the repository at this point in the history