2026-08-18 05:42:00,043 - INFO - Domain Default found not creating
2026-08-18 05:42:00,206 - INFO - Project ctest-TestBasicPolicy-71734341 not found, creating it
2026-08-18 05:42:00,675 - INFO - Created Project:ctest-TestBasicPolicy-71734341, ID : 6694173c-858e-46d9-bd21-538e290da64f
2026-08-18 05:42:02,252 - INFO - ================================================================================
2026-08-18 05:42:02,252 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-18 05:42:02,252 - 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-08-18 05:42:02,512 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.17': '0'}} with
2026-08-18 05:42:02,512 - INFO - Initial checks done. Running the testcase now
2026-08-18 05:42:02,512 - INFO -
2026-08-18 05:42:03,134 - DEBUG - Response for create_network : {'network': {'id': '9031ea4b-da07-46b4-abb8-91d2ff688a05', 'name': 'ctest-vn-82160184', 'tenant_id': '6694173c858e46d9bd21538e290da64f', 'project_id': '6694173c858e46d9bd21538e290da64f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71734341', 'ctest-vn-82160184'], 'port_security_enabled': True, 'description': ''}}
2026-08-18 05:42:03,333 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b5c517f-95fb-4f9e-948a-68064cc1e541', 'name': '', 'tenant_id': '6694173c858e46d9bd21538e290da64f', 'network_id': '9031ea4b-da07-46b4-abb8-91d2ff688a05', 'ip_version': 4, 'cidr': '197.40.77.0/26', 'allocation_pools': [{'start': '197.40.77.2', 'end': '197.40.77.62'}], 'gateway_ip': '197.40.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.40.77.2', 'tags': [], 'project_id': '6694173c858e46d9bd21538e290da64f'}}
2026-08-18 05:42:03,356 - INFO - Created VN ctest-vn-82160184
2026-08-18 05:42:03,408 - DEBUG - VN ctest-vn-82160184 UUID is 9031ea4b-da07-46b4-abb8-91d2ff688a05
2026-08-18 05:42:03,729 - DEBUG - Response for create_network : {'network': {'id': '5bd93b21-3986-4329-bd4c-7bef405f9c56', 'name': 'ctest-vn-56652427', 'tenant_id': '6694173c858e46d9bd21538e290da64f', 'project_id': '6694173c858e46d9bd21538e290da64f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71734341', 'ctest-vn-56652427'], 'port_security_enabled': True, 'description': ''}}
2026-08-18 05:42:03,914 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8a54252-29c4-4d34-b849-67955ca45d6e', 'name': '', 'tenant_id': '6694173c858e46d9bd21538e290da64f', 'network_id': '5bd93b21-3986-4329-bd4c-7bef405f9c56', 'ip_version': 4, 'cidr': '162.238.236.192/26', 'allocation_pools': [{'start': '162.238.236.194', 'end': '162.238.236.254'}], 'gateway_ip': '162.238.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.238.236.194', 'tags': [], 'project_id': '6694173c858e46d9bd21538e290da64f'}}
2026-08-18 05:42:03,938 - INFO - Created VN ctest-vn-56652427
2026-08-18 05:42:03,992 - DEBUG - VN ctest-vn-56652427 UUID is 5bd93b21-3986-4329-bd4c-7bef405f9c56
2026-08-18 05:42:04,109 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-82160184, 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-71734341:ctest-vn-56652427, 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-08-18 05:42:04,449 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9031ea4b-da07-46b4-abb8-91d2ff688a05', 'name': 'ctest-vn-82160184', 'tenant_id': '6694173c858e46d9bd21538e290da64f', 'project_id': '6694173c858e46d9bd21538e290da64f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3b5c517f-95fb-4f9e-948a-68064cc1e541'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71734341', 'ctest-vn-82160184'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71734341', 'ctest-policy-allow-all-82380800']], 'subnet_ipam': [{'subnet_cidr': '197.40.77.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-18 05:42:04,697 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5bd93b21-3986-4329-bd4c-7bef405f9c56', 'name': 'ctest-vn-56652427', 'tenant_id': '6694173c858e46d9bd21538e290da64f', 'project_id': '6694173c858e46d9bd21538e290da64f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e8a54252-29c4-4d34-b849-67955ca45d6e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71734341', 'ctest-vn-56652427'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71734341', 'ctest-policy-allow-all-82380800']], 'subnet_ipam': [{'subnet_cidr': '162.238.236.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-18 05:42:04,876 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-08-18 05:42:05,207 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-08-18 05:42:05,235 - DEBUG - Requesting: http://10.0.0.251:8082/domain/7f5cb176-2a6f-4fb7-a275-08a073ee0434
2026-08-18 05:42:05,248 - DEBUG - Requesting: http://10.0.0.251:8082/project/6694173c-858e-46d9-bd21-538e290da64f
2026-08-18 05:42:05,320 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/9031ea4b-da07-46b4-abb8-91d2ff688a05
2026-08-18 05:42:05,331 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/9031ea4b-da07-46b4-abb8-91d2ff688a05
2026-08-18 05:42:05,340 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/47659c35-78bd-47a3-ae12-812f88cde700
2026-08-18 05:42:05,347 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/47659c35-78bd-47a3-ae12-812f88cde700
2026-08-18 05:42:05,354 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/5842e5bf-bf48-46d9-94fb-3501e084bc11
2026-08-18 05:42:05,361 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-18 05:42:05,361 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/9031ea4b-da07-46b4-abb8-91d2ff688a05
2026-08-18 05:42:05,370 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/47659c35-78bd-47a3-ae12-812f88cde700
2026-08-18 05:42:05,383 - INFO - Verified VN network id 9 for VN 9031ea4b-da07-46b4-abb8-91d2ff688a05
2026-08-18 05:42:05,383 - INFO - Verifications in API Server for VN ctest-vn-82160184 passed
2026-08-18 05:42:05,383 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/9031ea4b-da07-46b4-abb8-91d2ff688a05
2026-08-18 05:42:05,392 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/47659c35-78bd-47a3-ae12-812f88cde700
2026-08-18 05:42:05,398 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/47659c35-78bd-47a3-ae12-812f88cde700
2026-08-18 05:42:05,406 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/5842e5bf-bf48-46d9-94fb-3501e084bc11
2026-08-18 05:42:05,419 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-82160184', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71734341', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10390343426821801652', 'uuid-lslong': '12373800311614638597'}, 'enable': 'true', 'created': '2026-08-18T05:42:03', 'last-modified': '2026-08-18T05:42:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.995221'}
2026-08-18 05:42:05,427 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-18 05:42:05,427 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82160184 passed
2026-08-18 05:42:05,427 - DEBUG - ====Verifying policy data for ctest-vn-82160184 in API_Server ======
2026-08-18 05:42:05,427 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-08-18 05:42:05,433 - DEBUG - Requesting: http://10.0.0.251:8082/domain/7f5cb176-2a6f-4fb7-a275-08a073ee0434
2026-08-18 05:42:05,442 - DEBUG - Requesting: http://10.0.0.251:8082/project/6694173c-858e-46d9-bd21-538e290da64f
2026-08-18 05:42:05,512 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/9031ea4b-da07-46b4-abb8-91d2ff688a05
2026-08-18 05:42:05,521 - DEBUG - ==>Verifying data for policy with id: c2fcfd6a-e9fa-42fb-bb4d-b631b359e0de, fqn: ['default-domain', 'ctest-TestBasicPolicy-71734341', 'ctest-policy-allow-all-82380800']
2026-08-18 05:42:05,521 - INFO - VN ctest-vn-82160184 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-18 05:42:05,522 - DEBUG - Verifying the vn in opserver
2026-08-18 05:42:05,522 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-82160184 virtual network link through opserver 10.0.0.251
2026-08-18 05:42:05,522 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-08-18 05:42:05,843 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-08-18 05:42:05,896 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-82160184', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-82160184?flat'}
2026-08-18 05:42:05,896 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-82160184 is found in opserver
2026-08-18 05:42:05,908 - DEBUG - Do not have enough data to verify VN in agent
2026-08-18 05:42:05,913 - DEBUG - VRF ids for VN ctest-vn-82160184: {}
2026-08-18 05:42:05,913 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-08-18 05:42:05,919 - DEBUG - Requesting: http://10.0.0.251:8082/domain/7f5cb176-2a6f-4fb7-a275-08a073ee0434
2026-08-18 05:42:05,930 - DEBUG - Requesting: http://10.0.0.251:8082/project/6694173c-858e-46d9-bd21-538e290da64f
2026-08-18 05:42:06,008 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/5bd93b21-3986-4329-bd4c-7bef405f9c56
2026-08-18 05:42:06,023 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/5bd93b21-3986-4329-bd4c-7bef405f9c56
2026-08-18 05:42:06,033 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/311b33d1-a2f2-42eb-a18e-1b814580ffea
2026-08-18 05:42:06,041 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/311b33d1-a2f2-42eb-a18e-1b814580ffea
2026-08-18 05:42:06,048 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/cb7eeeaa-9a44-4b99-8a2b-d3ce3c1a4d06
2026-08-18 05:42:06,055 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-18 05:42:06,055 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/5bd93b21-3986-4329-bd4c-7bef405f9c56
2026-08-18 05:42:06,065 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/311b33d1-a2f2-42eb-a18e-1b814580ffea
2026-08-18 05:42:06,081 - INFO - Verified VN network id 10 for VN 5bd93b21-3986-4329-bd4c-7bef405f9c56
2026-08-18 05:42:06,081 - INFO - Verifications in API Server for VN ctest-vn-56652427 passed
2026-08-18 05:42:06,081 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/5bd93b21-3986-4329-bd4c-7bef405f9c56
2026-08-18 05:42:06,090 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/311b33d1-a2f2-42eb-a18e-1b814580ffea
2026-08-18 05:42:06,097 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/311b33d1-a2f2-42eb-a18e-1b814580ffea
2026-08-18 05:42:06,105 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/cb7eeeaa-9a44-4b99-8a2b-d3ce3c1a4d06
2026-08-18 05:42:06,118 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-56652427', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71734341', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6618386141282714409', 'uuid-lslong': '13640413638905797718'}, 'enable': 'true', 'created': '2026-08-18T05:42:03', 'last-modified': '2026-08-18T05:42:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.450548'}
2026-08-18 05:42:06,124 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-18 05:42:06,124 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56652427 passed
2026-08-18 05:42:06,125 - DEBUG - ====Verifying policy data for ctest-vn-56652427 in API_Server ======
2026-08-18 05:42:06,125 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-08-18 05:42:06,130 - DEBUG - Requesting: http://10.0.0.251:8082/domain/7f5cb176-2a6f-4fb7-a275-08a073ee0434
2026-08-18 05:42:06,142 - DEBUG - Requesting: http://10.0.0.251:8082/project/6694173c-858e-46d9-bd21-538e290da64f
2026-08-18 05:42:06,214 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/5bd93b21-3986-4329-bd4c-7bef405f9c56
2026-08-18 05:42:06,225 - DEBUG - ==>Verifying data for policy with id: c2fcfd6a-e9fa-42fb-bb4d-b631b359e0de, fqn: ['default-domain', 'ctest-TestBasicPolicy-71734341', 'ctest-policy-allow-all-82380800']
2026-08-18 05:42:06,225 - INFO - VN ctest-vn-56652427 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-18 05:42:06,225 - DEBUG - Verifying the vn in opserver
2026-08-18 05:42:06,225 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-56652427 virtual network link through opserver 10.0.0.251
2026-08-18 05:42:06,225 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-08-18 05:42:06,235 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-56652427', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-56652427?flat'}
2026-08-18 05:42:06,235 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-56652427 is found in opserver
2026-08-18 05:42:06,245 - DEBUG - Do not have enough data to verify VN in agent
2026-08-18 05:42:06,251 - DEBUG - VRF ids for VN ctest-vn-56652427: {}
2026-08-18 05:42:06,308 - DEBUG - Services list from nova: [