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

CA-390127: Fix adding even the last log() messages to the output archive #93

Conversation

bernhardkaindl
Copy link
Collaborator

CA-390127: Fix adding even the last log() messages to the output archive

The merge target of this PR is the same commit as in #92:

The reason for this is that this commit of #92 includes the needed unit test as the basis to verify this fix with an update to the unit test of #92.

Please review #92 as well, and after #92 is merged, I'll change the target of this PR to master (and I'll notify you for a final re-approval then)

Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
Copy link

codecov bot commented Mar 21, 2024

Codecov Report

Merging #93 (6a9baeb) into CP-48447/Py3-fix-abort-after-Exception-from-func_output (f6330e4) will increase coverage by 0%.
The diff coverage is 100%.

Additional details and impacted files
@@                                  Coverage Diff                                   @@
##           CP-48447/Py3-fix-abort-after-Exception-from-func_output    #93   +/-   ##
======================================================================================
  Coverage                                                       90%    90%           
======================================================================================
  Files                                                           19     19           
  Lines                                                         2230   2234    +4     
======================================================================================
+ Hits                                                          2011   2015    +4     
  Misses                                                         219    219           
Files Coverage Δ
tests/unit/test_main.py 100% <100%> (ø)
xen-bugtool 86% <100%> (+<1%) ⬆️
Flag Coverage Δ
python2.7 88% <100%> (+<1%) ⬆️
python3.10.13 89% <100%> (+<1%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 8368984611

Details

  • 6 of 6 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 92.615%

Totals Coverage Status
Change from base Build 8368949087: 0.01%
Covered Lines: 2157
Relevant Lines: 2329

💛 - Coveralls

@bernhardkaindl bernhardkaindl merged commit 7a7851a into xenserver:CP-48447/Py3-fix-abort-after-Exception-from-func_output Mar 21, 2024
13 checks passed
bernhardkaindl added a commit to xenserver-next/status-report that referenced this pull request Mar 21, 2024
…ive (xenserver#93)

Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
bernhardkaindl added a commit that referenced this pull request Mar 25, 2024
…cks, fix saving all log messages (#92)

* CP-48447: Fix Python3 handling Exceptions from func_output calls
* CA-390127: Fix adding even the last log() messages to the output archive (#93)

Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
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.

3 participants