Automated cherry pick of #6696: More robust system Tier creation / update (#6696) #34317
go.yml
on: pull_request
Check whether tests need to be run based on diff
16s
Verify docs and spelling
40s
Unit test (ubuntu-latest)
6m 39s
Unit test (windows-2022)
11m 34s
Integration test
10m 44s
Golangci-lint (ubuntu-latest)
4m 18s
Golangci-lint (macos-latest)
3m 47s
Build Antrea and antctl binaries
2m 13s
Build Antrea Windows binaries
1m 55s
Check tidy, code generation and manifest
5m 35s
Go benchmark test
4m 50s
Annotations
22 errors
Build Antrea Windows binaries:
pkg/apiserver/apiserver.go#L325
cannot use context (variable of type "k8s.io/apiserver/pkg/server".PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: "k8s.io/apiserver/pkg/server".PostStartHookContext does not implement "context".Context (missing method Deadline)
|
Build Antrea Windows binaries
Process completed with exit code 2.
|
Build Antrea and antctl binaries:
pkg/apiserver/apiserver.go#L325
cannot use context (variable of type "k8s.io/apiserver/pkg/server".PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: "k8s.io/apiserver/pkg/server".PostStartHookContext does not implement "context".Context (missing method Deadline)
|
Build Antrea and antctl binaries
Process completed with exit code 2.
|
Golangci-lint (macos-latest):
pkg/apiserver/apiserver.go#L325
cannot use context (variable of type "k8s.io/apiserver/pkg/server".PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: "k8s.io/apiserver/pkg/server".PostStartHookContext does not implement "context".Context (missing method Deadline) (typecheck)
|
Golangci-lint (macos-latest):
cmd/antrea-controller/controller.go#L44
could not import antrea.io/antrea/pkg/apiserver (-: # antrea.io/antrea/pkg/apiserver
|
Golangci-lint (macos-latest):
pkg/apiserver/apiserver.go#L325
cannot use context (variable of type "k8s.io/apiserver/pkg/server".PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: "k8s.io/apiserver/pkg/server".PostStartHookContext does not implement "context".Context (missing method Deadline)) (typecheck)
|
Golangci-lint (macos-latest):
pkg/agent/apiserver/apiserver.go#L49
could not import antrea.io/antrea/pkg/apiserver (-: # antrea.io/antrea/pkg/apiserver
|
Golangci-lint (macos-latest):
pkg/apiserver/apiserver.go#L325
cannot use context (variable of type "k8s.io/apiserver/pkg/server".PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: "k8s.io/apiserver/pkg/server".PostStartHookContext does not implement "context".Context (missing method Deadline)) (typecheck)
|
Golangci-lint (macos-latest)
Process completed with exit code 2.
|
Golangci-lint (ubuntu-latest):
pkg/apiserver/apiserver.go#L325
cannot use context (variable of type "k8s.io/apiserver/pkg/server".PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: "k8s.io/apiserver/pkg/server".PostStartHookContext does not implement "context".Context (missing method Deadline) (typecheck)
|
Golangci-lint (ubuntu-latest):
cmd/antrea-controller/controller.go#L44
could not import antrea.io/antrea/pkg/apiserver (-: # antrea.io/antrea/pkg/apiserver
|
Golangci-lint (ubuntu-latest):
pkg/apiserver/apiserver.go#L325
cannot use context (variable of type "k8s.io/apiserver/pkg/server".PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: "k8s.io/apiserver/pkg/server".PostStartHookContext does not implement "context".Context (missing method Deadline)) (typecheck)
|
Golangci-lint (ubuntu-latest):
pkg/agent/apiserver/apiserver.go#L49
could not import antrea.io/antrea/pkg/apiserver (-: # antrea.io/antrea/pkg/apiserver
|
Golangci-lint (ubuntu-latest):
pkg/apiserver/apiserver.go#L325
cannot use context (variable of type "k8s.io/apiserver/pkg/server".PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: "k8s.io/apiserver/pkg/server".PostStartHookContext does not implement "context".Context (missing method Deadline)) (typecheck)
|
Golangci-lint (ubuntu-latest)
Process completed with exit code 2.
|
Go benchmark test:
pkg/apiserver/apiserver.go#L325
cannot use context (variable of type "k8s.io/apiserver/pkg/server".PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: "k8s.io/apiserver/pkg/server".PostStartHookContext does not implement "context".Context (missing method Deadline)
|
Go benchmark test
Process completed with exit code 1.
|
Unit test (ubuntu-latest):
pkg/apiserver/apiserver.go#L325
cannot use context (variable of type "k8s.io/apiserver/pkg/server".PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: "k8s.io/apiserver/pkg/server".PostStartHookContext does not implement "context".Context (missing method Deadline)
|
Unit test (ubuntu-latest)
Process completed with exit code 2.
|
Unit test (windows-2022):
pkg/apiserver/apiserver.go#L325
cannot use context (variable of type "k8s.io/apiserver/pkg/server".PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: "k8s.io/apiserver/pkg/server".PostStartHookContext does not implement "context".Context (missing method Deadline)
|
Unit test (windows-2022)
Process completed with exit code 1.
|