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

NetworkPolicy should enforce policy based on Multiple PodSelectors and NamespaceSelector #851

Closed
matmerr opened this issue Apr 19, 2021 · 1 comment · Fixed by #863
Closed

Comments

@matmerr
Copy link
Member

matmerr commented Apr 19, 2021

What happened:

Running sig-network np conformance tests against Azure NPM, result is:

[sig-network] NetworkPolicy [LinuxOnly]
/__w/1/s/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/network/framework.go:23
  NetworkPolicy between server and client
  /__w/1/s/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/network/network_policy.go:74
    should allow ingress access on one named port [Feature:NetworkPolicy]
    /__w/1/s/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/network/network_policy.go:629
------------------------------
{"msg":"PASSED [sig-network] NetworkPolicy [LinuxOnly] NetworkPolicy between server and client should allow ingress access on one named port [Feature:NetworkPolicy]","total":61,"completed":60,"skipped":5612,"failed":1,"failures":["[sig-network] Netpol [LinuxOnly] NetworkPolicy between server and client should enforce policy based on Multiple PodSelectors and NamespaceSelectors [Feature:NetworkPolicy]"]}
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSApr 19 05:56:18.003: INFO: Running AfterSuite actions on all nodes
Apr 19 05:56:18.003: INFO: Running AfterSuite actions on node 1
{"msg":"Test Suite completed","total":61,"completed":60,"skipped":5646,"failed":1,"failures":["[sig-network] Netpol [LinuxOnly] NetworkPolicy between server and client should enforce policy based on Multiple PodSelectors and NamespaceSelectors [Feature:NetworkPolicy]"]}


Summarizing 1 Failure:

[Fail] [sig-network] Netpol [LinuxOnly] NetworkPolicy between server and client [It] should enforce policy based on Multiple PodSelectors and NamespaceSelectors [Feature:NetworkPolicy] 
/__w/1/s/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/network/netpol/network_policy.go:309

Ran 61 of 5707 Specs in 9115.263 seconds
FAIL! -- 60 Passed | 1 Failed | 0 Pending | 5646 Skipped
--- FAIL: TestE2E (9115.28s)
FAIL
##[error]Bash exited with code '1'.
@matmerr
Copy link
Member Author

matmerr commented Apr 19, 2021

Related: Azure/AKS#2006

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant