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.12.0.0 to master #3261

Merged
merged 241 commits into from
Nov 14, 2024
Merged

Release 2.12.0.0 to master #3261

merged 241 commits into from
Nov 14, 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>
mirespace and others added 23 commits July 16, 2024 09:16
24.04 is noble, not focal

Co-authored-by: Norberto Arrieta <narrieta@users.noreply.github.com>
Co-authored-by: narrieta@microsoft <narrieta>
* Remove extension status only on extension delete

* .

* .

---------

Co-authored-by: narrieta@microsoft <narrieta>
* .

* Add Azure Linux 3 to test runs

* .

* .

* .

* .

* Update setup.py

---------

Co-authored-by: narrieta@microsoft <narrieta>
* use self-update for initial update

* addressing comments

* cleanup files

* state files

* remove comment
…g if versioning disabled in agent (#3189)

* rsm changes

(cherry picked from commit d73cef5)

* addressed comment

(cherry picked from commit 1ab9122)

* updated comment

* addressed comments

* added semicolon
Co-authored-by: narrieta@microsoft <narrieta>
* Lc v2 implementation branch (#18)

* memory experimentation changes

* Initial changes

* obvious issues

* Fix e2e test

* First round of unit test fixes

* Fix existing unit tests

* Remove unneeded cpu files

* Get memory usage should return tuple

* Fix log for tracking cgroup

* Add unit tests

* Add unit tests

* Address pylint comments

* Clean up code

* clean up code

* Fix unit tests (#19)

* Fix unit tests

* Fix unit tests

* Revisions (#20)

* Respond to comments

* Test failures

* Fix type issue

* Revisions

* Additional revisions (#21)

* Revisions

* Remove unit test for sending telem

* final fixes

* add config flag

* Fix e2e tests
…ce mock method (#3191)

* python3.5 workaround

* replace assert_called_once

* addressing comment
* Fix unit tests 3.5

* Fix ut
* .

* .

* .,

---------

Co-authored-by: narrieta@microsoft <narrieta>
* Capture logcollector pattern only once

* Add comment
…ctor and remove fiirewall daemon-reload (#3223) (#3226)

* move daemon reload

* test fix

* UT test

* firewall daemon-reload

* address comments

* address comments

(cherry picked from commit 47e969a)
* Update ubuntu 24

* Add ubuntu 24 to nat clouds

* Add arm64 ubuntu 24

* Update all ubuntu images

* Skip arm64 in nat clouds

* Fix syntax issues

(cherry picked from commit 31adf25)
Copy link

codecov bot commented Nov 13, 2024

Codecov Report

Attention: Patch coverage is 81.39731% with 221 lines in your changes missing coverage. Please review.

Project coverage is 72.39%. Comparing base (e84fbe1) to head (b79ceb8).
Report is 484 commits behind head on master.

Files with missing lines Patch % Lines
azurelinuxagent/ga/cgroupconfigurator.py 69.93% 38 Missing and 5 partials ⚠️
azurelinuxagent/ga/cgroupapi.py 87.93% 24 Missing and 14 partials ⚠️
azurelinuxagent/ga/cpucontroller.py 84.35% 16 Missing and 7 partials ⚠️
azurelinuxagent/ga/memorycontroller.py 77.55% 16 Missing and 6 partials ⚠️
azurelinuxagent/ga/logcollector.py 61.11% 14 Missing ⚠️
azurelinuxagent/common/osutil/default.py 58.33% 8 Missing and 2 partials ⚠️
azurelinuxagent/ga/agent_update_handler.py 79.59% 10 Missing ⚠️
azurelinuxagent/ga/cgroupcontroller.py 91.20% 7 Missing and 1 partial ⚠️
azurelinuxagent/agent.py 88.09% 3 Missing and 2 partials ⚠️
azurelinuxagent/pa/rdma/rdma.py 0.00% 5 Missing ⚠️
... and 20 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3261      +/-   ##
==========================================
+ Coverage   72.05%   72.39%   +0.33%     
==========================================
  Files         101      112      +11     
  Lines       15075    16824    +1749     
  Branches     2396     2238     -158     
==========================================
+ Hits        10863    12180    +1317     
- Misses       3731     4123     +392     
- Partials      481      521      +40     

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

@nagworld9 nagworld9 merged commit 7065e81 into master Nov 14, 2024
33 checks passed
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.