VstsExtensions
VstsExtensions copied to clipboard
Task Build quality check error when running regex on a big task log file.
Context
- Extension: BuildQualityChecks
-
Environment: Azure DevOps Server
- Server version: * Azure DevOps Server 2020 Update 1.2*
-
Agent type: Lunix/Raspbaerry self-hosted agent
- Agent version: Latest (2.218.1). Also tested with 2.181.2
- Pipeline type: yaml pipeline
Task timeout increase and return error 137 When running the task with the config below I get an error when checking for errors in a log file with about 550K lines. It was also necessary to increase the timeout to 15mim.
The same configuration with task version 6 runs fine, and finishes in only 30s.
Task config:
- task: BuildQualityChecks@8 displayName: Check errors - ${{ parameters.TestType }} inputs: checkWarnings: true warningFailOption: fixed warningThreshold: ${{ parameters.WarningThreshold }} warningFilters: '/FAILURE TEST CASE/' warningTaskFilters: /^Run package - ${{ parameters.TestType }}/ runTitle: Check errors - ${{ parameters.TestType }}
Error code:
##[error]Exit code 137 returned from process: file name '/home/pi/apps/fw_agent/externals/node10/bin/node', arguments '"/home/pi/apps/fw_agent/_work/_tasks/BuildQualityChecks_16a2ad20-f191-11e5-bed4-ab22bcd17937/8.2.1/task.js"'.