walinuxagentUpdates

Differences between revisions 14 and 15
Revision 14 as of 2016-11-10 09:24:35
Size: 2457
Editor: localhost
Comment:
Revision 15 as of 2016-11-10 10:00:29
Size: 2758
Editor: localhost
Comment:
Deletions are marked like this. Additions are marked like this.
Line 30: Line 30:
== SRU Test Cases == == Pre-SRU Test Cases ==
Line 32: Line 32:
These are the test cases that all walinuxagent SRUs are subjected to: These are the test cases that all walinuxagent are subjected to before even getting to SRU:
Line 37: Line 37:
2.) Upgrade walinuxagent from -proposed 2.) Upgrade walinuxagent usually from PPA
Line 43: Line 43:
1.) Build new cloud image from -proposed 1.) Build new cloud image with PPA package
Line 47: Line 47:

== SRU Test Cases ==

These are automated tests:
{{{
1.) Build new cloud image with -purposed package
2.) Boot instance
3.) Confirm that instance provisioned
4.) Run standard tests and regression tests
5.) Repeat from step 2 for all other Azure VM Sizes.
}}}

walinuxagent Updates

This document describes the process to update and test new versions of the walinuxagent package in SRUs.

The walinuxagent package is an Ubuntu distribution of the upstream Microsoft Azure Linux Agent that manages Linux provisioning, and VM interaction with the Azure Fabric Controller.

It provides the following functionality for Ubuntu cloud image deployments:

  • Image Provisioning.
  • Networking setup.
  • Kernel setup.
  • Diagnostics setup.
  • SCVMM Deployments
  • VM Extensions Management

For a more detailed list of functionallity this package provides to Ubuntu cloud images, refer to the upstream project page at GitHub: https://github.com/Azure/WALinuxAgent

SRU Verification Process

This is the QA process that proposed walinuxagent packages are subjected to:

  • The new package candidate version is built in a PPA and tested on the target suite before being uploaded to the archive at all. This will involve one or both of:
    • Installing the PPA packages on an Azure VM, manually restoring the VM to a first boot state and rebooting it,
    • Generating a fresh image with the PPA package version preinstalled and testing that directly
  • Once the manual packaging tests pass successfully and the package requires no further changes, it will be uploaded to the archive.
  • Once accepted in to -proposed, a test image is built from -proposed, which is subjected to the full CPC image tests; this tests for more regressions across multiple Azure instance sizes. This includes tests for the following bugs:

Pre-SRU Test Cases

These are the test cases that all walinuxagent are subjected to before even getting to SRU:

[Test case 1]: Upgrade testing
1.) Launch instance on Azure
2.) Upgrade walinuxagent usually from PPA
3.) Confirm that "waagent" is running, check /var/log/waagent.log
4.) Reboot, repeat step 3
5.) Capture instance and provision new instances; repeat step 3
  
[Test Case 2]: New instance
1.) Build new cloud image with PPA package
2.) Boot instance
3.) Confirm that instance provisioned

SRU Test Cases

These are automated tests:

1.) Build new cloud image with -purposed package
2.) Boot instance
3.) Confirm that instance provisioned
4.) Run standard tests and regression tests
5.) Repeat from step 2 for all other Azure VM Sizes.

walinuxagentUpdates (last edited 2019-06-05 22:02:31 by vorlon)