2025-02-03 16:37:39,175 - INFO - Domain Default found not creating 2025-02-03 16:37:39,330 - INFO - Project ctest-TestBasicPolicy-14140958 not found, creating it 2025-02-03 16:37:39,810 - INFO - Created Project:ctest-TestBasicPolicy-14140958, ID : ac3b693f-c318-4188-9e98-f6c4613422fc 2025-02-03 16:37:41,287 - INFO - ================================================================================ 2025-02-03 16:37:41,287 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-03 16:37:41,287 - 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-02-03 16:37:41,545 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.5': '0'}} with 2025-02-03 16:37:41,545 - INFO - Initial checks done. Running the testcase now 2025-02-03 16:37:41,546 - INFO - 2025-02-03 16:37:42,090 - DEBUG - Response for create_network : {'network': {'id': '5fb991ff-ef75-4789-94f0-c34813a9369f', 'name': 'ctest-vn-33510940', 'tenant_id': 'ac3b693fc31841889e98f6c4613422fc', 'project_id': 'ac3b693fc31841889e98f6c4613422fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14140958', 'ctest-vn-33510940'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 16:37:42,245 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f379973-627d-4be3-a326-855c38d86ccb', 'name': '', 'tenant_id': 'ac3b693fc31841889e98f6c4613422fc', 'network_id': '5fb991ff-ef75-4789-94f0-c34813a9369f', 'ip_version': 4, 'cidr': '117.64.35.64/26', 'allocation_pools': [{'start': '117.64.35.66', 'end': '117.64.35.126'}], 'gateway_ip': '117.64.35.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.64.35.66', 'tags': [], 'project_id': 'ac3b693fc31841889e98f6c4613422fc'}} 2025-02-03 16:37:42,262 - INFO - Created VN ctest-vn-33510940 2025-02-03 16:37:42,315 - DEBUG - VN ctest-vn-33510940 UUID is 5fb991ff-ef75-4789-94f0-c34813a9369f 2025-02-03 16:37:42,609 - DEBUG - Response for create_network : {'network': {'id': '3402eeb6-8281-4a96-a2a8-6a33dcc815bf', 'name': 'ctest-vn-01156625', 'tenant_id': 'ac3b693fc31841889e98f6c4613422fc', 'project_id': 'ac3b693fc31841889e98f6c4613422fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14140958', 'ctest-vn-01156625'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 16:37:42,818 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da3fc3ad-1699-4f64-968e-50069baebcbc', 'name': '', 'tenant_id': 'ac3b693fc31841889e98f6c4613422fc', 'network_id': '3402eeb6-8281-4a96-a2a8-6a33dcc815bf', 'ip_version': 4, 'cidr': '11.137.53.64/26', 'allocation_pools': [{'start': '11.137.53.66', 'end': '11.137.53.126'}], 'gateway_ip': '11.137.53.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.137.53.66', 'tags': [], 'project_id': 'ac3b693fc31841889e98f6c4613422fc'}} 2025-02-03 16:37:42,837 - INFO - Created VN ctest-vn-01156625 2025-02-03 16:37:42,891 - DEBUG - VN ctest-vn-01156625 UUID is 3402eeb6-8281-4a96-a2a8-6a33dcc815bf 2025-02-03 16:37:43,011 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14140958:ctest-vn-33510940, 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-14140958:ctest-vn-01156625, 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-02-03 16:37:43,308 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5fb991ff-ef75-4789-94f0-c34813a9369f', 'name': 'ctest-vn-33510940', 'tenant_id': 'ac3b693fc31841889e98f6c4613422fc', 'project_id': 'ac3b693fc31841889e98f6c4613422fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f379973-627d-4be3-a326-855c38d86ccb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14140958', 'ctest-vn-33510940'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14140958', 'ctest-policy-allow-all-83194983']], 'subnet_ipam': [{'subnet_cidr': '117.64.35.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-03 16:37:43,532 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3402eeb6-8281-4a96-a2a8-6a33dcc815bf', 'name': 'ctest-vn-01156625', 'tenant_id': 'ac3b693fc31841889e98f6c4613422fc', 'project_id': 'ac3b693fc31841889e98f6c4613422fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['da3fc3ad-1699-4f64-968e-50069baebcbc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14140958', 'ctest-vn-01156625'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14140958', 'ctest-policy-allow-all-83194983']], 'subnet_ipam': [{'subnet_cidr': '11.137.53.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-03 16:37:43,683 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-02-03 16:37:44,044 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-02-03 16:37:44,080 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e2e3dfc0-3821-411d-a4e1-10553941e172 2025-02-03 16:37:44,096 - DEBUG - Requesting: http://10.0.0.33:8082/project/ac3b693f-c318-4188-9e98-f6c4613422fc 2025-02-03 16:37:44,173 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5fb991ff-ef75-4789-94f0-c34813a9369f 2025-02-03 16:37:44,184 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5fb991ff-ef75-4789-94f0-c34813a9369f 2025-02-03 16:37:44,195 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/97db28bd-b2b4-4d4a-9a66-522c6630bbe8 2025-02-03 16:37:44,203 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/97db28bd-b2b4-4d4a-9a66-522c6630bbe8 2025-02-03 16:37:44,210 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b1df69ba-e5f5-44f4-a33b-2d5d8522b7e7 2025-02-03 16:37:44,218 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-03 16:37:44,218 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5fb991ff-ef75-4789-94f0-c34813a9369f 2025-02-03 16:37:44,228 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/97db28bd-b2b4-4d4a-9a66-522c6630bbe8 2025-02-03 16:37:44,243 - INFO - Verified VN network id 8 for VN 5fb991ff-ef75-4789-94f0-c34813a9369f 2025-02-03 16:37:44,243 - INFO - Verifications in API Server for VN ctest-vn-33510940 passed 2025-02-03 16:37:44,243 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5fb991ff-ef75-4789-94f0-c34813a9369f 2025-02-03 16:37:44,254 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/97db28bd-b2b4-4d4a-9a66-522c6630bbe8 2025-02-03 16:37:44,262 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/97db28bd-b2b4-4d4a-9a66-522c6630bbe8 2025-02-03 16:37:44,270 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b1df69ba-e5f5-44f4-a33b-2d5d8522b7e7 2025-02-03 16:37:44,283 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14140958:ctest-vn-33510940', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14140958', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6897704832714753929', 'uuid-lslong': '10732292626358810271'}, 'enable': 'true', 'created': '2025-02-03T16:37:42', 'last-modified': '2025-02-03T16:37:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999320'} 2025-02-03 16:37:44,290 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-03 16:37:44,290 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33510940 passed 2025-02-03 16:37:44,290 - DEBUG - ====Verifying policy data for ctest-vn-33510940 in API_Server ====== 2025-02-03 16:37:44,290 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-02-03 16:37:44,297 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e2e3dfc0-3821-411d-a4e1-10553941e172 2025-02-03 16:37:44,309 - DEBUG - Requesting: http://10.0.0.33:8082/project/ac3b693f-c318-4188-9e98-f6c4613422fc 2025-02-03 16:37:44,386 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5fb991ff-ef75-4789-94f0-c34813a9369f 2025-02-03 16:37:44,398 - DEBUG - ==>Verifying data for policy with id: 7e13fd93-f1d8-480a-802a-d4023e7932bc, fqn: ['default-domain', 'ctest-TestBasicPolicy-14140958', 'ctest-policy-allow-all-83194983'] 2025-02-03 16:37:44,398 - INFO - VN ctest-vn-33510940 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-03 16:37:44,398 - DEBUG - Verifying the vn in opserver 2025-02-03 16:37:44,398 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14140958:ctest-vn-33510940 virtual network link through opserver 10.0.0.33 2025-02-03 16:37:44,398 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-02-03 16:37:44,689 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-02-03 16:37:44,772 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14140958:ctest-vn-33510940', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14140958:ctest-vn-33510940?flat'} 2025-02-03 16:37:44,772 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14140958:ctest-vn-33510940 is found in opserver 2025-02-03 16:37:44,783 - DEBUG - Do not have enough data to verify VN in agent 2025-02-03 16:37:44,788 - DEBUG - VRF ids for VN ctest-vn-33510940: {} 2025-02-03 16:37:44,788 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-02-03 16:37:44,795 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e2e3dfc0-3821-411d-a4e1-10553941e172 2025-02-03 16:37:44,807 - DEBUG - Requesting: http://10.0.0.33:8082/project/ac3b693f-c318-4188-9e98-f6c4613422fc 2025-02-03 16:37:44,884 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3402eeb6-8281-4a96-a2a8-6a33dcc815bf 2025-02-03 16:37:44,899 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3402eeb6-8281-4a96-a2a8-6a33dcc815bf 2025-02-03 16:37:44,912 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ddeb7bab-8809-4411-b169-fd30b2e01355 2025-02-03 16:37:44,920 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ddeb7bab-8809-4411-b169-fd30b2e01355 2025-02-03 16:37:44,928 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5a339670-0a58-42da-a7d8-898da208fca9 2025-02-03 16:37:44,935 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-03 16:37:44,935 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3402eeb6-8281-4a96-a2a8-6a33dcc815bf 2025-02-03 16:37:44,945 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ddeb7bab-8809-4411-b169-fd30b2e01355 2025-02-03 16:37:44,961 - INFO - Verified VN network id 9 for VN 3402eeb6-8281-4a96-a2a8-6a33dcc815bf 2025-02-03 16:37:44,961 - INFO - Verifications in API Server for VN ctest-vn-01156625 passed 2025-02-03 16:37:44,961 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3402eeb6-8281-4a96-a2a8-6a33dcc815bf 2025-02-03 16:37:44,972 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ddeb7bab-8809-4411-b169-fd30b2e01355 2025-02-03 16:37:44,980 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ddeb7bab-8809-4411-b169-fd30b2e01355 2025-02-03 16:37:44,987 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5a339670-0a58-42da-a7d8-898da208fca9 2025-02-03 16:37:45,000 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14140958:ctest-vn-01156625', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14140958', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3747820307566643862', 'uuid-lslong': '11720734801211692479'}, 'enable': 'true', 'created': '2025-02-03T16:37:42', 'last-modified': '2025-02-03T16:37:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.492170'} 2025-02-03 16:37:45,006 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-03 16:37:45,006 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01156625 passed 2025-02-03 16:37:45,007 - DEBUG - ====Verifying policy data for ctest-vn-01156625 in API_Server ====== 2025-02-03 16:37:45,007 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-02-03 16:37:45,013 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e2e3dfc0-3821-411d-a4e1-10553941e172 2025-02-03 16:37:45,024 - DEBUG - Requesting: http://10.0.0.33:8082/project/ac3b693f-c318-4188-9e98-f6c4613422fc 2025-02-03 16:37:45,104 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3402eeb6-8281-4a96-a2a8-6a33dcc815bf 2025-02-03 16:37:45,115 - DEBUG - ==>Verifying data for policy with id: 7e13fd93-f1d8-480a-802a-d4023e7932bc, fqn: ['default-domain', 'ctest-TestBasicPolicy-14140958', 'ctest-policy-allow-all-83194983'] 2025-02-03 16:37:45,115 - INFO - VN ctest-vn-01156625 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-03 16:37:45,115 - DEBUG - Verifying the vn in opserver 2025-02-03 16:37:45,115 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14140958:ctest-vn-01156625 virtual network link through opserver 10.0.0.33 2025-02-03 16:37:45,115 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-02-03 16:37:45,127 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14140958:ctest-vn-01156625', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14140958:ctest-vn-01156625?flat'} 2025-02-03 16:37:45,127 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14140958:ctest-vn-01156625 is found in opserver 2025-02-03 16:37:45,139 - DEBUG - Do not have enough data to verify VN in agent 2025-02-03 16:37:45,144 - DEBUG - VRF ids for VN ctest-vn-01156625: {} 2025-02-03 16:37:45,203 - DEBUG - Services list from nova: [, , ] 2025-02-03 16:37:46,237 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2680-1) 2025-02-03 16:37:47,508 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2680-1) 2025-02-03 16:37:47,508 - INFO - Waiting for VM ctest-TestBasicPolicy-14140958-28758026 to be up.. 2025-02-03 16:37:47,609 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-03 16:37:52,687 - DEBUG - VM is in ACTIVE state now 2025-02-03 16:37:52,688 - INFO - VM name : ctest-TestBasicPolicy-14140958-28758026 2025-02-03 16:37:52,762 - DEBUG - VM ctest-TestBasicPolicy-14140958-28758026 ID is d841075f-e1ab-44e0-a989-18586c6c59c4 2025-02-03 16:37:52,781 - DEBUG - VM ctest-TestBasicPolicy-14140958-28758026 launched on Node cn-jenkins-deploy-platform-ansible-os-2680-1 2025-02-03 16:37:52,883 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d841075f-e1ab-44e0-a989-18586c6c59c4 2025-02-03 16:37:52,896 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/14b00014-b9c9-4e04-b172-5dccc8e37148 2025-02-03 16:37:56,174 - 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 1031ms') 2025-02-03 16:37:56,174 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14140958-28758026 failed! 2025-02-03 16:37:56,231 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-14140958:ctest-vn-33510940 is 117.64.35.65 and allocation pool is NOT set 2025-02-03 16:37:58,291 - 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=9.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.35 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 = 1.354/5.439/9.525/4.085 ms') 2025-02-03 16:37:58,291 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14140958-28758026 passed 2025-02-03 16:37:58,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 16:37:58,443 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14140958-28758026, IP 117.64.35.67, Port 22 2025-02-03 16:37:58,610 - DEBUG - VM ctest-TestBasicPolicy-14140958-28758026 is ready for SSH connections 2025-02-03 16:37:58,610 - INFO - Waiting for VM ctest-TestBasicPolicy-14140958-23744726 to be up.. 2025-02-03 16:37:58,701 - DEBUG - VM is in ACTIVE state now 2025-02-03 16:37:58,701 - INFO - VM name : ctest-TestBasicPolicy-14140958-23744726 2025-02-03 16:37:58,784 - DEBUG - VM ctest-TestBasicPolicy-14140958-23744726 ID is a2a6324c-a011-42e2-82f2-486185fe43f9 2025-02-03 16:37:58,784 - DEBUG - VM ctest-TestBasicPolicy-14140958-23744726 launched on Node cn-jenkins-deploy-platform-ansible-os-2680-1 2025-02-03 16:37:58,865 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a2a6324c-a011-42e2-82f2-486185fe43f9 2025-02-03 16:37:58,875 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a0093e38-b4bf-4965-a382-510eaaf05fda 2025-02-03 16:38:00,126 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.59 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 = 2.585/3.212/3.840/0.627 ms') 2025-02-03 16:38:00,127 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-14140958-23744726 passed 2025-02-03 16:38:00,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 16:38:00,283 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14140958-23744726, IP 11.137.53.67, Port 22 2025-02-03 16:38:00,440 - DEBUG - VM ctest-TestBasicPolicy-14140958-23744726 is ready for SSH connections 2025-02-03 16:38:00,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 16:38:00,440 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.137.53.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-02-03 16:38:00,441 - DEBUG - ping -s 56 -c 3 -W 1 11.137.53.67 2025-02-03 16:38:04,618 - DEBUG - PING 11.137.53.67 (11.137.53.67): 56 data bytes 64 bytes from 11.137.53.67: seq=0 ttl=63 time=3.735 ms 64 bytes from 11.137.53.67: seq=1 ttl=63 time=0.796 ms 64 bytes from 11.137.53.67: seq=2 ttl=63 time=0.868 ms --- 11.137.53.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/1.799/3.735 ms 2025-02-03 16:38:04,618 - INFO - Ping to IP 11.137.53.67 from VM ctest-TestBasicPolicy-14140958-28758026 passed 2025-02-03 16:38:04,803 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7e13fd93-f1d8-480a-802a-d4023e7932bc", "href": "http://10.0.0.33:8082/network-policy/7e13fd93-f1d8-480a-802a-d4023e7932bc"}} 2025-02-03 16:38:04,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 16:38:04,803 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.137.53.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-02-03 16:38:04,803 - DEBUG - ping -s 56 -c 3 -W 1 11.137.53.67 2025-02-03 16:38:08,033 - DEBUG - PING 11.137.53.67 (11.137.53.67): 56 data bytes 64 bytes from 11.137.53.67: seq=0 ttl=63 time=1.413 ms --- 11.137.53.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.413/1.413/1.413 ms 2025-02-03 16:38:08,033 - WARNING - Ping to IP 11.137.53.67 from VM ctest-TestBasicPolicy-14140958-28758026 failed 2025-02-03 16:38:08,033 - INFO - Deleting VM ctest-TestBasicPolicy-14140958-23744726 2025-02-03 16:38:08,106 - INFO - Deleting VM ctest-TestBasicPolicy-14140958-28758026 2025-02-03 16:38:08,495 - INFO - Deleted policy ctest-policy-allow-all-83194983 2025-02-03 16:38:08,496 - INFO - Deleting VN ctest-vn-01156625 2025-02-03 16:38:08,530 - DEBUG - VN 3402eeb6-8281-4a96-a2a8-6a33dcc815bf still in use: Unable to complete operation on network 3402eeb6-8281-4a96-a2a8-6a33dcc815bf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2610b2e8-4281-49f3-bb74-fe0ff79d18b4'] 2025-02-03 16:38:08,530 - WARNING - Deleting VN ctest-vn-01156625 failed..Will retry 2025-02-03 16:38:10,647 - DEBUG - Response for deleting network () 2025-02-03 16:38:10,647 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ddeb7bab-8809-4411-b169-fd30b2e01355 2025-02-03 16:38:10,657 - DEBUG - Response Code: 404 2025-02-03 16:38:10,658 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-02-03 16:38:10,664 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e2e3dfc0-3821-411d-a4e1-10553941e172 2025-02-03 16:38:10,721 - DEBUG - Requesting: http://10.0.0.33:8082/project/ac3b693f-c318-4188-9e98-f6c4613422fc 2025-02-03 16:38:10,799 - INFO - Validated that VN ctest-vn-01156625 is not found in API Server 2025-02-03 16:38:10,810 - DEBUG - VN ctest-vn-01156625 is not present in Agent 10.0.0.33 2025-02-03 16:38:10,810 - INFO - Validated that VN ctest-vn-01156625 is not in any agent 2025-02-03 16:38:10,825 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01156625 info 2025-02-03 16:38:10,825 - INFO - Deleting VN ctest-vn-33510940 2025-02-03 16:38:10,931 - DEBUG - Response for deleting network () 2025-02-03 16:38:10,932 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/97db28bd-b2b4-4d4a-9a66-522c6630bbe8 2025-02-03 16:38:10,940 - DEBUG - Response Code: 404 2025-02-03 16:38:10,945 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-02-03 16:38:10,957 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e2e3dfc0-3821-411d-a4e1-10553941e172 2025-02-03 16:38:10,975 - DEBUG - Requesting: http://10.0.0.33:8082/project/ac3b693f-c318-4188-9e98-f6c4613422fc 2025-02-03 16:38:11,058 - INFO - Validated that VN ctest-vn-33510940 is not found in API Server 2025-02-03 16:38:11,070 - DEBUG - VN ctest-vn-33510940 is not present in Agent 10.0.0.33 2025-02-03 16:38:11,070 - INFO - Validated that VN ctest-vn-33510940 is not in any agent 2025-02-03 16:38:11,085 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33510940 info 2025-02-03 16:38:11,345 - DEBUG - No XMPP flaps were noticed during the test 2025-02-03 16:38:11,345 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-02-03 16:38:11,345 - INFO - -------------------------------------------------------------------------------- 2025-02-03 16:38:12,033 - INFO - Deleted project: ctest-TestBasicPolicy-14140958, ID : ac3b693f-c318-4188-9e98-f6c4613422fc