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

Add ARM64 to the daily test run #2734

Merged
merged 2 commits into from
Jan 23, 2023
Merged

Add ARM64 to the daily test run #2734

merged 2 commits into from
Jan 23, 2023

Conversation

narrieta
Copy link
Member

I'm starting with Mariner 2 and will add more ARM64 distros in future PRs

@@ -46,32 +48,34 @@ platform:
min: 2
azure:
marketplace: "$(marketplace_image)"
vhd: $(vhd)
vhd: ""
Copy link
Member Author

Choose a reason for hiding this comment

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

I will use the VHD parameter in a future PR

value: ""
- name: default_location
value: "westus2"

Copy link
Member Author

Choose a reason for hiding this comment

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

Now that those variables are generated by the combinator, overriding them from the command line has no effect. In future PRs I will replace those in favor of using JSON files defining the test suites, as we discussed earlier.

location: $(default_location)
# Mariner 2 ARM64 is not available in westus2 currently; use eastus.
- marketplace_image: "microsoftcblmariner cbl-mariner cbl-mariner-2-arm64 latest"
location: "eastus"
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 list will be generated automatically in future PRs from the JSON definition files

@@ -28,7 +28,7 @@
from lisa import schema # pylint: disable=E0401
from lisa.messages import ( # pylint: disable=E0401
MessageBase,
TestResultMessage,
TestResultMessageBase,
Copy link
Member Author

Choose a reason for hiding this comment

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

Using the Base class also captures SubTests. We don't have any of those currently, but decided to make the code more generic in case we use them.

if isinstance(message, TestResultMessageBase):
image = message.information.get('image')
if image is not None:
message.name = image
Copy link
Member Author

Choose a reason for hiding this comment

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

using the image instead of the distro allows to distinguish Mariner 1 & 2


concurrency: 10

notifier:
- type: env_stats
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 notifier was copied from the sample on which I based the original runbook. Taking a look at its report, it does not provide anything useful for our scenario, so I'm removing it.

@codecov
Copy link

codecov bot commented Jan 20, 2023

Codecov Report

Merging #2734 (a1ede0b) into develop (106979e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #2734   +/-   ##
========================================
  Coverage    72.04%   72.04%           
========================================
  Files          104      104           
  Lines        15832    15832           
  Branches      2265     2265           
========================================
  Hits         11406    11406           
  Misses        3912     3912           
  Partials       514      514           

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

maddieford
maddieford previously approved these changes Jan 20, 2023
@narrieta narrieta merged commit 32dd7a8 into Azure:develop Jan 23, 2023
@narrieta narrieta deleted the arm64 branch January 23, 2023 23:07
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

3 participants