Collection of container console logs from Helix jobs fails sometimes
See original GitHub issueContext
When collecting logs from within the Docker container after Helix job is finished, it can sometimes fail, possibly due to encoding problems.
The collection happens here: https://dev.azure.com/dnceng/internal/_git/dotnet-helix-machines?path=/resources/helix-scripts/helix/dockerhelper.py&version=GBmain&line=197&lineEnd=198&lineStartColumn=1&lineEndColumn=77&lineStyle=plain&_a=contents
Example
The test log would be empty (example) and run.py
log would have this log line:
2023-04-27T21:33:17.208Z ERROR executor(733) _execute_command_in_container Exception: 'charmap' codec can't encode characters in position 70671-70672: character maps to <undefined>
Release Note Description
Make log processing more forgiving to UTF8 encoding errors
Issue Analytics
- State:
- Created 5 months ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Job types - Documentation for Helix Control-M 21 API
The default for PostCommands is false, that is, the job will complete successfully even if any post-command fails.
Read more >22.1 enhancements and patches - BMC Documentation
The following BMC Helix ITSM data is not archived: BMC Requester console records; Foundation data (for example, organizations and locations); Process setup data ......
Read more >Helix Core Server Administrator Guide
All p4d error and info logs are in UTF8 for a server in unicode mode. You need an UTF8 console or editor to...
Read more >Troubleshooting GitLab Runner
Job failed (system failure): preparing environment: This error is often due to your shell loading your profile, and one of the scripts is...
Read more >Container killed while running / Output logs missing in ...
Summary. The job output is not completely displayed in GitLab console. That happened for successful and failed jobs.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It likely fails on
.decode("utf-8")
PR merged