Skip to content

Automated cherry pick of #6696: More robust system Tier creation / update (#6696) #34317

Automated cherry pick of #6696: More robust system Tier creation / update (#6696)

Automated cherry pick of #6696: More robust system Tier creation / update (#6696) #34317

Triggered via pull request October 8, 2024 21:23
Status Failure
Total duration 12m 10s
Artifacts

go.yml

on: pull_request
Check whether tests need to be run based on diff
16s
Check whether tests need to be run based on diff
Verify docs and spelling
40s
Verify docs and spelling
Unit test (ubuntu-latest)
6m 39s
Unit test (ubuntu-latest)
Unit test (windows-2022)
11m 34s
Unit test (windows-2022)
Integration test
10m 44s
Integration test
Golangci-lint (ubuntu-latest)
4m 18s
Golangci-lint (ubuntu-latest)
Golangci-lint (macos-latest)
3m 47s
Golangci-lint (macos-latest)
Build Antrea and antctl binaries
2m 13s
Build Antrea and antctl binaries
Build Antrea Windows binaries
1m 55s
Build Antrea Windows binaries
Check tidy, code generation and manifest
5m 35s
Check tidy, code generation and manifest
Go benchmark test
4m 50s
Go benchmark test
Fit to window
Zoom out
Zoom in

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.