- Test1: Backup Success Scenario
- Test2: Plugin Host Config File Missing
- Test3: Plugin Host Config File doesn't have desired permissions
- Test4: pre script File doesn't have desired permissions COF:true
- Test5: post script File Execution Failed COF:true
- Test6: post script not found COF:true
- Test7: pre script File TimeOut COF:true
- Test8: pre script File doesn't have desired permissions COF:false
- Test9: post script File Execution Failed COF:false
- Test10: post script not found COF:false
- Test11: pre script File TimeOut COF:false
- Test12: Taking sequential snapshots
- Test13: Check extension billing value
One need to have a storage account with 4 blobs
- 2 for generating snapshot URIs
- 1 for status blob
- 1 for Log blob
- Clone the repository
- copy the “auto_test” directory to “/var/lib/waagent/Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0.” directory (cp -r auto_test /var/lib/waagent/Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0.)
- mv to auto_test directory (cd /var/lib/waagent/Microsoft.Azure.RecoveryServices.VMSnapshotLinux-1.0.*/auto_test)
- update “testconfig.json”
- execute the TestRunner script. (python TestRunner.py)
- "StorageAccountName", "StorageAccountKey" are the access details for storage accounts containing the test blobs
- "BlobContainerName", "BlobNames" are to generate VHD snaspshot URIs
- "LogContainerName","LogBlobName" are to generate log blob URI
- "StatusContainerName" , "StatusBlobName" are to generate status blob URI
{
"StorageAccountName" : "pramb6024",
"StorageAccountKey" : ""
"BlobContainerName" : "test",
"BlobNames" : ["disk1","disk2"],
"LogContainerName" : "test",
"LogBlobName" : "logs.txt",
"StatusContainerName" : "test",
"StatusBlobName" : "status.txt",
"CertThumbprint" : "13CC23F9AFBF4CBA045573DC22B9A3BE884D9B14"
}