Automated cherry pick of #6696: More robust system Tier creation / update (#6696) #34319
go.yml
on: pull_request
Check whether tests need to be run based on diff
17s
Verify docs and spelling
46s
Unit test (ubuntu-latest)
5m 54s
Unit test (windows-2022)
10m 47s
Integration test
10m 11s
Golangci-lint (ubuntu-latest)
3m 49s
Golangci-lint (macos-latest)
3m 22s
Build Antrea and antctl binaries
2m 1s
Build Antrea Windows binaries
1m 45s
Check tidy, code generation and manifest
3m 13s
Go benchmark test
4m 25s
Annotations
35 errors and 1 warning
Build Antrea Windows binaries:
pkg/apiserver/apiserver.go#L328
cannot use context (variable of type server.PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: 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#L328
cannot use context (variable of type server.PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: server.PostStartHookContext does not implement "context".Context (missing method Deadline)
|
Build Antrea and antctl binaries
Process completed with exit code 2.
|
Check tidy, code generation and manifest
cannot use context (variable of type server.PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: server.PostStartHookContext does not implement "context".Context (missing method Deadline)
|
Check tidy, code generation and manifest
cannot use context (variable of type server.PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: server.PostStartHookContext does not implement "context".Context (missing method Deadline)
|
Check tidy, code generation and manifest
no required module provides package antrea.io/antrea/pkg/antctl: go.mod file not found in current directory or any parent directory; see 'go help modules'
|
Check tidy, code generation and manifest
no required module provides package go.uber.org/mock/mockgen/model: go.mod file not found in current directory or any parent directory; see 'go help modules'
|
Check tidy, code generation and manifest
Process completed with exit code 2.
|
Golangci-lint (macos-latest):
pkg/apiserver/apiserver.go#L328
cannot use context (variable of type server.PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: 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#L328
cannot use context (variable of type server.PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: server.PostStartHookContext does not implement "context".Context (missing method Deadline)) (typecheck)
|
Golangci-lint (macos-latest):
pkg/antctl/client.go#L34
could not import antrea.io/antrea/pkg/apiserver (-: # antrea.io/antrea/pkg/apiserver
|
Golangci-lint (macos-latest):
pkg/apiserver/apiserver.go#L328
cannot use context (variable of type server.PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: server.PostStartHookContext does not implement "context".Context (missing method Deadline)) (typecheck)
|
Golangci-lint (macos-latest):
pkg/antctl/raw/helper.go#L35
could not import antrea.io/antrea/pkg/apiserver (-: # antrea.io/antrea/pkg/apiserver
|
Golangci-lint (macos-latest):
pkg/apiserver/apiserver.go#L328
cannot use context (variable of type server.PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: server.PostStartHookContext does not implement "context".Context (missing method Deadline)) (typecheck)
|
Golangci-lint (macos-latest):
pkg/antctl/raw/multicluster/join.go#L205
joinOpts.LeaderNamespace undefined (type *joinOptions has no field or method LeaderNamespace) (typecheck)
|
Golangci-lint (macos-latest):
pkg/antctl/raw/multicluster/join.go#L206
joinOpts.LeaderClusterID undefined (type *joinOptions has no field or method LeaderClusterID) (typecheck)
|
Golangci-lint (macos-latest):
pkg/antctl/raw/multicluster/join.go#L207
joinOpts.TokenSecretName undefined (type *joinOptions has no field or method TokenSecretName) (typecheck)
|
Golangci-lint (ubuntu-latest):
pkg/apiserver/apiserver.go#L328
cannot use context (variable of type server.PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: 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#L328
cannot use context (variable of type server.PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: server.PostStartHookContext does not implement "context".Context (missing method Deadline)) (typecheck)
|
Golangci-lint (ubuntu-latest):
pkg/antctl/client.go#L34
could not import antrea.io/antrea/pkg/apiserver (-: # antrea.io/antrea/pkg/apiserver
|
Golangci-lint (ubuntu-latest):
pkg/apiserver/apiserver.go#L328
cannot use context (variable of type server.PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: server.PostStartHookContext does not implement "context".Context (missing method Deadline)) (typecheck)
|
Golangci-lint (ubuntu-latest):
pkg/antctl/raw/helper.go#L35
could not import antrea.io/antrea/pkg/apiserver (-: # antrea.io/antrea/pkg/apiserver
|
Golangci-lint (ubuntu-latest):
pkg/apiserver/apiserver.go#L328
cannot use context (variable of type server.PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: server.PostStartHookContext does not implement "context".Context (missing method Deadline)) (typecheck)
|
Golangci-lint (ubuntu-latest):
pkg/antctl/raw/multicluster/join.go#L205
joinOpts.LeaderNamespace undefined (type *joinOptions has no field or method LeaderNamespace) (typecheck)
|
Golangci-lint (ubuntu-latest):
pkg/antctl/raw/multicluster/join.go#L206
joinOpts.LeaderClusterID undefined (type *joinOptions has no field or method LeaderClusterID) (typecheck)
|
Golangci-lint (ubuntu-latest):
pkg/antctl/raw/multicluster/join.go#L207
joinOpts.TokenSecretName undefined (type *joinOptions has no field or method TokenSecretName) (typecheck)
|
Go benchmark test:
pkg/apiserver/apiserver.go#L328
cannot use context (variable of type server.PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: 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#L328
cannot use context (variable of type server.PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: 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#L328
cannot use context (variable of type server.PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: server.PostStartHookContext does not implement "context".Context (missing method Deadline)
|
Unit test (windows-2022)
Process completed with exit code 1.
|
Integration test
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|