Skip to content

[TEST-ONLY]

[TEST-ONLY] #9789

Triggered via pull request April 23, 2024 07:42
Status Failure
Total duration 3m 25s
Artifacts

knative-verify.yaml

on: pull_request
verify  /  Verify Deps and Codegen
3m 16s
verify / Verify Deps and Codegen
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
verify / Verify Deps and Codegen: vendor/github.com/tsenart/vegeta/v12/lib/attack.go#L1
Please run ./hack/update-codegen.sh. diff --git a/vendor/github.com/tsenart/vegeta/v12/lib/attack.go b/vendor/github.com/tsenart/vegeta/v12/lib/attack.go index 696ab89..80df5e1 100644 --- a/vendor/github.com/tsenart/vegeta/v12/lib/attack.go +++ b/vendor/github.com/tsenart/vegeta/v12/lib/attack.go @@ -13,7 +13,6 @@ import ( "strconv" "sync" "time" - "log" "github.com/rs/dnscache" "golang.org/x/net/http2" @@ -518,7 +517,6 @@ func (a *Attacker) hit(tr Targeter, atk *attack) *Result { req, err := tgt.Request() if err != nil { - log.Printf("ERROR in attack 0: %v\n", err) return &res } @@ -534,7 +532,6 @@ func (a *Attacker) hit(tr Targeter, atk *attack) *Result { r, err := a.client.Do(req) if err != nil { - log.Printf("ERROR in attack 1: %v\n", err) return &res } defer r.Body.Close() @@ -545,10 +542,8 @@ func (a *Attacker) hit(tr Targeter, atk *attack) *Result { } if res.Body, err = io.ReadAll(body); err != nil { - log.Printf("ERROR in attack 2: %v\n", err) return &res } else if _, err = io.Copy(io.Discard, r.Body); err != nil { - log.Printf("ERROR in attack 3: %v\n", err) return &res }
verify / Verify Deps and Codegen: vendor/knative.dev/pkg/test/logstream/interface.go#L1
Please run ./hack/update-codegen.sh. diff --git a/vendor/knative.dev/pkg/test/logstream/interface.go b/vendor/knative.dev/pkg/test/logstream/interface.go index 3ce1c8e..a1b39aa 100644 --- a/vendor/knative.dev/pkg/test/logstream/interface.go +++ b/vendor/knative.dev/pkg/test/logstream/interface.go @@ -24,6 +24,7 @@ import ( "sync" "k8s.io/client-go/kubernetes" + "knative.dev/pkg/system" "knative.dev/pkg/test" "knative.dev/pkg/test/helpers" logstreamv2 "knative.dev/pkg/test/logstream/v2" @@ -48,7 +49,7 @@ type ti interface { func Start(t ti) Canceler { // Do this lazily to make import ordering less important. once.Do(func() { - if ns := os.Getenv("serving-tests"); ns != "" { + if ns := os.Getenv(system.NamespaceEnvKey); ns != "" { var err error // handle case when ns contains a csv list namespaces := strings.Split(ns, ",")
verify / Verify Deps and Codegen
Process completed with exit code 1.
verify / Verify Deps and Codegen
Restore cache failed: Dependencies file is not found in /home/runner/work/serving/serving. Supported file pattern: go.sum