department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
283 stars 204 forks source link

EKS Upgrade Testing Plan: Step 6: Sidekiq Functionality #74644

Closed jennb33 closed 1 month ago

jennb33 commented 9 months ago

The VA Platform Product team is undergoing an EKS upgrade. As part of the process, it is necessary to conduct comprehensive testing on various components of Vets-API to ensure seamless functionality and performance during the upgrade.

From the EKS Testing Proposal:

As part of the current EKS upgrade process, comprehensive testing on various components of Vets API is essential in order to ensure seamless functionality and performance. Upgrading EKS can introduce changes that affect the behavior of deployed applications. Testing verifies that deployed applications remain compatible with any EKS changes. It ensures that all aspects of Vets API continue to operate as expected, without introducing regressions or unexpected behavior that could disrupt services for users.

Because of future goals to conduct upgrades on a 3-6 month cadence, it is the Product Platform team’s goal to maximize the automation of these upgrade testing processes. By automating these tests, verification of successful upgrades is potentially expedited and the right amount of time for necessary adjustments can be allocated. The Vets API components that require testing are below, along with the potential automation strategies. The objective is to standardize testing methodologies across the platform, thereby eliminating the inconsistency of testing solutions across EKS applications.

Part Six of Testing plan - Sidekiq Functionality

Tasks

Success Metrics

Acceptance Criteria

jennb33 commented 1 month ago

9/18/2024 update: need to check if the sidekiq UI is present. @LindseySaari verified it and asked @rmtolmach to do the 0-status. Might also test it by kicking off a basic job to run.

rmtolmach commented 1 month ago

We have a check to make sure Sidekiq's redis is working. That code is here and the output goes to the /v0/status endpoint which will be automatically checked with the postman tests Isaac has written. Image

To further check Sidekiq's functionality, we can check to make sure the sidekiq pods are healthy. We can do this by creating a log monitor in Datadog that catches initial sidekiq pod failure.

And as an additional check, we can kick off a sidekiq job in the console. I put instructions for that in the upgrade test doc.

jennb33 commented 1 month ago

This ticket was duped for Sprint 11, as 93586 to complete the work. Closing this ticket for Sprint 10. cc: @rmtolmach