2025-10-16 21:02:23,278 - INFO - Domain Default found not creating
2025-10-16 21:02:23,420 - INFO - Project ctest-TestBasicPolicy-85780970 not found, creating it
2025-10-16 21:02:23,856 - INFO - Created Project:ctest-TestBasicPolicy-85780970, ID : facedf18-0708-4e1a-9474-0e3c4d3287f4 
2025-10-16 21:02:25,249 - INFO - ================================================================================
2025-10-16 21:02:25,250 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-16 21:02:25,250 - 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
        
2025-10-16 21:02:25,504 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-10-16 21:02:25,504 - INFO - Initial checks done. Running the testcase now
2025-10-16 21:02:25,504 - INFO - 
2025-10-16 21:02:26,035 - DEBUG - Response for create_network : {'network': {'id': 'cf5fd030-a243-4306-b78f-f01a5fc093de', 'name': 'ctest-vn-39182493', 'tenant_id': 'facedf1807084e1a94740e3c4d3287f4', 'project_id': 'facedf1807084e1a94740e3c4d3287f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85780970', 'ctest-vn-39182493'], 'port_security_enabled': True, 'description': ''}}
2025-10-16 21:02:26,184 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0b4ac8f-c8af-4d7b-92c0-49f378b236f8', 'name': '', 'tenant_id': 'facedf1807084e1a94740e3c4d3287f4', 'network_id': 'cf5fd030-a243-4306-b78f-f01a5fc093de', 'ip_version': 4, 'cidr': '88.72.207.128/26', 'allocation_pools': [{'start': '88.72.207.130', 'end': '88.72.207.190'}], 'gateway_ip': '88.72.207.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.72.207.130', 'tags': [], 'project_id': 'facedf1807084e1a94740e3c4d3287f4'}}
2025-10-16 21:02:26,202 - INFO - Created VN ctest-vn-39182493
2025-10-16 21:02:26,254 - DEBUG - VN ctest-vn-39182493 UUID is cf5fd030-a243-4306-b78f-f01a5fc093de
2025-10-16 21:02:26,564 - DEBUG - Response for create_network : {'network': {'id': 'b5e6940b-fb65-4634-9cc6-31cd0f15868c', 'name': 'ctest-vn-38691351', 'tenant_id': 'facedf1807084e1a94740e3c4d3287f4', 'project_id': 'facedf1807084e1a94740e3c4d3287f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85780970', 'ctest-vn-38691351'], 'port_security_enabled': True, 'description': ''}}
2025-10-16 21:02:26,761 - DEBUG - Response for create_subnet : {'subnet': {'id': '339397f1-b79d-4395-91d5-ac43b797cc8c', 'name': '', 'tenant_id': 'facedf1807084e1a94740e3c4d3287f4', 'network_id': 'b5e6940b-fb65-4634-9cc6-31cd0f15868c', 'ip_version': 4, 'cidr': '67.81.40.64/26', 'allocation_pools': [{'start': '67.81.40.66', 'end': '67.81.40.126'}], 'gateway_ip': '67.81.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.81.40.66', 'tags': [], 'project_id': 'facedf1807084e1a94740e3c4d3287f4'}}
2025-10-16 21:02:26,777 - INFO - Created VN ctest-vn-38691351
2025-10-16 21:02:26,830 - DEBUG - VN ctest-vn-38691351 UUID is b5e6940b-fb65-4634-9cc6-31cd0f15868c
2025-10-16 21:02:26,978 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-39182493, 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-85780970:ctest-vn-38691351, 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]
2025-10-16 21:02:27,272 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf5fd030-a243-4306-b78f-f01a5fc093de', 'name': 'ctest-vn-39182493', 'tenant_id': 'facedf1807084e1a94740e3c4d3287f4', 'project_id': 'facedf1807084e1a94740e3c4d3287f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c0b4ac8f-c8af-4d7b-92c0-49f378b236f8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85780970', 'ctest-vn-39182493'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85780970', 'ctest-policy-allow-all-63484771']], 'subnet_ipam': [{'subnet_cidr': '88.72.207.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-16 21:02:27,507 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b5e6940b-fb65-4634-9cc6-31cd0f15868c', 'name': 'ctest-vn-38691351', 'tenant_id': 'facedf1807084e1a94740e3c4d3287f4', 'project_id': 'facedf1807084e1a94740e3c4d3287f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['339397f1-b79d-4395-91d5-ac43b797cc8c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85780970', 'ctest-vn-38691351'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85780970', 'ctest-policy-allow-all-63484771']], 'subnet_ipam': [{'subnet_cidr': '67.81.40.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-16 21:02:27,670 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-16 21:02:27,963 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-16 21:02:27,988 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f18e4429-229b-426d-bf71-acb6e554173d
2025-10-16 21:02:28,000 - DEBUG - Requesting: http://10.0.0.249:8082/project/facedf18-0708-4e1a-9474-0e3c4d3287f4
2025-10-16 21:02:28,068 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5fd030-a243-4306-b78f-f01a5fc093de
2025-10-16 21:02:28,077 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5fd030-a243-4306-b78f-f01a5fc093de
2025-10-16 21:02:28,086 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1de0bcc1-3962-4fd8-8571-0879455f9a8a
2025-10-16 21:02:28,093 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1de0bcc1-3962-4fd8-8571-0879455f9a8a
2025-10-16 21:02:28,099 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1ffb746f-62a8-483e-80d2-109933460fae
2025-10-16 21:02:28,106 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-16 21:02:28,106 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5fd030-a243-4306-b78f-f01a5fc093de
2025-10-16 21:02:28,115 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1de0bcc1-3962-4fd8-8571-0879455f9a8a
2025-10-16 21:02:28,129 - INFO - Verified VN network id 11 for VN cf5fd030-a243-4306-b78f-f01a5fc093de
2025-10-16 21:02:28,129 - INFO - Verifications in API Server for VN ctest-vn-39182493 passed
2025-10-16 21:02:28,129 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5fd030-a243-4306-b78f-f01a5fc093de
2025-10-16 21:02:28,137 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1de0bcc1-3962-4fd8-8571-0879455f9a8a
2025-10-16 21:02:28,143 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1de0bcc1-3962-4fd8-8571-0879455f9a8a
2025-10-16 21:02:28,149 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1ffb746f-62a8-483e-80d2-109933460fae
2025-10-16 21:02:28,160 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-39182493', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85780970', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14942890995937919750', 'uuid-lslong': '13227054626676708318'}, 'enable': 'true', 'created': '2025-10-16T21:02:26', 'last-modified': '2025-10-16T21:02:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.911529'}
2025-10-16 21:02:28,166 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-16 21:02:28,166 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39182493 passed
2025-10-16 21:02:28,166 - DEBUG - ====Verifying policy data for ctest-vn-39182493 in API_Server ======
2025-10-16 21:02:28,166 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-16 21:02:28,171 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f18e4429-229b-426d-bf71-acb6e554173d
2025-10-16 21:02:28,183 - DEBUG - Requesting: http://10.0.0.249:8082/project/facedf18-0708-4e1a-9474-0e3c4d3287f4
2025-10-16 21:02:28,252 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5fd030-a243-4306-b78f-f01a5fc093de
2025-10-16 21:02:28,260 - DEBUG - ==>Verifying data for policy with id: 47dc368a-0780-4031-aeaa-f5f13041c116, fqn: ['default-domain', 'ctest-TestBasicPolicy-85780970', 'ctest-policy-allow-all-63484771']
2025-10-16 21:02:28,260 - INFO - VN ctest-vn-39182493 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-16 21:02:28,260 - DEBUG - Verifying the vn in opserver
2025-10-16 21:02:28,260 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-39182493 virtual network link  through opserver 10.0.0.249
2025-10-16 21:02:28,260 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-16 21:02:28,561 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-16 21:02:28,614 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-39182493', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-39182493?flat'}
2025-10-16 21:02:28,614 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-39182493 is found in opserver
2025-10-16 21:02:28,623 - DEBUG - Do not have enough data to verify VN in agent
2025-10-16 21:02:28,627 - DEBUG - VRF ids for VN ctest-vn-39182493: {}
2025-10-16 21:02:28,627 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-16 21:02:28,632 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f18e4429-229b-426d-bf71-acb6e554173d
2025-10-16 21:02:28,643 - DEBUG - Requesting: http://10.0.0.249:8082/project/facedf18-0708-4e1a-9474-0e3c4d3287f4
2025-10-16 21:02:28,713 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b5e6940b-fb65-4634-9cc6-31cd0f15868c
2025-10-16 21:02:28,724 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b5e6940b-fb65-4634-9cc6-31cd0f15868c
2025-10-16 21:02:28,735 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e0b3e42d-1766-4e80-a5e7-5eba73066df3
2025-10-16 21:02:28,741 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e0b3e42d-1766-4e80-a5e7-5eba73066df3
2025-10-16 21:02:28,748 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/860feee8-bde9-41e4-9168-3121d0b8c7e0
2025-10-16 21:02:28,754 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-16 21:02:28,754 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b5e6940b-fb65-4634-9cc6-31cd0f15868c
2025-10-16 21:02:28,762 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e0b3e42d-1766-4e80-a5e7-5eba73066df3
2025-10-16 21:02:28,774 - INFO - Verified VN network id 12 for VN b5e6940b-fb65-4634-9cc6-31cd0f15868c
2025-10-16 21:02:28,774 - INFO - Verifications in API Server for VN ctest-vn-38691351 passed
2025-10-16 21:02:28,774 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b5e6940b-fb65-4634-9cc6-31cd0f15868c
2025-10-16 21:02:28,782 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e0b3e42d-1766-4e80-a5e7-5eba73066df3
2025-10-16 21:02:28,787 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e0b3e42d-1766-4e80-a5e7-5eba73066df3
2025-10-16 21:02:28,793 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/860feee8-bde9-41e4-9168-3121d0b8c7e0
2025-10-16 21:02:28,803 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-38691351', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85780970', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13107326544691676724', 'uuid-lslong': '11296771472096593548'}, 'enable': 'true', 'created': '2025-10-16T21:02:26', 'last-modified': '2025-10-16T21:02:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.321198'}
2025-10-16 21:02:28,807 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-16 21:02:28,807 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38691351 passed
2025-10-16 21:02:28,807 - DEBUG - ====Verifying policy data for ctest-vn-38691351 in API_Server ======
2025-10-16 21:02:28,807 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-16 21:02:28,813 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f18e4429-229b-426d-bf71-acb6e554173d
2025-10-16 21:02:28,822 - DEBUG - Requesting: http://10.0.0.249:8082/project/facedf18-0708-4e1a-9474-0e3c4d3287f4
2025-10-16 21:02:28,895 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b5e6940b-fb65-4634-9cc6-31cd0f15868c
2025-10-16 21:02:28,904 - DEBUG - ==>Verifying data for policy with id: 47dc368a-0780-4031-aeaa-f5f13041c116, fqn: ['default-domain', 'ctest-TestBasicPolicy-85780970', 'ctest-policy-allow-all-63484771']
2025-10-16 21:02:28,904 - INFO - VN ctest-vn-38691351 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-16 21:02:28,904 - DEBUG - Verifying the vn in opserver
2025-10-16 21:02:28,904 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-38691351 virtual network link  through opserver 10.0.0.249
2025-10-16 21:02:28,904 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-16 21:02:28,913 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-38691351', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-38691351?flat'}
2025-10-16 21:02:28,913 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-38691351 is found in opserver
2025-10-16 21:02:28,921 - DEBUG - Do not have enough data to verify VN in agent
2025-10-16 21:02:28,925 - DEBUG - VRF ids for VN ctest-vn-38691351: {}
2025-10-16 21:02:28,976 - DEBUG - Services list from nova: [