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

Release 2.10.0.0(merge to Master) #3099

Merged
merged 157 commits into from
Mar 27, 2024
Merged

Release 2.10.0.0(merge to Master) #3099

merged 157 commits into from
Mar 27, 2024

Conversation

nagworld9
Copy link
Contributor

Description

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

narrieta and others added 30 commits April 11, 2023 10:26
* Add support for Azure Clouds
---------

Co-authored-by: narrieta <narrieta>
…d update test-requirements to remove codecov (#2803)

* Update version to dummy 1.0.0.0'

* Revert version change

* Only check certificats if goal state includes certs

* Fix code coverage deprecated issue

* Move condition to function call
* Add tests for no outbound connectivity

---------

Co-authored-by: narrieta <narrieta>
* Use cloud when validating test location
---------

Co-authored-by: narrieta <narrieta>
* Redact access tokens from extension's output

* python 2.6

---------

Co-authored-by: narrieta <narrieta>
Co-authored-by: narrieta <narrieta>
The current code assumes the ipoib interface name is ib0 when single IB
interface is provisioned. This is not always true when udev rules are used
to rename to other names like ibPxxxxx.

Fix this by searching any interface name starting with "ib".
* Allow tests to run on random images

* PR feedback

---------

Co-authored-by: narrieta <narrieta>
Co-authored-by: narrieta <narrieta>
Co-authored-by: narrieta <narrieta>
Co-authored-by: narrieta <narrieta>
* Fixes for Azure clouds

* add debug info

---------

Co-authored-by: narrieta <narrieta>
…sion (#2824)

* Add test for extensions disabled; refactor VirtualMachine and VmExtension
---------

Co-authored-by: narrieta <narrieta>
Co-authored-by: narrieta <narrieta>
* Add test for osProfile.linuxConfiguration.provisionVMAgent

* add files

* pylint

* added messages

* ssh issue

---------

Co-authored-by: narrieta <narrieta>
Co-authored-by: narrieta <narrieta>
… setup fails (#2830)

Co-authored-by: narrieta <narrieta>
* Add VM Arch to heartbeat telemetry

* Remove outdated vmsize heartbeat tesT

* Remove unused import

* Use platform to get vmarch

(cherry picked from commit 66e8b3d)
Co-authored-by: narrieta <narrieta>
* agent update refactor (#2706)

* agent update refactor

* address PR comments

* updated available agents

* fix pylint warn

* updated test case warning

* added kill switch flag

* fix pylint warning

* move last update attempt variables

* report GA versioning supported feature. (#2752)

* control agent updates in e2e tests and fix uts (#2743)

* disable agent updates in dcr and fix uts

* address comments

* fix uts

* report GA versioning feature

* Don't report SF flag idf auto update is disabled (#2754)

* fix uts (#2759)

* agent versioning test_suite (#2770)

* agent versioning test_suite

* address PR comments

* fix pylint warning

* fix update assertion

* fix pylint error

* logging manifest type and don't log same error until next period in agent update. (#2778)

* improve logging and don't log same error until next period

* address comments

* update comment

* update comment

* Added self-update time window. (#2794)

* Added self-update time window

* address comment

* Wait and retry for rsm goal state (#2801)

* wait for rsm goal state

* address comments

* Not sharing agent update tests vms and added scenario to daily run (#2809)

* add own vm property

* add agent_update to daily run

* merge conflicts

* address comments

* address comments

* additional comments addressed

* fix pylint warning
* Add test for FIPS

* add test

* increase sleep

* remove unused file

* added comment

* check uptime

---------

Co-authored-by: narrieta <narrieta>
* Eliminate duplicate list of test suites to run

* fix paths

* add agent update

---------

Co-authored-by: narrieta <narrieta>
* nsbsd: adapt to recent dns.resolver

* osutil: Provide a get_root_username function for systems where its not 'root' (like in nsbsd)

* nsbsd: tune the configuration filepath

* nsbsd: fix lib installation path

---------

Co-authored-by: Norberto Arrieta <narrieta@users.noreply.github.com>
Co-authored-by: narrieta <narrieta>
Co-authored-by: narrieta <narrieta>
* Collect test artifacts as a separate step in the test pipeline
---------

Co-authored-by: narrieta <narrieta>
* Fix infinite retry loop

* fix message

---------

Co-authored-by: narrieta <narrieta>
Co-authored-by: narrieta <narrieta>
maddieford and others added 21 commits February 2, 2024 11:34
* Revert changes to publish_hostname in RedhatOSModernUtil

* Fix pylint bad-super-call
* support new flag

* address comments

* added more info

* updated

* address comments

* resolving comment

* updated
* Retry get instance view if incomplete during assertions

* Retry getting instance view if only name property is present
…#3024)

* Check nic state and recover if down:

* Fix typo

* Fix state comparison

* Fix pylint errors

* Fix string comparison

* Report publish hostname failure in calling thread

* Add todo to check nic state for all distros where we reset network

* Update detection to check connection state and separate recover from publish

* Pylint unused argument

* refactor recover_nic argument

* Network interface e2e test

* e2e test for recovering the network interface on redhat distros

* Only run scenario on distros which use RedhatOSUtil

* Fix call to parent publish_hostname to include recover_nic arg

* Update comments in default os util

* Remove comment

* Fix comment

* Do not do detection/recover on RedhatOSMOdernUtil

* Resolve PR comments

* Make script executable

* Revert pypy change

* Fix publish hostname paramters
…ort (#3027)

* GA update to latest version flag

* address comments

* resloving comments

* added TODO

* ignore warning

* resolving comment

* address comments

* config present check

* added a comment
* Fix daily pipeline failures for recover_network_interface

* Clear any unused settings properties when enabling cse

---------

Co-authored-by: Norberto Arrieta <narrieta@users.noreply.github.com>
* enable RSM tests

* merge conflicts
* Add Ubuntu 24 to end-to-end tests

* disable AzureMonitorLinuxAgent

---------

Co-authored-by: narrieta <narrieta>
Co-authored-by: narrieta <narrieta>
Co-authored-by: narrieta <narrieta>
* set max update attempts

* download refactor

* pylint
@nagworld9 nagworld9 changed the title Release 2.10.0.0 Release 2.10.0.0(merge to Master) Mar 25, 2024
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 79.07188% with 230 lines in your changes are missing coverage. Please review.

Project coverage is 71.73%. Comparing base (28345a5) to head (3adc601).

Files Patch % Lines
azurelinuxagent/common/osutil/redhat.py 11.29% 55 Missing ⚠️
azurelinuxagent/ga/extensionprocessutil.py 32.43% 24 Missing and 1 partial ⚠️
azurelinuxagent/ga/guestagent.py 88.78% 20 Missing and 5 partials ⚠️
azurelinuxagent/ga/update.py 80.24% 13 Missing and 3 partials ⚠️
azurelinuxagent/common/protocol/goal_state.py 78.57% 8 Missing and 4 partials ⚠️
azurelinuxagent/common/utils/shellutil.py 50.00% 9 Missing and 3 partials ⚠️
azurelinuxagent/pa/rdma/rdma.py 0.00% 12 Missing ⚠️
azurelinuxagent/ga/agent_update_handler.py 91.33% 9 Missing and 2 partials ⚠️
azurelinuxagent/ga/ga_version_updater.py 86.41% 10 Missing and 1 partial ⚠️
azurelinuxagent/ga/rsm_version_updater.py 81.35% 6 Missing and 5 partials ⚠️
... and 12 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3099      +/-   ##
==========================================
- Coverage   71.97%   71.73%   -0.25%     
==========================================
  Files         104      109       +5     
  Lines       15873    16392     +519     
  Branches     2273     2343      +70     
==========================================
+ Hits        11424    11758     +334     
- Misses       3926     4087     +161     
- Partials      523      547      +24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nagworld9 nagworld9 merged commit 6e85414 into master Mar 27, 2024
17 checks passed
@nagworld9 nagworld9 deleted the release-2.10.0.0 branch August 14, 2024 21:19
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.

9 participants