2025-08-27 09:36:38,432 - INFO - Domain Default found not creating 2025-08-27 09:36:38,582 - INFO - Project ctest-TestBasicPolicy-51655132 not found, creating it 2025-08-27 09:36:39,031 - INFO - Created Project:ctest-TestBasicPolicy-51655132, ID : 7e124522-00e2-447d-8af0-9cd5ba9018a3 2025-08-27 09:36:40,488 - INFO - ================================================================================ 2025-08-27 09:36:40,489 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-27 09:36:40,489 - 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-08-27 09:36:40,745 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-27 09:36:40,745 - INFO - Initial checks done. Running the testcase now 2025-08-27 09:36:40,745 - INFO - 2025-08-27 09:36:41,308 - DEBUG - Response for create_network : {'network': {'id': '24144f64-e7b1-4393-a50b-aa82932813c0', 'name': 'ctest-vn-46821185', 'tenant_id': '7e12452200e2447d8af09cd5ba9018a3', 'project_id': '7e12452200e2447d8af09cd5ba9018a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51655132', 'ctest-vn-46821185'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 09:36:41,509 - DEBUG - Response for create_subnet : {'subnet': {'id': '883f9062-e988-4f00-9694-1d9a8e93a904', 'name': '', 'tenant_id': '7e12452200e2447d8af09cd5ba9018a3', 'network_id': '24144f64-e7b1-4393-a50b-aa82932813c0', 'ip_version': 4, 'cidr': '112.167.65.192/26', 'allocation_pools': [{'start': '112.167.65.194', 'end': '112.167.65.254'}], 'gateway_ip': '112.167.65.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.167.65.194', 'tags': [], 'project_id': '7e12452200e2447d8af09cd5ba9018a3'}} 2025-08-27 09:36:41,527 - INFO - Created VN ctest-vn-46821185 2025-08-27 09:36:41,580 - DEBUG - VN ctest-vn-46821185 UUID is 24144f64-e7b1-4393-a50b-aa82932813c0 2025-08-27 09:36:41,881 - DEBUG - Response for create_network : {'network': {'id': '129b1ee2-f86c-4d79-ac64-c4fcfdb8f4a0', 'name': 'ctest-vn-59277868', 'tenant_id': '7e12452200e2447d8af09cd5ba9018a3', 'project_id': '7e12452200e2447d8af09cd5ba9018a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51655132', 'ctest-vn-59277868'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 09:36:42,112 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c70b6596-ca9a-4b97-b1ec-025a17e4d229', 'name': '', 'tenant_id': '7e12452200e2447d8af09cd5ba9018a3', 'network_id': '129b1ee2-f86c-4d79-ac64-c4fcfdb8f4a0', 'ip_version': 4, 'cidr': '211.155.6.192/26', 'allocation_pools': [{'start': '211.155.6.194', 'end': '211.155.6.254'}], 'gateway_ip': '211.155.6.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.155.6.194', 'tags': [], 'project_id': '7e12452200e2447d8af09cd5ba9018a3'}} 2025-08-27 09:36:42,129 - INFO - Created VN ctest-vn-59277868 2025-08-27 09:36:42,180 - DEBUG - VN ctest-vn-59277868 UUID is 129b1ee2-f86c-4d79-ac64-c4fcfdb8f4a0 2025-08-27 09:36:42,300 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51655132:ctest-vn-46821185, 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-51655132:ctest-vn-59277868, 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-08-27 09:36:42,596 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '24144f64-e7b1-4393-a50b-aa82932813c0', 'name': 'ctest-vn-46821185', 'tenant_id': '7e12452200e2447d8af09cd5ba9018a3', 'project_id': '7e12452200e2447d8af09cd5ba9018a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['883f9062-e988-4f00-9694-1d9a8e93a904'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51655132', 'ctest-vn-46821185'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51655132', 'ctest-policy-allow-all-52749739']], 'subnet_ipam': [{'subnet_cidr': '112.167.65.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-27 09:36:42,835 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '129b1ee2-f86c-4d79-ac64-c4fcfdb8f4a0', 'name': 'ctest-vn-59277868', 'tenant_id': '7e12452200e2447d8af09cd5ba9018a3', 'project_id': '7e12452200e2447d8af09cd5ba9018a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c70b6596-ca9a-4b97-b1ec-025a17e4d229'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51655132', 'ctest-vn-59277868'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51655132', 'ctest-policy-allow-all-52749739']], 'subnet_ipam': [{'subnet_cidr': '211.155.6.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-27 09:36:43,006 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-27 09:36:43,303 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-27 09:36:43,335 - DEBUG - Requesting: http://10.0.0.254:8082/domain/201cc085-5ac9-45c4-b5d4-9420d65b2d1d 2025-08-27 09:36:43,346 - DEBUG - Requesting: http://10.0.0.254:8082/project/7e124522-00e2-447d-8af0-9cd5ba9018a3 2025-08-27 09:36:43,419 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/24144f64-e7b1-4393-a50b-aa82932813c0 2025-08-27 09:36:43,430 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/24144f64-e7b1-4393-a50b-aa82932813c0 2025-08-27 09:36:43,440 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1713d439-259a-4361-8fc9-e6bc3468c648 2025-08-27 09:36:43,447 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1713d439-259a-4361-8fc9-e6bc3468c648 2025-08-27 09:36:43,454 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9e84be48-3a5a-42c0-8df4-2c7f4a95d8f0 2025-08-27 09:36:43,460 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-27 09:36:43,460 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/24144f64-e7b1-4393-a50b-aa82932813c0 2025-08-27 09:36:43,468 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1713d439-259a-4361-8fc9-e6bc3468c648 2025-08-27 09:36:43,483 - INFO - Verified VN network id 11 for VN 24144f64-e7b1-4393-a50b-aa82932813c0 2025-08-27 09:36:43,483 - INFO - Verifications in API Server for VN ctest-vn-46821185 passed 2025-08-27 09:36:43,483 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/24144f64-e7b1-4393-a50b-aa82932813c0 2025-08-27 09:36:43,494 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1713d439-259a-4361-8fc9-e6bc3468c648 2025-08-27 09:36:43,501 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1713d439-259a-4361-8fc9-e6bc3468c648 2025-08-27 09:36:43,508 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9e84be48-3a5a-42c0-8df4-2c7f4a95d8f0 2025-08-27 09:36:43,520 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51655132:ctest-vn-46821185', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51655132', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2599790179702096787', 'uuid-lslong': '11892786718793274304'}, 'enable': 'true', 'created': '2025-08-27T09:36:41', 'last-modified': '2025-08-27T09:36:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.944421'} 2025-08-27 09:36:43,525 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-27 09:36:43,525 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46821185 passed 2025-08-27 09:36:43,525 - DEBUG - ====Verifying policy data for ctest-vn-46821185 in API_Server ====== 2025-08-27 09:36:43,525 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-27 09:36:43,530 - DEBUG - Requesting: http://10.0.0.254:8082/domain/201cc085-5ac9-45c4-b5d4-9420d65b2d1d 2025-08-27 09:36:43,540 - DEBUG - Requesting: http://10.0.0.254:8082/project/7e124522-00e2-447d-8af0-9cd5ba9018a3 2025-08-27 09:36:43,612 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/24144f64-e7b1-4393-a50b-aa82932813c0 2025-08-27 09:36:43,620 - DEBUG - ==>Verifying data for policy with id: 1423760a-a42b-4a55-8cc3-cf52490573fc, fqn: ['default-domain', 'ctest-TestBasicPolicy-51655132', 'ctest-policy-allow-all-52749739'] 2025-08-27 09:36:43,620 - INFO - VN ctest-vn-46821185 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-27 09:36:43,620 - DEBUG - Verifying the vn in opserver 2025-08-27 09:36:43,620 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51655132:ctest-vn-46821185 virtual network link through opserver 10.0.0.254 2025-08-27 09:36:43,620 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-27 09:36:43,911 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-27 09:36:43,970 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51655132:ctest-vn-46821185', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51655132:ctest-vn-46821185?flat'} 2025-08-27 09:36:43,970 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51655132:ctest-vn-46821185 is found in opserver 2025-08-27 09:36:43,980 - DEBUG - Do not have enough data to verify VN in agent 2025-08-27 09:36:43,984 - DEBUG - VRF ids for VN ctest-vn-46821185: {} 2025-08-27 09:36:43,984 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-27 09:36:43,989 - DEBUG - Requesting: http://10.0.0.254:8082/domain/201cc085-5ac9-45c4-b5d4-9420d65b2d1d 2025-08-27 09:36:44,000 - DEBUG - Requesting: http://10.0.0.254:8082/project/7e124522-00e2-447d-8af0-9cd5ba9018a3 2025-08-27 09:36:44,070 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/129b1ee2-f86c-4d79-ac64-c4fcfdb8f4a0 2025-08-27 09:36:44,082 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/129b1ee2-f86c-4d79-ac64-c4fcfdb8f4a0 2025-08-27 09:36:44,091 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dfb2c5f4-2a8e-4474-89f1-0e8bec81dcb1 2025-08-27 09:36:44,098 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dfb2c5f4-2a8e-4474-89f1-0e8bec81dcb1 2025-08-27 09:36:44,104 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/cf67338f-0ab0-46eb-a35e-011901594a92 2025-08-27 09:36:44,111 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-27 09:36:44,111 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/129b1ee2-f86c-4d79-ac64-c4fcfdb8f4a0 2025-08-27 09:36:44,119 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dfb2c5f4-2a8e-4474-89f1-0e8bec81dcb1 2025-08-27 09:36:44,131 - INFO - Verified VN network id 12 for VN 129b1ee2-f86c-4d79-ac64-c4fcfdb8f4a0 2025-08-27 09:36:44,132 - INFO - Verifications in API Server for VN ctest-vn-59277868 passed 2025-08-27 09:36:44,132 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/129b1ee2-f86c-4d79-ac64-c4fcfdb8f4a0 2025-08-27 09:36:44,140 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dfb2c5f4-2a8e-4474-89f1-0e8bec81dcb1 2025-08-27 09:36:44,146 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dfb2c5f4-2a8e-4474-89f1-0e8bec81dcb1 2025-08-27 09:36:44,152 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/cf67338f-0ab0-46eb-a35e-011901594a92 2025-08-27 09:36:44,164 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51655132:ctest-vn-59277868', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51655132', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1340699274252143993', 'uuid-lslong': '12422270263062230176'}, 'enable': 'true', 'created': '2025-08-27T09:36:41', 'last-modified': '2025-08-27T09:36:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.352526'} 2025-08-27 09:36:44,173 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-27 09:36:44,173 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59277868 passed 2025-08-27 09:36:44,173 - DEBUG - ====Verifying policy data for ctest-vn-59277868 in API_Server ====== 2025-08-27 09:36:44,173 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-27 09:36:44,180 - DEBUG - Requesting: http://10.0.0.254:8082/domain/201cc085-5ac9-45c4-b5d4-9420d65b2d1d 2025-08-27 09:36:44,191 - DEBUG - Requesting: http://10.0.0.254:8082/project/7e124522-00e2-447d-8af0-9cd5ba9018a3 2025-08-27 09:36:44,260 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/129b1ee2-f86c-4d79-ac64-c4fcfdb8f4a0 2025-08-27 09:36:44,269 - DEBUG - ==>Verifying data for policy with id: 1423760a-a42b-4a55-8cc3-cf52490573fc, fqn: ['default-domain', 'ctest-TestBasicPolicy-51655132', 'ctest-policy-allow-all-52749739'] 2025-08-27 09:36:44,269 - INFO - VN ctest-vn-59277868 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-27 09:36:44,269 - DEBUG - Verifying the vn in opserver 2025-08-27 09:36:44,269 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51655132:ctest-vn-59277868 virtual network link through opserver 10.0.0.254 2025-08-27 09:36:44,269 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-27 09:36:44,279 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51655132:ctest-vn-59277868', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51655132:ctest-vn-59277868?flat'} 2025-08-27 09:36:44,279 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51655132:ctest-vn-59277868 is found in opserver 2025-08-27 09:36:44,288 - DEBUG - Do not have enough data to verify VN in agent 2025-08-27 09:36:44,292 - DEBUG - VRF ids for VN ctest-vn-59277868: {} 2025-08-27 09:36:44,359 - DEBUG - Services list from nova: [, , ] 2025-08-27 09:36:45,410 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3947-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3947-1) 2025-08-27 09:36:46,571 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3947-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3947-1) 2025-08-27 09:36:46,571 - INFO - Waiting for VM ctest-TestBasicPolicy-51655132-83699378 to be up.. 2025-08-27 09:36:46,661 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-27 09:36:51,739 - DEBUG - VM is in ACTIVE state now 2025-08-27 09:36:51,740 - INFO - VM name : ctest-TestBasicPolicy-51655132-83699378 2025-08-27 09:36:51,811 - DEBUG - VM ctest-TestBasicPolicy-51655132-83699378 ID is e071184b-e3c0-43ae-84f9-d06e73795681 2025-08-27 09:36:51,838 - DEBUG - VM ctest-TestBasicPolicy-51655132-83699378 launched on Node cn-jenkins-deploy-platform-ansible-os-3947-1 2025-08-27 09:36:51,934 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e071184b-e3c0-43ae-84f9-d06e73795681 2025-08-27 09:36:51,942 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7e4a5ba4-2c18-4133-812b-36f82c68343a 2025-08-27 09:36:55,165 - 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 1018ms') 2025-08-27 09:36:55,166 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51655132-83699378 failed! 2025-08-27 09:36:55,220 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51655132:ctest-vn-46821185 is 112.167.65.193 and allocation pool is NOT set 2025-08-27 09:36:57,283 - 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=7.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.905 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.905/4.281/7.657/3.376 ms') 2025-08-27 09:36:57,283 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51655132-83699378 passed 2025-08-27 09:36:57,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 09:36:57,444 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51655132-83699378, IP 112.167.65.195, Port 22 2025-08-27 09:36:57,610 - DEBUG - VM ctest-TestBasicPolicy-51655132-83699378 is ready for SSH connections 2025-08-27 09:36:57,610 - INFO - Waiting for VM ctest-TestBasicPolicy-51655132-03773206 to be up.. 2025-08-27 09:36:57,692 - DEBUG - VM is in ACTIVE state now 2025-08-27 09:36:57,692 - INFO - VM name : ctest-TestBasicPolicy-51655132-03773206 2025-08-27 09:36:57,773 - DEBUG - VM ctest-TestBasicPolicy-51655132-03773206 ID is 9b08b0b1-4de2-471d-9034-eee0f899fdce 2025-08-27 09:36:57,773 - DEBUG - VM ctest-TestBasicPolicy-51655132-03773206 launched on Node cn-jenkins-deploy-platform-ansible-os-3947-1 2025-08-27 09:36:57,848 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9b08b0b1-4de2-471d-9034-eee0f899fdce 2025-08-27 09:36:57,857 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ff9fa165-dfe5-4d7c-95f1-b09df29b8858 2025-08-27 09:36:59,101 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.580 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.580/2.098/3.616/1.518 ms') 2025-08-27 09:36:59,102 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51655132-03773206 passed 2025-08-27 09:36:59,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 09:36:59,252 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51655132-03773206, IP 211.155.6.195, Port 22 2025-08-27 09:36:59,426 - DEBUG - VM ctest-TestBasicPolicy-51655132-03773206 is ready for SSH connections 2025-08-27 09:36:59,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 09:36:59,426 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.155.6.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-27 09:36:59,426 - DEBUG - ping -s 56 -c 3 -W 1 211.155.6.195 2025-08-27 09:37:03,482 - DEBUG - PING 211.155.6.195 (211.155.6.195): 56 data bytes 64 bytes from 211.155.6.195: seq=0 ttl=63 time=4.035 ms 64 bytes from 211.155.6.195: seq=1 ttl=63 time=1.165 ms 64 bytes from 211.155.6.195: seq=2 ttl=63 time=1.054 ms --- 211.155.6.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.054/2.084/4.035 ms 2025-08-27 09:37:03,482 - INFO - Ping to IP 211.155.6.195 from VM ctest-TestBasicPolicy-51655132-83699378 passed 2025-08-27 09:37:03,676 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1423760a-a42b-4a55-8cc3-cf52490573fc", "href": "http://10.0.0.254:8082/network-policy/1423760a-a42b-4a55-8cc3-cf52490573fc"}} 2025-08-27 09:37:03,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 09:37:03,676 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.155.6.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-27 09:37:03,676 - DEBUG - ping -s 56 -c 3 -W 1 211.155.6.195 2025-08-27 09:37:06,890 - DEBUG - PING 211.155.6.195 (211.155.6.195): 56 data bytes --- 211.155.6.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-27 09:37:06,890 - WARNING - Ping to IP 211.155.6.195 from VM ctest-TestBasicPolicy-51655132-83699378 failed 2025-08-27 09:37:06,890 - INFO - Deleting VM ctest-TestBasicPolicy-51655132-03773206 2025-08-27 09:37:06,962 - INFO - Deleting VM ctest-TestBasicPolicy-51655132-83699378 2025-08-27 09:37:07,415 - INFO - Deleted policy ctest-policy-allow-all-52749739 2025-08-27 09:37:07,415 - INFO - Deleting VN ctest-vn-59277868 2025-08-27 09:37:07,461 - DEBUG - VN 129b1ee2-f86c-4d79-ac64-c4fcfdb8f4a0 still in use: Unable to complete operation on network 129b1ee2-f86c-4d79-ac64-c4fcfdb8f4a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8d4083fb-3298-420c-84ed-63deaa3f8db0'] 2025-08-27 09:37:07,461 - WARNING - Deleting VN ctest-vn-59277868 failed..Will retry 2025-08-27 09:37:09,571 - DEBUG - Response for deleting network () 2025-08-27 09:37:09,571 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dfb2c5f4-2a8e-4474-89f1-0e8bec81dcb1 2025-08-27 09:37:09,580 - DEBUG - Response Code: 404 2025-08-27 09:37:09,580 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-27 09:37:09,587 - DEBUG - Requesting: http://10.0.0.254:8082/domain/201cc085-5ac9-45c4-b5d4-9420d65b2d1d 2025-08-27 09:37:09,642 - DEBUG - Requesting: http://10.0.0.254:8082/project/7e124522-00e2-447d-8af0-9cd5ba9018a3 2025-08-27 09:37:09,716 - INFO - Validated that VN ctest-vn-59277868 is not found in API Server 2025-08-27 09:37:09,725 - DEBUG - VN ctest-vn-59277868 is not present in Agent 10.0.0.254 2025-08-27 09:37:09,725 - INFO - Validated that VN ctest-vn-59277868 is not in any agent 2025-08-27 09:37:09,738 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59277868 info 2025-08-27 09:37:09,738 - INFO - Deleting VN ctest-vn-46821185 2025-08-27 09:37:09,838 - DEBUG - Response for deleting network () 2025-08-27 09:37:09,838 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1713d439-259a-4361-8fc9-e6bc3468c648 2025-08-27 09:37:09,844 - DEBUG - Response Code: 404 2025-08-27 09:37:09,844 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-27 09:37:09,850 - DEBUG - Requesting: http://10.0.0.254:8082/domain/201cc085-5ac9-45c4-b5d4-9420d65b2d1d 2025-08-27 09:37:09,905 - DEBUG - Requesting: http://10.0.0.254:8082/project/7e124522-00e2-447d-8af0-9cd5ba9018a3 2025-08-27 09:37:09,975 - INFO - Validated that VN ctest-vn-46821185 is not found in API Server 2025-08-27 09:37:09,986 - DEBUG - VN ctest-vn-46821185 is not present in Agent 10.0.0.254 2025-08-27 09:37:09,986 - INFO - Validated that VN ctest-vn-46821185 is not in any agent 2025-08-27 09:37:09,999 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46821185 info 2025-08-27 09:37:10,253 - DEBUG - No XMPP flaps were noticed during the test 2025-08-27 09:37:10,253 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-27 09:37:10,253 - INFO - -------------------------------------------------------------------------------- 2025-08-27 09:37:11,013 - INFO - Deleted project: ctest-TestBasicPolicy-51655132, ID : 7e124522-00e2-447d-8af0-9cd5ba9018a3