The gallery is created in __post_init__, but it's not called for a
generated environment. So update code to create a _gallery cache, and
update with gallery_raw.
a small fix that remove vhd secret, as it may block troubleshooting on
vhd path.
There are concurrent issues on Azure deployment script count.
If too many deployments in progress in subscription level,
the old scripts may not able to deleted on time.
Deploy storage account outside of template to workaround it.
1. If TCP ping (SSH) success, smoke test can pass.
2. If ping passed, but reboot failed, it's partial success.
3. Remove dmesg check, will use serial console log.
Smoke test can be passed on port connected, but we can have more
validation. So if port connected, the test case can pass, but if it fails
on further validation, it's considered as partial passed.
1. supprt cases which run on the environment with Deployed status.
2. refine runner method to reduce complexity.
3. add is_new flag on environment to support cases need new env.
As smoke test needs to be run before node connected, so added new
status. The original is_ready flag is duplicated, and can be removed.
1. Use status to replace is_ready.
2. Remove is_ready from implemented platforms, it's managed by base
class.
3. Refine code, to attach any env failure to a test case.
Before this change, all location data are cached first. But location
data should be cached when it's used.
update UT test data to make test cases pass.
Some gallery images need to accept term, then it can be deployed.
And when deploying, they need plan information. Implement progress
like LISAv2 to query and accept terms, if it's necessary. As
azure-mgmt-marketplaceordering isn't compatible with latest
azure-identity, so add cred_wrapper to workaround it.
1. Add azure-mgmt-marketplaceordering package to support terms.
2. Query plan for gallery image deployment.
3. add cred_wrapper for azure-identity compatibility.
4. Add plan in arm_template.