2026-06-18 02:29:52,258 - INFO - Domain Default found not creating 2026-06-18 02:29:52,457 - INFO - Project ctest-TestBasicPolicy-41399207 not found, creating it 2026-06-18 02:29:53,037 - INFO - Created Project:ctest-TestBasicPolicy-41399207, ID : 8fa1265b-ff89-42fd-a1bb-ca1a9054dc41 2026-06-18 02:29:54,627 - INFO - ================================================================================ 2026-06-18 02:29:54,628 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-18 02:29:54,628 - 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-06-18 02:29:55,896 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0', '10.20.0.129': '0'}, '10.0.0.240': {'10.20.0.193': '0', '10.20.0.129': '0'}} with 2026-06-18 02:29:55,896 - INFO - Initial checks done. Running the testcase now 2026-06-18 02:29:55,896 - INFO - 2026-06-18 02:29:56,564 - DEBUG - Response for create_network : {'network': {'id': 'ed73b991-eed9-418f-b6eb-e6675bbf9c28', 'name': 'ctest-vn-90981124', 'tenant_id': '8fa1265bff8942fda1bbca1a9054dc41', 'project_id': '8fa1265bff8942fda1bbca1a9054dc41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41399207', 'ctest-vn-90981124'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 02:29:56,790 - DEBUG - Response for create_subnet : {'subnet': {'id': '3581fe40-c32b-40e9-8faf-1e9265091c84', 'name': '', 'tenant_id': '8fa1265bff8942fda1bbca1a9054dc41', 'network_id': 'ed73b991-eed9-418f-b6eb-e6675bbf9c28', 'ip_version': 4, 'cidr': '86.43.27.64/26', 'allocation_pools': [{'start': '86.43.27.66', 'end': '86.43.27.126'}], 'gateway_ip': '86.43.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.43.27.66', 'tags': [], 'project_id': '8fa1265bff8942fda1bbca1a9054dc41'}} 2026-06-18 02:29:56,811 - INFO - Created VN ctest-vn-90981124 2026-06-18 02:29:56,822 - DEBUG - VN ctest-vn-90981124 UUID is ed73b991-eed9-418f-b6eb-e6675bbf9c28 2026-06-18 02:29:57,160 - DEBUG - Response for create_network : {'network': {'id': '3bf259fe-c6a7-4dad-af64-f8b975a897a7', 'name': 'ctest-vn-96191876', 'tenant_id': '8fa1265bff8942fda1bbca1a9054dc41', 'project_id': '8fa1265bff8942fda1bbca1a9054dc41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41399207', 'ctest-vn-96191876'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 02:29:57,376 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ac063d3-7ab6-4a8a-af5e-c86fa44e1069', 'name': '', 'tenant_id': '8fa1265bff8942fda1bbca1a9054dc41', 'network_id': '3bf259fe-c6a7-4dad-af64-f8b975a897a7', 'ip_version': 4, 'cidr': '63.62.173.0/26', 'allocation_pools': [{'start': '63.62.173.2', 'end': '63.62.173.62'}], 'gateway_ip': '63.62.173.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.62.173.2', 'tags': [], 'project_id': '8fa1265bff8942fda1bbca1a9054dc41'}} 2026-06-18 02:29:57,399 - INFO - Created VN ctest-vn-96191876 2026-06-18 02:29:57,412 - DEBUG - VN ctest-vn-96191876 UUID is 3bf259fe-c6a7-4dad-af64-f8b975a897a7 2026-06-18 02:29:57,512 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124, 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-41399207:ctest-vn-96191876, 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-06-18 02:29:57,833 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ed73b991-eed9-418f-b6eb-e6675bbf9c28', 'name': 'ctest-vn-90981124', 'tenant_id': '8fa1265bff8942fda1bbca1a9054dc41', 'project_id': '8fa1265bff8942fda1bbca1a9054dc41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3581fe40-c32b-40e9-8faf-1e9265091c84'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41399207', 'ctest-vn-90981124'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41399207', 'ctest-policy-allow-all-98716220']], 'subnet_ipam': [{'subnet_cidr': '86.43.27.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 02:29:58,045 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3bf259fe-c6a7-4dad-af64-f8b975a897a7', 'name': 'ctest-vn-96191876', 'tenant_id': '8fa1265bff8942fda1bbca1a9054dc41', 'project_id': '8fa1265bff8942fda1bbca1a9054dc41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4ac063d3-7ab6-4a8a-af5e-c86fa44e1069'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41399207', 'ctest-vn-96191876'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41399207', 'ctest-policy-allow-all-98716220']], 'subnet_ipam': [{'subnet_cidr': '63.62.173.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 02:29:58,175 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-06-18 02:29:58,506 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-06-18 02:29:58,550 - DEBUG - Requesting: http://10.0.0.27:8082/domain/112b4fa0-b7c4-429e-b96c-45fc5d86f423 2026-06-18 02:29:58,571 - DEBUG - Requesting: http://10.0.0.27:8082/project/8fa1265b-ff89-42fd-a1bb-ca1a9054dc41 2026-06-18 02:29:58,677 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ed73b991-eed9-418f-b6eb-e6675bbf9c28 2026-06-18 02:29:58,710 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ed73b991-eed9-418f-b6eb-e6675bbf9c28 2026-06-18 02:29:58,722 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/48b8cf11-b64a-4568-b31a-5aa41ab48ca5 2026-06-18 02:29:58,743 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/48b8cf11-b64a-4568-b31a-5aa41ab48ca5 2026-06-18 02:29:58,755 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/9f8df847-48d6-446c-8f02-4f6d746103f9 2026-06-18 02:29:58,767 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 02:29:58,767 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ed73b991-eed9-418f-b6eb-e6675bbf9c28 2026-06-18 02:29:58,775 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/48b8cf11-b64a-4568-b31a-5aa41ab48ca5 2026-06-18 02:29:58,790 - INFO - Verified VN network id 13 for VN ed73b991-eed9-418f-b6eb-e6675bbf9c28 2026-06-18 02:29:58,791 - INFO - Verifications in API Server for VN ctest-vn-90981124 passed 2026-06-18 02:29:58,791 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ed73b991-eed9-418f-b6eb-e6675bbf9c28 2026-06-18 02:29:58,800 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/48b8cf11-b64a-4568-b31a-5aa41ab48ca5 2026-06-18 02:29:58,810 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/48b8cf11-b64a-4568-b31a-5aa41ab48ca5 2026-06-18 02:29:58,819 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/9f8df847-48d6-446c-8f02-4f6d746103f9 2026-06-18 02:29:58,836 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41399207', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17110223445739258255', 'uuid-lslong': '13180882066025192488'}, 'enable': 'true', 'created': '2026-06-18T02:29:56', 'last-modified': '2026-06-18T02:29:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.057251'} 2026-06-18 02:29:58,862 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 02:29:58,872 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41399207', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17110223445739258255', 'uuid-lslong': '13180882066025192488'}, 'enable': 'true', 'created': '2026-06-18T02:29:56', 'last-modified': '2026-06-18T02:29:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.092500'} 2026-06-18 02:29:58,878 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 02:29:58,891 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41399207', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17110223445739258255', 'uuid-lslong': '13180882066025192488'}, 'enable': 'true', 'created': '2026-06-18T02:29:56', 'last-modified': '2026-06-18T02:29:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.115323'} 2026-06-18 02:29:58,899 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 02:29:58,899 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90981124 passed 2026-06-18 02:29:58,900 - DEBUG - ====Verifying policy data for ctest-vn-90981124 in API_Server ====== 2026-06-18 02:29:58,900 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-06-18 02:29:58,911 - DEBUG - Requesting: http://10.0.0.27:8082/domain/112b4fa0-b7c4-429e-b96c-45fc5d86f423 2026-06-18 02:29:58,940 - DEBUG - Requesting: http://10.0.0.27:8082/project/8fa1265b-ff89-42fd-a1bb-ca1a9054dc41 2026-06-18 02:29:59,036 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ed73b991-eed9-418f-b6eb-e6675bbf9c28 2026-06-18 02:29:59,053 - DEBUG - ==>Verifying data for policy with id: c99c6be1-fb16-4016-8199-cabafe56df4a, fqn: ['default-domain', 'ctest-TestBasicPolicy-41399207', 'ctest-policy-allow-all-98716220'] 2026-06-18 02:29:59,053 - INFO - VN ctest-vn-90981124 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 02:29:59,053 - DEBUG - Verifying the vn in opserver 2026-06-18 02:29:59,053 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124 virtual network link through opserver 10.0.0.27 2026-06-18 02:29:59,053 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-06-18 02:29:59,551 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-06-18 02:29:59,617 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124?flat'} 2026-06-18 02:29:59,617 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124 virtual network link through opserver 10.0.0.33 2026-06-18 02:29:59,617 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-18 02:29:59,961 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-18 02:30:00,028 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124?flat'} 2026-06-18 02:30:00,028 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124 virtual network link through opserver 10.0.0.23 2026-06-18 02:30:00,028 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-06-18 02:30:00,381 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-06-18 02:30:00,442 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124?flat'} 2026-06-18 02:30:00,442 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124 is found in opserver 2026-06-18 02:30:00,465 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 02:30:00,476 - DEBUG - VRF ids for VN ctest-vn-90981124: {} 2026-06-18 02:30:00,476 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-06-18 02:30:00,489 - DEBUG - Requesting: http://10.0.0.27:8082/domain/112b4fa0-b7c4-429e-b96c-45fc5d86f423 2026-06-18 02:30:00,510 - DEBUG - Requesting: http://10.0.0.27:8082/project/8fa1265b-ff89-42fd-a1bb-ca1a9054dc41 2026-06-18 02:30:00,608 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/3bf259fe-c6a7-4dad-af64-f8b975a897a7 2026-06-18 02:30:00,624 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/3bf259fe-c6a7-4dad-af64-f8b975a897a7 2026-06-18 02:30:00,635 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f3c36cf6-2f9a-40d4-bf09-1b0b435036de 2026-06-18 02:30:00,645 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f3c36cf6-2f9a-40d4-bf09-1b0b435036de 2026-06-18 02:30:00,659 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/bbb6c775-542c-4edb-8f16-63e8c36af418 2026-06-18 02:30:00,668 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-18 02:30:00,668 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/3bf259fe-c6a7-4dad-af64-f8b975a897a7 2026-06-18 02:30:00,682 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f3c36cf6-2f9a-40d4-bf09-1b0b435036de 2026-06-18 02:30:00,704 - INFO - Verified VN network id 14 for VN 3bf259fe-c6a7-4dad-af64-f8b975a897a7 2026-06-18 02:30:00,704 - INFO - Verifications in API Server for VN ctest-vn-96191876 passed 2026-06-18 02:30:00,704 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/3bf259fe-c6a7-4dad-af64-f8b975a897a7 2026-06-18 02:30:00,716 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f3c36cf6-2f9a-40d4-bf09-1b0b435036de 2026-06-18 02:30:00,725 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f3c36cf6-2f9a-40d4-bf09-1b0b435036de 2026-06-18 02:30:00,735 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/bbb6c775-542c-4edb-8f16-63e8c36af418 2026-06-18 02:30:00,753 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-96191876', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41399207', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4319613943391145389', 'uuid-lslong': '12638499929735075751'}, 'enable': 'true', 'created': '2026-06-18T02:29:57', 'last-modified': '2026-06-18T02:29:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.754226'} 2026-06-18 02:30:00,760 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-18 02:30:00,766 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-96191876', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41399207', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4319613943391145389', 'uuid-lslong': '12638499929735075751'}, 'enable': 'true', 'created': '2026-06-18T02:29:57', 'last-modified': '2026-06-18T02:29:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.771932'} 2026-06-18 02:30:00,772 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-18 02:30:00,779 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-96191876', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41399207', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4319613943391145389', 'uuid-lslong': '12638499929735075751'}, 'enable': 'true', 'created': '2026-06-18T02:29:57', 'last-modified': '2026-06-18T02:29:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.784401'} 2026-06-18 02:30:00,786 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-18 02:30:00,786 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96191876 passed 2026-06-18 02:30:00,787 - DEBUG - ====Verifying policy data for ctest-vn-96191876 in API_Server ====== 2026-06-18 02:30:00,787 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-06-18 02:30:00,794 - DEBUG - Requesting: http://10.0.0.27:8082/domain/112b4fa0-b7c4-429e-b96c-45fc5d86f423 2026-06-18 02:30:00,806 - DEBUG - Requesting: http://10.0.0.27:8082/project/8fa1265b-ff89-42fd-a1bb-ca1a9054dc41 2026-06-18 02:30:00,907 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/3bf259fe-c6a7-4dad-af64-f8b975a897a7 2026-06-18 02:30:00,928 - DEBUG - ==>Verifying data for policy with id: c99c6be1-fb16-4016-8199-cabafe56df4a, fqn: ['default-domain', 'ctest-TestBasicPolicy-41399207', 'ctest-policy-allow-all-98716220'] 2026-06-18 02:30:00,928 - INFO - VN ctest-vn-96191876 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 02:30:00,928 - DEBUG - Verifying the vn in opserver 2026-06-18 02:30:00,928 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-96191876 virtual network link through opserver 10.0.0.27 2026-06-18 02:30:00,928 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-06-18 02:30:00,991 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-96191876', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-96191876?flat'} 2026-06-18 02:30:00,991 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-96191876 virtual network link through opserver 10.0.0.33 2026-06-18 02:30:00,991 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-18 02:30:01,051 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-96191876', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-96191876?flat'} 2026-06-18 02:30:01,051 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-96191876 virtual network link through opserver 10.0.0.23 2026-06-18 02:30:01,051 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-06-18 02:30:01,110 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-96191876', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-96191876?flat'} 2026-06-18 02:30:01,110 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-96191876 is found in opserver 2026-06-18 02:30:01,137 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 02:30:01,153 - DEBUG - VRF ids for VN ctest-vn-96191876: {} 2026-06-18 02:30:01,234 - DEBUG - Services list from nova: [, , , ] 2026-06-18 02:30:02,436 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5973-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5973-2) 2026-06-18 02:30:03,641 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5973-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5973-1) 2026-06-18 02:30:03,643 - INFO - Waiting for VM ctest-TestBasicPolicy-41399207-70989286 to be up.. 2026-06-18 02:30:03,697 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 02:30:08,780 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 02:30:13,880 - DEBUG - VM is in ACTIVE state now 2026-06-18 02:30:13,880 - INFO - VM name : ctest-TestBasicPolicy-41399207-70989286 2026-06-18 02:30:13,959 - DEBUG - VM ctest-TestBasicPolicy-41399207-70989286 ID is 22afda88-a17c-459e-8a0a-2ee05d29c409 2026-06-18 02:30:13,984 - DEBUG - VM ctest-TestBasicPolicy-41399207-70989286 launched on Node an-jenkins-deploy-platform-ansible-os-5973-2 2026-06-18 02:30:14,063 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/22afda88-a17c-459e-8a0a-2ee05d29c409 2026-06-18 02:30:14,400 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/22afda88-a17c-459e-8a0a-2ee05d29c409 2026-06-18 02:30:14,449 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/4320dc2c-c3df-4e5a-ad55-aab005d93431 2026-06-18 02:30:17,623 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms') 2026-06-18 02:30:17,623 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41399207-70989286 failed! 2026-06-18 02:30:17,636 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124 is 86.43.27.65 and allocation pool is NOT set 2026-06-18 02:30:21,716 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2026-06-18 02:30:21,716 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41399207-70989286 failed! 2026-06-18 02:30:21,729 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124 is 86.43.27.65 and allocation pool is NOT set 2026-06-18 02:30:25,807 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-06-18 02:30:25,807 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41399207-70989286 failed! 2026-06-18 02:30:25,820 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124 is 86.43.27.65 and allocation pool is NOT set 2026-06-18 02:30:29,909 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms') 2026-06-18 02:30:29,909 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41399207-70989286 failed! 2026-06-18 02:30:29,925 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124 is 86.43.27.65 and allocation pool is NOT set 2026-06-18 02:30:34,000 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2026-06-18 02:30:34,000 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41399207-70989286 failed! 2026-06-18 02:30:34,015 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124 is 86.43.27.65 and allocation pool is NOT set 2026-06-18 02:30:38,098 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2026-06-18 02:30:38,098 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41399207-70989286 failed! 2026-06-18 02:30:38,112 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124 is 86.43.27.65 and allocation pool is NOT set 2026-06-18 02:30:42,200 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms') 2026-06-18 02:30:42,200 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41399207-70989286 failed! 2026-06-18 02:30:42,214 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41399207:ctest-vn-90981124 is 86.43.27.65 and allocation pool is NOT set 2026-06-18 02:30:44,276 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=6.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.29 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.294/4.110/6.926/2.816 ms') 2026-06-18 02:30:44,276 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41399207-70989286 passed 2026-06-18 02:30:44,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 02:30:44,349 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41399207-70989286, IP 86.43.27.67, Port 22 2026-06-18 02:30:44,416 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-18 02:30:44,544 - DEBUG - VM ctest-TestBasicPolicy-41399207-70989286 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-18 02:30:49,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 02:30:49,545 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41399207-70989286, IP 86.43.27.67, Port 22 2026-06-18 02:30:49,613 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-18 02:30:49,701 - DEBUG - VM ctest-TestBasicPolicy-41399207-70989286 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-18 02:30:54,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 02:30:54,702 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41399207-70989286, IP 86.43.27.67, Port 22 2026-06-18 02:30:54,768 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-18 02:30:54,857 - DEBUG - VM ctest-TestBasicPolicy-41399207-70989286 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-18 02:30:59,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 02:30:59,860 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41399207-70989286, IP 86.43.27.67, Port 22 2026-06-18 02:31:00,037 - DEBUG - VM ctest-TestBasicPolicy-41399207-70989286 is ready for SSH connections 2026-06-18 02:31:00,037 - INFO - Waiting for VM ctest-TestBasicPolicy-41399207-15457717 to be up.. 2026-06-18 02:31:00,128 - DEBUG - VM is in ACTIVE state now 2026-06-18 02:31:00,128 - INFO - VM name : ctest-TestBasicPolicy-41399207-15457717 2026-06-18 02:31:00,213 - DEBUG - VM ctest-TestBasicPolicy-41399207-15457717 ID is 4d26270f-df85-4539-9ba9-2f4f5ddb6818 2026-06-18 02:31:00,214 - DEBUG - VM ctest-TestBasicPolicy-41399207-15457717 launched on Node an-jenkins-deploy-platform-ansible-os-5973-1 2026-06-18 02:31:00,301 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/4d26270f-df85-4539-9ba9-2f4f5ddb6818 2026-06-18 02:31:00,311 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/4b010876-6f90-4e96-acb5-dfb95c6818a6 2026-06-18 02:31:01,465 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.415 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.415/1.395/2.375/0.980 ms') 2026-06-18 02:31:01,465 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41399207-15457717 passed 2026-06-18 02:31:01,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 02:31:01,533 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41399207-15457717, IP 63.62.173.3, Port 22 2026-06-18 02:31:01,693 - DEBUG - VM ctest-TestBasicPolicy-41399207-15457717 is ready for SSH connections 2026-06-18 02:31:01,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 02:31:01,693 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.62.173.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-06-18 02:31:01,693 - DEBUG - ping -s 56 -c 3 -W 1 63.62.173.3 2026-06-18 02:31:12,019 - DEBUG - PING 63.62.173.3 (63.62.173.3) 56(84) bytes of data. 64 bytes from 63.62.173.3: icmp_req=1 ttl=63 time=8.53 ms 64 bytes from 63.62.173.3: icmp_req=2 ttl=63 time=1.12 ms 64 bytes from 63.62.173.3: icmp_req=3 ttl=63 time=0.923 ms --- 63.62.173.3 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.923/3.526/8.534/3.542 ms 2026-06-18 02:31:12,019 - INFO - Ping to IP 63.62.173.3 from VM ctest-TestBasicPolicy-41399207-70989286 passed 2026-06-18 02:31:12,236 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c99c6be1-fb16-4016-8199-cabafe56df4a", "href": "http://10.0.0.23:8082/network-policy/c99c6be1-fb16-4016-8199-cabafe56df4a"}} 2026-06-18 02:31:12,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 02:31:12,236 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.62.173.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-06-18 02:31:12,236 - DEBUG - ping -s 56 -c 3 -W 1 63.62.173.3 2026-06-18 02:31:15,607 - DEBUG - PING 63.62.173.3 (63.62.173.3) 56(84) bytes of data. 64 bytes from 63.62.173.3: icmp_req=1 ttl=63 time=2.85 ms --- 63.62.173.3 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2011ms rtt min/avg/max/mdev = 2.856/2.856/2.856/0.000 ms 2026-06-18 02:31:15,607 - WARNING - Ping to IP 63.62.173.3 from VM ctest-TestBasicPolicy-41399207-70989286 failed 2026-06-18 02:31:15,608 - INFO - Deleting VM ctest-TestBasicPolicy-41399207-15457717 2026-06-18 02:31:15,678 - INFO - Deleting VM ctest-TestBasicPolicy-41399207-70989286 2026-06-18 02:31:16,082 - INFO - Deleted policy ctest-policy-allow-all-98716220 2026-06-18 02:31:16,082 - INFO - Deleting VN ctest-vn-96191876 2026-06-18 02:31:16,125 - DEBUG - VN 3bf259fe-c6a7-4dad-af64-f8b975a897a7 still in use: Unable to complete operation on network 3bf259fe-c6a7-4dad-af64-f8b975a897a7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0c37a366-71bc-4351-bed0-0ee0813f1129'] 2026-06-18 02:31:16,126 - WARNING - Deleting VN ctest-vn-96191876 failed..Will retry 2026-06-18 02:31:18,295 - DEBUG - Response for deleting network () 2026-06-18 02:31:18,295 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f3c36cf6-2f9a-40d4-bf09-1b0b435036de 2026-06-18 02:31:18,305 - DEBUG - Response Code: 404 2026-06-18 02:31:18,305 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-06-18 02:31:18,314 - DEBUG - Requesting: http://10.0.0.27:8082/domain/112b4fa0-b7c4-429e-b96c-45fc5d86f423 2026-06-18 02:31:18,334 - DEBUG - Requesting: http://10.0.0.27:8082/project/8fa1265b-ff89-42fd-a1bb-ca1a9054dc41 2026-06-18 02:31:18,426 - INFO - Validated that VN ctest-vn-96191876 is not found in API Server 2026-06-18 02:31:18,444 - DEBUG - VN ctest-vn-96191876 is not present in Agent 10.0.0.130 2026-06-18 02:31:18,457 - DEBUG - VN ctest-vn-96191876 is not present in Agent 10.0.0.240 2026-06-18 02:31:18,457 - INFO - Validated that VN ctest-vn-96191876 is not in any agent 2026-06-18 02:31:18,494 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96191876 info 2026-06-18 02:31:18,494 - INFO - Deleting VN ctest-vn-90981124 2026-06-18 02:31:18,663 - DEBUG - Response for deleting network () 2026-06-18 02:31:18,663 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/48b8cf11-b64a-4568-b31a-5aa41ab48ca5 2026-06-18 02:31:18,672 - DEBUG - Response Code: 404 2026-06-18 02:31:18,672 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-06-18 02:31:18,689 - DEBUG - Requesting: http://10.0.0.27:8082/domain/112b4fa0-b7c4-429e-b96c-45fc5d86f423 2026-06-18 02:31:18,743 - DEBUG - Requesting: http://10.0.0.27:8082/project/8fa1265b-ff89-42fd-a1bb-ca1a9054dc41 2026-06-18 02:31:18,854 - INFO - Validated that VN ctest-vn-90981124 is not found in API Server 2026-06-18 02:31:18,875 - DEBUG - VN ctest-vn-90981124 is not present in Agent 10.0.0.130 2026-06-18 02:31:18,886 - DEBUG - VN ctest-vn-90981124 is not present in Agent 10.0.0.240 2026-06-18 02:31:18,886 - INFO - Validated that VN ctest-vn-90981124 is not in any agent 2026-06-18 02:31:18,916 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90981124 info 2026-06-18 02:31:20,188 - DEBUG - No XMPP flaps were noticed during the test
2026-06-18 02:31:20,188 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:26]
2026-06-18 02:31:20,188 - INFO - -------------------------------------------------------------------------------- 2026-06-18 02:31:20,934 - INFO - Deleted project: ctest-TestBasicPolicy-41399207, ID : 8fa1265b-ff89-42fd-a1bb-ca1a9054dc41