2026-07-18 00:32:38,559 - INFO - Domain Default found not creating 2026-07-18 00:32:38,736 - INFO - Project ctest-TestBasicPolicy-58997890 not found, creating it 2026-07-18 00:32:39,236 - INFO - Created Project:ctest-TestBasicPolicy-58997890, ID : 63c76e54-3025-4baa-9665-f0f91a12b74f 2026-07-18 00:32:40,856 - INFO - ================================================================================ 2026-07-18 00:32:40,856 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-18 00:32:40,857 - 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-07-18 00:32:41,121 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-07-18 00:32:41,121 - INFO - Initial checks done. Running the testcase now 2026-07-18 00:32:41,121 - INFO - 2026-07-18 00:32:41,761 - DEBUG - Response for create_network : {'network': {'id': '0c6509da-6e3d-4186-b976-e89d44881918', 'name': 'ctest-vn-47728709', 'tenant_id': '63c76e5430254baa9665f0f91a12b74f', 'project_id': '63c76e5430254baa9665f0f91a12b74f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58997890', 'ctest-vn-47728709'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 00:32:41,926 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a03427d8-17ff-428c-b37c-e7adbffd52b1', 'name': '', 'tenant_id': '63c76e5430254baa9665f0f91a12b74f', 'network_id': '0c6509da-6e3d-4186-b976-e89d44881918', 'ip_version': 4, 'cidr': '50.251.210.0/26', 'allocation_pools': [{'start': '50.251.210.2', 'end': '50.251.210.62'}], 'gateway_ip': '50.251.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.251.210.2', 'tags': [], 'project_id': '63c76e5430254baa9665f0f91a12b74f'}} 2026-07-18 00:32:41,943 - INFO - Created VN ctest-vn-47728709 2026-07-18 00:32:41,996 - DEBUG - VN ctest-vn-47728709 UUID is 0c6509da-6e3d-4186-b976-e89d44881918 2026-07-18 00:32:42,332 - DEBUG - Response for create_network : {'network': {'id': 'b54dfa8d-0806-4908-aaba-5ecabfe9c6cb', 'name': 'ctest-vn-82380038', 'tenant_id': '63c76e5430254baa9665f0f91a12b74f', 'project_id': '63c76e5430254baa9665f0f91a12b74f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58997890', 'ctest-vn-82380038'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 00:32:42,522 - DEBUG - Response for create_subnet : {'subnet': {'id': '7540e552-5b88-4c90-85a6-d174b2520d26', 'name': '', 'tenant_id': '63c76e5430254baa9665f0f91a12b74f', 'network_id': 'b54dfa8d-0806-4908-aaba-5ecabfe9c6cb', 'ip_version': 4, 'cidr': '179.97.188.64/26', 'allocation_pools': [{'start': '179.97.188.66', 'end': '179.97.188.126'}], 'gateway_ip': '179.97.188.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.97.188.66', 'tags': [], 'project_id': '63c76e5430254baa9665f0f91a12b74f'}} 2026-07-18 00:32:42,542 - INFO - Created VN ctest-vn-82380038 2026-07-18 00:32:42,596 - DEBUG - VN ctest-vn-82380038 UUID is b54dfa8d-0806-4908-aaba-5ecabfe9c6cb 2026-07-18 00:32:42,716 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-47728709, 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-58997890:ctest-vn-82380038, 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-07-18 00:32:43,029 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0c6509da-6e3d-4186-b976-e89d44881918', 'name': 'ctest-vn-47728709', 'tenant_id': '63c76e5430254baa9665f0f91a12b74f', 'project_id': '63c76e5430254baa9665f0f91a12b74f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a03427d8-17ff-428c-b37c-e7adbffd52b1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58997890', 'ctest-vn-47728709'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58997890', 'ctest-policy-allow-all-38543567']], 'subnet_ipam': [{'subnet_cidr': '50.251.210.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-18 00:32:43,269 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b54dfa8d-0806-4908-aaba-5ecabfe9c6cb', 'name': 'ctest-vn-82380038', 'tenant_id': '63c76e5430254baa9665f0f91a12b74f', 'project_id': '63c76e5430254baa9665f0f91a12b74f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7540e552-5b88-4c90-85a6-d174b2520d26'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58997890', 'ctest-vn-82380038'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58997890', 'ctest-policy-allow-all-38543567']], 'subnet_ipam': [{'subnet_cidr': '179.97.188.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-18 00:32:43,440 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 00:32:43,782 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 00:32:43,808 - DEBUG - Requesting: http://10.0.0.50:8082/domain/244131e5-b7b3-48e4-bb2b-87fd01ecfd2e 2026-07-18 00:32:43,820 - DEBUG - Requesting: http://10.0.0.50:8082/project/63c76e54-3025-4baa-9665-f0f91a12b74f 2026-07-18 00:32:43,898 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c6509da-6e3d-4186-b976-e89d44881918 2026-07-18 00:32:43,912 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c6509da-6e3d-4186-b976-e89d44881918 2026-07-18 00:32:43,922 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de889f97-4e3e-4fb0-be46-8acd034c992c 2026-07-18 00:32:43,930 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de889f97-4e3e-4fb0-be46-8acd034c992c 2026-07-18 00:32:43,937 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2ffb4968-49d1-4394-95aa-8790848479a0 2026-07-18 00:32:43,943 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-18 00:32:43,943 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c6509da-6e3d-4186-b976-e89d44881918 2026-07-18 00:32:43,951 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de889f97-4e3e-4fb0-be46-8acd034c992c 2026-07-18 00:32:43,965 - INFO - Verified VN network id 11 for VN 0c6509da-6e3d-4186-b976-e89d44881918 2026-07-18 00:32:43,966 - INFO - Verifications in API Server for VN ctest-vn-47728709 passed 2026-07-18 00:32:43,966 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c6509da-6e3d-4186-b976-e89d44881918 2026-07-18 00:32:43,978 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de889f97-4e3e-4fb0-be46-8acd034c992c 2026-07-18 00:32:43,986 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de889f97-4e3e-4fb0-be46-8acd034c992c 2026-07-18 00:32:43,996 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2ffb4968-49d1-4394-95aa-8790848479a0 2026-07-18 00:32:44,014 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-47728709', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58997890', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '893130934859940230', 'uuid-lslong': '13364124706425805080'}, 'enable': 'true', 'created': '2026-07-18T00:32:41', 'last-modified': '2026-07-18T00:32:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.009318'} 2026-07-18 00:32:44,021 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-18 00:32:44,021 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47728709 passed 2026-07-18 00:32:44,022 - DEBUG - ====Verifying policy data for ctest-vn-47728709 in API_Server ====== 2026-07-18 00:32:44,022 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 00:32:44,029 - DEBUG - Requesting: http://10.0.0.50:8082/domain/244131e5-b7b3-48e4-bb2b-87fd01ecfd2e 2026-07-18 00:32:44,042 - DEBUG - Requesting: http://10.0.0.50:8082/project/63c76e54-3025-4baa-9665-f0f91a12b74f 2026-07-18 00:32:44,120 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c6509da-6e3d-4186-b976-e89d44881918 2026-07-18 00:32:44,129 - DEBUG - ==>Verifying data for policy with id: a496ae99-97e9-4e36-86ae-fa939f84cbab, fqn: ['default-domain', 'ctest-TestBasicPolicy-58997890', 'ctest-policy-allow-all-38543567'] 2026-07-18 00:32:44,129 - INFO - VN ctest-vn-47728709 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-18 00:32:44,129 - DEBUG - Verifying the vn in opserver 2026-07-18 00:32:44,129 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-47728709 virtual network link through opserver 10.0.0.50 2026-07-18 00:32:44,129 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-18 00:32:44,459 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-18 00:32:44,516 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-47728709', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-47728709?flat'} 2026-07-18 00:32:44,516 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-47728709 is found in opserver 2026-07-18 00:32:44,527 - DEBUG - Do not have enough data to verify VN in agent 2026-07-18 00:32:44,532 - DEBUG - VRF ids for VN ctest-vn-47728709: {} 2026-07-18 00:32:44,532 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 00:32:44,538 - DEBUG - Requesting: http://10.0.0.50:8082/domain/244131e5-b7b3-48e4-bb2b-87fd01ecfd2e 2026-07-18 00:32:44,548 - DEBUG - Requesting: http://10.0.0.50:8082/project/63c76e54-3025-4baa-9665-f0f91a12b74f 2026-07-18 00:32:44,622 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b54dfa8d-0806-4908-aaba-5ecabfe9c6cb 2026-07-18 00:32:44,635 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b54dfa8d-0806-4908-aaba-5ecabfe9c6cb 2026-07-18 00:32:44,645 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b2817fb-014a-4fcf-a5bb-1ca0a8dcfd80 2026-07-18 00:32:44,652 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b2817fb-014a-4fcf-a5bb-1ca0a8dcfd80 2026-07-18 00:32:44,659 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8c70b938-1faf-4ed7-9395-9f9db23f8deb 2026-07-18 00:32:44,665 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-18 00:32:44,665 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b54dfa8d-0806-4908-aaba-5ecabfe9c6cb 2026-07-18 00:32:44,674 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b2817fb-014a-4fcf-a5bb-1ca0a8dcfd80 2026-07-18 00:32:44,689 - INFO - Verified VN network id 12 for VN b54dfa8d-0806-4908-aaba-5ecabfe9c6cb 2026-07-18 00:32:44,689 - INFO - Verifications in API Server for VN ctest-vn-82380038 passed 2026-07-18 00:32:44,689 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b54dfa8d-0806-4908-aaba-5ecabfe9c6cb 2026-07-18 00:32:44,698 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b2817fb-014a-4fcf-a5bb-1ca0a8dcfd80 2026-07-18 00:32:44,705 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b2817fb-014a-4fcf-a5bb-1ca0a8dcfd80 2026-07-18 00:32:44,712 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8c70b938-1faf-4ed7-9395-9f9db23f8deb 2026-07-18 00:32:44,726 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-82380038', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58997890', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13064373577703639304', 'uuid-lslong': '12302249557012104907'}, 'enable': 'true', 'created': '2026-07-18T00:32:42', 'last-modified': '2026-07-18T00:32:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.480484'} 2026-07-18 00:32:44,732 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-18 00:32:44,732 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82380038 passed 2026-07-18 00:32:44,733 - DEBUG - ====Verifying policy data for ctest-vn-82380038 in API_Server ====== 2026-07-18 00:32:44,733 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 00:32:44,739 - DEBUG - Requesting: http://10.0.0.50:8082/domain/244131e5-b7b3-48e4-bb2b-87fd01ecfd2e 2026-07-18 00:32:44,752 - DEBUG - Requesting: http://10.0.0.50:8082/project/63c76e54-3025-4baa-9665-f0f91a12b74f 2026-07-18 00:32:44,827 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b54dfa8d-0806-4908-aaba-5ecabfe9c6cb 2026-07-18 00:32:44,837 - DEBUG - ==>Verifying data for policy with id: a496ae99-97e9-4e36-86ae-fa939f84cbab, fqn: ['default-domain', 'ctest-TestBasicPolicy-58997890', 'ctest-policy-allow-all-38543567'] 2026-07-18 00:32:44,837 - INFO - VN ctest-vn-82380038 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-18 00:32:44,837 - DEBUG - Verifying the vn in opserver 2026-07-18 00:32:44,837 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-82380038 virtual network link through opserver 10.0.0.50 2026-07-18 00:32:44,837 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-18 00:32:44,849 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-82380038', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-82380038?flat'} 2026-07-18 00:32:44,849 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-82380038 is found in opserver 2026-07-18 00:32:44,861 - DEBUG - Do not have enough data to verify VN in agent 2026-07-18 00:32:44,866 - DEBUG - VRF ids for VN ctest-vn-82380038: {} 2026-07-18 00:32:44,931 - DEBUG - Services list from nova: [, , ] 2026-07-18 00:32:45,380 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6101-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6101-1) 2026-07-18 00:32:45,794 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6101-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6101-1) 2026-07-18 00:32:45,794 - INFO - Waiting for VM ctest-TestBasicPolicy-58997890-81034169 to be up.. 2026-07-18 00:32:45,834 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 00:32:50,927 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 00:32:56,009 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 00:33:01,094 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 00:33:06,168 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 00:33:11,278 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 00:33:16,370 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 00:33:21,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 00:33:26,552 - DEBUG - VM is in ACTIVE state now 2026-07-18 00:33:26,552 - INFO - VM name : ctest-TestBasicPolicy-58997890-81034169 2026-07-18 00:33:26,630 - DEBUG - VM ctest-TestBasicPolicy-58997890-81034169 ID is 8287f410-7f74-4a63-83f7-540f71d26f4a 2026-07-18 00:33:26,650 - DEBUG - VM ctest-TestBasicPolicy-58997890-81034169 launched on Node cn-jenkins-deploy-platform-ansible-os-6101-1 2026-07-18 00:33:26,733 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8287f410-7f74-4a63-83f7-540f71d26f4a 2026-07-18 00:33:26,744 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/679f8592-f4a3-4503-ad11-eeb51c99d6fa 2026-07-18 00:33:30,010 - 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=2 ttl=63 time=5.56 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 5.560/5.560/5.560/0.000 ms') 2026-07-18 00:33:30,010 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58997890-81034169 passed 2026-07-18 00:33:30,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 00:33:30,164 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58997890-81034169, IP 50.251.210.3, Port 22 2026-07-18 00:33:30,330 - DEBUG - VM ctest-TestBasicPolicy-58997890-81034169 is ready for SSH connections 2026-07-18 00:33:30,330 - INFO - Waiting for VM ctest-TestBasicPolicy-58997890-63530417 to be up.. 2026-07-18 00:33:30,424 - DEBUG - VM is in ACTIVE state now 2026-07-18 00:33:30,424 - INFO - VM name : ctest-TestBasicPolicy-58997890-63530417 2026-07-18 00:33:30,513 - DEBUG - VM ctest-TestBasicPolicy-58997890-63530417 ID is a797e1c8-e662-46be-b5fd-bb4a1cdfb271 2026-07-18 00:33:30,513 - DEBUG - VM ctest-TestBasicPolicy-58997890-63530417 launched on Node cn-jenkins-deploy-platform-ansible-os-6101-1 2026-07-18 00:33:30,593 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a797e1c8-e662-46be-b5fd-bb4a1cdfb271 2026-07-18 00:33:30,602 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b6d57456-4a22-4b58-9d03-281a50b157d2 2026-07-18 00:33:31,836 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.19 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.190/2.319/3.448/1.129 ms') 2026-07-18 00:33:31,837 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58997890-63530417 passed 2026-07-18 00:33:31,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 00:33:31,992 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58997890-63530417, IP 179.97.188.67, Port 22 2026-07-18 00:33:32,156 - DEBUG - VM ctest-TestBasicPolicy-58997890-63530417 is ready for SSH connections 2026-07-18 00:33:32,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 00:33:32,156 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.97.188.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-18 00:33:32,156 - DEBUG - ping -s 56 -c 3 -W 1 179.97.188.67 2026-07-18 00:33:36,105 - DEBUG - PING 179.97.188.67 (179.97.188.67): 56 data bytes 64 bytes from 179.97.188.67: seq=0 ttl=63 time=4.023 ms 64 bytes from 179.97.188.67: seq=1 ttl=63 time=1.339 ms 64 bytes from 179.97.188.67: seq=2 ttl=63 time=1.148 ms --- 179.97.188.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.148/2.170/4.023 ms 2026-07-18 00:33:36,105 - INFO - Ping to IP 179.97.188.67 from VM ctest-TestBasicPolicy-58997890-81034169 passed 2026-07-18 00:33:36,288 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a496ae99-97e9-4e36-86ae-fa939f84cbab", "href": "http://10.0.0.50:8082/network-policy/a496ae99-97e9-4e36-86ae-fa939f84cbab"}} 2026-07-18 00:33:36,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 00:33:36,288 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.97.188.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-18 00:33:36,288 - DEBUG - ping -s 56 -c 3 -W 1 179.97.188.67 2026-07-18 00:33:39,421 - DEBUG - PING 179.97.188.67 (179.97.188.67): 56 data bytes 64 bytes from 179.97.188.67: seq=0 ttl=63 time=1.886 ms --- 179.97.188.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.886/1.886/1.886 ms 2026-07-18 00:33:39,421 - WARNING - Ping to IP 179.97.188.67 from VM ctest-TestBasicPolicy-58997890-81034169 failed 2026-07-18 00:33:39,422 - INFO - Deleting VM ctest-TestBasicPolicy-58997890-63530417 2026-07-18 00:33:39,503 - INFO - Deleting VM ctest-TestBasicPolicy-58997890-81034169 2026-07-18 00:33:39,895 - INFO - Deleted policy ctest-policy-allow-all-38543567 2026-07-18 00:33:39,895 - INFO - Deleting VN ctest-vn-82380038 2026-07-18 00:33:39,927 - DEBUG - VN b54dfa8d-0806-4908-aaba-5ecabfe9c6cb still in use: Unable to complete operation on network b54dfa8d-0806-4908-aaba-5ecabfe9c6cb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bf5fb59c-2ad0-4db5-89bf-f90a170f2c0c'] 2026-07-18 00:33:39,928 - WARNING - Deleting VN ctest-vn-82380038 failed..Will retry 2026-07-18 00:33:42,032 - DEBUG - Response for deleting network () 2026-07-18 00:33:42,032 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b2817fb-014a-4fcf-a5bb-1ca0a8dcfd80 2026-07-18 00:33:42,044 - DEBUG - Response Code: 404 2026-07-18 00:33:42,044 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 00:33:42,049 - DEBUG - Requesting: http://10.0.0.50:8082/domain/244131e5-b7b3-48e4-bb2b-87fd01ecfd2e 2026-07-18 00:33:42,103 - DEBUG - Requesting: http://10.0.0.50:8082/project/63c76e54-3025-4baa-9665-f0f91a12b74f 2026-07-18 00:33:42,176 - INFO - Validated that VN ctest-vn-82380038 is not found in API Server 2026-07-18 00:33:42,186 - DEBUG - VN ctest-vn-82380038 is not present in Agent 10.0.0.50 2026-07-18 00:33:42,186 - INFO - Validated that VN ctest-vn-82380038 is not in any agent 2026-07-18 00:33:42,201 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82380038 info 2026-07-18 00:33:42,202 - INFO - Deleting VN ctest-vn-47728709 2026-07-18 00:33:42,305 - DEBUG - Response for deleting network () 2026-07-18 00:33:42,305 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de889f97-4e3e-4fb0-be46-8acd034c992c 2026-07-18 00:33:42,316 - DEBUG - Response Code: 404 2026-07-18 00:33:42,316 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 00:33:42,323 - DEBUG - Requesting: http://10.0.0.50:8082/domain/244131e5-b7b3-48e4-bb2b-87fd01ecfd2e 2026-07-18 00:33:42,382 - DEBUG - Requesting: http://10.0.0.50:8082/project/63c76e54-3025-4baa-9665-f0f91a12b74f 2026-07-18 00:33:42,457 - INFO - Validated that VN ctest-vn-47728709 is not found in API Server 2026-07-18 00:33:42,469 - DEBUG - VN ctest-vn-47728709 is not present in Agent 10.0.0.50 2026-07-18 00:33:42,469 - INFO - Validated that VN ctest-vn-47728709 is not in any agent 2026-07-18 00:33:42,487 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47728709 info 2026-07-18 00:33:42,745 - DEBUG - No XMPP flaps were noticed during the test
2026-07-18 00:33:42,745 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:02]
2026-07-18 00:33:42,745 - INFO - -------------------------------------------------------------------------------- 2026-07-18 00:33:43,475 - INFO - Deleted project: ctest-TestBasicPolicy-58997890, ID : 63c76e54-3025-4baa-9665-f0f91a12b74f