Skip to content

Add e2e test for custom metrics #37

Add e2e test for custom metrics

Add e2e test for custom metrics #37

Triggered via pull request July 11, 2024 17:28
Status Failure
Total duration 2m 7s
Artifacts

knative-style.yaml

on: pull_request
style  /  changes
2s
style / changes
style  /  ...  /  Auto-format and Check
17s
style / Golang / Auto-format and Check
style  /  ...  /  Lint
1m 41s
style / Golang / Lint
style  /  ...  /  Do Not Submit
10s
style / Golang / Do Not Submit
style  /  ...  /  shell
13s
style / suggester / shell
style  /  ...  /  yaml
30s
style / suggester / yaml
style  /  ...  /  github_actions
0s
style / suggester / github_actions
Matrix: style / Golang / Boilerplate Check
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 6 warnings
style / Golang / Boilerplate Check (go): hack/tools.go#L6
[Go headers] reported by reviewdog 🐶 found mismatched boilerplate lines: Raw Output: hack/tools.go:6: found mismatched boilerplate lines: {[]string}[0->?]: -: "" +: <non-existent> {[]string}[5->4]: -: " http://www.apache.org/licenses/LICENSE-2.0" +: "\thttp://www.apache.org/licenses/LICENSE-2.0" {[]string}[?->13]: -: <non-existent> +: "package tools"
style / Golang / Lint: DEVELOPMENT.md#L109
[trailing whitespace] reported by reviewdog 🐶 metrics-test http://metrics-test.default.example.com metrics-test-00001 metrics-test-00001 True Raw Output: DEVELOPMENT.md:109:metrics-test http://metrics-test.default.example.com metrics-test-00001 metrics-test-00001 True
style / Golang / Lint: hack/patches/listers.patch#L13
[trailing whitespace] reported by reviewdog 🐶 Raw Output: hack/patches/listers.patch:13:
style / Golang / Lint: hack/patches/listers.patch#L22
[trailing whitespace] reported by reviewdog 🐶 Raw Output: hack/patches/listers.patch:22:
style / Golang / Lint: test/test_images/metrics-test/main.go#L37
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
style / Golang / Lint: pkg/reconciler/autoscaling/hpa/keda_hpa_test.go#L373
unused-parameter: parameter 'cmw' seems to be unused, consider removing or renaming it as _ (revive)
style / Golang / Lint: pkg/reconciler/autoscaling/hpa/keda_hpa_test.go#L72
dot-imports: should not use dot imports (revive)
style / Golang / Lint: pkg/reconciler/autoscaling/hpa/keda_hpa_test.go#L73
dot-imports: should not use dot imports (revive)
style / Golang / Lint: pkg/reconciler/autoscaling/hpa/keda_hpa_test.go#L74
dot-imports: should not use dot imports (revive)
style / Golang / Lint: pkg/reconciler/autoscaling/hpa/keda_hpa_test.go#L435
func `withHPAOwnersRemoved` is unused (unused)
style / Golang / Lint: test/e2e/autoscale.go#L166
func `generateTrafficAtFixedConcurrency` is unused (unused)
style / Golang / Lint: test/test_images/metrics-test/main.go#L80
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
style / Golang / Lint
issues found
style / Golang / Lint: .golangci.yaml#L58
[EOF Newline] reported by reviewdog 🐶 Missing newline Raw Output: .golangci.yaml:58: Missing newline
style / Golang / Lint: hack/update-deps.sh#L33
[EOF Newline] reported by reviewdog 🐶 Missing newline Raw Output: hack/update-deps.sh:33: Missing newline
style / Golang / Lint: prom.png#L300
[EOF Newline] reported by reviewdog 🐶 Missing newline Raw Output: prom.png:300: Missing newline
style / Golang / Lint
Process completed with exit code 1.
style / suggester / shell
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
style / Golang / Auto-format and Check
Restore cache failed: Dependencies file is not found in /home/runner/work/autoscaler-keda/autoscaler-keda. Supported file pattern: go.sum
style / Golang / Boilerplate Check (go)
Restore cache failed: Dependencies file is not found in /home/runner/work/autoscaler-keda/autoscaler-keda. Supported file pattern: go.sum
style / Golang / Boilerplate Check (sh)
Restore cache failed: Dependencies file is not found in /home/runner/work/autoscaler-keda/autoscaler-keda. Supported file pattern: go.sum
style / suggester / yaml
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
style / Golang / Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/autoscaler-keda/autoscaler-keda. Supported file pattern: go.sum