You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently rely on manual testing and end to end testing to find problems with the agent upgrade process. The feedback loop during develop from these tests is too slow, and they do not adequately test the various upgrade failure modes the agent can encounter in the field. Add a set of automated upgrade tests local to the agent repository that:
Tests that the normal upgrade process can proceed without issues.
Tests that the upgrade process can successfully roll back to the previous version when the newly installed agent version fails to start.
Tests that the agent reliably restarts with the current version when an upgrade to a new version is interrupted unexpectedly.
Tests that the upgrade process can detect corrupted or unsigned upgrade packages.
Tests that the upgrade process either detects or automatically recovers from corrupted agent installations (missing directories, symlinks, files, etc.).
We currently rely on manual testing and end to end testing to find problems with the agent upgrade process. The feedback loop during develop from these tests is too slow, and they do not adequately test the various upgrade failure modes the agent can encounter in the field. Add a set of automated upgrade tests local to the agent repository that:
For reference the majority of the upgrade process is defined in https://github.com/elastic/elastic-agent/tree/main/internal/pkg/agent/application/upgrade.
The text was updated successfully, but these errors were encountered: