Post
20 Sep 2020

SUSECon 2020 Talk: Automated QA for Maintenance Updates

The session “Automated QA Maintenance Updates in SUSE Manager” at SUSECon Digital 2020 told the story of tackling a major challenge for a QA team: the long and tedious process of validating maintenance updates.

The journey began by confronting a significant bottleneck. In the past, the team spent an average of two weeks and 3-4 QA Engineers to perform a single manual validation for the monthly maintenance updates. It felt like Groundhog Day; the steps were always the same, methodical but highly repetitive.

The key strategic shift was to stop treating maintenance QA as a separate phase and instead automate it. This was achieved by defining the QAM workflow and then applying existing technologies to it. The talk demonstrated a fast and unassisted deployment using Terraform for provisioning virtual machines and Salt for configuration.

On top of that, Jenkins Pipelines orchestrate the entire workflow as code. This pipeline runs a suite of Cucumber tests in parallel, which are written in natural language to reproduce customer steps. These automated tests perform complex actions like synchronizing products, bootstrapping clients, running various client tests, and more.

One of the best outcomes of this automation is a much happier and more efficient team. The validation time was reduced to just one or two days, allowing the team to focus on more complex cases and contribute more to the development cycle. Furthermore, the architecture is scalable and can be adapted by other projects facing similar challenges. The tech stack for this solution includes Jenkins, Terraform, Salt (as part of Sumaform), and a testing framework based on Ruby, Capybara, Cucumber, and parallel_tests.

Watch the Full Talk Here!

The official recording of the session is embedded below.


Tags:
0 comments