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

update github hosted build runner for Unit tests #2755

Merged
merged 4 commits into from
Feb 13, 2023

Conversation

nagworld9
Copy link
Contributor

Description

Currently builds running on ubuntu 18 which is deprecated now. Migrated to ubuntu 20.

Issue #


PR information

  • The title of the PR is clear and informative.
  • There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
  • If applicable, the PR references the bug/issue that it fixes in the description.
  • New Unit tests were added for the changes made

Quality of Code and Contribution Guidelines

@codecov
Copy link

codecov bot commented Feb 9, 2023

Codecov Report

Merging #2755 (1210900) into develop (dd4e72d) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #2755      +/-   ##
===========================================
- Coverage    72.03%   71.99%   -0.05%     
===========================================
  Files          104      104              
  Lines        15831    15831              
  Branches      2264     2264              
===========================================
- Hits         11404    11397       -7     
- Misses        3909     3913       +4     
- Partials       518      521       +3     
Impacted Files Coverage Δ
azurelinuxagent/agent.py 56.62% <0.00%> (-2.01%) ⬇️
azurelinuxagent/common/utils/fileutil.py 78.94% <0.00%> (-0.76%) ⬇️
azurelinuxagent/common/version.py 69.64% <0.00%> (-0.60%) ⬇️

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

@@ -43,24 +51,24 @@ jobs:
- python-version: 2.7
PYLINTOPTS: "--rcfile=ci/2.7.pylintrc --ignore=tests_e2e,makepkg.py"

- python-version: 3.4
Copy link
Member

Choose a reason for hiding this comment

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

should we keep python 3.4? we should check telemetry

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They are very low and around 2000 vms running on py 3.4. All of them are either ubuntu 14 or Debian 8

narrieta
narrieta previously approved these changes Feb 9, 2023
maddieford
maddieford previously approved these changes Feb 10, 2023
@nagworld9 nagworld9 dismissed stale reviews from maddieford and narrieta via ea1f259 February 11, 2023 02:00
@@ -231,6 +232,7 @@ def test_calls_collect_logs_with_proper_mode(self, mock_log_collector, *args):
def test_calls_collect_logs_on_valid_cgroups(self, mock_log_collector):
try:
CollectLogsHandler.enable_cgroups_validation()
mock_log_collector.run = Mock()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

run method has protocol initialization and that is internally making network calls which ls happening in loop due to retry setup on failures.

@nagworld9 nagworld9 merged commit ca471d2 into Azure:develop Feb 13, 2023
@nagworld9 nagworld9 deleted the update-build-image branch February 13, 2023 22:27
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