Skip to content

Exit early from loop #7062

Exit early from loop

Exit early from loop #7062

Triggered via push August 21, 2023 15:07
Status Failure
Total duration 16m 43s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yml

on: push
unit-test-linux  /  Unit tests
7m 38s
unit-test-linux / Unit tests
linter-linux  /  Validate code
35s
linter-linux / Validate code
linter-linux  /  Run Linter
3m 13s
linter-linux / Run Linter
unit-test-linux  /  Unit tests for databind
3m 34s
unit-test-linux / Unit tests for databind
linter-macos  /  Lint tests
7m 46s
linter-macos / Lint tests
unit-test-macos  /  unit tests
7m 58s
unit-test-macos / unit tests
linter-windows  /  Lint tests
16m 26s
linter-windows / Lint tests
unit-test-windows  /  Windows unit tests
8m 49s
unit-test-windows / Windows unit tests
proxy-tests-linux  /  Proxy tests
4m 7s
proxy-tests-linux / Proxy tests
tools-tests-linux  /  Tools tests
49s
tools-tests-linux / Tools tests
build-container  /  Building containerized agent
11m 58s
build-container / Building containerized agent
test-build  /  Test binary compilation for all (linux) platforms:arch
9m 1s
test-build / Test binary compilation for all (linux) platforms:arch
Matrix: harvest-test-linux / Linux harvest tests
Matrix: harvest-test-macos / MacOS harvest tests
unit-test-linux  /  Coveralls finish
3s
unit-test-linux / Coveralls finish
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 35 warnings
linter-linux / Run Linter: pkg/metrics/process/sampler_linux.go#L101
`if err != nil` has complex nested blocks (complexity: 7) (nestif)
linter-linux / Run Linter
Process completed with exit code 2.
unit-test-linux / Unit tests for databind
Process completed with exit code 2.
unit-test-linux / Unit tests
Failed to parse string
linter-macos / Lint tests: pkg/metrics/process/sampler_darwin.go#L99
`if err != nil` has complex nested blocks (complexity: 7) (nestif)
linter-macos / Lint tests: pkg/metrics/process/sampler_darwin.go#L102
if statements should only be cuddled with assignments used in the if statement itself (wsl)
linter-macos / Lint tests: pkg/metrics/process/sampler_darwin.go#L101
ineffectual assignment to decorator (ineffassign)
linter-macos / Lint tests
Process completed with exit code 2.
unit-test-macos / unit tests
Process completed with exit code 2.
linter-windows / Lint tests: pkg/metrics/procs_windows.go#L671
`if err != nil` has complex nested blocks (complexity: 5) (nestif)
linter-windows / Lint tests: pkg/metrics/procs_windows.go#L670
shadow: declaration of "err" shadows declaration at line 639 (govet)
linter-windows / Lint tests
Process completed with exit code 2.
linter-linux / Validate code
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
tools-tests-linux / Tools tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
tools-tests-linux / Tools tests
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tools-tests-linux / Tools tests
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tools-tests-linux / Tools tests
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
harvest-test-macos / MacOS harvest tests (macos-12)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
harvest-test-linux / Linux harvest tests (ubuntu-20.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
harvest-test-macos / MacOS harvest tests (macos-11)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
unit-test-linux / Unit tests for databind
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
proxy-tests-linux / Proxy tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
proxy-tests-linux / Proxy tests
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
proxy-tests-linux / Proxy tests
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
proxy-tests-linux / Proxy tests
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
unit-test-linux / Unit tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
unit-test-macos / unit tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
unit-test-windows / Windows unit tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-build / Test binary compilation for all (linux) platforms:arch
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-build / Test binary compilation for all (linux) platforms:arch
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test-build / Test binary compilation for all (linux) platforms:arch
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test-build / Test binary compilation for all (linux) platforms:arch
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-container / Building containerized agent
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, docker/setup-qemu-action@v1, docker/setup-buildx-action@v1, docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-container / Building containerized agent
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-container / Building containerized agent
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-container / Building containerized agent
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-container / Building containerized agent
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-container / Building containerized agent
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-container / Building containerized agent
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-container / Building containerized agent
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-container / Building containerized agent
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-container / Building containerized agent
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-container / Building containerized agent
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-container / Building containerized agent
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-container / Building containerized agent
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-container / Building containerized agent
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-container / Building containerized agent
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/