Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile.CI #154

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Update Dockerfile.CI

a63d337
Select commit
Loading
Failed to load commit list.
Open

Update Dockerfile.CI #154

Update Dockerfile.CI
a63d337
Select commit
Loading
Failed to load commit list.
Openshift QE Downstream CI / Pipelines as Code CI / go-lint failed Mar 12, 2024 in 1m 42s

Failed

Pipelines as Code CI/go-lint has failed.

Details


Task Statuses:

StatusDurationName
✅ Succeeded 15 seconds

fetch-repository

❌ Failed 1 minute

golangci-lint


Failure snippet:

task golangci-lint has the status "Failed":
^
level=info msg="File cache stats: 9 entries of total size 57.8KiB"
level=error msg="Timeout exceeded: try increasing it by passing --timeout option"

Annotations

Check failure on line 50 in pkg/operator/operator.go

See this annotation in the file changed.

@openshift-qe-downstream-ci openshift-qe-downstream-ci / Pipelines as Code CI / go-lint

pkg/operator/operator.go#L50

Error return value is not checked (errcheck)

Check failure on line 56 in pkg/operator/operator.go

See this annotation in the file changed.

@openshift-qe-downstream-ci openshift-qe-downstream-ci / Pipelines as Code CI / go-lint

pkg/operator/operator.go#L56

Error return value is not checked (errcheck)

Check failure on line 37 in steps/olm/operator.go

See this annotation in the file changed.

@openshift-qe-downstream-ci openshift-qe-downstream-ci / Pipelines as Code CI / go-lint

steps/olm/operator.go#L37

Error return value of `operator.EnsureTektonConfigExists` is not checked (errcheck)

Check failure on line 101 in pkg/operator/tektonresults.go

See this annotation in the file changed.

@openshift-qe-downstream-ci openshift-qe-downstream-ci / Pipelines as Code CI / go-lint

pkg/operator/tektonresults.go#L101

use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)

Check failure on line 31 in pkg/olm/subscription.go

See this annotation in the file changed.

@openshift-qe-downstream-ci openshift-qe-downstream-ci / Pipelines as Code CI / go-lint

pkg/olm/subscription.go#L31

var `immediate` is unused (unused)

Check failure on line 32 in pkg/olm/subscription.go

See this annotation in the file changed.

@openshift-qe-downstream-ci openshift-qe-downstream-ci / Pipelines as Code CI / go-lint

pkg/olm/subscription.go#L32

var `immediateDeleteOption` is unused (unused)

Check failure on line 21 in pkg/pipelines/helper.go

See this annotation in the file changed.

@openshift-qe-downstream-ci openshift-qe-downstream-ci / Pipelines as Code CI / go-lint

pkg/pipelines/helper.go#L21

func `collectMatchingEvents` is unused (unused)

Check failure on line 154 in pkg/tkn/tkn.go

See this annotation in the file changed.

@openshift-qe-downstream-ci openshift-qe-downstream-ci / Pipelines as Code CI / go-lint

pkg/tkn/tkn.go#L154

S1011: should replace loop with `commandArgs = append(commandArgs, args...)` (gosimple)

Check failure on line 75 in pkg/tkn/tkn.go

See this annotation in the file changed.

@openshift-qe-downstream-ci openshift-qe-downstream-ci / Pipelines as Code CI / go-lint

pkg/tkn/tkn.go#L75

S1005: unnecessary assignment to the blank identifier (gosimple)

Check failure on line 42 in pkg/triggers/triggers.go

See this annotation in the file changed.

@openshift-qe-downstream-ci openshift-qe-downstream-ci / Pipelines as Code CI / go-lint

pkg/triggers/triggers.go#L42

printf: (*github.com/getgauge-contrib/gauge-go/testsuit.testingT).Errorf call needs 1 arg but has 3 args (govet)

Check failure on line 53 in pkg/pipelines/helper.go

See this annotation in the file changed.

@openshift-qe-downstream-ci openshift-qe-downstream-ci / Pipelines as Code CI / go-lint

pkg/pipelines/helper.go#L53

SA1019: v1beta1.TaskRun is deprecated: Please use v1.TaskRun instead. (staticcheck)

Check failure on line 112 in pkg/pipelines/helper.go

See this annotation in the file changed.

@openshift-qe-downstream-ci openshift-qe-downstream-ci / Pipelines as Code CI / go-lint

pkg/pipelines/helper.go#L112

SA1019: v1beta1.TaskRun is deprecated: Please use v1.TaskRun instead. (staticcheck)

Check failure on line 154 in pkg/pipelines/helper.go

See this annotation in the file changed.

@openshift-qe-downstream-ci openshift-qe-downstream-ci / Pipelines as Code CI / go-lint

pkg/pipelines/helper.go#L154

SA1019: v1beta1.TaskRun is deprecated: Please use v1.TaskRun instead. (staticcheck)

Check failure on line 185 in pkg/pipelines/helper.go

See this annotation in the file changed.

@openshift-qe-downstream-ci openshift-qe-downstream-ci / Pipelines as Code CI / go-lint

pkg/pipelines/helper.go#L185

SA1019: v1beta1.PipelineRun is deprecated: Please use v1.PipelineRun instead. (staticcheck)

Check failure on line 186 in pkg/pipelines/helper.go

See this annotation in the file changed.

@openshift-qe-downstream-ci openshift-qe-downstream-ci / Pipelines as Code CI / go-lint

pkg/pipelines/helper.go#L186

SA1019: v1beta1.PipelineRun is deprecated: Please use v1.PipelineRun instead. (staticcheck)

Check failure on line 218 in pkg/pipelines/pipelines.go

See this annotation in the file changed.

@openshift-qe-downstream-ci openshift-qe-downstream-ci / Pipelines as Code CI / go-lint

pkg/pipelines/pipelines.go#L218

SA1019: v1beta1.PipelineRun is deprecated: Please use v1.PipelineRun instead. (staticcheck)