-
Notifications
You must be signed in to change notification settings - Fork 7
Diagnostics Collection as a part of Test
**THESE PAGES HAVE BEEN DEPRECATED **
PLEASE REFER TO https://docs.microsoft.com/en-us/azure/azure-stack/partner/
When a test executes and finishes, test logs are uploaded to a VaaS store. At times, to root cause an issue, we also need to analyze product logs. In order to enable this, there are tasks that you need to complete to ensure these logs are accessed in a controlled manner. These steps walk through how to provision and set access policies on an Azure storage account and where to specify the storage account in the VaaS portal.
Note that product logs will always be uploaded into the storage account that you create and manage.
To create a storage account, follow the instructions in the "Create a storage account" section ONLY in this link.
Make sure to select the Blob storage storage account type.
- Navigate to the storage account created above and select it.
- On the blade under Settings, click on Shared access signature.
- Check only "Blob" from Allowed Services options (uncheck remaining).
- Check "Service", "Container" and "Object" from Allowed resource types.
- Check "Read", "Write", "List", "Add", "Create" from Allowed permissions.
- Set Start time to the current time, and End time to 3 months from the current time.
- Click on "Generate SAS" and save the "Blob service SAS URL" string as is (do not add container names).
Note that SAS URL expires at the End time set when the URL was generated. Ensure that the URL is sufficiently valid before sharing it with product team for debugging, or that the URL is valid for more than 30 days when scheduling tests.
The value of the Diagnostics connection string common parameter will be stored by the service and provided at schedule time to all tests in the workflow that use this parameter. When the SAS URL is within 30 days of expiry, you will be prompted for a new SAS URL on the common parameters page.
- Start any new workflow, or edit the common parameters of an existing workflow.
- Under Common Test Parameters, enter the blob service SAS URL in the Diagnostics connection string field.
- The URL will be saved upon clicking Submit.
Typically, you should not need to supply a connection string to an individual test. In the context of test parameters, the connection string is represented by the DiagnosticsStorageConnection
parameter.
One exception includes rescheduling a test in a Test Pass workflow from the tests summary page:
- Enter the blob service SAS URL in the
DiagnosticsStorageConnection
field. - Click Submit to reschedule the test.
Otherwise, depending on a particular test definition, the test may require you to enter a value independently of the common parameters, or may allow you to override the common parameter value.
- For Test Pass workflows:
- When selecting tests to schedule, click the Edit link and enter the blob service SAS URL in the
DiagnosticsStorageConnection
field. - Click Save and proceed. The test will be scheduled on Submit.
- When selecting tests to schedule, click the Edit link and enter the blob service SAS URL in the
- For Solution Validation and Package Validation workflows:
- When scheduling tests from the tests summary page, enter the blob service SAS URL in the
DiagnosticsStorageConnection
field. - Click Submit to schedule the test.
- When scheduling tests from the tests summary page, enter the blob service SAS URL in the
Getting Started
VaaS User Documentation
VaaS Product Documentation
- On-Premise Agent
- Azure Stack Test Parameters
- Azure Stack Diagnostics
- Interactive Feature Verification Testing
- Azure Stack Test Pass workflow
- Validation workflows
Suites
Releases
- 2018-06-14
- 2018-04-02
- 2018-01-30
- 2017-11-30
- 2017-09-25
- 2017-08-11
- 2017-06-30
- 2017-06-19
- 2017-06-09
- 2017-05-02
- 2017-04-15
- 2017-03-30
- 2017-03-01
Known Issues