2026-11-05 11:43:58,150 - INFO - Domain Default found not creating
2026-11-05 11:43:58,322 - INFO - Project ctest-TestBasicPolicy-00790098 not found, creating it
2026-11-05 11:43:58,796 - INFO - Created Project:ctest-TestBasicPolicy-00790098, ID : d69d2a67-69c4-47be-9bac-41a572bef997
2026-11-05 11:44:00,455 - INFO - ================================================================================
2026-11-05 11:44:00,455 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-05 11:44:00,455 - 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-05 11:44:00,713 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.25': '0'}} with
2026-11-05 11:44:00,713 - INFO - Initial checks done. Running the testcase now
2026-11-05 11:44:00,713 - INFO -
2026-11-05 11:44:01,313 - DEBUG - Response for create_network : {'network': {'id': '87e70e72-1961-46c8-bb4f-d9f31edc8c51', 'name': 'ctest-vn-08589727', 'tenant_id': 'd69d2a6769c447be9bac41a572bef997', 'project_id': 'd69d2a6769c447be9bac41a572bef997', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00790098', 'ctest-vn-08589727'], 'port_security_enabled': True, 'description': ''}}
2026-11-05 11:44:01,476 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f763ec45-2b1c-45b0-88e3-10adb92419f5', 'name': '', 'tenant_id': 'd69d2a6769c447be9bac41a572bef997', 'network_id': '87e70e72-1961-46c8-bb4f-d9f31edc8c51', 'ip_version': 4, 'cidr': '187.184.166.192/26', 'allocation_pools': [{'start': '187.184.166.194', 'end': '187.184.166.254'}], 'gateway_ip': '187.184.166.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.184.166.194', 'tags': [], 'project_id': 'd69d2a6769c447be9bac41a572bef997'}}
2026-11-05 11:44:01,492 - INFO - Created VN ctest-vn-08589727
2026-11-05 11:44:01,543 - DEBUG - VN ctest-vn-08589727 UUID is 87e70e72-1961-46c8-bb4f-d9f31edc8c51
2026-11-05 11:44:01,992 - DEBUG - Response for create_network : {'network': {'id': '595546a5-4955-4971-87ac-18547a3be9db', 'name': 'ctest-vn-21311092', 'tenant_id': 'd69d2a6769c447be9bac41a572bef997', 'project_id': 'd69d2a6769c447be9bac41a572bef997', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00790098', 'ctest-vn-21311092'], 'port_security_enabled': True, 'description': ''}}
2026-11-05 11:44:02,275 - DEBUG - Response for create_subnet : {'subnet': {'id': '1732e10d-7f76-4b1b-8b62-158052072fbf', 'name': '', 'tenant_id': 'd69d2a6769c447be9bac41a572bef997', 'network_id': '595546a5-4955-4971-87ac-18547a3be9db', 'ip_version': 4, 'cidr': '17.90.200.192/26', 'allocation_pools': [{'start': '17.90.200.194', 'end': '17.90.200.254'}], 'gateway_ip': '17.90.200.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.90.200.194', 'tags': [], 'project_id': 'd69d2a6769c447be9bac41a572bef997'}}
2026-11-05 11:44:02,289 - INFO - Created VN ctest-vn-21311092
2026-11-05 11:44:02,339 - DEBUG - VN ctest-vn-21311092 UUID is 595546a5-4955-4971-87ac-18547a3be9db
2026-11-05 11:44:02,479 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00790098:ctest-vn-08589727, 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-00790098:ctest-vn-21311092, 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-05 11:44:02,779 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '87e70e72-1961-46c8-bb4f-d9f31edc8c51', 'name': 'ctest-vn-08589727', 'tenant_id': 'd69d2a6769c447be9bac41a572bef997', 'project_id': 'd69d2a6769c447be9bac41a572bef997', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f763ec45-2b1c-45b0-88e3-10adb92419f5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00790098', 'ctest-vn-08589727'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00790098', 'ctest-policy-allow-all-43119192']], 'subnet_ipam': [{'subnet_cidr': '187.184.166.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-05 11:44:03,008 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '595546a5-4955-4971-87ac-18547a3be9db', 'name': 'ctest-vn-21311092', 'tenant_id': 'd69d2a6769c447be9bac41a572bef997', 'project_id': 'd69d2a6769c447be9bac41a572bef997', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1732e10d-7f76-4b1b-8b62-158052072fbf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00790098', 'ctest-vn-21311092'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00790098', 'ctest-policy-allow-all-43119192']], 'subnet_ipam': [{'subnet_cidr': '17.90.200.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-05 11:44:03,179 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-11-05 11:44:03,541 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-11-05 11:44:03,568 - DEBUG - Requesting: http://10.0.0.162:8082/domain/12e985d4-a531-4546-b45c-249113131030
2026-11-05 11:44:03,579 - DEBUG - Requesting: http://10.0.0.162:8082/project/d69d2a67-69c4-47be-9bac-41a572bef997
2026-11-05 11:44:03,654 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/87e70e72-1961-46c8-bb4f-d9f31edc8c51
2026-11-05 11:44:03,664 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/87e70e72-1961-46c8-bb4f-d9f31edc8c51
2026-11-05 11:44:03,673 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/2c51fc13-d846-4940-bce4-6b0faf5c9e55
2026-11-05 11:44:03,680 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/2c51fc13-d846-4940-bce4-6b0faf5c9e55
2026-11-05 11:44:03,686 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/f2618789-83ae-4fdb-8427-47587dc743ab
2026-11-05 11:44:03,691 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-05 11:44:03,691 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/87e70e72-1961-46c8-bb4f-d9f31edc8c51
2026-11-05 11:44:03,700 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/2c51fc13-d846-4940-bce4-6b0faf5c9e55
2026-11-05 11:44:03,711 - INFO - Verified VN network id 11 for VN 87e70e72-1961-46c8-bb4f-d9f31edc8c51
2026-11-05 11:44:03,711 - INFO - Verifications in API Server for VN ctest-vn-08589727 passed
2026-11-05 11:44:03,711 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/87e70e72-1961-46c8-bb4f-d9f31edc8c51
2026-11-05 11:44:03,719 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/2c51fc13-d846-4940-bce4-6b0faf5c9e55
2026-11-05 11:44:03,725 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/2c51fc13-d846-4940-bce4-6b0faf5c9e55
2026-11-05 11:44:03,731 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/f2618789-83ae-4fdb-8427-47587dc743ab
2026-11-05 11:44:03,740 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00790098:ctest-vn-08589727', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00790098', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9792811797955299016', 'uuid-lslong': '13497246246470716497'}, 'enable': 'true', 'created': '2026-11-05T11:44:01', 'last-modified': '2026-11-05T11:44:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.991300'}
2026-11-05 11:44:03,746 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-05 11:44:03,746 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08589727 passed
2026-11-05 11:44:03,746 - DEBUG - ====Verifying policy data for ctest-vn-08589727 in API_Server ======
2026-11-05 11:44:03,746 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-11-05 11:44:03,751 - DEBUG - Requesting: http://10.0.0.162:8082/domain/12e985d4-a531-4546-b45c-249113131030
2026-11-05 11:44:03,760 - DEBUG - Requesting: http://10.0.0.162:8082/project/d69d2a67-69c4-47be-9bac-41a572bef997
2026-11-05 11:44:03,827 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/87e70e72-1961-46c8-bb4f-d9f31edc8c51
2026-11-05 11:44:03,836 - DEBUG - ==>Verifying data for policy with id: dac20547-bd5e-4db0-aad7-149621ae5019, fqn: ['default-domain', 'ctest-TestBasicPolicy-00790098', 'ctest-policy-allow-all-43119192']
2026-11-05 11:44:03,836 - INFO - VN ctest-vn-08589727 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-05 11:44:03,836 - DEBUG - Verifying the vn in opserver
2026-11-05 11:44:03,836 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00790098:ctest-vn-08589727 virtual network link through opserver 10.0.0.162
2026-11-05 11:44:03,836 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-11-05 11:44:04,198 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-11-05 11:44:04,251 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00790098:ctest-vn-08589727', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00790098:ctest-vn-08589727?flat'}
2026-11-05 11:44:04,251 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00790098:ctest-vn-08589727 is found in opserver
2026-11-05 11:44:04,263 - DEBUG - Do not have enough data to verify VN in agent
2026-11-05 11:44:04,269 - DEBUG - VRF ids for VN ctest-vn-08589727: {}
2026-11-05 11:44:04,269 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-11-05 11:44:04,274 - DEBUG - Requesting: http://10.0.0.162:8082/domain/12e985d4-a531-4546-b45c-249113131030
2026-11-05 11:44:04,284 - DEBUG - Requesting: http://10.0.0.162:8082/project/d69d2a67-69c4-47be-9bac-41a572bef997
2026-11-05 11:44:04,357 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/595546a5-4955-4971-87ac-18547a3be9db
2026-11-05 11:44:04,370 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/595546a5-4955-4971-87ac-18547a3be9db
2026-11-05 11:44:04,378 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/94a430b4-3349-4f88-a4ee-fb3ee2cbe921
2026-11-05 11:44:04,385 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/94a430b4-3349-4f88-a4ee-fb3ee2cbe921
2026-11-05 11:44:04,393 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/584796b7-c454-4f80-8685-c9cf8ecc98ca
2026-11-05 11:44:04,398 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-05 11:44:04,398 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/595546a5-4955-4971-87ac-18547a3be9db
2026-11-05 11:44:04,406 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/94a430b4-3349-4f88-a4ee-fb3ee2cbe921
2026-11-05 11:44:04,420 - INFO - Verified VN network id 12 for VN 595546a5-4955-4971-87ac-18547a3be9db
2026-11-05 11:44:04,420 - INFO - Verifications in API Server for VN ctest-vn-21311092 passed
2026-11-05 11:44:04,420 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/595546a5-4955-4971-87ac-18547a3be9db
2026-11-05 11:44:04,428 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/94a430b4-3349-4f88-a4ee-fb3ee2cbe921
2026-11-05 11:44:04,434 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/94a430b4-3349-4f88-a4ee-fb3ee2cbe921
2026-11-05 11:44:04,440 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/584796b7-c454-4f80-8685-c9cf8ecc98ca
2026-11-05 11:44:04,450 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00790098:ctest-vn-21311092', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00790098', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6437128918109866353', 'uuid-lslong': '9776215642221570523'}, 'enable': 'true', 'created': '2026-11-05T11:44:01', 'last-modified': '2026-11-05T11:44:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.470310'}
2026-11-05 11:44:04,455 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-05 11:44:04,455 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21311092 passed
2026-11-05 11:44:04,455 - DEBUG - ====Verifying policy data for ctest-vn-21311092 in API_Server ======
2026-11-05 11:44:04,455 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-11-05 11:44:04,460 - DEBUG - Requesting: http://10.0.0.162:8082/domain/12e985d4-a531-4546-b45c-249113131030
2026-11-05 11:44:04,470 - DEBUG - Requesting: http://10.0.0.162:8082/project/d69d2a67-69c4-47be-9bac-41a572bef997
2026-11-05 11:44:04,541 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/595546a5-4955-4971-87ac-18547a3be9db
2026-11-05 11:44:04,550 - DEBUG - ==>Verifying data for policy with id: dac20547-bd5e-4db0-aad7-149621ae5019, fqn: ['default-domain', 'ctest-TestBasicPolicy-00790098', 'ctest-policy-allow-all-43119192']
2026-11-05 11:44:04,550 - INFO - VN ctest-vn-21311092 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-05 11:44:04,550 - DEBUG - Verifying the vn in opserver
2026-11-05 11:44:04,550 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00790098:ctest-vn-21311092 virtual network link through opserver 10.0.0.162
2026-11-05 11:44:04,550 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-11-05 11:44:04,559 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00790098:ctest-vn-21311092', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00790098:ctest-vn-21311092?flat'}
2026-11-05 11:44:04,559 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00790098:ctest-vn-21311092 is found in opserver
2026-11-05 11:44:04,567 - DEBUG - Do not have enough data to verify VN in agent
2026-11-05 11:44:04,571 - DEBUG - VRF ids for VN ctest-vn-21311092: {}
2026-11-05 11:44:04,626 - DEBUG - Services list from nova: [