2026-07-06 13:30:30,400 - INFO - Domain Default found not creating
2026-07-06 13:30:30,536 - INFO - Project ctest-TestBasicPolicy-67905295 not found, creating it
2026-07-06 13:30:30,990 - INFO - Created Project:ctest-TestBasicPolicy-67905295, ID : 9bb63df8-5179-440f-8d63-7bb06ac801b9
2026-07-06 13:30:32,422 - INFO - ================================================================================
2026-07-06 13:30:32,422 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-07-06 13:30:32,422 - 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-07-06 13:30:32,682 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2026-07-06 13:30:32,682 - INFO - Initial checks done. Running the testcase now
2026-07-06 13:30:32,682 - INFO -
2026-07-06 13:30:33,213 - DEBUG - Response for create_network : {'network': {'id': 'a49947bf-dea4-4f08-ba59-6fc408f63ce7', 'name': 'ctest-vn-06047978', 'tenant_id': '9bb63df85179440f8d637bb06ac801b9', 'project_id': '9bb63df85179440f8d637bb06ac801b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67905295', 'ctest-vn-06047978'], 'port_security_enabled': True, 'description': ''}}
2026-07-06 13:30:33,420 - DEBUG - Response for create_subnet : {'subnet': {'id': '06484ffa-5b5d-4246-bdad-fd7320c222db', 'name': '', 'tenant_id': '9bb63df85179440f8d637bb06ac801b9', 'network_id': 'a49947bf-dea4-4f08-ba59-6fc408f63ce7', 'ip_version': 4, 'cidr': '143.31.161.64/26', 'allocation_pools': [{'start': '143.31.161.66', 'end': '143.31.161.126'}], 'gateway_ip': '143.31.161.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.31.161.66', 'tags': [], 'project_id': '9bb63df85179440f8d637bb06ac801b9'}}
2026-07-06 13:30:33,435 - INFO - Created VN ctest-vn-06047978
2026-07-06 13:30:33,488 - DEBUG - VN ctest-vn-06047978 UUID is a49947bf-dea4-4f08-ba59-6fc408f63ce7
2026-07-06 13:30:33,810 - DEBUG - Response for create_network : {'network': {'id': '072d9021-c979-4ca4-8b01-307884f3aa2c', 'name': 'ctest-vn-28461984', 'tenant_id': '9bb63df85179440f8d637bb06ac801b9', 'project_id': '9bb63df85179440f8d637bb06ac801b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67905295', 'ctest-vn-28461984'], 'port_security_enabled': True, 'description': ''}}
2026-07-06 13:30:33,961 - DEBUG - Response for create_subnet : {'subnet': {'id': '0125a733-a4ee-4a77-ac6e-3a158ff041eb', 'name': '', 'tenant_id': '9bb63df85179440f8d637bb06ac801b9', 'network_id': '072d9021-c979-4ca4-8b01-307884f3aa2c', 'ip_version': 4, 'cidr': '15.71.113.128/26', 'allocation_pools': [{'start': '15.71.113.130', 'end': '15.71.113.190'}], 'gateway_ip': '15.71.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.71.113.130', 'tags': [], 'project_id': '9bb63df85179440f8d637bb06ac801b9'}}
2026-07-06 13:30:33,978 - INFO - Created VN ctest-vn-28461984
2026-07-06 13:30:34,032 - DEBUG - VN ctest-vn-28461984 UUID is 072d9021-c979-4ca4-8b01-307884f3aa2c
2026-07-06 13:30:34,144 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-06047978, 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-67905295:ctest-vn-28461984, 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-07-06 13:30:34,446 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a49947bf-dea4-4f08-ba59-6fc408f63ce7', 'name': 'ctest-vn-06047978', 'tenant_id': '9bb63df85179440f8d637bb06ac801b9', 'project_id': '9bb63df85179440f8d637bb06ac801b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['06484ffa-5b5d-4246-bdad-fd7320c222db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67905295', 'ctest-vn-06047978'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67905295', 'ctest-policy-allow-all-85766550']], 'subnet_ipam': [{'subnet_cidr': '143.31.161.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-06 13:30:34,684 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '072d9021-c979-4ca4-8b01-307884f3aa2c', 'name': 'ctest-vn-28461984', 'tenant_id': '9bb63df85179440f8d637bb06ac801b9', 'project_id': '9bb63df85179440f8d637bb06ac801b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0125a733-a4ee-4a77-ac6e-3a158ff041eb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67905295', 'ctest-vn-28461984'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67905295', 'ctest-policy-allow-all-85766550']], 'subnet_ipam': [{'subnet_cidr': '15.71.113.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-06 13:30:34,844 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-07-06 13:30:35,160 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-07-06 13:30:35,184 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d8d4255-cc78-4c65-9a13-6ace5be261cc
2026-07-06 13:30:35,196 - DEBUG - Requesting: http://10.0.0.242:8082/project/9bb63df8-5179-440f-8d63-7bb06ac801b9
2026-07-06 13:30:35,265 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a49947bf-dea4-4f08-ba59-6fc408f63ce7
2026-07-06 13:30:35,275 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a49947bf-dea4-4f08-ba59-6fc408f63ce7
2026-07-06 13:30:35,283 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/02083e2e-aed9-488c-bc83-90bf5faf2b32
2026-07-06 13:30:35,289 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/02083e2e-aed9-488c-bc83-90bf5faf2b32
2026-07-06 13:30:35,294 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/c5a5c9b2-efaa-417c-adb0-f9d668dca056
2026-07-06 13:30:35,300 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-06 13:30:35,300 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a49947bf-dea4-4f08-ba59-6fc408f63ce7
2026-07-06 13:30:35,307 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/02083e2e-aed9-488c-bc83-90bf5faf2b32
2026-07-06 13:30:35,319 - INFO - Verified VN network id 9 for VN a49947bf-dea4-4f08-ba59-6fc408f63ce7
2026-07-06 13:30:35,319 - INFO - Verifications in API Server for VN ctest-vn-06047978 passed
2026-07-06 13:30:35,320 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a49947bf-dea4-4f08-ba59-6fc408f63ce7
2026-07-06 13:30:35,327 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/02083e2e-aed9-488c-bc83-90bf5faf2b32
2026-07-06 13:30:35,333 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/02083e2e-aed9-488c-bc83-90bf5faf2b32
2026-07-06 13:30:35,339 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/c5a5c9b2-efaa-417c-adb0-f9d668dca056
2026-07-06 13:30:35,348 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-06047978', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67905295', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11860589983056547592', 'uuid-lslong': '13427886651736472807'}, 'enable': 'true', 'created': '2026-07-06T13:30:33', 'last-modified': '2026-07-06T13:30:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925978'}
2026-07-06 13:30:35,353 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-06 13:30:35,354 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06047978 passed
2026-07-06 13:30:35,354 - DEBUG - ====Verifying policy data for ctest-vn-06047978 in API_Server ======
2026-07-06 13:30:35,354 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-07-06 13:30:35,359 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d8d4255-cc78-4c65-9a13-6ace5be261cc
2026-07-06 13:30:35,374 - DEBUG - Requesting: http://10.0.0.242:8082/project/9bb63df8-5179-440f-8d63-7bb06ac801b9
2026-07-06 13:30:35,451 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a49947bf-dea4-4f08-ba59-6fc408f63ce7
2026-07-06 13:30:35,460 - DEBUG - ==>Verifying data for policy with id: 4a351ef4-29da-4078-8347-2813e061d02b, fqn: ['default-domain', 'ctest-TestBasicPolicy-67905295', 'ctest-policy-allow-all-85766550']
2026-07-06 13:30:35,460 - INFO - VN ctest-vn-06047978 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-06 13:30:35,460 - DEBUG - Verifying the vn in opserver
2026-07-06 13:30:35,460 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-06047978 virtual network link through opserver 10.0.0.242
2026-07-06 13:30:35,460 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-07-06 13:30:35,779 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-07-06 13:30:35,825 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-06047978', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-06047978?flat'}
2026-07-06 13:30:35,825 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-06047978 is found in opserver
2026-07-06 13:30:35,834 - DEBUG - Do not have enough data to verify VN in agent
2026-07-06 13:30:35,838 - DEBUG - VRF ids for VN ctest-vn-06047978: {}
2026-07-06 13:30:35,838 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-07-06 13:30:35,843 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d8d4255-cc78-4c65-9a13-6ace5be261cc
2026-07-06 13:30:35,852 - DEBUG - Requesting: http://10.0.0.242:8082/project/9bb63df8-5179-440f-8d63-7bb06ac801b9
2026-07-06 13:30:35,919 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/072d9021-c979-4ca4-8b01-307884f3aa2c
2026-07-06 13:30:35,929 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/072d9021-c979-4ca4-8b01-307884f3aa2c
2026-07-06 13:30:35,937 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/89dceffc-74ff-4025-b003-8c3727ce4c4b
2026-07-06 13:30:35,943 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/89dceffc-74ff-4025-b003-8c3727ce4c4b
2026-07-06 13:30:35,948 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/08e858eb-ad02-4a1e-a5bf-35d9900797e8
2026-07-06 13:30:35,953 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-06 13:30:35,953 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/072d9021-c979-4ca4-8b01-307884f3aa2c
2026-07-06 13:30:35,961 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/89dceffc-74ff-4025-b003-8c3727ce4c4b
2026-07-06 13:30:35,973 - INFO - Verified VN network id 10 for VN 072d9021-c979-4ca4-8b01-307884f3aa2c
2026-07-06 13:30:35,973 - INFO - Verifications in API Server for VN ctest-vn-28461984 passed
2026-07-06 13:30:35,973 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/072d9021-c979-4ca4-8b01-307884f3aa2c
2026-07-06 13:30:35,981 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/89dceffc-74ff-4025-b003-8c3727ce4c4b
2026-07-06 13:30:35,987 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/89dceffc-74ff-4025-b003-8c3727ce4c4b
2026-07-06 13:30:35,993 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/08e858eb-ad02-4a1e-a5bf-35d9900797e8
2026-07-06 13:30:36,003 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-28461984', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67905295', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '517228007005965476', 'uuid-lslong': '10016340340433463852'}, 'enable': 'true', 'created': '2026-07-06T13:30:33', 'last-modified': '2026-07-06T13:30:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.361901'}
2026-07-06 13:30:36,008 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-06 13:30:36,008 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28461984 passed
2026-07-06 13:30:36,009 - DEBUG - ====Verifying policy data for ctest-vn-28461984 in API_Server ======
2026-07-06 13:30:36,009 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-07-06 13:30:36,014 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d8d4255-cc78-4c65-9a13-6ace5be261cc
2026-07-06 13:30:36,023 - DEBUG - Requesting: http://10.0.0.242:8082/project/9bb63df8-5179-440f-8d63-7bb06ac801b9
2026-07-06 13:30:36,093 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/072d9021-c979-4ca4-8b01-307884f3aa2c
2026-07-06 13:30:36,101 - DEBUG - ==>Verifying data for policy with id: 4a351ef4-29da-4078-8347-2813e061d02b, fqn: ['default-domain', 'ctest-TestBasicPolicy-67905295', 'ctest-policy-allow-all-85766550']
2026-07-06 13:30:36,101 - INFO - VN ctest-vn-28461984 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-06 13:30:36,101 - DEBUG - Verifying the vn in opserver
2026-07-06 13:30:36,102 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-28461984 virtual network link through opserver 10.0.0.242
2026-07-06 13:30:36,102 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-07-06 13:30:36,110 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-28461984', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-28461984?flat'}
2026-07-06 13:30:36,110 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-28461984 is found in opserver
2026-07-06 13:30:36,118 - DEBUG - Do not have enough data to verify VN in agent
2026-07-06 13:30:36,122 - DEBUG - VRF ids for VN ctest-vn-28461984: {}
2026-07-06 13:30:36,179 - DEBUG - Services list from nova: [