2025-05-05 02:08:11,131 - INFO - Domain Default found not creating 2025-05-05 02:08:11,281 - INFO - Project ctest-TestBasicPolicy-34561908 not found, creating it 2025-05-05 02:08:11,759 - INFO - Created Project:ctest-TestBasicPolicy-34561908, ID : c2a4cac2-d55b-4812-a50b-be317934ee6c 2025-05-05 02:08:13,337 - INFO - ================================================================================ 2025-05-05 02:08:13,337 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-05 02:08:13,337 - 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-05-05 02:08:13,598 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.14': '0'}} with 2025-05-05 02:08:13,598 - INFO - Initial checks done. Running the testcase now 2025-05-05 02:08:13,598 - INFO - 2025-05-05 02:08:14,171 - DEBUG - Response for create_network : {'network': {'id': '1a14a8f1-b188-4072-8a71-140af627b85f', 'name': 'ctest-vn-20272704', 'tenant_id': 'c2a4cac2d55b4812a50bbe317934ee6c', 'project_id': 'c2a4cac2d55b4812a50bbe317934ee6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34561908', 'ctest-vn-20272704'], 'port_security_enabled': True, 'description': ''}} 2025-05-05 02:08:14,377 - DEBUG - Response for create_subnet : {'subnet': {'id': '7bea379b-a99c-4a4c-8596-39872d902c1d', 'name': '', 'tenant_id': 'c2a4cac2d55b4812a50bbe317934ee6c', 'network_id': '1a14a8f1-b188-4072-8a71-140af627b85f', 'ip_version': 4, 'cidr': '22.11.195.0/26', 'allocation_pools': [{'start': '22.11.195.2', 'end': '22.11.195.62'}], 'gateway_ip': '22.11.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.11.195.2', 'tags': [], 'project_id': 'c2a4cac2d55b4812a50bbe317934ee6c'}} 2025-05-05 02:08:14,396 - INFO - Created VN ctest-vn-20272704 2025-05-05 02:08:14,448 - DEBUG - VN ctest-vn-20272704 UUID is 1a14a8f1-b188-4072-8a71-140af627b85f 2025-05-05 02:08:14,733 - DEBUG - Response for create_network : {'network': {'id': '48930513-aec0-45d2-a4b9-9e3d3ae80106', 'name': 'ctest-vn-23298817', 'tenant_id': 'c2a4cac2d55b4812a50bbe317934ee6c', 'project_id': 'c2a4cac2d55b4812a50bbe317934ee6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34561908', 'ctest-vn-23298817'], 'port_security_enabled': True, 'description': ''}} 2025-05-05 02:08:14,939 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1720b00-2535-415c-8e65-7c7bd024abd6', 'name': '', 'tenant_id': 'c2a4cac2d55b4812a50bbe317934ee6c', 'network_id': '48930513-aec0-45d2-a4b9-9e3d3ae80106', 'ip_version': 4, 'cidr': '102.173.187.0/26', 'allocation_pools': [{'start': '102.173.187.2', 'end': '102.173.187.62'}], 'gateway_ip': '102.173.187.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.173.187.2', 'tags': [], 'project_id': 'c2a4cac2d55b4812a50bbe317934ee6c'}} 2025-05-05 02:08:14,956 - INFO - Created VN ctest-vn-23298817 2025-05-05 02:08:15,008 - DEBUG - VN ctest-vn-23298817 UUID is 48930513-aec0-45d2-a4b9-9e3d3ae80106 2025-05-05 02:08:15,163 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34561908:ctest-vn-20272704, 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-34561908:ctest-vn-23298817, 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-05-05 02:08:15,461 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1a14a8f1-b188-4072-8a71-140af627b85f', 'name': 'ctest-vn-20272704', 'tenant_id': 'c2a4cac2d55b4812a50bbe317934ee6c', 'project_id': 'c2a4cac2d55b4812a50bbe317934ee6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7bea379b-a99c-4a4c-8596-39872d902c1d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34561908', 'ctest-vn-20272704'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34561908', 'ctest-policy-allow-all-91292134']], 'subnet_ipam': [{'subnet_cidr': '22.11.195.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-05 02:08:15,691 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48930513-aec0-45d2-a4b9-9e3d3ae80106', 'name': 'ctest-vn-23298817', 'tenant_id': 'c2a4cac2d55b4812a50bbe317934ee6c', 'project_id': 'c2a4cac2d55b4812a50bbe317934ee6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e1720b00-2535-415c-8e65-7c7bd024abd6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34561908', 'ctest-vn-23298817'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34561908', 'ctest-policy-allow-all-91292134']], 'subnet_ipam': [{'subnet_cidr': '102.173.187.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-05 02:08:15,864 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-05-05 02:08:16,194 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-05-05 02:08:16,223 - DEBUG - Requesting: http://10.0.0.56:8082/domain/96609882-497a-45c5-b64e-f23d234c4d75 2025-05-05 02:08:16,237 - DEBUG - Requesting: http://10.0.0.56:8082/project/c2a4cac2-d55b-4812-a50b-be317934ee6c 2025-05-05 02:08:16,309 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/1a14a8f1-b188-4072-8a71-140af627b85f 2025-05-05 02:08:16,320 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/1a14a8f1-b188-4072-8a71-140af627b85f 2025-05-05 02:08:16,331 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/38b8f443-e40c-4ae7-b726-78c5afbc4f76 2025-05-05 02:08:16,339 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/38b8f443-e40c-4ae7-b726-78c5afbc4f76 2025-05-05 02:08:16,346 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/9ca179b4-44a7-4394-863a-929e8427401f 2025-05-05 02:08:16,352 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-05 02:08:16,353 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/1a14a8f1-b188-4072-8a71-140af627b85f 2025-05-05 02:08:16,362 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/38b8f443-e40c-4ae7-b726-78c5afbc4f76 2025-05-05 02:08:16,377 - INFO - Verified VN network id 8 for VN 1a14a8f1-b188-4072-8a71-140af627b85f 2025-05-05 02:08:16,377 - INFO - Verifications in API Server for VN ctest-vn-20272704 passed 2025-05-05 02:08:16,377 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/1a14a8f1-b188-4072-8a71-140af627b85f 2025-05-05 02:08:16,387 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/38b8f443-e40c-4ae7-b726-78c5afbc4f76 2025-05-05 02:08:16,395 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/38b8f443-e40c-4ae7-b726-78c5afbc4f76 2025-05-05 02:08:16,402 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/9ca179b4-44a7-4394-863a-929e8427401f 2025-05-05 02:08:16,415 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34561908:ctest-vn-20272704', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34561908', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1879312700539420786', 'uuid-lslong': '9975776686914386015'}, 'enable': 'true', 'created': '2025-05-05T02:08:14', 'last-modified': '2025-05-05T02:08:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.983345'} 2025-05-05 02:08:16,422 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-05 02:08:16,422 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20272704 passed 2025-05-05 02:08:16,422 - DEBUG - ====Verifying policy data for ctest-vn-20272704 in API_Server ====== 2025-05-05 02:08:16,422 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-05-05 02:08:16,428 - DEBUG - Requesting: http://10.0.0.56:8082/domain/96609882-497a-45c5-b64e-f23d234c4d75 2025-05-05 02:08:16,440 - DEBUG - Requesting: http://10.0.0.56:8082/project/c2a4cac2-d55b-4812-a50b-be317934ee6c 2025-05-05 02:08:16,515 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/1a14a8f1-b188-4072-8a71-140af627b85f 2025-05-05 02:08:16,526 - DEBUG - ==>Verifying data for policy with id: bd05ad66-9879-4058-8102-eaf9f1a378be, fqn: ['default-domain', 'ctest-TestBasicPolicy-34561908', 'ctest-policy-allow-all-91292134'] 2025-05-05 02:08:16,526 - INFO - VN ctest-vn-20272704 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-05 02:08:16,526 - DEBUG - Verifying the vn in opserver 2025-05-05 02:08:16,526 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34561908:ctest-vn-20272704 virtual network link through opserver 10.0.0.56 2025-05-05 02:08:16,526 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-05-05 02:08:16,862 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-05-05 02:08:16,921 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34561908:ctest-vn-20272704', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34561908:ctest-vn-20272704?flat'} 2025-05-05 02:08:16,921 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34561908:ctest-vn-20272704 is found in opserver 2025-05-05 02:08:16,934 - DEBUG - Do not have enough data to verify VN in agent 2025-05-05 02:08:16,940 - DEBUG - VRF ids for VN ctest-vn-20272704: {} 2025-05-05 02:08:16,940 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-05-05 02:08:16,946 - DEBUG - Requesting: http://10.0.0.56:8082/domain/96609882-497a-45c5-b64e-f23d234c4d75 2025-05-05 02:08:16,959 - DEBUG - Requesting: http://10.0.0.56:8082/project/c2a4cac2-d55b-4812-a50b-be317934ee6c 2025-05-05 02:08:17,034 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/48930513-aec0-45d2-a4b9-9e3d3ae80106 2025-05-05 02:08:17,047 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/48930513-aec0-45d2-a4b9-9e3d3ae80106 2025-05-05 02:08:17,057 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9cedb2da-d1cb-4831-b21a-b0cd5963e19b 2025-05-05 02:08:17,065 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9cedb2da-d1cb-4831-b21a-b0cd5963e19b 2025-05-05 02:08:17,072 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/759ecea5-838c-4863-b05b-efca63054db0 2025-05-05 02:08:17,079 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-05 02:08:17,079 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/48930513-aec0-45d2-a4b9-9e3d3ae80106 2025-05-05 02:08:17,089 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9cedb2da-d1cb-4831-b21a-b0cd5963e19b 2025-05-05 02:08:17,104 - INFO - Verified VN network id 9 for VN 48930513-aec0-45d2-a4b9-9e3d3ae80106 2025-05-05 02:08:17,104 - INFO - Verifications in API Server for VN ctest-vn-23298817 passed 2025-05-05 02:08:17,105 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/48930513-aec0-45d2-a4b9-9e3d3ae80106 2025-05-05 02:08:17,114 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9cedb2da-d1cb-4831-b21a-b0cd5963e19b 2025-05-05 02:08:17,121 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9cedb2da-d1cb-4831-b21a-b0cd5963e19b 2025-05-05 02:08:17,129 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/759ecea5-838c-4863-b05b-efca63054db0 2025-05-05 02:08:17,141 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34561908:ctest-vn-23298817', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34561908', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5229529174401631698', 'uuid-lslong': '11869692278730129670'}, 'enable': 'true', 'created': '2025-05-05T02:08:14', 'last-modified': '2025-05-05T02:08:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.475227'} 2025-05-05 02:08:17,148 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-05 02:08:17,148 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23298817 passed 2025-05-05 02:08:17,148 - DEBUG - ====Verifying policy data for ctest-vn-23298817 in API_Server ====== 2025-05-05 02:08:17,148 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-05-05 02:08:17,156 - DEBUG - Requesting: http://10.0.0.56:8082/domain/96609882-497a-45c5-b64e-f23d234c4d75 2025-05-05 02:08:17,186 - DEBUG - Requesting: http://10.0.0.56:8082/project/c2a4cac2-d55b-4812-a50b-be317934ee6c 2025-05-05 02:08:17,264 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/48930513-aec0-45d2-a4b9-9e3d3ae80106 2025-05-05 02:08:17,274 - DEBUG - ==>Verifying data for policy with id: bd05ad66-9879-4058-8102-eaf9f1a378be, fqn: ['default-domain', 'ctest-TestBasicPolicy-34561908', 'ctest-policy-allow-all-91292134'] 2025-05-05 02:08:17,274 - INFO - VN ctest-vn-23298817 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-05 02:08:17,274 - DEBUG - Verifying the vn in opserver 2025-05-05 02:08:17,274 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34561908:ctest-vn-23298817 virtual network link through opserver 10.0.0.56 2025-05-05 02:08:17,274 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-05-05 02:08:17,285 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34561908:ctest-vn-23298817', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34561908:ctest-vn-23298817?flat'} 2025-05-05 02:08:17,285 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34561908:ctest-vn-23298817 is found in opserver 2025-05-05 02:08:17,296 - DEBUG - Do not have enough data to verify VN in agent 2025-05-05 02:08:17,301 - DEBUG - VRF ids for VN ctest-vn-23298817: {} 2025-05-05 02:08:17,358 - DEBUG - Services list from nova: [, , ] 2025-05-05 02:08:18,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3265-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3265-1) 2025-05-05 02:08:19,844 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3265-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3265-1) 2025-05-05 02:08:19,844 - INFO - Waiting for VM ctest-TestBasicPolicy-34561908-23996815 to be up.. 2025-05-05 02:08:19,926 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-05 02:08:25,004 - DEBUG - VM is in ACTIVE state now 2025-05-05 02:08:25,004 - INFO - VM name : ctest-TestBasicPolicy-34561908-23996815 2025-05-05 02:08:25,084 - DEBUG - VM ctest-TestBasicPolicy-34561908-23996815 ID is fb3e32bc-50fd-4da1-a990-bd52cf9d2686 2025-05-05 02:08:25,106 - DEBUG - VM ctest-TestBasicPolicy-34561908-23996815 launched on Node cn-jenkins-deploy-platform-ansible-os-3265-1 2025-05-05 02:08:25,187 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/fb3e32bc-50fd-4da1-a990-bd52cf9d2686 2025-05-05 02:08:25,196 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/bce455ae-7033-4ac9-b331-a56fc25d54dd 2025-05-05 02:08:28,458 - 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 1012ms') 2025-05-05 02:08:28,458 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34561908-23996815 failed! 2025-05-05 02:08:28,516 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-34561908:ctest-vn-20272704 is 22.11.195.1 and allocation pool is NOT set 2025-05-05 02:08:30,576 - 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=8.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.704 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.704/4.700/8.697/3.996 ms') 2025-05-05 02:08:30,576 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34561908-23996815 passed 2025-05-05 02:08:30,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:08:30,724 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34561908-23996815, IP 22.11.195.3, Port 22 2025-05-05 02:08:30,883 - DEBUG - VM ctest-TestBasicPolicy-34561908-23996815 is ready for SSH connections 2025-05-05 02:08:30,883 - INFO - Waiting for VM ctest-TestBasicPolicy-34561908-49231494 to be up.. 2025-05-05 02:08:30,958 - DEBUG - VM is in ACTIVE state now 2025-05-05 02:08:30,958 - INFO - VM name : ctest-TestBasicPolicy-34561908-49231494 2025-05-05 02:08:31,033 - DEBUG - VM ctest-TestBasicPolicy-34561908-49231494 ID is d8f31244-97eb-4697-8725-072495c83f24 2025-05-05 02:08:31,033 - DEBUG - VM ctest-TestBasicPolicy-34561908-49231494 launched on Node cn-jenkins-deploy-platform-ansible-os-3265-1 2025-05-05 02:08:31,112 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/d8f31244-97eb-4697-8725-072495c83f24 2025-05-05 02:08:31,121 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/121d3d3a-1f94-43c7-b3c7-d40f8933a04b 2025-05-05 02:08:32,370 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 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.429/1.852/3.275/1.423 ms') 2025-05-05 02:08:32,371 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-34561908-49231494 passed 2025-05-05 02:08:32,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:08:32,524 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34561908-49231494, IP 102.173.187.3, Port 22 2025-05-05 02:08:32,689 - DEBUG - VM ctest-TestBasicPolicy-34561908-49231494 is ready for SSH connections 2025-05-05 02:08:32,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:08:32,690 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.173.187.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-05-05 02:08:32,690 - DEBUG - ping -s 56 -c 3 -W 1 102.173.187.3 2025-05-05 02:08:36,754 - DEBUG - PING 102.173.187.3 (102.173.187.3): 56 data bytes 64 bytes from 102.173.187.3: seq=0 ttl=63 time=3.546 ms 64 bytes from 102.173.187.3: seq=1 ttl=63 time=0.863 ms 64 bytes from 102.173.187.3: seq=2 ttl=63 time=0.894 ms --- 102.173.187.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.863/1.767/3.546 ms 2025-05-05 02:08:36,755 - INFO - Ping to IP 102.173.187.3 from VM ctest-TestBasicPolicy-34561908-23996815 passed 2025-05-05 02:08:36,939 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bd05ad66-9879-4058-8102-eaf9f1a378be", "href": "http://10.0.0.56:8082/network-policy/bd05ad66-9879-4058-8102-eaf9f1a378be"}} 2025-05-05 02:08:36,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:08:36,940 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.173.187.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-05-05 02:08:36,940 - DEBUG - ping -s 56 -c 3 -W 1 102.173.187.3 2025-05-05 02:08:40,160 - DEBUG - PING 102.173.187.3 (102.173.187.3): 56 data bytes 64 bytes from 102.173.187.3: seq=0 ttl=63 time=1.331 ms --- 102.173.187.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.331/1.331/1.331 ms 2025-05-05 02:08:40,160 - WARNING - Ping to IP 102.173.187.3 from VM ctest-TestBasicPolicy-34561908-23996815 failed 2025-05-05 02:08:40,161 - INFO - Deleting VM ctest-TestBasicPolicy-34561908-49231494 2025-05-05 02:08:40,232 - INFO - Deleting VM ctest-TestBasicPolicy-34561908-23996815 2025-05-05 02:08:40,668 - INFO - Deleted policy ctest-policy-allow-all-91292134 2025-05-05 02:08:40,668 - INFO - Deleting VN ctest-vn-23298817 2025-05-05 02:08:40,713 - DEBUG - VN 48930513-aec0-45d2-a4b9-9e3d3ae80106 still in use: Unable to complete operation on network 48930513-aec0-45d2-a4b9-9e3d3ae80106. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ec921111-eabb-4fe2-8aaf-93f90d3f62cc'] 2025-05-05 02:08:40,714 - WARNING - Deleting VN ctest-vn-23298817 failed..Will retry 2025-05-05 02:08:42,829 - DEBUG - Response for deleting network () 2025-05-05 02:08:42,829 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9cedb2da-d1cb-4831-b21a-b0cd5963e19b 2025-05-05 02:08:42,835 - DEBUG - Response Code: 404 2025-05-05 02:08:42,835 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-05-05 02:08:42,842 - DEBUG - Requesting: http://10.0.0.56:8082/domain/96609882-497a-45c5-b64e-f23d234c4d75 2025-05-05 02:08:42,897 - DEBUG - Requesting: http://10.0.0.56:8082/project/c2a4cac2-d55b-4812-a50b-be317934ee6c 2025-05-05 02:08:42,974 - INFO - Validated that VN ctest-vn-23298817 is not found in API Server 2025-05-05 02:08:42,986 - DEBUG - VN ctest-vn-23298817 is not present in Agent 10.0.0.56 2025-05-05 02:08:42,986 - INFO - Validated that VN ctest-vn-23298817 is not in any agent 2025-05-05 02:08:43,002 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23298817 info 2025-05-05 02:08:43,002 - INFO - Deleting VN ctest-vn-20272704 2025-05-05 02:08:43,107 - DEBUG - Response for deleting network () 2025-05-05 02:08:43,108 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/38b8f443-e40c-4ae7-b726-78c5afbc4f76 2025-05-05 02:08:43,116 - DEBUG - Response Code: 404 2025-05-05 02:08:43,116 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-05-05 02:08:43,122 - DEBUG - Requesting: http://10.0.0.56:8082/domain/96609882-497a-45c5-b64e-f23d234c4d75 2025-05-05 02:08:43,178 - DEBUG - Requesting: http://10.0.0.56:8082/project/c2a4cac2-d55b-4812-a50b-be317934ee6c 2025-05-05 02:08:43,253 - INFO - Validated that VN ctest-vn-20272704 is not found in API Server 2025-05-05 02:08:43,268 - DEBUG - VN ctest-vn-20272704 is not present in Agent 10.0.0.56 2025-05-05 02:08:43,268 - INFO - Validated that VN ctest-vn-20272704 is not in any agent 2025-05-05 02:08:43,285 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20272704 info 2025-05-05 02:08:43,542 - DEBUG - No XMPP flaps were noticed during the test 2025-05-05 02:08:43,542 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-05-05 02:08:43,542 - INFO - -------------------------------------------------------------------------------- 2025-05-05 02:08:44,288 - INFO - Deleted project: ctest-TestBasicPolicy-34561908, ID : c2a4cac2-d55b-4812-a50b-be317934ee6c