2026-10-29 18:42:24,836 - INFO - Domain Default found not creating
2026-10-29 18:42:25,077 - INFO - Project ctest-TestBasicPolicy-18468483 not found, creating it
2026-10-29 18:42:25,637 - INFO - Created Project:ctest-TestBasicPolicy-18468483, ID : a4ce52f5-5f32-4c3e-91d8-de044ade3a2d
2026-10-29 18:42:27,571 - INFO - ================================================================================
2026-10-29 18:42:27,571 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-29 18:42:27,571 - 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-10-29 18:42:27,848 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.17': '0'}} with
2026-10-29 18:42:27,848 - INFO - Initial checks done. Running the testcase now
2026-10-29 18:42:27,848 - INFO -
2026-10-29 18:42:28,539 - DEBUG - Response for create_network : {'network': {'id': 'b8d5a686-0497-43f2-b1af-8ff53b0930b3', 'name': 'ctest-vn-64218010', 'tenant_id': 'a4ce52f55f324c3e91d8de044ade3a2d', 'project_id': 'a4ce52f55f324c3e91d8de044ade3a2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18468483', 'ctest-vn-64218010'], 'port_security_enabled': True, 'description': ''}}
2026-10-29 18:42:28,766 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e64c141e-6cb3-4add-a151-0cab470a9108', 'name': '', 'tenant_id': 'a4ce52f55f324c3e91d8de044ade3a2d', 'network_id': 'b8d5a686-0497-43f2-b1af-8ff53b0930b3', 'ip_version': 4, 'cidr': '144.32.176.192/26', 'allocation_pools': [{'start': '144.32.176.194', 'end': '144.32.176.254'}], 'gateway_ip': '144.32.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.32.176.194', 'tags': [], 'project_id': 'a4ce52f55f324c3e91d8de044ade3a2d'}}
2026-10-29 18:42:28,787 - INFO - Created VN ctest-vn-64218010
2026-10-29 18:42:28,841 - DEBUG - VN ctest-vn-64218010 UUID is b8d5a686-0497-43f2-b1af-8ff53b0930b3
2026-10-29 18:42:29,198 - DEBUG - Response for create_network : {'network': {'id': 'cd62a1cb-24d8-424b-919d-976466e86d65', 'name': 'ctest-vn-64832599', 'tenant_id': 'a4ce52f55f324c3e91d8de044ade3a2d', 'project_id': 'a4ce52f55f324c3e91d8de044ade3a2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18468483', 'ctest-vn-64832599'], 'port_security_enabled': True, 'description': ''}}
2026-10-29 18:42:29,396 - DEBUG - Response for create_subnet : {'subnet': {'id': '54bbdf68-3faf-4111-b46d-fc7abd154fae', 'name': '', 'tenant_id': 'a4ce52f55f324c3e91d8de044ade3a2d', 'network_id': 'cd62a1cb-24d8-424b-919d-976466e86d65', 'ip_version': 4, 'cidr': '173.10.83.192/26', 'allocation_pools': [{'start': '173.10.83.194', 'end': '173.10.83.254'}], 'gateway_ip': '173.10.83.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.10.83.194', 'tags': [], 'project_id': 'a4ce52f55f324c3e91d8de044ade3a2d'}}
2026-10-29 18:42:29,419 - INFO - Created VN ctest-vn-64832599
2026-10-29 18:42:29,473 - DEBUG - VN ctest-vn-64832599 UUID is cd62a1cb-24d8-424b-919d-976466e86d65
2026-10-29 18:42:29,599 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18468483:ctest-vn-64218010, 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-18468483:ctest-vn-64832599, 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-10-29 18:42:29,949 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b8d5a686-0497-43f2-b1af-8ff53b0930b3', 'name': 'ctest-vn-64218010', 'tenant_id': 'a4ce52f55f324c3e91d8de044ade3a2d', 'project_id': 'a4ce52f55f324c3e91d8de044ade3a2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e64c141e-6cb3-4add-a151-0cab470a9108'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18468483', 'ctest-vn-64218010'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18468483', 'ctest-policy-allow-all-66146703']], 'subnet_ipam': [{'subnet_cidr': '144.32.176.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-29 18:42:30,226 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cd62a1cb-24d8-424b-919d-976466e86d65', 'name': 'ctest-vn-64832599', 'tenant_id': 'a4ce52f55f324c3e91d8de044ade3a2d', 'project_id': 'a4ce52f55f324c3e91d8de044ade3a2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['54bbdf68-3faf-4111-b46d-fc7abd154fae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18468483', 'ctest-vn-64832599'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18468483', 'ctest-policy-allow-all-66146703']], 'subnet_ipam': [{'subnet_cidr': '173.10.83.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-29 18:42:30,397 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-10-29 18:42:30,777 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-10-29 18:42:30,808 - DEBUG - Requesting: http://10.0.0.250:8082/domain/3b1d0b8d-097f-4ce1-b1e5-633bb3df4fb4
2026-10-29 18:42:30,826 - DEBUG - Requesting: http://10.0.0.250:8082/project/a4ce52f5-5f32-4c3e-91d8-de044ade3a2d
2026-10-29 18:42:30,914 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/b8d5a686-0497-43f2-b1af-8ff53b0930b3
2026-10-29 18:42:30,927 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/b8d5a686-0497-43f2-b1af-8ff53b0930b3
2026-10-29 18:42:30,939 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/e65b5817-de2d-4408-ae79-38d994cbcf21
2026-10-29 18:42:30,950 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/e65b5817-de2d-4408-ae79-38d994cbcf21
2026-10-29 18:42:30,960 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/2620943d-ef62-4d57-9cba-8d49b85f7761
2026-10-29 18:42:30,969 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-29 18:42:30,969 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/b8d5a686-0497-43f2-b1af-8ff53b0930b3
2026-10-29 18:42:30,982 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/e65b5817-de2d-4408-ae79-38d994cbcf21
2026-10-29 18:42:31,002 - INFO - Verified VN network id 12 for VN b8d5a686-0497-43f2-b1af-8ff53b0930b3
2026-10-29 18:42:31,002 - INFO - Verifications in API Server for VN ctest-vn-64218010 passed
2026-10-29 18:42:31,002 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/b8d5a686-0497-43f2-b1af-8ff53b0930b3
2026-10-29 18:42:31,016 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/e65b5817-de2d-4408-ae79-38d994cbcf21
2026-10-29 18:42:31,026 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/e65b5817-de2d-4408-ae79-38d994cbcf21
2026-10-29 18:42:31,037 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/2620943d-ef62-4d57-9cba-8d49b85f7761
2026-10-29 18:42:31,052 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18468483:ctest-vn-64218010', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18468483', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13318734567550960626', 'uuid-lslong': '12803610549057826995'}, 'enable': 'true', 'created': '2026-10-29T18:42:28', 'last-modified': '2026-10-29T18:42:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.136425'}
2026-10-29 18:42:31,061 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-29 18:42:31,061 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64218010 passed
2026-10-29 18:42:31,061 - DEBUG - ====Verifying policy data for ctest-vn-64218010 in API_Server ======
2026-10-29 18:42:31,061 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-10-29 18:42:31,068 - DEBUG - Requesting: http://10.0.0.250:8082/domain/3b1d0b8d-097f-4ce1-b1e5-633bb3df4fb4
2026-10-29 18:42:31,081 - DEBUG - Requesting: http://10.0.0.250:8082/project/a4ce52f5-5f32-4c3e-91d8-de044ade3a2d
2026-10-29 18:42:31,173 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/b8d5a686-0497-43f2-b1af-8ff53b0930b3
2026-10-29 18:42:31,186 - DEBUG - ==>Verifying data for policy with id: d463d7d4-45e7-4f8e-ba11-d0171acaf163, fqn: ['default-domain', 'ctest-TestBasicPolicy-18468483', 'ctest-policy-allow-all-66146703']
2026-10-29 18:42:31,186 - INFO - VN ctest-vn-64218010 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-29 18:42:31,186 - DEBUG - Verifying the vn in opserver
2026-10-29 18:42:31,186 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18468483:ctest-vn-64218010 virtual network link through opserver 10.0.0.250
2026-10-29 18:42:31,186 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-10-29 18:42:31,585 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-10-29 18:42:31,659 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18468483:ctest-vn-64218010', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18468483:ctest-vn-64218010?flat'}
2026-10-29 18:42:31,659 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18468483:ctest-vn-64218010 is found in opserver
2026-10-29 18:42:31,672 - DEBUG - Do not have enough data to verify VN in agent
2026-10-29 18:42:31,679 - DEBUG - VRF ids for VN ctest-vn-64218010: {}
2026-10-29 18:42:31,679 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-10-29 18:42:31,687 - DEBUG - Requesting: http://10.0.0.250:8082/domain/3b1d0b8d-097f-4ce1-b1e5-633bb3df4fb4
2026-10-29 18:42:31,702 - DEBUG - Requesting: http://10.0.0.250:8082/project/a4ce52f5-5f32-4c3e-91d8-de044ade3a2d
2026-10-29 18:42:31,783 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/cd62a1cb-24d8-424b-919d-976466e86d65
2026-10-29 18:42:31,800 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/cd62a1cb-24d8-424b-919d-976466e86d65
2026-10-29 18:42:31,814 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/3bf1010d-ac78-4fbc-b0e1-bd86246894c8
2026-10-29 18:42:31,824 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/3bf1010d-ac78-4fbc-b0e1-bd86246894c8
2026-10-29 18:42:31,835 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/303189d1-a164-461b-8676-b3db0eabb994
2026-10-29 18:42:31,845 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-29 18:42:31,845 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/cd62a1cb-24d8-424b-919d-976466e86d65
2026-10-29 18:42:31,859 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/3bf1010d-ac78-4fbc-b0e1-bd86246894c8
2026-10-29 18:42:31,881 - INFO - Verified VN network id 13 for VN cd62a1cb-24d8-424b-919d-976466e86d65
2026-10-29 18:42:31,881 - INFO - Verifications in API Server for VN ctest-vn-64832599 passed
2026-10-29 18:42:31,881 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/cd62a1cb-24d8-424b-919d-976466e86d65
2026-10-29 18:42:31,895 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/3bf1010d-ac78-4fbc-b0e1-bd86246894c8
2026-10-29 18:42:31,907 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/3bf1010d-ac78-4fbc-b0e1-bd86246894c8
2026-10-29 18:42:31,917 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/303189d1-a164-461b-8676-b3db0eabb994
2026-10-29 18:42:31,941 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18468483:ctest-vn-64832599', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18468483', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14799569219361456715', 'uuid-lslong': '10492709164322155877'}, 'enable': 'true', 'created': '2026-10-29T18:42:29', 'last-modified': '2026-10-29T18:42:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.753052'}
2026-10-29 18:42:31,949 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-29 18:42:31,949 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64832599 passed
2026-10-29 18:42:31,949 - DEBUG - ====Verifying policy data for ctest-vn-64832599 in API_Server ======
2026-10-29 18:42:31,949 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-10-29 18:42:31,957 - DEBUG - Requesting: http://10.0.0.250:8082/domain/3b1d0b8d-097f-4ce1-b1e5-633bb3df4fb4
2026-10-29 18:42:31,973 - DEBUG - Requesting: http://10.0.0.250:8082/project/a4ce52f5-5f32-4c3e-91d8-de044ade3a2d
2026-10-29 18:42:32,055 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/cd62a1cb-24d8-424b-919d-976466e86d65
2026-10-29 18:42:32,068 - DEBUG - ==>Verifying data for policy with id: d463d7d4-45e7-4f8e-ba11-d0171acaf163, fqn: ['default-domain', 'ctest-TestBasicPolicy-18468483', 'ctest-policy-allow-all-66146703']
2026-10-29 18:42:32,068 - INFO - VN ctest-vn-64832599 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-29 18:42:32,068 - DEBUG - Verifying the vn in opserver
2026-10-29 18:42:32,068 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18468483:ctest-vn-64832599 virtual network link through opserver 10.0.0.250
2026-10-29 18:42:32,068 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-10-29 18:42:32,081 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18468483:ctest-vn-64832599', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18468483:ctest-vn-64832599?flat'}
2026-10-29 18:42:32,081 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18468483:ctest-vn-64832599 is found in opserver
2026-10-29 18:42:32,097 - DEBUG - Do not have enough data to verify VN in agent
2026-10-29 18:42:32,104 - DEBUG - VRF ids for VN ctest-vn-64832599: {}
2026-10-29 18:42:32,176 - DEBUG - Services list from nova: [