ovn-org / ovn-kubernetes

A robust Kubernetes networking platform
https://ovn-kubernetes.io/
Apache License 2.0
815 stars 338 forks source link

unit test flake: OVN master EgressIP Operations #2503

Closed girishmg closed 1 month ago

girishmg commented 2 years ago

In here https://pipelines.actions.githubusercontent.com/rx2q6cyVnb1KdY24EzqfkXItIKb3SzT55t8LHdEU6zlqA0chrw/_apis/pipelines/1/runs/48405/signedlogcontent/5?urlExpires=2021-09-21T04%3A29%3A31.6441596Z&urlSigningMethod=HMACV1&urlSignature=aLQAUCIPatVArZ9mzfpmlWDltMyFyvI%2B9bwYRllwoIU%3D

2021-09-21T00:16:29.7128413Z OVN master EgressIP Operations
2021-09-21T00:16:29.7132359Z /home/runner/work/ovn-kubernetes/ovn-kubernetes/go-controller/pkg/ovn/egressip_test.go:98
2021-09-21T00:16:29.7135616Z   On node UPDATE
2021-09-21T00:16:29.7137193Z   /home/runner/work/ovn-kubernetes/ovn-kubernetes/go-controller/pkg/ovn/egressip_test.go:170
2021-09-21T00:16:29.7140362Z     should re-assign EgressIPs and perform proper OVN transactions when namespace and pod is created after node egress label switch [It]
2021-09-21T00:16:29.7142907Z     /home/runner/work/ovn-kubernetes/ovn-kubernetes/go-controller/pkg/ovn/egressip_test.go:324
2021-09-21T00:16:29.7143601Z 
2021-09-21T00:16:29.7144284Z     Timed out after 1.001s.
2021-09-21T00:16:29.7144908Z     Executed commands do not match expected commands!
2021-09-21T00:16:29.7146212Z     Executed unexpected command /fake-bin/ovn-nbctl --timeout=15 set logical_switch_port etor-GR_node1 options:nat-addresses=router
2021-09-21T00:16:29.7147119Z     
2021-09-21T00:16:29.7148226Z     [00] ! /fake-bin/ovn-nbctl --timeout=15 --format=csv --data=bare --no-heading --columns=_uuid find logical_router_policy priority=100 nexthop!=[]
2021-09-21T00:16:29.7149772Z     [01]   /fake-bin/ovn-nbctl --timeout=15 --may-exist lr-policy-add ovn_cluster_router 101 ip4.src == 10.128.0.0/14 && ip4.dst == 10.128.0.0/14 allow
2021-09-21T00:16:29.7151185Z     [02]   /fake-bin/ovn-nbctl --timeout=15 set logical_switch_port etor-GR_node1 options:nat-addresses=router
2021-09-21T00:16:29.7152770Z     [03] ! /fake-bin/ovn-nbctl --timeout=15 --format=csv --data=bare --no-heading --columns=_uuid,external_ids,match find logical_router_policy priority=100
2021-09-21T00:16:29.7154381Z     [04] ! /fake-bin/ovn-nbctl --timeout=15 --format=csv --data=bare --no-heading --columns=_uuid,external_ids,logical_ip find nat
2021-09-21T00:16:29.7156221Z     [05] ! /fake-bin/ovn-nbctl --timeout=15 remove logical_switch_port etor-GR_node1 options nat-addresses=router
2021-09-21T00:16:29.7157618Z     [06] ! /fake-bin/ovn-nbctl --timeout=15 set logical_switch_port etor-GR_node2 options:nat-addresses=router
2021-09-21T00:16:29.7158934Z     [07] ! /fake-bin/ovn-nbctl --timeout=15 --if-exist get logical_router_port rtoj-GR_node2 networks
2021-09-21T00:16:29.7160641Z     [08] ! /fake-bin/ovn-nbctl --timeout=15 --format=csv --data=bare --no-heading --columns=_uuid find logical_router_policy match="ip4.src == 10.128.0.15" priority=100 external_ids:name=egressip nexthops=["100.64.0.2"]
2021-09-21T00:16:29.7162890Z     [09] ! /fake-bin/ovn-nbctl --timeout=15 --id=@lr-policy create logical_router_policy action=reroute match="ip4.src == 10.128.0.15" priority=100 nexthops=["100.64.0.2"] external_ids:name=egressip -- add logical_router ovn_cluster_router policies @lr-policy
2021-09-21T00:16:29.7164947Z     [10] ! /fake-bin/ovn-nbctl --timeout=15 --format=csv --data=bare --no-heading --columns=_uuid find nat external_ids:name=egressip logical_ip="10.128.0.15" external_ip="192.168.126.101"
2021-09-21T00:16:29.7168529Z     [11] ! /fake-bin/ovn-nbctl --timeout=15 --id=@nat create nat type=snat logical_port=k8s-node2 external_ip="192.168.126.101" logical_ip="10.128.0.15" external_ids:name=egressip -- add logical_router GR_node2 nat @nat
2021-09-21T00:16:29.7170104Z     
2021-09-21T00:16:29.7170483Z     Expected
2021-09-21T00:16:29.7170905Z         <bool>: false
2021-09-21T00:16:29.7171554Z     to be true
2021-09-21T00:16:29.7171839Z 
2021-09-21T00:16:29.7172964Z     /home/runner/work/ovn-kubernetes/ovn-kubernetes/go-controller/pkg/ovn/egressip_test.go:470
github-actions[bot] commented 1 month ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 5 days with no activity.