2024-08-26 20:21:20,194 - INFO - Domain Default found not creating 2024-08-26 20:21:20,350 - INFO - Project ctest-TestBasicPolicy-24079625 not found, creating it 2024-08-26 20:21:20,815 - INFO - Created Project:ctest-TestBasicPolicy-24079625, ID : b05263b4-e12a-43ce-b1d8-6bb0e01dcfe0 2024-08-26 20:21:22,293 - INFO - ================================================================================ 2024-08-26 20:21:22,293 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-26 20:21:22,293 - 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 2024-08-26 20:21:22,554 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.7': '0'}} with 2024-08-26 20:21:22,554 - INFO - Initial checks done. Running the testcase now 2024-08-26 20:21:22,554 - INFO - 2024-08-26 20:21:23,101 - DEBUG - Response for create_network : {'network': {'id': 'fc2024c5-339b-4545-bf52-092bd079f657', 'name': 'ctest-vn-89285425', 'tenant_id': 'b05263b4e12a43ceb1d86bb0e01dcfe0', 'project_id': 'b05263b4e12a43ceb1d86bb0e01dcfe0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24079625', 'ctest-vn-89285425'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 20:21:23,363 - DEBUG - Response for create_subnet : {'subnet': {'id': '149e0a0c-31b9-4f60-a0d2-8585f6dac5f6', 'name': '', 'tenant_id': 'b05263b4e12a43ceb1d86bb0e01dcfe0', 'network_id': 'fc2024c5-339b-4545-bf52-092bd079f657', 'ip_version': 4, 'cidr': '209.106.68.192/26', 'allocation_pools': [{'start': '209.106.68.194', 'end': '209.106.68.254'}], 'gateway_ip': '209.106.68.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.106.68.194', 'tags': [], 'project_id': 'b05263b4e12a43ceb1d86bb0e01dcfe0'}} 2024-08-26 20:21:23,384 - INFO - Created VN ctest-vn-89285425 2024-08-26 20:21:23,436 - DEBUG - VN ctest-vn-89285425 UUID is fc2024c5-339b-4545-bf52-092bd079f657 2024-08-26 20:21:23,737 - DEBUG - Response for create_network : {'network': {'id': 'f31a2003-1789-470d-85f0-5adcc56eeb6d', 'name': 'ctest-vn-60493360', 'tenant_id': 'b05263b4e12a43ceb1d86bb0e01dcfe0', 'project_id': 'b05263b4e12a43ceb1d86bb0e01dcfe0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24079625', 'ctest-vn-60493360'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 20:21:23,897 - DEBUG - Response for create_subnet : {'subnet': {'id': '92960470-db72-4e59-8a28-298e668c6f26', 'name': '', 'tenant_id': 'b05263b4e12a43ceb1d86bb0e01dcfe0', 'network_id': 'f31a2003-1789-470d-85f0-5adcc56eeb6d', 'ip_version': 4, 'cidr': '50.93.82.128/26', 'allocation_pools': [{'start': '50.93.82.130', 'end': '50.93.82.190'}], 'gateway_ip': '50.93.82.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.93.82.130', 'tags': [], 'project_id': 'b05263b4e12a43ceb1d86bb0e01dcfe0'}} 2024-08-26 20:21:23,914 - INFO - Created VN ctest-vn-60493360 2024-08-26 20:21:23,964 - DEBUG - VN ctest-vn-60493360 UUID is f31a2003-1789-470d-85f0-5adcc56eeb6d 2024-08-26 20:21:24,074 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24079625:ctest-vn-89285425, 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-24079625:ctest-vn-60493360, 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] 2024-08-26 20:21:24,360 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fc2024c5-339b-4545-bf52-092bd079f657', 'name': 'ctest-vn-89285425', 'tenant_id': 'b05263b4e12a43ceb1d86bb0e01dcfe0', 'project_id': 'b05263b4e12a43ceb1d86bb0e01dcfe0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['149e0a0c-31b9-4f60-a0d2-8585f6dac5f6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24079625', 'ctest-vn-89285425'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24079625', 'ctest-policy-allow-all-22048587']], 'subnet_ipam': [{'subnet_cidr': '209.106.68.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-26 20:21:24,638 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f31a2003-1789-470d-85f0-5adcc56eeb6d', 'name': 'ctest-vn-60493360', 'tenant_id': 'b05263b4e12a43ceb1d86bb0e01dcfe0', 'project_id': 'b05263b4e12a43ceb1d86bb0e01dcfe0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['92960470-db72-4e59-8a28-298e668c6f26'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24079625', 'ctest-vn-60493360'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24079625', 'ctest-policy-allow-all-22048587']], 'subnet_ipam': [{'subnet_cidr': '50.93.82.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-26 20:21:24,760 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-08-26 20:21:25,069 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-08-26 20:21:25,133 - DEBUG - Requesting: http://10.0.0.44:8082/domain/679f2d81-2d17-4976-ac93-54b5dc512e18 2024-08-26 20:21:25,166 - DEBUG - Requesting: http://10.0.0.44:8082/project/b05263b4-e12a-43ce-b1d8-6bb0e01dcfe0 2024-08-26 20:21:25,272 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/fc2024c5-339b-4545-bf52-092bd079f657 2024-08-26 20:21:25,285 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/fc2024c5-339b-4545-bf52-092bd079f657 2024-08-26 20:21:25,293 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/1df5a628-b6f9-4cc7-a09d-23379e88bf19 2024-08-26 20:21:25,299 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/1df5a628-b6f9-4cc7-a09d-23379e88bf19 2024-08-26 20:21:25,305 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/ee81bfc1-8c7c-4932-90a7-696dc92252ab 2024-08-26 20:21:25,313 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-26 20:21:25,314 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/fc2024c5-339b-4545-bf52-092bd079f657 2024-08-26 20:21:25,325 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/1df5a628-b6f9-4cc7-a09d-23379e88bf19 2024-08-26 20:21:25,345 - INFO - Verified VN network id 9 for VN fc2024c5-339b-4545-bf52-092bd079f657 2024-08-26 20:21:25,345 - INFO - Verifications in API Server for VN ctest-vn-89285425 passed 2024-08-26 20:21:25,345 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/fc2024c5-339b-4545-bf52-092bd079f657 2024-08-26 20:21:25,375 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/1df5a628-b6f9-4cc7-a09d-23379e88bf19 2024-08-26 20:21:25,382 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/1df5a628-b6f9-4cc7-a09d-23379e88bf19 2024-08-26 20:21:25,396 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/ee81bfc1-8c7c-4932-90a7-696dc92252ab 2024-08-26 20:21:25,413 - DEBUG - Control-node 10.0.0.44 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24079625:ctest-vn-89285425', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24079625', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18167561326205551941', 'uuid-lslong': '13786091493120407127'}, 'enable': 'true', 'created': '2024-08-26T20:21:23', 'last-modified': '2024-08-26T20:21:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.071923'} 2024-08-26 20:21:25,421 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-26 20:21:25,421 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89285425 passed 2024-08-26 20:21:25,421 - DEBUG - ====Verifying policy data for ctest-vn-89285425 in API_Server ====== 2024-08-26 20:21:25,421 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-08-26 20:21:25,443 - DEBUG - Requesting: http://10.0.0.44:8082/domain/679f2d81-2d17-4976-ac93-54b5dc512e18 2024-08-26 20:21:25,506 - DEBUG - Requesting: http://10.0.0.44:8082/project/b05263b4-e12a-43ce-b1d8-6bb0e01dcfe0 2024-08-26 20:21:25,607 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/fc2024c5-339b-4545-bf52-092bd079f657 2024-08-26 20:21:25,621 - DEBUG - ==>Verifying data for policy with id: 7063d092-d80d-4d1b-a674-d694351142af, fqn: ['default-domain', 'ctest-TestBasicPolicy-24079625', 'ctest-policy-allow-all-22048587'] 2024-08-26 20:21:25,621 - INFO - VN ctest-vn-89285425 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-26 20:21:25,621 - DEBUG - Verifying the vn in opserver 2024-08-26 20:21:25,621 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24079625:ctest-vn-89285425 virtual network link through opserver 10.0.0.44 2024-08-26 20:21:25,621 - DEBUG - Requesting: http://10.0.0.44:8081/analytics/uves/virtual-networks 2024-08-26 20:21:25,931 - DEBUG - Requesting: http://10.0.0.44:8081/analytics/uves/virtual-networks 2024-08-26 20:21:25,987 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24079625:ctest-vn-89285425', 'href': 'http://10.0.0.44:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24079625:ctest-vn-89285425?flat'} 2024-08-26 20:21:25,987 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24079625:ctest-vn-89285425 is found in opserver 2024-08-26 20:21:25,998 - DEBUG - Do not have enough data to verify VN in agent 2024-08-26 20:21:26,002 - DEBUG - VRF ids for VN ctest-vn-89285425: {} 2024-08-26 20:21:26,002 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-08-26 20:21:26,008 - DEBUG - Requesting: http://10.0.0.44:8082/domain/679f2d81-2d17-4976-ac93-54b5dc512e18 2024-08-26 20:21:26,020 - DEBUG - Requesting: http://10.0.0.44:8082/project/b05263b4-e12a-43ce-b1d8-6bb0e01dcfe0 2024-08-26 20:21:26,093 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/f31a2003-1789-470d-85f0-5adcc56eeb6d 2024-08-26 20:21:26,103 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/f31a2003-1789-470d-85f0-5adcc56eeb6d 2024-08-26 20:21:26,110 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/c9a33bf0-16d2-4ea9-bce5-b0588a71604e 2024-08-26 20:21:26,116 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/c9a33bf0-16d2-4ea9-bce5-b0588a71604e 2024-08-26 20:21:26,122 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/854471eb-28c1-4aad-86fd-7daacb24adb8 2024-08-26 20:21:26,127 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-26 20:21:26,128 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/f31a2003-1789-470d-85f0-5adcc56eeb6d 2024-08-26 20:21:26,134 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/c9a33bf0-16d2-4ea9-bce5-b0588a71604e 2024-08-26 20:21:26,145 - INFO - Verified VN network id 10 for VN f31a2003-1789-470d-85f0-5adcc56eeb6d 2024-08-26 20:21:26,145 - INFO - Verifications in API Server for VN ctest-vn-60493360 passed 2024-08-26 20:21:26,146 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/f31a2003-1789-470d-85f0-5adcc56eeb6d 2024-08-26 20:21:26,153 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/c9a33bf0-16d2-4ea9-bce5-b0588a71604e 2024-08-26 20:21:26,159 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/c9a33bf0-16d2-4ea9-bce5-b0588a71604e 2024-08-26 20:21:26,165 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/854471eb-28c1-4aad-86fd-7daacb24adb8 2024-08-26 20:21:26,177 - DEBUG - Control-node 10.0.0.44 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24079625:ctest-vn-60493360', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24079625', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17517348898262828813', 'uuid-lslong': '9651313905706658669'}, 'enable': 'true', 'created': '2024-08-26T20:21:23', 'last-modified': '2024-08-26T20:21:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.602727'} 2024-08-26 20:21:26,183 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-26 20:21:26,183 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60493360 passed 2024-08-26 20:21:26,184 - DEBUG - ====Verifying policy data for ctest-vn-60493360 in API_Server ====== 2024-08-26 20:21:26,184 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-08-26 20:21:26,189 - DEBUG - Requesting: http://10.0.0.44:8082/domain/679f2d81-2d17-4976-ac93-54b5dc512e18 2024-08-26 20:21:26,199 - DEBUG - Requesting: http://10.0.0.44:8082/project/b05263b4-e12a-43ce-b1d8-6bb0e01dcfe0 2024-08-26 20:21:26,266 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/f31a2003-1789-470d-85f0-5adcc56eeb6d 2024-08-26 20:21:26,273 - DEBUG - ==>Verifying data for policy with id: 7063d092-d80d-4d1b-a674-d694351142af, fqn: ['default-domain', 'ctest-TestBasicPolicy-24079625', 'ctest-policy-allow-all-22048587'] 2024-08-26 20:21:26,274 - INFO - VN ctest-vn-60493360 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-26 20:21:26,274 - DEBUG - Verifying the vn in opserver 2024-08-26 20:21:26,274 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24079625:ctest-vn-60493360 virtual network link through opserver 10.0.0.44 2024-08-26 20:21:26,274 - DEBUG - Requesting: http://10.0.0.44:8081/analytics/uves/virtual-networks 2024-08-26 20:21:26,284 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24079625:ctest-vn-60493360', 'href': 'http://10.0.0.44:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24079625:ctest-vn-60493360?flat'} 2024-08-26 20:21:26,284 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24079625:ctest-vn-60493360 is found in opserver 2024-08-26 20:21:26,293 - DEBUG - Do not have enough data to verify VN in agent 2024-08-26 20:21:26,298 - DEBUG - VRF ids for VN ctest-vn-60493360: {} 2024-08-26 20:21:26,357 - DEBUG - Services list from nova: [, , ] 2024-08-26 20:21:27,462 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1771-1) 2024-08-26 20:21:28,544 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1771-1) 2024-08-26 20:21:28,544 - INFO - Waiting for VM ctest-TestBasicPolicy-24079625-02517519 to be up.. 2024-08-26 20:21:28,627 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 20:21:33,704 - DEBUG - VM is in ACTIVE state now 2024-08-26 20:21:33,704 - INFO - VM name : ctest-TestBasicPolicy-24079625-02517519 2024-08-26 20:21:33,776 - DEBUG - VM ctest-TestBasicPolicy-24079625-02517519 ID is 12ab9d34-d7d5-4272-8f01-b5450b1fec43 2024-08-26 20:21:33,793 - DEBUG - VM ctest-TestBasicPolicy-24079625-02517519 launched on Node cn-jenkins-deploy-platform-ansible-os-1771-1 2024-08-26 20:21:33,863 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/12ab9d34-d7d5-4272-8f01-b5450b1fec43 2024-08-26 20:21:33,871 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/3d2a6031-cab1-45ba-a9f6-2ba0baa501b7 2024-08-26 20:21:37,135 - 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 1023ms') 2024-08-26 20:21:37,136 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24079625-02517519 failed! 2024-08-26 20:21:37,188 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24079625:ctest-vn-89285425 is 209.106.68.193 and allocation pool is NOT set 2024-08-26 20:21:39,246 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.310 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.310/1.616/2.922/1.306 ms') 2024-08-26 20:21:39,246 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24079625-02517519 passed 2024-08-26 20:21:39,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 20:21:39,396 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24079625-02517519, IP 209.106.68.195, Port 22 2024-08-26 20:21:39,556 - DEBUG - VM ctest-TestBasicPolicy-24079625-02517519 is ready for SSH connections 2024-08-26 20:21:39,556 - INFO - Waiting for VM ctest-TestBasicPolicy-24079625-30072658 to be up.. 2024-08-26 20:21:39,631 - DEBUG - VM is in ACTIVE state now 2024-08-26 20:21:39,631 - INFO - VM name : ctest-TestBasicPolicy-24079625-30072658 2024-08-26 20:21:39,703 - DEBUG - VM ctest-TestBasicPolicy-24079625-30072658 ID is 105afb91-fa52-4dd2-853b-c1f5573ecd91 2024-08-26 20:21:39,703 - DEBUG - VM ctest-TestBasicPolicy-24079625-30072658 launched on Node cn-jenkins-deploy-platform-ansible-os-1771-1 2024-08-26 20:21:39,775 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/105afb91-fa52-4dd2-853b-c1f5573ecd91 2024-08-26 20:21:39,784 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/d649eea6-256f-4588-9390-5b928c3f6ab2 2024-08-26 20:21:41,009 - 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=2.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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 = 0.448/1.635/2.823/1.187 ms') 2024-08-26 20:21:41,009 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24079625-30072658 passed 2024-08-26 20:21:41,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 20:21:41,168 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24079625-30072658, IP 50.93.82.131, Port 22 2024-08-26 20:21:41,333 - DEBUG - VM ctest-TestBasicPolicy-24079625-30072658 is ready for SSH connections 2024-08-26 20:21:41,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 20:21:41,333 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.93.82.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-08-26 20:21:41,333 - DEBUG - ping -s 56 -c 3 -W 1 50.93.82.131 2024-08-26 20:21:45,289 - DEBUG - PING 50.93.82.131 (50.93.82.131): 56 data bytes 64 bytes from 50.93.82.131: seq=0 ttl=63 time=3.101 ms 64 bytes from 50.93.82.131: seq=1 ttl=63 time=0.957 ms 64 bytes from 50.93.82.131: seq=2 ttl=63 time=0.997 ms --- 50.93.82.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.957/1.685/3.101 ms 2024-08-26 20:21:45,289 - INFO - Ping to IP 50.93.82.131 from VM ctest-TestBasicPolicy-24079625-02517519 passed 2024-08-26 20:21:45,464 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7063d092-d80d-4d1b-a674-d694351142af", "href": "http://10.0.0.44:8082/network-policy/7063d092-d80d-4d1b-a674-d694351142af"}} 2024-08-26 20:21:45,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 20:21:45,464 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.93.82.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-08-26 20:21:45,464 - DEBUG - ping -s 56 -c 3 -W 1 50.93.82.131 2024-08-26 20:21:48,659 - DEBUG - PING 50.93.82.131 (50.93.82.131): 56 data bytes 64 bytes from 50.93.82.131: seq=0 ttl=63 time=2.458 ms --- 50.93.82.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.458/2.458/2.458 ms 2024-08-26 20:21:48,659 - WARNING - Ping to IP 50.93.82.131 from VM ctest-TestBasicPolicy-24079625-02517519 failed 2024-08-26 20:21:48,659 - INFO - Deleting VM ctest-TestBasicPolicy-24079625-30072658 2024-08-26 20:21:48,723 - INFO - Deleting VM ctest-TestBasicPolicy-24079625-02517519 2024-08-26 20:21:49,109 - INFO - Deleted policy ctest-policy-allow-all-22048587 2024-08-26 20:21:49,109 - INFO - Deleting VN ctest-vn-60493360 2024-08-26 20:21:49,146 - DEBUG - VN f31a2003-1789-470d-85f0-5adcc56eeb6d still in use: Unable to complete operation on network f31a2003-1789-470d-85f0-5adcc56eeb6d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0f36e8fd-94f6-4ee7-a6c6-4efc5b5f8499'] 2024-08-26 20:21:49,146 - WARNING - Deleting VN ctest-vn-60493360 failed..Will retry 2024-08-26 20:21:51,256 - DEBUG - Response for deleting network () 2024-08-26 20:21:51,256 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/c9a33bf0-16d2-4ea9-bce5-b0588a71604e 2024-08-26 20:21:51,261 - DEBUG - Response Code: 404 2024-08-26 20:21:51,261 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-08-26 20:21:51,266 - DEBUG - Requesting: http://10.0.0.44:8082/domain/679f2d81-2d17-4976-ac93-54b5dc512e18 2024-08-26 20:21:51,320 - DEBUG - Requesting: http://10.0.0.44:8082/project/b05263b4-e12a-43ce-b1d8-6bb0e01dcfe0 2024-08-26 20:21:51,391 - INFO - Validated that VN ctest-vn-60493360 is not found in API Server 2024-08-26 20:21:51,402 - DEBUG - VN ctest-vn-60493360 is not present in Agent 10.0.0.44 2024-08-26 20:21:51,402 - INFO - Validated that VN ctest-vn-60493360 is not in any agent 2024-08-26 20:21:51,418 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60493360 info 2024-08-26 20:21:51,418 - INFO - Deleting VN ctest-vn-89285425 2024-08-26 20:21:51,525 - DEBUG - Response for deleting network () 2024-08-26 20:21:51,525 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/1df5a628-b6f9-4cc7-a09d-23379e88bf19 2024-08-26 20:21:51,532 - DEBUG - Response Code: 404 2024-08-26 20:21:51,532 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-08-26 20:21:51,537 - DEBUG - Requesting: http://10.0.0.44:8082/domain/679f2d81-2d17-4976-ac93-54b5dc512e18 2024-08-26 20:21:51,592 - DEBUG - Requesting: http://10.0.0.44:8082/project/b05263b4-e12a-43ce-b1d8-6bb0e01dcfe0 2024-08-26 20:21:51,657 - INFO - Validated that VN ctest-vn-89285425 is not found in API Server 2024-08-26 20:21:51,667 - DEBUG - VN ctest-vn-89285425 is not present in Agent 10.0.0.44 2024-08-26 20:21:51,667 - INFO - Validated that VN ctest-vn-89285425 is not in any agent 2024-08-26 20:21:51,683 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89285425 info 2024-08-26 20:21:51,937 - DEBUG - No XMPP flaps were noticed during the test 2024-08-26 20:21:51,938 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2024-08-26 20:21:51,938 - INFO - -------------------------------------------------------------------------------- 2024-08-26 20:21:52,637 - INFO - Deleted project: ctest-TestBasicPolicy-24079625, ID : b05263b4-e12a-43ce-b1d8-6bb0e01dcfe0