Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use unique name for test VMs. Remove hardcoded log path #2767

Merged
merged 2 commits into from
Feb 23, 2023

Conversation

narrieta
Copy link
Member

  • We have been using the distro name to distinguish test VMs in the main log, the junit results, and to create the file name for test logs. With the support for location, vm_size and "owns VM" in my previous PR, the distro name is no longer unique. This PR fixes this, adding the location, or the test suite name for suites that own the VM, to the distro name.

  • The AgentTestSuite was hardcoding the location of the log files to $HOME/logs. Now this location can be passed as a parameter to the runbook.

@codecov
Copy link

codecov bot commented Feb 21, 2023

Codecov Report

Merging #2767 (1291fc3) into develop (2c0cacd) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #2767   +/-   ##
========================================
  Coverage    71.99%   71.99%           
========================================
  Files          104      104           
  Lines        15831    15831           
  Branches      2264     2264           
========================================
  Hits         11397    11397           
  Misses        3913     3913           
  Partials       521      521           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@@ -99,9 +99,9 @@ def enable(
extension_parameters
).result(timeout=_TIMEOUT))

if result.provisioning_state != 'Succeeded':
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This check is failing from time to time because we get 'Updating'; that should not be reported as a failure.

@narrieta narrieta merged commit 7c44c2f into Azure:develop Feb 23, 2023
@narrieta narrieta deleted the log-path branch February 23, 2023 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants