2026-10-05 12:57:11,036 - INFO - Domain Default found not creating
2026-10-05 12:57:11,160 - INFO - Project ctest-TestBasicPolicy-54222264 not found, creating it
2026-10-05 12:57:11,575 - INFO - Created Project:ctest-TestBasicPolicy-54222264, ID : 98ae1e0b-4ec9-4dab-b1e9-d0dedbdb30d7
2026-10-05 12:57:13,167 - INFO - ================================================================================
2026-10-05 12:57:13,167 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-05 12:57:13,167 - 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-05 12:57:13,424 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-10-05 12:57:13,424 - INFO - Initial checks done. Running the testcase now
2026-10-05 12:57:13,424 - INFO -
2026-10-05 12:57:14,015 - DEBUG - Response for create_network : {'network': {'id': 'ae33ff8e-8143-4eba-89b3-edf3462560fa', 'name': 'ctest-vn-63997741', 'tenant_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'project_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54222264', 'ctest-vn-63997741'], 'port_security_enabled': True, 'description': ''}}
2026-10-05 12:57:14,235 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d4fcb6f-28d4-4597-b34f-a3c7b5d1f11c', 'name': '', 'tenant_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'network_id': 'ae33ff8e-8143-4eba-89b3-edf3462560fa', 'ip_version': 4, 'cidr': '211.200.131.0/26', 'allocation_pools': [{'start': '211.200.131.2', 'end': '211.200.131.62'}], 'gateway_ip': '211.200.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.200.131.2', 'tags': [], 'project_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7'}}
2026-10-05 12:57:14,248 - INFO - Created VN ctest-vn-63997741
2026-10-05 12:57:14,299 - DEBUG - VN ctest-vn-63997741 UUID is ae33ff8e-8143-4eba-89b3-edf3462560fa
2026-10-05 12:57:14,573 - DEBUG - Response for create_network : {'network': {'id': 'ba3f4194-325d-4f33-90b1-21dbccc948ca', 'name': 'ctest-vn-69727463', 'tenant_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'project_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54222264', 'ctest-vn-69727463'], 'port_security_enabled': True, 'description': ''}}
2026-10-05 12:57:14,722 - DEBUG - Response for create_subnet : {'subnet': {'id': '39447d28-8313-4999-9cc8-a77134b9a7e7', 'name': '', 'tenant_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'network_id': 'ba3f4194-325d-4f33-90b1-21dbccc948ca', 'ip_version': 4, 'cidr': '114.103.178.0/26', 'allocation_pools': [{'start': '114.103.178.2', 'end': '114.103.178.62'}], 'gateway_ip': '114.103.178.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.103.178.2', 'tags': [], 'project_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7'}}
2026-10-05 12:57:14,734 - INFO - Created VN ctest-vn-69727463
2026-10-05 12:57:14,783 - DEBUG - VN ctest-vn-69727463 UUID is ba3f4194-325d-4f33-90b1-21dbccc948ca
2026-10-05 12:57:14,910 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-63997741, 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-54222264:ctest-vn-69727463, 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-05 12:57:15,183 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ae33ff8e-8143-4eba-89b3-edf3462560fa', 'name': 'ctest-vn-63997741', 'tenant_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'project_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['6d4fcb6f-28d4-4597-b34f-a3c7b5d1f11c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54222264', 'ctest-vn-63997741'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54222264', 'ctest-policy-allow-all-93259332']], 'subnet_ipam': [{'subnet_cidr': '211.200.131.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-05 12:57:15,392 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba3f4194-325d-4f33-90b1-21dbccc948ca', 'name': 'ctest-vn-69727463', 'tenant_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'project_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['39447d28-8313-4999-9cc8-a77134b9a7e7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54222264', 'ctest-vn-69727463'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54222264', 'ctest-policy-allow-all-93259332']], 'subnet_ipam': [{'subnet_cidr': '114.103.178.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-05 12:57:15,539 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-05 12:57:15,897 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-05 12:57:15,921 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c5cc6312-bf1c-48ed-8e93-fab234f39675
2026-10-05 12:57:15,932 - DEBUG - Requesting: http://10.0.0.50:8082/project/98ae1e0b-4ec9-4dab-b1e9-d0dedbdb30d7
2026-10-05 12:57:16,001 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ae33ff8e-8143-4eba-89b3-edf3462560fa
2026-10-05 12:57:16,010 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ae33ff8e-8143-4eba-89b3-edf3462560fa
2026-10-05 12:57:16,017 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/408c616a-77db-410e-b678-e48692265dd2
2026-10-05 12:57:16,023 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/408c616a-77db-410e-b678-e48692265dd2
2026-10-05 12:57:16,028 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3e7272b3-1a39-44b3-a386-045453645f2e
2026-10-05 12:57:16,033 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-05 12:57:16,033 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ae33ff8e-8143-4eba-89b3-edf3462560fa
2026-10-05 12:57:16,040 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/408c616a-77db-410e-b678-e48692265dd2
2026-10-05 12:57:16,050 - INFO - Verified VN network id 12 for VN ae33ff8e-8143-4eba-89b3-edf3462560fa
2026-10-05 12:57:16,050 - INFO - Verifications in API Server for VN ctest-vn-63997741 passed
2026-10-05 12:57:16,050 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ae33ff8e-8143-4eba-89b3-edf3462560fa
2026-10-05 12:57:16,058 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/408c616a-77db-410e-b678-e48692265dd2
2026-10-05 12:57:16,063 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/408c616a-77db-410e-b678-e48692265dd2
2026-10-05 12:57:16,068 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3e7272b3-1a39-44b3-a386-045453645f2e
2026-10-05 12:57:16,077 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-63997741', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54222264', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12552657573930815162', 'uuid-lslong': '9922536033137025274'}, 'enable': 'true', 'created': '2026-10-05T12:57:13', 'last-modified': '2026-10-05T12:57:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914841'}
2026-10-05 12:57:16,082 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-05 12:57:16,083 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63997741 passed
2026-10-05 12:57:16,083 - DEBUG - ====Verifying policy data for ctest-vn-63997741 in API_Server ======
2026-10-05 12:57:16,083 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-05 12:57:16,087 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c5cc6312-bf1c-48ed-8e93-fab234f39675
2026-10-05 12:57:16,095 - DEBUG - Requesting: http://10.0.0.50:8082/project/98ae1e0b-4ec9-4dab-b1e9-d0dedbdb30d7
2026-10-05 12:57:16,167 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ae33ff8e-8143-4eba-89b3-edf3462560fa
2026-10-05 12:57:16,175 - DEBUG - ==>Verifying data for policy with id: 841afe03-0576-4772-9ff7-333c356886e7, fqn: ['default-domain', 'ctest-TestBasicPolicy-54222264', 'ctest-policy-allow-all-93259332']
2026-10-05 12:57:16,175 - INFO - VN ctest-vn-63997741 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-05 12:57:16,175 - DEBUG - Verifying the vn in opserver
2026-10-05 12:57:16,175 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-63997741 virtual network link through opserver 10.0.0.50
2026-10-05 12:57:16,175 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-10-05 12:57:16,533 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-10-05 12:57:16,584 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-63997741', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-63997741?flat'}
2026-10-05 12:57:16,584 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-63997741 is found in opserver
2026-10-05 12:57:16,594 - DEBUG - Do not have enough data to verify VN in agent
2026-10-05 12:57:16,598 - DEBUG - VRF ids for VN ctest-vn-63997741: {}
2026-10-05 12:57:16,598 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-05 12:57:16,603 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c5cc6312-bf1c-48ed-8e93-fab234f39675
2026-10-05 12:57:16,612 - DEBUG - Requesting: http://10.0.0.50:8082/project/98ae1e0b-4ec9-4dab-b1e9-d0dedbdb30d7
2026-10-05 12:57:16,681 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba3f4194-325d-4f33-90b1-21dbccc948ca
2026-10-05 12:57:16,690 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba3f4194-325d-4f33-90b1-21dbccc948ca
2026-10-05 12:57:16,698 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/84d819f2-7e9e-4e1b-8637-d6840a5d54e0
2026-10-05 12:57:16,704 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/84d819f2-7e9e-4e1b-8637-d6840a5d54e0
2026-10-05 12:57:16,709 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/83e9785b-ccfc-475f-90ef-b15b18608991
2026-10-05 12:57:16,713 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-05 12:57:16,713 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba3f4194-325d-4f33-90b1-21dbccc948ca
2026-10-05 12:57:16,720 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/84d819f2-7e9e-4e1b-8637-d6840a5d54e0
2026-10-05 12:57:16,731 - INFO - Verified VN network id 13 for VN ba3f4194-325d-4f33-90b1-21dbccc948ca
2026-10-05 12:57:16,731 - INFO - Verifications in API Server for VN ctest-vn-69727463 passed
2026-10-05 12:57:16,731 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba3f4194-325d-4f33-90b1-21dbccc948ca
2026-10-05 12:57:16,738 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/84d819f2-7e9e-4e1b-8637-d6840a5d54e0
2026-10-05 12:57:16,744 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/84d819f2-7e9e-4e1b-8637-d6840a5d54e0
2026-10-05 12:57:16,749 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/83e9785b-ccfc-475f-90ef-b15b18608991
2026-10-05 12:57:16,759 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-69727463', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54222264', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13420517519343308595', 'uuid-lslong': '10426151840256706762'}, 'enable': 'true', 'created': '2026-10-05T12:57:14', 'last-modified': '2026-10-05T12:57:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.390194'}
2026-10-05 12:57:16,765 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-05 12:57:16,765 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69727463 passed
2026-10-05 12:57:16,765 - DEBUG - ====Verifying policy data for ctest-vn-69727463 in API_Server ======
2026-10-05 12:57:16,765 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-05 12:57:16,769 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c5cc6312-bf1c-48ed-8e93-fab234f39675
2026-10-05 12:57:16,777 - DEBUG - Requesting: http://10.0.0.50:8082/project/98ae1e0b-4ec9-4dab-b1e9-d0dedbdb30d7
2026-10-05 12:57:16,843 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba3f4194-325d-4f33-90b1-21dbccc948ca
2026-10-05 12:57:16,851 - DEBUG - ==>Verifying data for policy with id: 841afe03-0576-4772-9ff7-333c356886e7, fqn: ['default-domain', 'ctest-TestBasicPolicy-54222264', 'ctest-policy-allow-all-93259332']
2026-10-05 12:57:16,851 - INFO - VN ctest-vn-69727463 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-05 12:57:16,851 - DEBUG - Verifying the vn in opserver
2026-10-05 12:57:16,851 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-69727463 virtual network link through opserver 10.0.0.50
2026-10-05 12:57:16,851 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-10-05 12:57:16,859 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-69727463', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-69727463?flat'}
2026-10-05 12:57:16,859 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-69727463 is found in opserver
2026-10-05 12:57:16,868 - DEBUG - Do not have enough data to verify VN in agent
2026-10-05 12:57:16,872 - DEBUG - VRF ids for VN ctest-vn-69727463: {}
2026-10-05 12:57:16,920 - DEBUG - Services list from nova: [