2026-03-05 01:58:10,684 - INFO - Domain Default found not creating
2026-03-05 01:58:10,830 - INFO - Project ctest-TestBasicPolicy-03574903 not found, creating it
2026-03-05 01:58:11,292 - INFO - Created Project:ctest-TestBasicPolicy-03574903, ID : b6ce6106-da45-4045-8e89-4818fb5dc4d8
2026-03-05 01:58:12,725 - INFO - ================================================================================
2026-03-05 01:58:12,725 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-05 01:58:12,725 - 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-03-05 01:58:12,978 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.193': '0'}} with
2026-03-05 01:58:12,978 - INFO - Initial checks done. Running the testcase now
2026-03-05 01:58:12,978 - INFO -
2026-03-05 01:58:13,525 - DEBUG - Response for create_network : {'network': {'id': 'f771134a-8e0e-4734-bb84-e479d248db37', 'name': 'ctest-vn-93707465', 'tenant_id': 'b6ce6106da4540458e894818fb5dc4d8', 'project_id': 'b6ce6106da4540458e894818fb5dc4d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03574903', 'ctest-vn-93707465'], 'port_security_enabled': True, 'description': ''}}
2026-03-05 01:58:13,716 - DEBUG - Response for create_subnet : {'subnet': {'id': '51fd174c-77b3-4193-bbb9-aebe17b615ee', 'name': '', 'tenant_id': 'b6ce6106da4540458e894818fb5dc4d8', 'network_id': 'f771134a-8e0e-4734-bb84-e479d248db37', 'ip_version': 4, 'cidr': '132.190.175.192/26', 'allocation_pools': [{'start': '132.190.175.194', 'end': '132.190.175.254'}], 'gateway_ip': '132.190.175.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.190.175.194', 'tags': [], 'project_id': 'b6ce6106da4540458e894818fb5dc4d8'}}
2026-03-05 01:58:13,732 - INFO - Created VN ctest-vn-93707465
2026-03-05 01:58:13,785 - DEBUG - VN ctest-vn-93707465 UUID is f771134a-8e0e-4734-bb84-e479d248db37
2026-03-05 01:58:14,093 - DEBUG - Response for create_network : {'network': {'id': '642043ff-3277-4903-beaa-9c175a1e41b7', 'name': 'ctest-vn-69010301', 'tenant_id': 'b6ce6106da4540458e894818fb5dc4d8', 'project_id': 'b6ce6106da4540458e894818fb5dc4d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03574903', 'ctest-vn-69010301'], 'port_security_enabled': True, 'description': ''}}
2026-03-05 01:58:14,247 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af749c64-8b37-44b8-9b9b-96f204b6baf6', 'name': '', 'tenant_id': 'b6ce6106da4540458e894818fb5dc4d8', 'network_id': '642043ff-3277-4903-beaa-9c175a1e41b7', 'ip_version': 4, 'cidr': '87.91.70.64/26', 'allocation_pools': [{'start': '87.91.70.66', 'end': '87.91.70.126'}], 'gateway_ip': '87.91.70.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.91.70.66', 'tags': [], 'project_id': 'b6ce6106da4540458e894818fb5dc4d8'}}
2026-03-05 01:58:14,262 - INFO - Created VN ctest-vn-69010301
2026-03-05 01:58:14,313 - DEBUG - VN ctest-vn-69010301 UUID is 642043ff-3277-4903-beaa-9c175a1e41b7
2026-03-05 01:58:14,457 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03574903:ctest-vn-93707465, 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-03574903:ctest-vn-69010301, 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-03-05 01:58:14,737 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f771134a-8e0e-4734-bb84-e479d248db37', 'name': 'ctest-vn-93707465', 'tenant_id': 'b6ce6106da4540458e894818fb5dc4d8', 'project_id': 'b6ce6106da4540458e894818fb5dc4d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['51fd174c-77b3-4193-bbb9-aebe17b615ee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03574903', 'ctest-vn-93707465'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03574903', 'ctest-policy-allow-all-03532434']], 'subnet_ipam': [{'subnet_cidr': '132.190.175.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-05 01:58:14,962 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '642043ff-3277-4903-beaa-9c175a1e41b7', 'name': 'ctest-vn-69010301', 'tenant_id': 'b6ce6106da4540458e894818fb5dc4d8', 'project_id': 'b6ce6106da4540458e894818fb5dc4d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['af749c64-8b37-44b8-9b9b-96f204b6baf6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03574903', 'ctest-vn-69010301'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03574903', 'ctest-policy-allow-all-03532434']], 'subnet_ipam': [{'subnet_cidr': '87.91.70.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-05 01:58:15,105 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2026-03-05 01:58:15,401 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2026-03-05 01:58:15,429 - DEBUG - Requesting: http://10.0.0.131:8082/domain/ae3906f1-fab8-4987-bab9-45ca75cb796e
2026-03-05 01:58:15,441 - DEBUG - Requesting: http://10.0.0.131:8082/project/b6ce6106-da45-4045-8e89-4818fb5dc4d8
2026-03-05 01:58:15,512 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/f771134a-8e0e-4734-bb84-e479d248db37
2026-03-05 01:58:15,521 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/f771134a-8e0e-4734-bb84-e479d248db37
2026-03-05 01:58:15,529 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/e1166ef1-d777-4cae-b081-b03f2ecbf176
2026-03-05 01:58:15,535 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/e1166ef1-d777-4cae-b081-b03f2ecbf176
2026-03-05 01:58:15,541 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/d9e891b5-ec99-43d5-bd0f-20ad24cb8e97
2026-03-05 01:58:15,546 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-05 01:58:15,546 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/f771134a-8e0e-4734-bb84-e479d248db37
2026-03-05 01:58:15,553 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/e1166ef1-d777-4cae-b081-b03f2ecbf176
2026-03-05 01:58:15,564 - INFO - Verified VN network id 11 for VN f771134a-8e0e-4734-bb84-e479d248db37
2026-03-05 01:58:15,564 - INFO - Verifications in API Server for VN ctest-vn-93707465 passed
2026-03-05 01:58:15,565 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/f771134a-8e0e-4734-bb84-e479d248db37
2026-03-05 01:58:15,573 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/e1166ef1-d777-4cae-b081-b03f2ecbf176
2026-03-05 01:58:15,578 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/e1166ef1-d777-4cae-b081-b03f2ecbf176
2026-03-05 01:58:15,583 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/d9e891b5-ec99-43d5-bd0f-20ad24cb8e97
2026-03-05 01:58:15,594 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03574903:ctest-vn-93707465', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03574903', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17830053610668312372', 'uuid-lslong': '13512175993888496439'}, 'enable': 'true', 'created': '2026-03-05T01:58:13', 'last-modified': '2026-03-05T01:58:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.872400'}
2026-03-05 01:58:15,600 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-05 01:58:15,600 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93707465 passed
2026-03-05 01:58:15,600 - DEBUG - ====Verifying policy data for ctest-vn-93707465 in API_Server ======
2026-03-05 01:58:15,600 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2026-03-05 01:58:15,605 - DEBUG - Requesting: http://10.0.0.131:8082/domain/ae3906f1-fab8-4987-bab9-45ca75cb796e
2026-03-05 01:58:15,617 - DEBUG - Requesting: http://10.0.0.131:8082/project/b6ce6106-da45-4045-8e89-4818fb5dc4d8
2026-03-05 01:58:15,685 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/f771134a-8e0e-4734-bb84-e479d248db37
2026-03-05 01:58:15,694 - DEBUG - ==>Verifying data for policy with id: 992992bf-eb53-4eea-b079-ea57a89601ec, fqn: ['default-domain', 'ctest-TestBasicPolicy-03574903', 'ctest-policy-allow-all-03532434']
2026-03-05 01:58:15,694 - INFO - VN ctest-vn-93707465 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-05 01:58:15,694 - DEBUG - Verifying the vn in opserver
2026-03-05 01:58:15,694 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03574903:ctest-vn-93707465 virtual network link through opserver 10.0.0.131
2026-03-05 01:58:15,694 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2026-03-05 01:58:15,987 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2026-03-05 01:58:16,049 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03574903:ctest-vn-93707465', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03574903:ctest-vn-93707465?flat'}
2026-03-05 01:58:16,049 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03574903:ctest-vn-93707465 is found in opserver
2026-03-05 01:58:16,058 - DEBUG - Do not have enough data to verify VN in agent
2026-03-05 01:58:16,062 - DEBUG - VRF ids for VN ctest-vn-93707465: {}
2026-03-05 01:58:16,062 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2026-03-05 01:58:16,067 - DEBUG - Requesting: http://10.0.0.131:8082/domain/ae3906f1-fab8-4987-bab9-45ca75cb796e
2026-03-05 01:58:16,077 - DEBUG - Requesting: http://10.0.0.131:8082/project/b6ce6106-da45-4045-8e89-4818fb5dc4d8
2026-03-05 01:58:16,144 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/642043ff-3277-4903-beaa-9c175a1e41b7
2026-03-05 01:58:16,156 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/642043ff-3277-4903-beaa-9c175a1e41b7
2026-03-05 01:58:16,166 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/9ea4e980-c7d4-4ea3-844a-1641ca8047d7
2026-03-05 01:58:16,172 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/9ea4e980-c7d4-4ea3-844a-1641ca8047d7
2026-03-05 01:58:16,178 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/2bca41dd-113a-4d42-b3ce-f7534d83aad5
2026-03-05 01:58:16,184 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-05 01:58:16,184 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/642043ff-3277-4903-beaa-9c175a1e41b7
2026-03-05 01:58:16,191 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/9ea4e980-c7d4-4ea3-844a-1641ca8047d7
2026-03-05 01:58:16,203 - INFO - Verified VN network id 12 for VN 642043ff-3277-4903-beaa-9c175a1e41b7
2026-03-05 01:58:16,203 - INFO - Verifications in API Server for VN ctest-vn-69010301 passed
2026-03-05 01:58:16,203 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/642043ff-3277-4903-beaa-9c175a1e41b7
2026-03-05 01:58:16,210 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/9ea4e980-c7d4-4ea3-844a-1641ca8047d7
2026-03-05 01:58:16,216 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/9ea4e980-c7d4-4ea3-844a-1641ca8047d7
2026-03-05 01:58:16,222 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/2bca41dd-113a-4d42-b3ce-f7534d83aad5
2026-03-05 01:58:16,231 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03574903:ctest-vn-69010301', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03574903', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7214841366389934339', 'uuid-lslong': '13738965237357232567'}, 'enable': 'true', 'created': '2026-03-05T01:58:14', 'last-modified': '2026-03-05T01:58:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.287098'}
2026-03-05 01:58:16,237 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-05 01:58:16,237 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69010301 passed
2026-03-05 01:58:16,237 - DEBUG - ====Verifying policy data for ctest-vn-69010301 in API_Server ======
2026-03-05 01:58:16,237 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2026-03-05 01:58:16,242 - DEBUG - Requesting: http://10.0.0.131:8082/domain/ae3906f1-fab8-4987-bab9-45ca75cb796e
2026-03-05 01:58:16,251 - DEBUG - Requesting: http://10.0.0.131:8082/project/b6ce6106-da45-4045-8e89-4818fb5dc4d8
2026-03-05 01:58:16,318 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/642043ff-3277-4903-beaa-9c175a1e41b7
2026-03-05 01:58:16,328 - DEBUG - ==>Verifying data for policy with id: 992992bf-eb53-4eea-b079-ea57a89601ec, fqn: ['default-domain', 'ctest-TestBasicPolicy-03574903', 'ctest-policy-allow-all-03532434']
2026-03-05 01:58:16,328 - INFO - VN ctest-vn-69010301 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-05 01:58:16,328 - DEBUG - Verifying the vn in opserver
2026-03-05 01:58:16,328 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03574903:ctest-vn-69010301 virtual network link through opserver 10.0.0.131
2026-03-05 01:58:16,328 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2026-03-05 01:58:16,336 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03574903:ctest-vn-69010301', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03574903:ctest-vn-69010301?flat'}
2026-03-05 01:58:16,336 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03574903:ctest-vn-69010301 is found in opserver
2026-03-05 01:58:16,345 - DEBUG - Do not have enough data to verify VN in agent
2026-03-05 01:58:16,349 - DEBUG - VRF ids for VN ctest-vn-69010301: {}
2026-03-05 01:58:16,408 - DEBUG - Services list from nova: [