Skip to content

Add e2e test for custom metrics #36

Add e2e test for custom metrics

Add e2e test for custom metrics #36

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

knative-style.yaml

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

Annotations

16 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#L48
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
style / Golang / Lint: test/test_images/metrics-test/main.go#L65
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
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#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#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#L398
`sks` - `ns` always receives `testNamespace` (`"test-namespace"`) (unparam)
style / Golang / Lint: pkg/reconciler/autoscaling/hpa/keda_hpa_test.go#L407
`key` - `namespace` always receives `testNamespace` (`"test-namespace"`) (unparam)
style / Golang / Lint: pkg/reconciler/autoscaling/hpa/keda_hpa_test.go#L474
`deploy` - `namespace` always receives `testNamespace` (`"test-namespace"`) (unparam)
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 / 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 / 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 / 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 (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