Skip to content

fix(deps): update module github.com/stretchr/testify to v1.10.0 #232

fix(deps): update module github.com/stretchr/testify to v1.10.0

fix(deps): update module github.com/stretchr/testify to v1.10.0 #232

Triggered via push January 20, 2025 11:37
Status Failure
Total duration 1m 12s
Artifacts

on_push_pr.yaml

on: push
push-pr  /  ...  /  Test binary compilation for all platforms:arch
push-pr / test-build-fake-prerelease / Test binary compilation for all platforms:arch
push-pr  /  ...  /  Run all static analysis checks
37s
push-pr / static-analysis / Run all static analysis checks
push-pr  /  ...  /  Run unit tests on *Nix
41s
push-pr / test-nix / Run unit tests on *Nix
push-pr  /  ...  /  Run unit tests on Windows
30s
push-pr / test-windows / Run unit tests on Windows
push-pr  /  ...  /  Run integration tests on *Nix
42s
push-pr / test-integration-nix / Run integration tests on *Nix
push-pr  /  ...  /  Test binary compilation for all platforms:arch
1m 3s
push-pr / test-build-nix / Test binary compilation for all platforms:arch
Matrix: push-pr / test-build-fake-prerelease / Create MSI
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 5 warnings
push-pr / static-analysis / Run all static analysis checks: src/metrics/metrics.go#L67
cyclomatic complexity 14 of func `processVarnishSystem` is high (> 10) (gocyclo)
push-pr / static-analysis / Run all static analysis checks: src/args/argument_list.go#L22
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"instance_name must not be blank\")" (err113)
push-pr / static-analysis / Run all static analysis checks: src/metrics/stat_parse.go#L42
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"no 'counters' key found\")" (err113)
push-pr / static-analysis / Run all static analysis checks: src/metrics/stat_parse.go#L48
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unsupported varnishstat results version: %v\", version)" (err113)
push-pr / static-analysis / Run all static analysis checks: src/metrics/stat_parse.go#L60
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"fail to cast 'version' from: %t\", ver)" (err113)
push-pr / static-analysis / Run all static analysis checks: src/metrics/stat_parse.go#L93
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"non object map type %T\", stat)" (err113)
push-pr / static-analysis / Run all static analysis checks: src/metrics/stat_parse.go#L98
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"no value found\")" (err113)
push-pr / static-analysis / Run all static analysis checks: src/metrics/stat_parse.go#L288
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"no field found for stat '%s'\", statName)" (err113)
push-pr / static-analysis / Run all static analysis checks: src/metrics/metric_test.go#L13
Function 'TestCollectMetrics' is too long (138 > 100) (funlen)
push-pr / static-analysis / Run all static analysis checks: src/main.go#L46
SA1019: strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead. (staticcheck)
push-pr / test-integration-nix / Run integration tests on *Nix: tests/integration/varnish_test.go#L12
missing go.sum entry for module providing package github.com/stretchr/testify/assert (imported by github.com/newrelic/nri-varnish/tests/integration); to add:
push-pr / test-integration-nix / Run integration tests on *Nix
Process completed with exit code 2.
push-pr / static-analysis / Run all static analysis checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
push-pr / static-analysis / Run all static analysis checks
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/
push-pr / test-nix / Run unit tests on *Nix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
push-pr / test-integration-nix / Run integration tests on *Nix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
push-pr / test-build-nix / Test binary compilation for all platforms:arch
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636