2026-05-27 15:55:16,723 - INFO - Domain Default found not creating
2026-05-27 15:55:16,905 - INFO - Project ctest-TestBasicPolicy-31324115 not found, creating it
2026-05-27 15:55:17,407 - INFO - Created Project:ctest-TestBasicPolicy-31324115, ID : d2c2f335-d17a-4c8c-b1af-365c3c8fc8c4
2026-05-27 15:55:18,944 - INFO - ================================================================================
2026-05-27 15:55:18,944 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-27 15:55:18,944 - 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-05-27 15:55:19,211 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2026-05-27 15:55:19,211 - INFO - Initial checks done. Running the testcase now
2026-05-27 15:55:19,211 - INFO -
2026-05-27 15:55:19,788 - DEBUG - Response for create_network : {'network': {'id': '678fd18c-8339-4142-ae03-15912f7aacba', 'name': 'ctest-vn-40567060', 'tenant_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'project_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31324115', 'ctest-vn-40567060'], 'port_security_enabled': True, 'description': ''}}
2026-05-27 15:55:20,029 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe5285a6-b6ae-4173-831f-b8b4e5b6f4b7', 'name': '', 'tenant_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'network_id': '678fd18c-8339-4142-ae03-15912f7aacba', 'ip_version': 4, 'cidr': '83.79.162.128/26', 'allocation_pools': [{'start': '83.79.162.130', 'end': '83.79.162.190'}], 'gateway_ip': '83.79.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.79.162.130', 'tags': [], 'project_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4'}}
2026-05-27 15:55:20,047 - INFO - Created VN ctest-vn-40567060
2026-05-27 15:55:20,100 - DEBUG - VN ctest-vn-40567060 UUID is 678fd18c-8339-4142-ae03-15912f7aacba
2026-05-27 15:55:20,425 - DEBUG - Response for create_network : {'network': {'id': 'e0794f17-9b1f-4b37-a5e3-c87cf58a9805', 'name': 'ctest-vn-96420643', 'tenant_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'project_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31324115', 'ctest-vn-96420643'], 'port_security_enabled': True, 'description': ''}}
2026-05-27 15:55:20,629 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f02656bd-ce80-4d07-9161-b5d4e6e5afee', 'name': '', 'tenant_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'network_id': 'e0794f17-9b1f-4b37-a5e3-c87cf58a9805', 'ip_version': 4, 'cidr': '190.142.178.128/26', 'allocation_pools': [{'start': '190.142.178.130', 'end': '190.142.178.190'}], 'gateway_ip': '190.142.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.142.178.130', 'tags': [], 'project_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4'}}
2026-05-27 15:55:20,648 - INFO - Created VN ctest-vn-96420643
2026-05-27 15:55:20,700 - DEBUG - VN ctest-vn-96420643 UUID is e0794f17-9b1f-4b37-a5e3-c87cf58a9805
2026-05-27 15:55:20,851 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-40567060, 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-31324115:ctest-vn-96420643, 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-05-27 15:55:21,145 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '678fd18c-8339-4142-ae03-15912f7aacba', 'name': 'ctest-vn-40567060', 'tenant_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'project_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fe5285a6-b6ae-4173-831f-b8b4e5b6f4b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31324115', 'ctest-vn-40567060'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31324115', 'ctest-policy-allow-all-72719891']], 'subnet_ipam': [{'subnet_cidr': '83.79.162.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-27 15:55:21,358 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e0794f17-9b1f-4b37-a5e3-c87cf58a9805', 'name': 'ctest-vn-96420643', 'tenant_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'project_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f02656bd-ce80-4d07-9161-b5d4e6e5afee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31324115', 'ctest-vn-96420643'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31324115', 'ctest-policy-allow-all-72719891']], 'subnet_ipam': [{'subnet_cidr': '190.142.178.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-27 15:55:21,532 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-27 15:55:21,824 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-27 15:55:21,855 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d76aa015-f3a2-4f40-bb4c-f9742661b0dd
2026-05-27 15:55:21,866 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2c2f335-d17a-4c8c-b1af-365c3c8fc8c4
2026-05-27 15:55:21,938 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/678fd18c-8339-4142-ae03-15912f7aacba
2026-05-27 15:55:21,948 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/678fd18c-8339-4142-ae03-15912f7aacba
2026-05-27 15:55:21,957 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/077cf936-19e9-4362-a15a-281936e9c22e
2026-05-27 15:55:21,964 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/077cf936-19e9-4362-a15a-281936e9c22e
2026-05-27 15:55:21,971 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/544871c3-0b25-4d26-9aa9-7e3b9b0df505
2026-05-27 15:55:21,978 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-27 15:55:21,978 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/678fd18c-8339-4142-ae03-15912f7aacba
2026-05-27 15:55:21,986 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/077cf936-19e9-4362-a15a-281936e9c22e
2026-05-27 15:55:21,999 - INFO - Verified VN network id 11 for VN 678fd18c-8339-4142-ae03-15912f7aacba
2026-05-27 15:55:21,999 - INFO - Verifications in API Server for VN ctest-vn-40567060 passed
2026-05-27 15:55:21,999 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/678fd18c-8339-4142-ae03-15912f7aacba
2026-05-27 15:55:22,007 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/077cf936-19e9-4362-a15a-281936e9c22e
2026-05-27 15:55:22,013 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/077cf936-19e9-4362-a15a-281936e9c22e
2026-05-27 15:55:22,021 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/544871c3-0b25-4d26-9aa9-7e3b9b0df505
2026-05-27 15:55:22,032 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-40567060', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31324115', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7462413509003395394', 'uuid-lslong': '12538889500840602810'}, 'enable': 'true', 'created': '2026-05-27T15:55:19', 'last-modified': '2026-05-27T15:55:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907935'}
2026-05-27 15:55:22,038 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-27 15:55:22,038 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40567060 passed
2026-05-27 15:55:22,038 - DEBUG - ====Verifying policy data for ctest-vn-40567060 in API_Server ======
2026-05-27 15:55:22,038 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-27 15:55:22,044 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d76aa015-f3a2-4f40-bb4c-f9742661b0dd
2026-05-27 15:55:22,054 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2c2f335-d17a-4c8c-b1af-365c3c8fc8c4
2026-05-27 15:55:22,127 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/678fd18c-8339-4142-ae03-15912f7aacba
2026-05-27 15:55:22,139 - DEBUG - ==>Verifying data for policy with id: 3a438506-3e7e-4536-9e89-499e372b4453, fqn: ['default-domain', 'ctest-TestBasicPolicy-31324115', 'ctest-policy-allow-all-72719891']
2026-05-27 15:55:22,139 - INFO - VN ctest-vn-40567060 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-27 15:55:22,139 - DEBUG - Verifying the vn in opserver
2026-05-27 15:55:22,139 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-40567060 virtual network link through opserver 10.0.0.19
2026-05-27 15:55:22,140 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-05-27 15:55:22,436 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-05-27 15:55:22,505 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-40567060', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-40567060?flat'}
2026-05-27 15:55:22,505 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-40567060 is found in opserver
2026-05-27 15:55:22,515 - DEBUG - Do not have enough data to verify VN in agent
2026-05-27 15:55:22,519 - DEBUG - VRF ids for VN ctest-vn-40567060: {}
2026-05-27 15:55:22,519 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-27 15:55:22,525 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d76aa015-f3a2-4f40-bb4c-f9742661b0dd
2026-05-27 15:55:22,535 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2c2f335-d17a-4c8c-b1af-365c3c8fc8c4
2026-05-27 15:55:22,606 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0794f17-9b1f-4b37-a5e3-c87cf58a9805
2026-05-27 15:55:22,619 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0794f17-9b1f-4b37-a5e3-c87cf58a9805
2026-05-27 15:55:22,628 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e5ee3789-b728-4830-99e4-c585f5745c63
2026-05-27 15:55:22,636 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e5ee3789-b728-4830-99e4-c585f5745c63
2026-05-27 15:55:22,644 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/4bf3e3a3-f575-4e4c-aab0-4e134ca05ea8
2026-05-27 15:55:22,650 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-27 15:55:22,650 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0794f17-9b1f-4b37-a5e3-c87cf58a9805
2026-05-27 15:55:22,658 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e5ee3789-b728-4830-99e4-c585f5745c63
2026-05-27 15:55:22,672 - INFO - Verified VN network id 12 for VN e0794f17-9b1f-4b37-a5e3-c87cf58a9805
2026-05-27 15:55:22,673 - INFO - Verifications in API Server for VN ctest-vn-96420643 passed
2026-05-27 15:55:22,673 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0794f17-9b1f-4b37-a5e3-c87cf58a9805
2026-05-27 15:55:22,681 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e5ee3789-b728-4830-99e4-c585f5745c63
2026-05-27 15:55:22,687 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e5ee3789-b728-4830-99e4-c585f5745c63
2026-05-27 15:55:22,694 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/4bf3e3a3-f575-4e4c-aab0-4e134ca05ea8
2026-05-27 15:55:22,706 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-96420643', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31324115', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16175046499483208503', 'uuid-lslong': '11953618274992429061'}, 'enable': 'true', 'created': '2026-05-27T15:55:20', 'last-modified': '2026-05-27T15:55:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.360809'}
2026-05-27 15:55:22,712 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-27 15:55:22,712 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96420643 passed
2026-05-27 15:55:22,712 - DEBUG - ====Verifying policy data for ctest-vn-96420643 in API_Server ======
2026-05-27 15:55:22,712 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-27 15:55:22,718 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d76aa015-f3a2-4f40-bb4c-f9742661b0dd
2026-05-27 15:55:22,728 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2c2f335-d17a-4c8c-b1af-365c3c8fc8c4
2026-05-27 15:55:22,798 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0794f17-9b1f-4b37-a5e3-c87cf58a9805
2026-05-27 15:55:22,806 - DEBUG - ==>Verifying data for policy with id: 3a438506-3e7e-4536-9e89-499e372b4453, fqn: ['default-domain', 'ctest-TestBasicPolicy-31324115', 'ctest-policy-allow-all-72719891']
2026-05-27 15:55:22,806 - INFO - VN ctest-vn-96420643 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-27 15:55:22,806 - DEBUG - Verifying the vn in opserver
2026-05-27 15:55:22,806 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-96420643 virtual network link through opserver 10.0.0.19
2026-05-27 15:55:22,807 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-05-27 15:55:22,815 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-96420643', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-96420643?flat'}
2026-05-27 15:55:22,815 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-96420643 is found in opserver
2026-05-27 15:55:22,825 - DEBUG - Do not have enough data to verify VN in agent
2026-05-27 15:55:22,830 - DEBUG - VRF ids for VN ctest-vn-96420643: {}
2026-05-27 15:55:22,888 - DEBUG - Services list from nova: [