2026-11-06 10:13:48,477 - INFO - Domain Default found not creating
2026-11-06 10:13:48,671 - INFO - Project ctest-TestBasicPolicy-14481599 not found, creating it
2026-11-06 10:13:49,176 - INFO - Created Project:ctest-TestBasicPolicy-14481599, ID : 00c6c4af-95e3-4b97-acb9-4fcb15fd4912
2026-11-06 10:13:51,012 - INFO - ================================================================================
2026-11-06 10:13:51,013 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-06 10:13:51,013 - INFO - TEST DESCRIPTION :
Create 2 Vns and allow icmp traffic between them and validate with pings
Update the policy to deny the same traffic
Check that pings fail
2026-11-06 10:13:51,287 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-11-06 10:13:51,287 - INFO - Initial checks done. Running the testcase now
2026-11-06 10:13:51,287 - INFO -
2026-11-06 10:13:51,944 - DEBUG - Response for create_network : {'network': {'id': 'deb88d65-46a2-4d68-b030-24ed01d79e95', 'name': 'ctest-vn-36212951', 'tenant_id': '00c6c4af95e34b97acb94fcb15fd4912', 'project_id': '00c6c4af95e34b97acb94fcb15fd4912', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14481599', 'ctest-vn-36212951'], 'port_security_enabled': True, 'description': ''}}
2026-11-06 10:13:52,117 - DEBUG - Response for create_subnet : {'subnet': {'id': '670a5e7b-0553-44e5-9d7a-8b642bed0639', 'name': '', 'tenant_id': '00c6c4af95e34b97acb94fcb15fd4912', 'network_id': 'deb88d65-46a2-4d68-b030-24ed01d79e95', 'ip_version': 4, 'cidr': '71.219.51.128/26', 'allocation_pools': [{'start': '71.219.51.130', 'end': '71.219.51.190'}], 'gateway_ip': '71.219.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.219.51.130', 'tags': [], 'project_id': '00c6c4af95e34b97acb94fcb15fd4912'}}
2026-11-06 10:13:52,140 - INFO - Created VN ctest-vn-36212951
2026-11-06 10:13:52,200 - DEBUG - VN ctest-vn-36212951 UUID is deb88d65-46a2-4d68-b030-24ed01d79e95
2026-11-06 10:13:52,516 - DEBUG - Response for create_network : {'network': {'id': '2cc502a3-c439-4bd1-87c3-c2eba290d00b', 'name': 'ctest-vn-09566940', 'tenant_id': '00c6c4af95e34b97acb94fcb15fd4912', 'project_id': '00c6c4af95e34b97acb94fcb15fd4912', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14481599', 'ctest-vn-09566940'], 'port_security_enabled': True, 'description': ''}}
2026-11-06 10:13:52,731 - DEBUG - Response for create_subnet : {'subnet': {'id': '4501bcca-978b-486c-bf9b-8a41dd8f1d2e', 'name': '', 'tenant_id': '00c6c4af95e34b97acb94fcb15fd4912', 'network_id': '2cc502a3-c439-4bd1-87c3-c2eba290d00b', 'ip_version': 4, 'cidr': '15.222.209.192/26', 'allocation_pools': [{'start': '15.222.209.194', 'end': '15.222.209.254'}], 'gateway_ip': '15.222.209.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.222.209.194', 'tags': [], 'project_id': '00c6c4af95e34b97acb94fcb15fd4912'}}
2026-11-06 10:13:52,750 - INFO - Created VN ctest-vn-09566940
2026-11-06 10:13:52,804 - DEBUG - VN ctest-vn-09566940 UUID is 2cc502a3-c439-4bd1-87c3-c2eba290d00b
2026-11-06 10:13:52,917 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14481599:ctest-vn-36212951, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14481599:ctest-vn-09566940, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None]
2026-11-06 10:13:53,234 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'deb88d65-46a2-4d68-b030-24ed01d79e95', 'name': 'ctest-vn-36212951', 'tenant_id': '00c6c4af95e34b97acb94fcb15fd4912', 'project_id': '00c6c4af95e34b97acb94fcb15fd4912', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['670a5e7b-0553-44e5-9d7a-8b642bed0639'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14481599', 'ctest-vn-36212951'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14481599', 'ctest-policy-allow-all-82767687']], 'subnet_ipam': [{'subnet_cidr': '71.219.51.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-06 10:13:53,481 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2cc502a3-c439-4bd1-87c3-c2eba290d00b', 'name': 'ctest-vn-09566940', 'tenant_id': '00c6c4af95e34b97acb94fcb15fd4912', 'project_id': '00c6c4af95e34b97acb94fcb15fd4912', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['4501bcca-978b-486c-bf9b-8a41dd8f1d2e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14481599', 'ctest-vn-09566940'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14481599', 'ctest-policy-allow-all-82767687']], 'subnet_ipam': [{'subnet_cidr': '15.222.209.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-06 10:13:53,644 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-06 10:13:54,022 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-06 10:13:54,051 - DEBUG - Requesting: http://10.0.0.50:8082/domain/22f838c2-44c5-4f4c-adee-6f5b5dfbc7e1
2026-11-06 10:13:54,064 - DEBUG - Requesting: http://10.0.0.50:8082/project/00c6c4af-95e3-4b97-acb9-4fcb15fd4912
2026-11-06 10:13:54,144 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/deb88d65-46a2-4d68-b030-24ed01d79e95
2026-11-06 10:13:54,157 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/deb88d65-46a2-4d68-b030-24ed01d79e95
2026-11-06 10:13:54,169 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e3404ab1-ffed-4069-8988-6cc72e7e5b04
2026-11-06 10:13:54,179 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e3404ab1-ffed-4069-8988-6cc72e7e5b04
2026-11-06 10:13:54,189 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3ad9315f-9a2d-4a3a-9955-b46ef521db1f
2026-11-06 10:13:54,197 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-06 10:13:54,197 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/deb88d65-46a2-4d68-b030-24ed01d79e95
2026-11-06 10:13:54,208 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e3404ab1-ffed-4069-8988-6cc72e7e5b04
2026-11-06 10:13:54,225 - INFO - Verified VN network id 12 for VN deb88d65-46a2-4d68-b030-24ed01d79e95
2026-11-06 10:13:54,225 - INFO - Verifications in API Server for VN ctest-vn-36212951 passed
2026-11-06 10:13:54,225 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/deb88d65-46a2-4d68-b030-24ed01d79e95
2026-11-06 10:13:54,236 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e3404ab1-ffed-4069-8988-6cc72e7e5b04
2026-11-06 10:13:54,244 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e3404ab1-ffed-4069-8988-6cc72e7e5b04
2026-11-06 10:13:54,252 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3ad9315f-9a2d-4a3a-9955-b46ef521db1f
2026-11-06 10:13:54,267 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14481599:ctest-vn-36212951', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14481599', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16048732738251017576', 'uuid-lslong': '12695687949914185365'}, 'enable': 'true', 'created': '2026-11-06T10:13:51', 'last-modified': '2026-11-06T10:13:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.059847'}
2026-11-06 10:13:54,275 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-06 10:13:54,275 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36212951 passed
2026-11-06 10:13:54,276 - DEBUG - ====Verifying policy data for ctest-vn-36212951 in API_Server ======
2026-11-06 10:13:54,276 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-06 10:13:54,283 - DEBUG - Requesting: http://10.0.0.50:8082/domain/22f838c2-44c5-4f4c-adee-6f5b5dfbc7e1
2026-11-06 10:13:54,297 - DEBUG - Requesting: http://10.0.0.50:8082/project/00c6c4af-95e3-4b97-acb9-4fcb15fd4912
2026-11-06 10:13:54,372 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/deb88d65-46a2-4d68-b030-24ed01d79e95
2026-11-06 10:13:54,382 - DEBUG - ==>Verifying data for policy with id: 9fa61729-c48c-44f1-94c4-5b1828001217, fqn: ['default-domain', 'ctest-TestBasicPolicy-14481599', 'ctest-policy-allow-all-82767687']
2026-11-06 10:13:54,382 - INFO - VN ctest-vn-36212951 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-06 10:13:54,382 - DEBUG - Verifying the vn in opserver
2026-11-06 10:13:54,382 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14481599:ctest-vn-36212951 virtual network link through opserver 10.0.0.50
2026-11-06 10:13:54,382 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-06 10:13:54,756 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-06 10:13:54,819 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14481599:ctest-vn-36212951', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14481599:ctest-vn-36212951?flat'}
2026-11-06 10:13:54,819 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14481599:ctest-vn-36212951 is found in opserver
2026-11-06 10:13:54,834 - DEBUG - Do not have enough data to verify VN in agent
2026-11-06 10:13:54,840 - DEBUG - VRF ids for VN ctest-vn-36212951: {}
2026-11-06 10:13:54,840 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-06 10:13:54,847 - DEBUG - Requesting: http://10.0.0.50:8082/domain/22f838c2-44c5-4f4c-adee-6f5b5dfbc7e1
2026-11-06 10:13:54,859 - DEBUG - Requesting: http://10.0.0.50:8082/project/00c6c4af-95e3-4b97-acb9-4fcb15fd4912
2026-11-06 10:13:54,937 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2cc502a3-c439-4bd1-87c3-c2eba290d00b
2026-11-06 10:13:54,952 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2cc502a3-c439-4bd1-87c3-c2eba290d00b
2026-11-06 10:13:54,962 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee26ce60-569f-406f-9e0c-df3efa84edf7
2026-11-06 10:13:54,970 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee26ce60-569f-406f-9e0c-df3efa84edf7
2026-11-06 10:13:54,978 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c09044ae-0fa5-4027-907a-a04db3908c31
2026-11-06 10:13:54,986 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-06 10:13:54,986 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2cc502a3-c439-4bd1-87c3-c2eba290d00b
2026-11-06 10:13:54,996 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee26ce60-569f-406f-9e0c-df3efa84edf7
2026-11-06 10:13:55,013 - INFO - Verified VN network id 13 for VN 2cc502a3-c439-4bd1-87c3-c2eba290d00b
2026-11-06 10:13:55,013 - INFO - Verifications in API Server for VN ctest-vn-09566940 passed
2026-11-06 10:13:55,014 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2cc502a3-c439-4bd1-87c3-c2eba290d00b
2026-11-06 10:13:55,026 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee26ce60-569f-406f-9e0c-df3efa84edf7
2026-11-06 10:13:55,036 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee26ce60-569f-406f-9e0c-df3efa84edf7
2026-11-06 10:13:55,046 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c09044ae-0fa5-4027-907a-a04db3908c31
2026-11-06 10:13:55,063 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14481599:ctest-vn-09566940', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14481599', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3225987610475842513', 'uuid-lslong': '9782877132879351819'}, 'enable': 'true', 'created': '2026-11-06T10:13:52', 'last-modified': '2026-11-06T10:13:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.612362'}
2026-11-06 10:13:55,072 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-06 10:13:55,072 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09566940 passed
2026-11-06 10:13:55,072 - DEBUG - ====Verifying policy data for ctest-vn-09566940 in API_Server ======
2026-11-06 10:13:55,072 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-06 10:13:55,079 - DEBUG - Requesting: http://10.0.0.50:8082/domain/22f838c2-44c5-4f4c-adee-6f5b5dfbc7e1
2026-11-06 10:13:55,093 - DEBUG - Requesting: http://10.0.0.50:8082/project/00c6c4af-95e3-4b97-acb9-4fcb15fd4912
2026-11-06 10:13:55,177 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2cc502a3-c439-4bd1-87c3-c2eba290d00b
2026-11-06 10:13:55,192 - DEBUG - ==>Verifying data for policy with id: 9fa61729-c48c-44f1-94c4-5b1828001217, fqn: ['default-domain', 'ctest-TestBasicPolicy-14481599', 'ctest-policy-allow-all-82767687']
2026-11-06 10:13:55,193 - INFO - VN ctest-vn-09566940 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-06 10:13:55,193 - DEBUG - Verifying the vn in opserver
2026-11-06 10:13:55,193 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14481599:ctest-vn-09566940 virtual network link through opserver 10.0.0.50
2026-11-06 10:13:55,193 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-06 10:13:55,207 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14481599:ctest-vn-09566940', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14481599:ctest-vn-09566940?flat'}
2026-11-06 10:13:55,207 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14481599:ctest-vn-09566940 is found in opserver
2026-11-06 10:13:55,222 - DEBUG - Do not have enough data to verify VN in agent
2026-11-06 10:13:55,229 - DEBUG - VRF ids for VN ctest-vn-09566940: {}
2026-11-06 10:13:55,292 - DEBUG - Services list from nova: [