2025-10-24 17:11:41,566 - INFO - Domain Default found not creating
2025-10-24 17:11:41,724 - INFO - Project ctest-TestBasicPolicy-77793566 not found, creating it
2025-10-24 17:11:42,205 - INFO - Created Project:ctest-TestBasicPolicy-77793566, ID : 4025d30a-7502-4407-92b8-7946bf351a6a 
2025-10-24 17:11:43,699 - INFO - ================================================================================
2025-10-24 17:11:43,700 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-24 17:11:43,700 - 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-24 17:11:43,971 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-10-24 17:11:43,971 - INFO - Initial checks done. Running the testcase now
2025-10-24 17:11:43,971 - INFO - 
2025-10-24 17:11:44,539 - DEBUG - Response for create_network : {'network': {'id': 'fca8a4f9-6712-4224-a4f6-5044fb1a7315', 'name': 'ctest-vn-66414173', 'tenant_id': '4025d30a7502440792b87946bf351a6a', 'project_id': '4025d30a7502440792b87946bf351a6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77793566', 'ctest-vn-66414173'], 'port_security_enabled': True, 'description': ''}}
2025-10-24 17:11:44,717 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6ea0c8f-d360-4595-b5a3-a3927c3f7780', 'name': '', 'tenant_id': '4025d30a7502440792b87946bf351a6a', 'network_id': 'fca8a4f9-6712-4224-a4f6-5044fb1a7315', 'ip_version': 4, 'cidr': '54.232.252.0/26', 'allocation_pools': [{'start': '54.232.252.2', 'end': '54.232.252.62'}], 'gateway_ip': '54.232.252.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.232.252.2', 'tags': [], 'project_id': '4025d30a7502440792b87946bf351a6a'}}
2025-10-24 17:11:44,736 - INFO - Created VN ctest-vn-66414173
2025-10-24 17:11:44,788 - DEBUG - VN ctest-vn-66414173 UUID is fca8a4f9-6712-4224-a4f6-5044fb1a7315
2025-10-24 17:11:45,081 - DEBUG - Response for create_network : {'network': {'id': 'a22ec944-bd9a-4491-b401-c1103ba8bf8a', 'name': 'ctest-vn-63717828', 'tenant_id': '4025d30a7502440792b87946bf351a6a', 'project_id': '4025d30a7502440792b87946bf351a6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77793566', 'ctest-vn-63717828'], 'port_security_enabled': True, 'description': ''}}
2025-10-24 17:11:45,287 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c38b2cc5-cc69-436c-af0b-edebb3c365fa', 'name': '', 'tenant_id': '4025d30a7502440792b87946bf351a6a', 'network_id': 'a22ec944-bd9a-4491-b401-c1103ba8bf8a', 'ip_version': 4, 'cidr': '122.34.38.128/26', 'allocation_pools': [{'start': '122.34.38.130', 'end': '122.34.38.190'}], 'gateway_ip': '122.34.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.34.38.130', 'tags': [], 'project_id': '4025d30a7502440792b87946bf351a6a'}}
2025-10-24 17:11:45,306 - INFO - Created VN ctest-vn-63717828
2025-10-24 17:11:45,360 - DEBUG - VN ctest-vn-63717828 UUID is a22ec944-bd9a-4491-b401-c1103ba8bf8a
2025-10-24 17:11:45,477 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-66414173, 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-77793566:ctest-vn-63717828, 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-24 17:11:45,781 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fca8a4f9-6712-4224-a4f6-5044fb1a7315', 'name': 'ctest-vn-66414173', 'tenant_id': '4025d30a7502440792b87946bf351a6a', 'project_id': '4025d30a7502440792b87946bf351a6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c6ea0c8f-d360-4595-b5a3-a3927c3f7780'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77793566', 'ctest-vn-66414173'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77793566', 'ctest-policy-allow-all-80961363']], 'subnet_ipam': [{'subnet_cidr': '54.232.252.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-24 17:11:46,066 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a22ec944-bd9a-4491-b401-c1103ba8bf8a', 'name': 'ctest-vn-63717828', 'tenant_id': '4025d30a7502440792b87946bf351a6a', 'project_id': '4025d30a7502440792b87946bf351a6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c38b2cc5-cc69-436c-af0b-edebb3c365fa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77793566', 'ctest-vn-63717828'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77793566', 'ctest-policy-allow-all-80961363']], 'subnet_ipam': [{'subnet_cidr': '122.34.38.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-24 17:11:46,216 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-24 17:11:46,528 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-24 17:11:46,559 - DEBUG - Requesting: http://10.0.0.249:8082/domain/772a02ec-55f7-4bf5-98a6-67943cfe9afd
2025-10-24 17:11:46,571 - DEBUG - Requesting: http://10.0.0.249:8082/project/4025d30a-7502-4407-92b8-7946bf351a6a
2025-10-24 17:11:46,647 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fca8a4f9-6712-4224-a4f6-5044fb1a7315
2025-10-24 17:11:46,658 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fca8a4f9-6712-4224-a4f6-5044fb1a7315
2025-10-24 17:11:46,667 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9d29a62c-1699-41f5-930f-8ad8caa23f42
2025-10-24 17:11:46,674 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9d29a62c-1699-41f5-930f-8ad8caa23f42
2025-10-24 17:11:46,682 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/44b4f0eb-ca87-415d-96c4-866ec9a09dee
2025-10-24 17:11:46,688 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-24 17:11:46,688 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fca8a4f9-6712-4224-a4f6-5044fb1a7315
2025-10-24 17:11:46,697 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9d29a62c-1699-41f5-930f-8ad8caa23f42
2025-10-24 17:11:46,712 - INFO - Verified VN network id 11 for VN fca8a4f9-6712-4224-a4f6-5044fb1a7315
2025-10-24 17:11:46,712 - INFO - Verifications in API Server for VN ctest-vn-66414173 passed
2025-10-24 17:11:46,713 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fca8a4f9-6712-4224-a4f6-5044fb1a7315
2025-10-24 17:11:46,722 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9d29a62c-1699-41f5-930f-8ad8caa23f42
2025-10-24 17:11:46,730 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9d29a62c-1699-41f5-930f-8ad8caa23f42
2025-10-24 17:11:46,736 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/44b4f0eb-ca87-415d-96c4-866ec9a09dee
2025-10-24 17:11:46,749 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-66414173', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77793566', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18205982884728291876', 'uuid-lslong': '11886776523691815701'}, 'enable': 'true', 'created': '2025-10-24T17:11:44', 'last-modified': '2025-10-24T17:11:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.990962'}
2025-10-24 17:11:46,755 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-24 17:11:46,755 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66414173 passed
2025-10-24 17:11:46,755 - DEBUG - ====Verifying policy data for ctest-vn-66414173 in API_Server ======
2025-10-24 17:11:46,755 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-24 17:11:46,761 - DEBUG - Requesting: http://10.0.0.249:8082/domain/772a02ec-55f7-4bf5-98a6-67943cfe9afd
2025-10-24 17:11:46,772 - DEBUG - Requesting: http://10.0.0.249:8082/project/4025d30a-7502-4407-92b8-7946bf351a6a
2025-10-24 17:11:46,844 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fca8a4f9-6712-4224-a4f6-5044fb1a7315
2025-10-24 17:11:46,852 - DEBUG - ==>Verifying data for policy with id: 92e02487-81ef-4570-9d65-4abe8f0b6b72, fqn: ['default-domain', 'ctest-TestBasicPolicy-77793566', 'ctest-policy-allow-all-80961363']
2025-10-24 17:11:46,853 - INFO - VN ctest-vn-66414173 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-24 17:11:46,853 - DEBUG - Verifying the vn in opserver
2025-10-24 17:11:46,853 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-66414173 virtual network link  through opserver 10.0.0.249
2025-10-24 17:11:46,853 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-24 17:11:47,146 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-24 17:11:47,207 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-66414173', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-66414173?flat'}
2025-10-24 17:11:47,207 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-66414173 is found in opserver
2025-10-24 17:11:47,220 - DEBUG - Do not have enough data to verify VN in agent
2025-10-24 17:11:47,225 - DEBUG - VRF ids for VN ctest-vn-66414173: {}
2025-10-24 17:11:47,225 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-24 17:11:47,231 - DEBUG - Requesting: http://10.0.0.249:8082/domain/772a02ec-55f7-4bf5-98a6-67943cfe9afd
2025-10-24 17:11:47,242 - DEBUG - Requesting: http://10.0.0.249:8082/project/4025d30a-7502-4407-92b8-7946bf351a6a
2025-10-24 17:11:47,317 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a22ec944-bd9a-4491-b401-c1103ba8bf8a
2025-10-24 17:11:47,329 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a22ec944-bd9a-4491-b401-c1103ba8bf8a
2025-10-24 17:11:47,339 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/47c0d16b-398b-484f-89c7-5615f76d9dc0
2025-10-24 17:11:47,347 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/47c0d16b-398b-484f-89c7-5615f76d9dc0
2025-10-24 17:11:47,355 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/64be1b6c-0380-41d1-8eb6-fcbb88863fee
2025-10-24 17:11:47,363 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-24 17:11:47,363 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a22ec944-bd9a-4491-b401-c1103ba8bf8a
2025-10-24 17:11:47,373 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/47c0d16b-398b-484f-89c7-5615f76d9dc0
2025-10-24 17:11:47,389 - INFO - Verified VN network id 12 for VN a22ec944-bd9a-4491-b401-c1103ba8bf8a
2025-10-24 17:11:47,390 - INFO - Verifications in API Server for VN ctest-vn-63717828 passed
2025-10-24 17:11:47,390 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a22ec944-bd9a-4491-b401-c1103ba8bf8a
2025-10-24 17:11:47,399 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/47c0d16b-398b-484f-89c7-5615f76d9dc0
2025-10-24 17:11:47,406 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/47c0d16b-398b-484f-89c7-5615f76d9dc0
2025-10-24 17:11:47,413 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/64be1b6c-0380-41d1-8eb6-fcbb88863fee
2025-10-24 17:11:47,426 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-63717828', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77793566', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11686499380148978833', 'uuid-lslong': '12970860677268291466'}, 'enable': 'true', 'created': '2025-10-24T17:11:45', 'last-modified': '2025-10-24T17:11:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.426958'}
2025-10-24 17:11:47,433 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-24 17:11:47,433 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63717828 passed
2025-10-24 17:11:47,433 - DEBUG - ====Verifying policy data for ctest-vn-63717828 in API_Server ======
2025-10-24 17:11:47,433 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-24 17:11:47,439 - DEBUG - Requesting: http://10.0.0.249:8082/domain/772a02ec-55f7-4bf5-98a6-67943cfe9afd
2025-10-24 17:11:47,450 - DEBUG - Requesting: http://10.0.0.249:8082/project/4025d30a-7502-4407-92b8-7946bf351a6a
2025-10-24 17:11:47,522 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a22ec944-bd9a-4491-b401-c1103ba8bf8a
2025-10-24 17:11:47,531 - DEBUG - ==>Verifying data for policy with id: 92e02487-81ef-4570-9d65-4abe8f0b6b72, fqn: ['default-domain', 'ctest-TestBasicPolicy-77793566', 'ctest-policy-allow-all-80961363']
2025-10-24 17:11:47,531 - INFO - VN ctest-vn-63717828 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-24 17:11:47,531 - DEBUG - Verifying the vn in opserver
2025-10-24 17:11:47,532 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-63717828 virtual network link  through opserver 10.0.0.249
2025-10-24 17:11:47,532 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-24 17:11:47,542 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-63717828', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-63717828?flat'}
2025-10-24 17:11:47,542 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-63717828 is found in opserver
2025-10-24 17:11:47,552 - DEBUG - Do not have enough data to verify VN in agent
2025-10-24 17:11:47,556 - DEBUG - VRF ids for VN ctest-vn-63717828: {}
2025-10-24 17:11:47,616 - DEBUG - Services list from nova: [