2025-04-25 15:06:45,524 - INFO - Domain Default found not creating 2025-04-25 15:06:45,781 - INFO - Project ctest-TestBasicPolicy-07016447 not found, creating it 2025-04-25 15:06:46,238 - INFO - Created Project:ctest-TestBasicPolicy-07016447, ID : cceee88c-f634-4b6b-9dac-2c2ea9d7bea3 2025-04-25 15:06:47,704 - INFO - ================================================================================ 2025-04-25 15:06:47,704 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-25 15:06:47,704 - 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-04-25 15:06:47,958 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.17': '0'}} with 2025-04-25 15:06:47,958 - INFO - Initial checks done. Running the testcase now 2025-04-25 15:06:47,959 - INFO - 2025-04-25 15:06:48,491 - DEBUG - Response for create_network : {'network': {'id': '700a5468-29ff-402e-abdf-43ea4d519341', 'name': 'ctest-vn-65160896', 'tenant_id': 'cceee88cf6344b6b9dac2c2ea9d7bea3', 'project_id': 'cceee88cf6344b6b9dac2c2ea9d7bea3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07016447', 'ctest-vn-65160896'], 'port_security_enabled': True, 'description': ''}} 2025-04-25 15:06:48,657 - DEBUG - Response for create_subnet : {'subnet': {'id': '9735e500-409a-4f7d-8705-c289fd70eb50', 'name': '', 'tenant_id': 'cceee88cf6344b6b9dac2c2ea9d7bea3', 'network_id': '700a5468-29ff-402e-abdf-43ea4d519341', 'ip_version': 4, 'cidr': '115.212.179.128/26', 'allocation_pools': [{'start': '115.212.179.130', 'end': '115.212.179.190'}], 'gateway_ip': '115.212.179.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.212.179.130', 'tags': [], 'project_id': 'cceee88cf6344b6b9dac2c2ea9d7bea3'}} 2025-04-25 15:06:48,676 - INFO - Created VN ctest-vn-65160896 2025-04-25 15:06:48,728 - DEBUG - VN ctest-vn-65160896 UUID is 700a5468-29ff-402e-abdf-43ea4d519341 2025-04-25 15:06:49,039 - DEBUG - Response for create_network : {'network': {'id': '435b4da2-83f7-407b-8a66-54896d601a1b', 'name': 'ctest-vn-20012329', 'tenant_id': 'cceee88cf6344b6b9dac2c2ea9d7bea3', 'project_id': 'cceee88cf6344b6b9dac2c2ea9d7bea3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07016447', 'ctest-vn-20012329'], 'port_security_enabled': True, 'description': ''}} 2025-04-25 15:06:49,212 - DEBUG - Response for create_subnet : {'subnet': {'id': '041d05a6-5b88-42ef-9fc7-b2f901ca49a1', 'name': '', 'tenant_id': 'cceee88cf6344b6b9dac2c2ea9d7bea3', 'network_id': '435b4da2-83f7-407b-8a66-54896d601a1b', 'ip_version': 4, 'cidr': '52.192.65.128/26', 'allocation_pools': [{'start': '52.192.65.130', 'end': '52.192.65.190'}], 'gateway_ip': '52.192.65.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.192.65.130', 'tags': [], 'project_id': 'cceee88cf6344b6b9dac2c2ea9d7bea3'}} 2025-04-25 15:06:49,228 - INFO - Created VN ctest-vn-20012329 2025-04-25 15:06:49,280 - DEBUG - VN ctest-vn-20012329 UUID is 435b4da2-83f7-407b-8a66-54896d601a1b 2025-04-25 15:06:49,432 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07016447:ctest-vn-65160896, 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-07016447:ctest-vn-20012329, 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-04-25 15:06:49,739 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '700a5468-29ff-402e-abdf-43ea4d519341', 'name': 'ctest-vn-65160896', 'tenant_id': 'cceee88cf6344b6b9dac2c2ea9d7bea3', 'project_id': 'cceee88cf6344b6b9dac2c2ea9d7bea3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9735e500-409a-4f7d-8705-c289fd70eb50'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07016447', 'ctest-vn-65160896'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07016447', 'ctest-policy-allow-all-25467915']], 'subnet_ipam': [{'subnet_cidr': '115.212.179.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-25 15:06:49,953 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '435b4da2-83f7-407b-8a66-54896d601a1b', 'name': 'ctest-vn-20012329', 'tenant_id': 'cceee88cf6344b6b9dac2c2ea9d7bea3', 'project_id': 'cceee88cf6344b6b9dac2c2ea9d7bea3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['041d05a6-5b88-42ef-9fc7-b2f901ca49a1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07016447', 'ctest-vn-20012329'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07016447', 'ctest-policy-allow-all-25467915']], 'subnet_ipam': [{'subnet_cidr': '52.192.65.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-25 15:06:50,120 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-25 15:06:50,418 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-25 15:06:50,443 - DEBUG - Requesting: http://10.0.0.23:8082/domain/068f244f-9f15-4fed-bf71-44d375ced264 2025-04-25 15:06:50,455 - DEBUG - Requesting: http://10.0.0.23:8082/project/cceee88c-f634-4b6b-9dac-2c2ea9d7bea3 2025-04-25 15:06:50,526 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/700a5468-29ff-402e-abdf-43ea4d519341 2025-04-25 15:06:50,536 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/700a5468-29ff-402e-abdf-43ea4d519341 2025-04-25 15:06:50,547 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cc5dde80-b654-4e93-8524-f7fb7afc4172 2025-04-25 15:06:50,555 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cc5dde80-b654-4e93-8524-f7fb7afc4172 2025-04-25 15:06:50,563 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/92c48ae3-131c-4910-8317-abf7941990d6 2025-04-25 15:06:50,570 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-25 15:06:50,571 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/700a5468-29ff-402e-abdf-43ea4d519341 2025-04-25 15:06:50,580 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cc5dde80-b654-4e93-8524-f7fb7afc4172 2025-04-25 15:06:50,592 - INFO - Verified VN network id 8 for VN 700a5468-29ff-402e-abdf-43ea4d519341 2025-04-25 15:06:50,592 - INFO - Verifications in API Server for VN ctest-vn-65160896 passed 2025-04-25 15:06:50,592 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/700a5468-29ff-402e-abdf-43ea4d519341 2025-04-25 15:06:50,600 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cc5dde80-b654-4e93-8524-f7fb7afc4172 2025-04-25 15:06:50,606 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cc5dde80-b654-4e93-8524-f7fb7afc4172 2025-04-25 15:06:50,612 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/92c48ae3-131c-4910-8317-abf7941990d6 2025-04-25 15:06:50,626 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07016447:ctest-vn-65160896', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07016447', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8073358088372961326', 'uuid-lslong': '12384692173890753345'}, 'enable': 'true', 'created': '2025-04-25T15:06:48', 'last-modified': '2025-04-25T15:06:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.916831'} 2025-04-25 15:06:50,634 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-25 15:06:50,634 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65160896 passed 2025-04-25 15:06:50,634 - DEBUG - ====Verifying policy data for ctest-vn-65160896 in API_Server ====== 2025-04-25 15:06:50,634 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-25 15:06:50,641 - DEBUG - Requesting: http://10.0.0.23:8082/domain/068f244f-9f15-4fed-bf71-44d375ced264 2025-04-25 15:06:50,654 - DEBUG - Requesting: http://10.0.0.23:8082/project/cceee88c-f634-4b6b-9dac-2c2ea9d7bea3 2025-04-25 15:06:50,731 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/700a5468-29ff-402e-abdf-43ea4d519341 2025-04-25 15:06:50,743 - DEBUG - ==>Verifying data for policy with id: d7c8a282-5063-4dac-8643-28e72504d5b8, fqn: ['default-domain', 'ctest-TestBasicPolicy-07016447', 'ctest-policy-allow-all-25467915'] 2025-04-25 15:06:50,743 - INFO - VN ctest-vn-65160896 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-25 15:06:50,743 - DEBUG - Verifying the vn in opserver 2025-04-25 15:06:50,743 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07016447:ctest-vn-65160896 virtual network link through opserver 10.0.0.23 2025-04-25 15:06:50,744 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-04-25 15:06:51,035 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-04-25 15:06:51,086 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07016447:ctest-vn-65160896', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07016447:ctest-vn-65160896?flat'} 2025-04-25 15:06:51,086 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07016447:ctest-vn-65160896 is found in opserver 2025-04-25 15:06:51,097 - DEBUG - Do not have enough data to verify VN in agent 2025-04-25 15:06:51,103 - DEBUG - VRF ids for VN ctest-vn-65160896: {} 2025-04-25 15:06:51,103 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-25 15:06:51,107 - DEBUG - Requesting: http://10.0.0.23:8082/domain/068f244f-9f15-4fed-bf71-44d375ced264 2025-04-25 15:06:51,118 - DEBUG - Requesting: http://10.0.0.23:8082/project/cceee88c-f634-4b6b-9dac-2c2ea9d7bea3 2025-04-25 15:06:51,187 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/435b4da2-83f7-407b-8a66-54896d601a1b 2025-04-25 15:06:51,197 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/435b4da2-83f7-407b-8a66-54896d601a1b 2025-04-25 15:06:51,206 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/bd13ca93-1504-45e1-8dd2-d6621980155a 2025-04-25 15:06:51,212 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/bd13ca93-1504-45e1-8dd2-d6621980155a 2025-04-25 15:06:51,218 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/ebf7dd94-c377-4b00-a998-031c9d3cdb33 2025-04-25 15:06:51,223 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-25 15:06:51,223 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/435b4da2-83f7-407b-8a66-54896d601a1b 2025-04-25 15:06:51,231 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/bd13ca93-1504-45e1-8dd2-d6621980155a 2025-04-25 15:06:51,243 - INFO - Verified VN network id 9 for VN 435b4da2-83f7-407b-8a66-54896d601a1b 2025-04-25 15:06:51,243 - INFO - Verifications in API Server for VN ctest-vn-20012329 passed 2025-04-25 15:06:51,243 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/435b4da2-83f7-407b-8a66-54896d601a1b 2025-04-25 15:06:51,252 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/bd13ca93-1504-45e1-8dd2-d6621980155a 2025-04-25 15:06:51,258 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/bd13ca93-1504-45e1-8dd2-d6621980155a 2025-04-25 15:06:51,264 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/ebf7dd94-c377-4b00-a998-031c9d3cdb33 2025-04-25 15:06:51,275 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07016447:ctest-vn-20012329', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07016447', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4853558383815901307', 'uuid-lslong': '9972751374080809499'}, 'enable': 'true', 'created': '2025-04-25T15:06:49', 'last-modified': '2025-04-25T15:06:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.341373'} 2025-04-25 15:06:51,281 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-25 15:06:51,281 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20012329 passed 2025-04-25 15:06:51,281 - DEBUG - ====Verifying policy data for ctest-vn-20012329 in API_Server ====== 2025-04-25 15:06:51,281 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-25 15:06:51,286 - DEBUG - Requesting: http://10.0.0.23:8082/domain/068f244f-9f15-4fed-bf71-44d375ced264 2025-04-25 15:06:51,296 - DEBUG - Requesting: http://10.0.0.23:8082/project/cceee88c-f634-4b6b-9dac-2c2ea9d7bea3 2025-04-25 15:06:51,367 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/435b4da2-83f7-407b-8a66-54896d601a1b 2025-04-25 15:06:51,379 - DEBUG - ==>Verifying data for policy with id: d7c8a282-5063-4dac-8643-28e72504d5b8, fqn: ['default-domain', 'ctest-TestBasicPolicy-07016447', 'ctest-policy-allow-all-25467915'] 2025-04-25 15:06:51,379 - INFO - VN ctest-vn-20012329 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-25 15:06:51,379 - DEBUG - Verifying the vn in opserver 2025-04-25 15:06:51,379 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07016447:ctest-vn-20012329 virtual network link through opserver 10.0.0.23 2025-04-25 15:06:51,379 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-04-25 15:06:51,389 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07016447:ctest-vn-20012329', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07016447:ctest-vn-20012329?flat'} 2025-04-25 15:06:51,389 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07016447:ctest-vn-20012329 is found in opserver 2025-04-25 15:06:51,399 - DEBUG - Do not have enough data to verify VN in agent 2025-04-25 15:06:51,404 - DEBUG - VRF ids for VN ctest-vn-20012329: {} 2025-04-25 15:06:51,457 - DEBUG - Services list from nova: [, , ] 2025-04-25 15:06:52,439 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3217-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3217-1) 2025-04-25 15:06:53,653 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3217-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3217-1) 2025-04-25 15:06:53,654 - INFO - Waiting for VM ctest-TestBasicPolicy-07016447-60284266 to be up.. 2025-04-25 15:06:53,738 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-25 15:06:58,806 - DEBUG - VM is in ACTIVE state now 2025-04-25 15:06:58,806 - INFO - VM name : ctest-TestBasicPolicy-07016447-60284266 2025-04-25 15:06:58,868 - DEBUG - VM ctest-TestBasicPolicy-07016447-60284266 ID is 5d43ca43-e98a-4ab5-b04f-22284aaedaac 2025-04-25 15:06:58,884 - DEBUG - VM ctest-TestBasicPolicy-07016447-60284266 launched on Node cn-jenkins-deploy-platform-ansible-os-3217-1 2025-04-25 15:06:58,946 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/5d43ca43-e98a-4ab5-b04f-22284aaedaac 2025-04-25 15:06:58,953 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/13245e23-9269-4c18-9d68-6324b52c29a6 2025-04-25 15:07:02,208 - 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 1020ms') 2025-04-25 15:07:02,209 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07016447-60284266 failed! 2025-04-25 15:07:02,268 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07016447:ctest-vn-65160896 is 115.212.179.129 and allocation pool is NOT set 2025-04-25 15:07:04,330 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.353 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.353/1.511/2.670/1.158 ms') 2025-04-25 15:07:04,331 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07016447-60284266 passed 2025-04-25 15:07:04,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 15:07:04,484 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07016447-60284266, IP 115.212.179.131, Port 22 2025-04-25 15:07:04,639 - DEBUG - VM ctest-TestBasicPolicy-07016447-60284266 is ready for SSH connections 2025-04-25 15:07:04,640 - INFO - Waiting for VM ctest-TestBasicPolicy-07016447-21863191 to be up.. 2025-04-25 15:07:04,707 - DEBUG - VM is in ACTIVE state now 2025-04-25 15:07:04,707 - INFO - VM name : ctest-TestBasicPolicy-07016447-21863191 2025-04-25 15:07:04,773 - DEBUG - VM ctest-TestBasicPolicy-07016447-21863191 ID is 4e4d8a77-7905-415d-b969-78e2a62fa24b 2025-04-25 15:07:04,773 - DEBUG - VM ctest-TestBasicPolicy-07016447-21863191 launched on Node cn-jenkins-deploy-platform-ansible-os-3217-1 2025-04-25 15:07:04,838 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/4e4d8a77-7905-415d-b969-78e2a62fa24b 2025-04-25 15:07:04,845 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/602e2302-d77b-4716-8a45-d3dbf519c969 2025-04-25 15:07:06,078 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.813 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.813/2.025/3.237/1.212 ms') 2025-04-25 15:07:06,078 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07016447-21863191 passed 2025-04-25 15:07:06,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 15:07:06,229 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07016447-21863191, IP 52.192.65.131, Port 22 2025-04-25 15:07:06,388 - DEBUG - VM ctest-TestBasicPolicy-07016447-21863191 is ready for SSH connections 2025-04-25 15:07:06,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 15:07:06,388 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.192.65.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-04-25 15:07:06,388 - DEBUG - ping -s 56 -c 3 -W 1 52.192.65.131 2025-04-25 15:07:10,060 - DEBUG - PING 52.192.65.131 (52.192.65.131): 56 data bytes 64 bytes from 52.192.65.131: seq=0 ttl=63 time=3.241 ms 64 bytes from 52.192.65.131: seq=1 ttl=63 time=1.137 ms 64 bytes from 52.192.65.131: seq=2 ttl=63 time=0.902 ms --- 52.192.65.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.902/1.760/3.241 ms 2025-04-25 15:07:10,061 - INFO - Ping to IP 52.192.65.131 from VM ctest-TestBasicPolicy-07016447-60284266 passed 2025-04-25 15:07:10,244 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d7c8a282-5063-4dac-8643-28e72504d5b8", "href": "http://10.0.0.23:8082/network-policy/d7c8a282-5063-4dac-8643-28e72504d5b8"}} 2025-04-25 15:07:10,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 15:07:10,244 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.192.65.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-04-25 15:07:10,244 - DEBUG - ping -s 56 -c 3 -W 1 52.192.65.131 2025-04-25 15:07:13,453 - DEBUG - PING 52.192.65.131 (52.192.65.131): 56 data bytes --- 52.192.65.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-25 15:07:13,453 - WARNING - Ping to IP 52.192.65.131 from VM ctest-TestBasicPolicy-07016447-60284266 failed 2025-04-25 15:07:13,453 - INFO - Deleting VM ctest-TestBasicPolicy-07016447-21863191 2025-04-25 15:07:13,510 - INFO - Deleting VM ctest-TestBasicPolicy-07016447-60284266 2025-04-25 15:07:13,871 - INFO - Deleted policy ctest-policy-allow-all-25467915 2025-04-25 15:07:13,871 - INFO - Deleting VN ctest-vn-20012329 2025-04-25 15:07:13,911 - DEBUG - VN 435b4da2-83f7-407b-8a66-54896d601a1b still in use: Unable to complete operation on network 435b4da2-83f7-407b-8a66-54896d601a1b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7b5709ef-c56c-41a3-a3c0-8947362b9457'] 2025-04-25 15:07:13,911 - WARNING - Deleting VN ctest-vn-20012329 failed..Will retry 2025-04-25 15:07:16,021 - DEBUG - Response for deleting network () 2025-04-25 15:07:16,021 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/bd13ca93-1504-45e1-8dd2-d6621980155a 2025-04-25 15:07:16,029 - DEBUG - Response Code: 404 2025-04-25 15:07:16,029 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-25 15:07:16,035 - DEBUG - Requesting: http://10.0.0.23:8082/domain/068f244f-9f15-4fed-bf71-44d375ced264 2025-04-25 15:07:16,091 - DEBUG - Requesting: http://10.0.0.23:8082/project/cceee88c-f634-4b6b-9dac-2c2ea9d7bea3 2025-04-25 15:07:16,169 - INFO - Validated that VN ctest-vn-20012329 is not found in API Server 2025-04-25 15:07:16,179 - DEBUG - VN ctest-vn-20012329 is not present in Agent 10.0.0.23 2025-04-25 15:07:16,179 - INFO - Validated that VN ctest-vn-20012329 is not in any agent 2025-04-25 15:07:16,195 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20012329 info 2025-04-25 15:07:16,195 - INFO - Deleting VN ctest-vn-65160896 2025-04-25 15:07:16,302 - DEBUG - Response for deleting network () 2025-04-25 15:07:16,302 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cc5dde80-b654-4e93-8524-f7fb7afc4172 2025-04-25 15:07:16,314 - DEBUG - Response Code: 404 2025-04-25 15:07:16,314 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-25 15:07:16,321 - DEBUG - Requesting: http://10.0.0.23:8082/domain/068f244f-9f15-4fed-bf71-44d375ced264 2025-04-25 15:07:16,382 - DEBUG - Requesting: http://10.0.0.23:8082/project/cceee88c-f634-4b6b-9dac-2c2ea9d7bea3 2025-04-25 15:07:16,459 - INFO - Validated that VN ctest-vn-65160896 is not found in API Server 2025-04-25 15:07:16,470 - DEBUG - VN ctest-vn-65160896 is not present in Agent 10.0.0.23 2025-04-25 15:07:16,470 - INFO - Validated that VN ctest-vn-65160896 is not in any agent 2025-04-25 15:07:16,486 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65160896 info 2025-04-25 15:07:16,742 - DEBUG - No XMPP flaps were noticed during the test 2025-04-25 15:07:16,742 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-25 15:07:16,743 - INFO - -------------------------------------------------------------------------------- 2025-04-25 15:07:17,435 - INFO - Deleted project: ctest-TestBasicPolicy-07016447, ID : cceee88c-f634-4b6b-9dac-2c2ea9d7bea3