fix: Handle first timestamp in deployment logs more carefully#1914
fix: Handle first timestamp in deployment logs more carefully#1914vpodzime wants to merge 1 commit intomendersoftware:masterfrom
Conversation
|
@vpodzime, start a full client pipeline with:
my commands and optionsYou can prevent me from automatically starting CI pipelines:
You can trigger a client pipeline on multiple prs with:
You can trigger GitHub->GitLab branch sync with:
You can print PR statistics for a repository with:
You can cherry pick to a given branch or branches with:
|
Depending on the system and build configuration, the timestamps in logs can use lower (likely) or higher (unlikely) time resolution than expected (nanoseconds). So in case of a deployment failure with corrupted logs, when using the first timestamp as a replacement in the extra `(THE ORIGINAL LOGS CONTAINED INVALID ENTRIES)` log entry, care must be taken to make sure the extra log entry still has a valid timestamp and that the result is valid JSON. Ticket: MEN-9427 Changelog: commit Signed-off-by: Vratislav Podzimek <vratislav.podzimek+auto-signed@northern.tech>
9bfb7fd to
1f83b7d
Compare
|
Merging these commits will result in the following changelog entries: Changelogsmender (master-bad_depl_log_tstamp)New changes in mender since master: Bug Fixes
|
Depending on the system and build configuration, the timestamps in logs can use lower (likely) or higher (unlikely) time resolution than expected (nanoseconds). So in case of a deployment failure with corrupted logs, when using the first timestamp as a replacement in the extra
(THE ORIGINAL LOGS CONTAINED INVALID ENTRIES)log entry, care must be taken to make sure the extra log entry still has a valid timestamp and that the result is valid JSON.Ticket: MEN-9427
Changelog: commit
Steps: