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

[crmsh-4.6] Fix: report: Unable to gather log files that are in the syslog format (bsc#1218491) #1295

Merged

Conversation

liangxin1300
Copy link
Collaborator

@liangxin1300 liangxin1300 commented Jan 3, 2024

Logs in syslog format lack year information, making it challenging to determine the year a line was recorded. Therefore, when encountering a future timestamp, we must estimate the year

@liangxin1300 liangxin1300 changed the title Fix: report: Unable to gather log files that are in the syslog format (bsc#1218491) [crmsh-4.6] Fix: report: Unable to gather log files that are in the syslog format (bsc#1218491) Jan 3, 2024
Copy link

codecov bot commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (00953df) 52.65% compared to head (5f1fb4d) 52.66%.

Additional details and impacted files
@@              Coverage Diff              @@
##           crmsh-4.6    #1295      +/-   ##
=============================================
+ Coverage      52.65%   52.66%   +0.01%     
=============================================
  Files             83       79       -4     
  Lines          25018    23938    -1080     
=============================================
- Hits           13172    12608     -564     
+ Misses         11846    11330     -516     

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

@liangxin1300 liangxin1300 force-pushed the 20240103_crm_report_behave branch 7 times, most recently from aa436ec to 79dc1e5 Compare January 3, 2024 15:56
@liangxin1300 liangxin1300 force-pushed the 20240103_crm_report_behave branch 3 times, most recently from 688d0ed to 4ce3de4 Compare January 4, 2024 15:46
@liangxin1300 liangxin1300 marked this pull request as ready for review January 4, 2024 15:46
… (bsc#1218491)

Logs in syslog format lack year information, making it challenging to
determine the year a line was recorded. Therefore, when encountering a
future timestamp, we must estimate the year
@liangxin1300 liangxin1300 force-pushed the 20240103_crm_report_behave branch 4 times, most recently from ad1586e to 509bd49 Compare January 7, 2024 10:57
This is because code that uses multiprocessing was not factored into the test coverage calculation
@liangxin1300 liangxin1300 force-pushed the 20240103_crm_report_behave branch from 509bd49 to 5f1fb4d Compare January 9, 2024 01:04
@liangxin1300 liangxin1300 merged commit 288ef6c into ClusterLabs:crmsh-4.6 Jan 9, 2024
31 checks passed
liangxin1300 added a commit to liangxin1300/crmsh that referenced this pull request Mar 19, 2024
So that the crmsh.log can include the year information.

See also: ClusterLabs#1295
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.

2 participants