2026-01-23 13:11:22,924 - INFO - Domain Default found not creating 2026-01-23 13:11:23,083 - INFO - Project ctest-TestBasicPolicy-03291382 not found, creating it 2026-01-23 13:11:23,524 - INFO - Created Project:ctest-TestBasicPolicy-03291382, ID : f51ce455-78a6-429d-b06a-2aa77d533760 2026-01-23 13:11:24,968 - INFO - ================================================================================ 2026-01-23 13:11:24,968 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-23 13:11:24,969 - 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-01-23 13:11:25,229 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-01-23 13:11:25,229 - INFO - Initial checks done. Running the testcase now 2026-01-23 13:11:25,229 - INFO - 2026-01-23 13:11:25,772 - DEBUG - Response for create_network : {'network': {'id': 'bed598ba-deec-41ef-ad46-25cb078ddb33', 'name': 'ctest-vn-57968062', 'tenant_id': 'f51ce45578a6429db06a2aa77d533760', 'project_id': 'f51ce45578a6429db06a2aa77d533760', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03291382', 'ctest-vn-57968062'], 'port_security_enabled': True, 'description': ''}} 2026-01-23 13:11:25,940 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf52e9d9-3678-4e5b-9438-b1b55ffdb797', 'name': '', 'tenant_id': 'f51ce45578a6429db06a2aa77d533760', 'network_id': 'bed598ba-deec-41ef-ad46-25cb078ddb33', 'ip_version': 4, 'cidr': '218.25.106.128/26', 'allocation_pools': [{'start': '218.25.106.130', 'end': '218.25.106.190'}], 'gateway_ip': '218.25.106.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.25.106.130', 'tags': [], 'project_id': 'f51ce45578a6429db06a2aa77d533760'}} 2026-01-23 13:11:25,958 - INFO - Created VN ctest-vn-57968062 2026-01-23 13:11:26,011 - DEBUG - VN ctest-vn-57968062 UUID is bed598ba-deec-41ef-ad46-25cb078ddb33 2026-01-23 13:11:26,324 - DEBUG - Response for create_network : {'network': {'id': '0282307c-d33d-49ab-a670-b1de26a661d4', 'name': 'ctest-vn-70800340', 'tenant_id': 'f51ce45578a6429db06a2aa77d533760', 'project_id': 'f51ce45578a6429db06a2aa77d533760', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03291382', 'ctest-vn-70800340'], 'port_security_enabled': True, 'description': ''}} 2026-01-23 13:11:26,529 - DEBUG - Response for create_subnet : {'subnet': {'id': '922e2862-e96e-494d-9835-07395af816b5', 'name': '', 'tenant_id': 'f51ce45578a6429db06a2aa77d533760', 'network_id': '0282307c-d33d-49ab-a670-b1de26a661d4', 'ip_version': 4, 'cidr': '65.98.200.64/26', 'allocation_pools': [{'start': '65.98.200.66', 'end': '65.98.200.126'}], 'gateway_ip': '65.98.200.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.98.200.66', 'tags': [], 'project_id': 'f51ce45578a6429db06a2aa77d533760'}} 2026-01-23 13:11:26,544 - INFO - Created VN ctest-vn-70800340 2026-01-23 13:11:26,595 - DEBUG - VN ctest-vn-70800340 UUID is 0282307c-d33d-49ab-a670-b1de26a661d4 2026-01-23 13:11:26,739 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03291382:ctest-vn-57968062, 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-03291382:ctest-vn-70800340, 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-01-23 13:11:27,031 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bed598ba-deec-41ef-ad46-25cb078ddb33', 'name': 'ctest-vn-57968062', 'tenant_id': 'f51ce45578a6429db06a2aa77d533760', 'project_id': 'f51ce45578a6429db06a2aa77d533760', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cf52e9d9-3678-4e5b-9438-b1b55ffdb797'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03291382', 'ctest-vn-57968062'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03291382', 'ctest-policy-allow-all-87503968']], 'subnet_ipam': [{'subnet_cidr': '218.25.106.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-23 13:11:27,258 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0282307c-d33d-49ab-a670-b1de26a661d4', 'name': 'ctest-vn-70800340', 'tenant_id': 'f51ce45578a6429db06a2aa77d533760', 'project_id': 'f51ce45578a6429db06a2aa77d533760', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['922e2862-e96e-494d-9835-07395af816b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03291382', 'ctest-vn-70800340'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03291382', 'ctest-policy-allow-all-87503968']], 'subnet_ipam': [{'subnet_cidr': '65.98.200.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-23 13:11:27,411 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-23 13:11:27,728 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-23 13:11:27,766 - DEBUG - Requesting: http://10.0.0.50:8082/domain/521e5d7c-a5cc-4328-a2e3-7fab4c7446f0 2026-01-23 13:11:27,778 - DEBUG - Requesting: http://10.0.0.50:8082/project/f51ce455-78a6-429d-b06a-2aa77d533760 2026-01-23 13:11:27,856 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bed598ba-deec-41ef-ad46-25cb078ddb33 2026-01-23 13:11:27,868 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bed598ba-deec-41ef-ad46-25cb078ddb33 2026-01-23 13:11:27,877 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/add25669-680d-49bc-92b2-55aba680fd13 2026-01-23 13:11:27,884 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/add25669-680d-49bc-92b2-55aba680fd13 2026-01-23 13:11:27,891 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/57d57fa8-ba52-42cc-98bc-c668ddc53a09 2026-01-23 13:11:27,897 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-23 13:11:27,897 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bed598ba-deec-41ef-ad46-25cb078ddb33 2026-01-23 13:11:27,907 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/add25669-680d-49bc-92b2-55aba680fd13 2026-01-23 13:11:27,920 - INFO - Verified VN network id 11 for VN bed598ba-deec-41ef-ad46-25cb078ddb33 2026-01-23 13:11:27,920 - INFO - Verifications in API Server for VN ctest-vn-57968062 passed 2026-01-23 13:11:27,920 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bed598ba-deec-41ef-ad46-25cb078ddb33 2026-01-23 13:11:27,928 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/add25669-680d-49bc-92b2-55aba680fd13 2026-01-23 13:11:27,935 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/add25669-680d-49bc-92b2-55aba680fd13 2026-01-23 13:11:27,943 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/57d57fa8-ba52-42cc-98bc-c668ddc53a09 2026-01-23 13:11:27,956 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03291382:ctest-vn-57968062', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03291382', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13751064965617041903', 'uuid-lslong': '12485708570866604851'}, 'enable': 'true', 'created': '2026-01-23T13:11:25', 'last-modified': '2026-01-23T13:11:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.944767'} 2026-01-23 13:11:27,963 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-23 13:11:27,963 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57968062 passed 2026-01-23 13:11:27,964 - DEBUG - ====Verifying policy data for ctest-vn-57968062 in API_Server ====== 2026-01-23 13:11:27,964 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-23 13:11:27,968 - DEBUG - Requesting: http://10.0.0.50:8082/domain/521e5d7c-a5cc-4328-a2e3-7fab4c7446f0 2026-01-23 13:11:27,978 - DEBUG - Requesting: http://10.0.0.50:8082/project/f51ce455-78a6-429d-b06a-2aa77d533760 2026-01-23 13:11:28,048 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bed598ba-deec-41ef-ad46-25cb078ddb33 2026-01-23 13:11:28,056 - DEBUG - ==>Verifying data for policy with id: d5a9d90d-2cc5-4037-a839-4299657b14e6, fqn: ['default-domain', 'ctest-TestBasicPolicy-03291382', 'ctest-policy-allow-all-87503968'] 2026-01-23 13:11:28,056 - INFO - VN ctest-vn-57968062 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-23 13:11:28,056 - DEBUG - Verifying the vn in opserver 2026-01-23 13:11:28,056 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03291382:ctest-vn-57968062 virtual network link through opserver 10.0.0.50 2026-01-23 13:11:28,056 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-23 13:11:28,345 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-23 13:11:28,412 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03291382:ctest-vn-57968062', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03291382:ctest-vn-57968062?flat'} 2026-01-23 13:11:28,412 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03291382:ctest-vn-57968062 is found in opserver 2026-01-23 13:11:28,420 - DEBUG - Do not have enough data to verify VN in agent 2026-01-23 13:11:28,425 - DEBUG - VRF ids for VN ctest-vn-57968062: {} 2026-01-23 13:11:28,425 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-23 13:11:28,430 - DEBUG - Requesting: http://10.0.0.50:8082/domain/521e5d7c-a5cc-4328-a2e3-7fab4c7446f0 2026-01-23 13:11:28,443 - DEBUG - Requesting: http://10.0.0.50:8082/project/f51ce455-78a6-429d-b06a-2aa77d533760 2026-01-23 13:11:28,514 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0282307c-d33d-49ab-a670-b1de26a661d4 2026-01-23 13:11:28,526 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0282307c-d33d-49ab-a670-b1de26a661d4 2026-01-23 13:11:28,534 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/757f830d-8872-4f83-aa40-ec208dedad19 2026-01-23 13:11:28,540 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/757f830d-8872-4f83-aa40-ec208dedad19 2026-01-23 13:11:28,546 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/78797a1d-d062-4d52-a3fc-1edba6f75a2c 2026-01-23 13:11:28,553 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-23 13:11:28,553 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0282307c-d33d-49ab-a670-b1de26a661d4 2026-01-23 13:11:28,561 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/757f830d-8872-4f83-aa40-ec208dedad19 2026-01-23 13:11:28,573 - INFO - Verified VN network id 12 for VN 0282307c-d33d-49ab-a670-b1de26a661d4 2026-01-23 13:11:28,573 - INFO - Verifications in API Server for VN ctest-vn-70800340 passed 2026-01-23 13:11:28,573 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0282307c-d33d-49ab-a670-b1de26a661d4 2026-01-23 13:11:28,581 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/757f830d-8872-4f83-aa40-ec208dedad19 2026-01-23 13:11:28,586 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/757f830d-8872-4f83-aa40-ec208dedad19 2026-01-23 13:11:28,592 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/78797a1d-d062-4d52-a3fc-1edba6f75a2c 2026-01-23 13:11:28,602 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03291382:ctest-vn-70800340', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03291382', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '180760247726328235', 'uuid-lslong': '11993281375376925140'}, 'enable': 'true', 'created': '2026-01-23T13:11:26', 'last-modified': '2026-01-23T13:11:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.362369'} 2026-01-23 13:11:28,607 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-23 13:11:28,607 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70800340 passed 2026-01-23 13:11:28,608 - DEBUG - ====Verifying policy data for ctest-vn-70800340 in API_Server ====== 2026-01-23 13:11:28,608 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-23 13:11:28,613 - DEBUG - Requesting: http://10.0.0.50:8082/domain/521e5d7c-a5cc-4328-a2e3-7fab4c7446f0 2026-01-23 13:11:28,624 - DEBUG - Requesting: http://10.0.0.50:8082/project/f51ce455-78a6-429d-b06a-2aa77d533760 2026-01-23 13:11:28,693 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0282307c-d33d-49ab-a670-b1de26a661d4 2026-01-23 13:11:28,701 - DEBUG - ==>Verifying data for policy with id: d5a9d90d-2cc5-4037-a839-4299657b14e6, fqn: ['default-domain', 'ctest-TestBasicPolicy-03291382', 'ctest-policy-allow-all-87503968'] 2026-01-23 13:11:28,701 - INFO - VN ctest-vn-70800340 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-23 13:11:28,701 - DEBUG - Verifying the vn in opserver 2026-01-23 13:11:28,701 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03291382:ctest-vn-70800340 virtual network link through opserver 10.0.0.50 2026-01-23 13:11:28,701 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-23 13:11:28,710 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03291382:ctest-vn-70800340', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03291382:ctest-vn-70800340?flat'} 2026-01-23 13:11:28,710 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03291382:ctest-vn-70800340 is found in opserver 2026-01-23 13:11:28,719 - DEBUG - Do not have enough data to verify VN in agent 2026-01-23 13:11:28,723 - DEBUG - VRF ids for VN ctest-vn-70800340: {} 2026-01-23 13:11:28,775 - DEBUG - Services list from nova: [, , ] 2026-01-23 13:11:29,777 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5070-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5070-1) 2026-01-23 13:11:30,860 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5070-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5070-1) 2026-01-23 13:11:30,860 - INFO - Waiting for VM ctest-TestBasicPolicy-03291382-61166559 to be up.. 2026-01-23 13:11:30,946 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-23 13:11:36,033 - DEBUG - VM is in ACTIVE state now 2026-01-23 13:11:36,033 - INFO - VM name : ctest-TestBasicPolicy-03291382-61166559 2026-01-23 13:11:36,123 - DEBUG - VM ctest-TestBasicPolicy-03291382-61166559 ID is 185b8954-16b8-4f87-9200-c93cb8b586e9 2026-01-23 13:11:36,154 - DEBUG - VM ctest-TestBasicPolicy-03291382-61166559 launched on Node cn-jenkins-deploy-platform-ansible-os-5070-1 2026-01-23 13:11:36,247 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/185b8954-16b8-4f87-9200-c93cb8b586e9 2026-01-23 13:11:36,261 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9cab813a-f6d1-4d34-abf0-624305fd4a1e 2026-01-23 13:11:39,548 - 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 1021ms') 2026-01-23 13:11:39,548 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03291382-61166559 failed! 2026-01-23 13:11:39,603 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03291382:ctest-vn-57968062 is 218.25.106.129 and allocation pool is NOT set 2026-01-23 13:11:41,667 - 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=9.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.553 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.553/5.230/9.907/4.677 ms') 2026-01-23 13:11:41,667 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03291382-61166559 passed 2026-01-23 13:11:41,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 13:11:41,815 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03291382-61166559, IP 218.25.106.131, Port 22 2026-01-23 13:11:41,970 - DEBUG - VM ctest-TestBasicPolicy-03291382-61166559 is ready for SSH connections 2026-01-23 13:11:41,970 - INFO - Waiting for VM ctest-TestBasicPolicy-03291382-88102365 to be up.. 2026-01-23 13:11:42,049 - DEBUG - VM is in ACTIVE state now 2026-01-23 13:11:42,049 - INFO - VM name : ctest-TestBasicPolicy-03291382-88102365 2026-01-23 13:11:42,127 - DEBUG - VM ctest-TestBasicPolicy-03291382-88102365 ID is 75fc0ec5-11a8-43d5-bd48-7033dc839055 2026-01-23 13:11:42,127 - DEBUG - VM ctest-TestBasicPolicy-03291382-88102365 launched on Node cn-jenkins-deploy-platform-ansible-os-5070-1 2026-01-23 13:11:42,208 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/75fc0ec5-11a8-43d5-bd48-7033dc839055 2026-01-23 13:11:42,217 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e912871d-7b92-41df-9f13-e143af31bf1d 2026-01-23 13:11:43,463 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.853 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.853/2.295/3.737/1.442 ms') 2026-01-23 13:11:43,463 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03291382-88102365 passed 2026-01-23 13:11:43,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 13:11:43,611 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03291382-88102365, IP 65.98.200.67, Port 22 2026-01-23 13:11:43,667 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-23 13:11:43,743 - DEBUG - VM ctest-TestBasicPolicy-03291382-88102365 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-23 13:11:48,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 13:11:48,744 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03291382-88102365, IP 65.98.200.67, Port 22 2026-01-23 13:11:48,906 - DEBUG - VM ctest-TestBasicPolicy-03291382-88102365 is ready for SSH connections 2026-01-23 13:11:48,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 13:11:48,906 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.98.200.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-23 13:11:48,906 - DEBUG - ping -s 56 -c 3 -W 1 65.98.200.67 2026-01-23 13:11:52,942 - DEBUG - PING 65.98.200.67 (65.98.200.67): 56 data bytes 64 bytes from 65.98.200.67: seq=0 ttl=63 time=5.340 ms 64 bytes from 65.98.200.67: seq=1 ttl=63 time=1.054 ms 64 bytes from 65.98.200.67: seq=2 ttl=63 time=0.983 ms --- 65.98.200.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.983/2.459/5.340 ms 2026-01-23 13:11:52,942 - INFO - Ping to IP 65.98.200.67 from VM ctest-TestBasicPolicy-03291382-61166559 passed 2026-01-23 13:11:53,138 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d5a9d90d-2cc5-4037-a839-4299657b14e6", "href": "http://10.0.0.50:8082/network-policy/d5a9d90d-2cc5-4037-a839-4299657b14e6"}} 2026-01-23 13:11:53,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 13:11:53,139 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.98.200.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-23 13:11:53,139 - DEBUG - ping -s 56 -c 3 -W 1 65.98.200.67 2026-01-23 13:11:56,335 - DEBUG - PING 65.98.200.67 (65.98.200.67): 56 data bytes --- 65.98.200.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-23 13:11:56,335 - WARNING - Ping to IP 65.98.200.67 from VM ctest-TestBasicPolicy-03291382-61166559 failed 2026-01-23 13:11:56,336 - INFO - Deleting VM ctest-TestBasicPolicy-03291382-88102365 2026-01-23 13:11:56,416 - INFO - Deleting VM ctest-TestBasicPolicy-03291382-61166559 2026-01-23 13:11:56,767 - INFO - Deleted policy ctest-policy-allow-all-87503968 2026-01-23 13:11:56,767 - INFO - Deleting VN ctest-vn-70800340 2026-01-23 13:11:56,807 - DEBUG - VN 0282307c-d33d-49ab-a670-b1de26a661d4 still in use: Unable to complete operation on network 0282307c-d33d-49ab-a670-b1de26a661d4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ea0fdafe-0c37-44ed-b9f4-80c5613f4d69'] 2026-01-23 13:11:56,807 - WARNING - Deleting VN ctest-vn-70800340 failed..Will retry 2026-01-23 13:11:58,896 - DEBUG - Response for deleting network () 2026-01-23 13:11:58,896 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/757f830d-8872-4f83-aa40-ec208dedad19 2026-01-23 13:11:58,902 - DEBUG - Response Code: 404 2026-01-23 13:11:58,902 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-23 13:11:58,907 - DEBUG - Requesting: http://10.0.0.50:8082/domain/521e5d7c-a5cc-4328-a2e3-7fab4c7446f0 2026-01-23 13:11:58,959 - DEBUG - Requesting: http://10.0.0.50:8082/project/f51ce455-78a6-429d-b06a-2aa77d533760 2026-01-23 13:11:59,028 - INFO - Validated that VN ctest-vn-70800340 is not found in API Server 2026-01-23 13:11:59,036 - DEBUG - VN ctest-vn-70800340 is not present in Agent 10.0.0.50 2026-01-23 13:11:59,036 - INFO - Validated that VN ctest-vn-70800340 is not in any agent 2026-01-23 13:11:59,048 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70800340 info 2026-01-23 13:11:59,048 - INFO - Deleting VN ctest-vn-57968062 2026-01-23 13:11:59,135 - DEBUG - Response for deleting network () 2026-01-23 13:11:59,136 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/add25669-680d-49bc-92b2-55aba680fd13 2026-01-23 13:11:59,143 - DEBUG - Response Code: 404 2026-01-23 13:11:59,143 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-23 13:11:59,148 - DEBUG - Requesting: http://10.0.0.50:8082/domain/521e5d7c-a5cc-4328-a2e3-7fab4c7446f0 2026-01-23 13:11:59,200 - DEBUG - Requesting: http://10.0.0.50:8082/project/f51ce455-78a6-429d-b06a-2aa77d533760 2026-01-23 13:11:59,271 - INFO - Validated that VN ctest-vn-57968062 is not found in API Server 2026-01-23 13:11:59,280 - DEBUG - VN ctest-vn-57968062 is not present in Agent 10.0.0.50 2026-01-23 13:11:59,280 - INFO - Validated that VN ctest-vn-57968062 is not in any agent 2026-01-23 13:11:59,293 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57968062 info 2026-01-23 13:11:59,548 - DEBUG - No XMPP flaps were noticed during the test
2026-01-23 13:11:59,548 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-01-23 13:11:59,548 - INFO - -------------------------------------------------------------------------------- 2026-01-23 13:12:00,211 - INFO - Deleted project: ctest-TestBasicPolicy-03291382, ID : f51ce455-78a6-429d-b06a-2aa77d533760