Azure / LinuxPatchExtension

Microsoft Azure VM Guest Linux Patch Extension
Apache License 2.0
10 stars 8 forks source link

Fix/cicd pipeline utest with error code changes #231

Closed feng-j678 closed 9 months ago

feng-j678 commented 9 months ago

draft pr - debug why unit tests passed locally but not in cicd

codecov[bot] commented 9 months ago

Codecov Report

Attention: 72 lines in your changes are missing coverage. Please review.

Comparison is base (dfd4909) 90.46% compared to head (6e7f62f) 90.16%.

Files Patch % Lines
src/core/tests/Test_StatusHandlerTruncation.py 53.65% 57 Missing :warning:
src/core/src/service_interfaces/StatusHandler.py 90.56% 15 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #231 +/- ## ========================================== - Coverage 90.46% 90.16% -0.30% ========================================== Files 90 91 +1 Lines 15024 15309 +285 ========================================== + Hits 13591 13804 +213 - Misses 1433 1505 +72 ``` | [Flag](https://app.codecov.io/gh/Azure/LinuxPatchExtension/pull/231/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azure) | Coverage Δ | | |---|---|---| | [python27](https://app.codecov.io/gh/Azure/LinuxPatchExtension/pull/231/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azure) | `?` | | | [python39](https://app.codecov.io/gh/Azure/LinuxPatchExtension/pull/231/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azure) | `90.16% <75.34%> (-0.30%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azure#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.