2025-03-27 02:36:11,665 - INFO - Domain Default found not creating 2025-03-27 02:36:11,835 - INFO - Project ctest-TestBasicPolicy-77137807 not found, creating it 2025-03-27 02:36:12,346 - INFO - Created Project:ctest-TestBasicPolicy-77137807, ID : 089bab92-8af5-4bf7-9ee0-4b4aa852c4c5 2025-03-27 02:36:13,863 - INFO - ================================================================================ 2025-03-27 02:36:13,863 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-27 02:36:13,863 - 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-03-27 02:36:14,122 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.11': '0'}} with 2025-03-27 02:36:14,122 - INFO - Initial checks done. Running the testcase now 2025-03-27 02:36:14,122 - INFO - 2025-03-27 02:36:14,670 - DEBUG - Response for create_network : {'network': {'id': 'c535263e-7b31-403f-87e2-d2d5ebb8827e', 'name': 'ctest-vn-76284013', 'tenant_id': '089bab928af54bf79ee04b4aa852c4c5', 'project_id': '089bab928af54bf79ee04b4aa852c4c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77137807', 'ctest-vn-76284013'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 02:36:14,897 - DEBUG - Response for create_subnet : {'subnet': {'id': '3241c5c3-21cc-45fa-9a90-3e7ebb4c41bd', 'name': '', 'tenant_id': '089bab928af54bf79ee04b4aa852c4c5', 'network_id': 'c535263e-7b31-403f-87e2-d2d5ebb8827e', 'ip_version': 4, 'cidr': '159.137.43.0/26', 'allocation_pools': [{'start': '159.137.43.2', 'end': '159.137.43.62'}], 'gateway_ip': '159.137.43.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.137.43.2', 'tags': [], 'project_id': '089bab928af54bf79ee04b4aa852c4c5'}} 2025-03-27 02:36:14,920 - INFO - Created VN ctest-vn-76284013 2025-03-27 02:36:14,975 - DEBUG - VN ctest-vn-76284013 UUID is c535263e-7b31-403f-87e2-d2d5ebb8827e 2025-03-27 02:36:15,269 - DEBUG - Response for create_network : {'network': {'id': '351ff54b-f840-4b66-a4dc-216435bca4fd', 'name': 'ctest-vn-00703327', 'tenant_id': '089bab928af54bf79ee04b4aa852c4c5', 'project_id': '089bab928af54bf79ee04b4aa852c4c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77137807', 'ctest-vn-00703327'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 02:36:15,492 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7d69477-b424-47e2-a325-ee47d28925f0', 'name': '', 'tenant_id': '089bab928af54bf79ee04b4aa852c4c5', 'network_id': '351ff54b-f840-4b66-a4dc-216435bca4fd', 'ip_version': 4, 'cidr': '54.48.34.64/26', 'allocation_pools': [{'start': '54.48.34.66', 'end': '54.48.34.126'}], 'gateway_ip': '54.48.34.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.48.34.66', 'tags': [], 'project_id': '089bab928af54bf79ee04b4aa852c4c5'}} 2025-03-27 02:36:15,511 - INFO - Created VN ctest-vn-00703327 2025-03-27 02:36:15,563 - DEBUG - VN ctest-vn-00703327 UUID is 351ff54b-f840-4b66-a4dc-216435bca4fd 2025-03-27 02:36:15,677 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77137807:ctest-vn-76284013, 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-77137807:ctest-vn-00703327, 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-03-27 02:36:16,003 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c535263e-7b31-403f-87e2-d2d5ebb8827e', 'name': 'ctest-vn-76284013', 'tenant_id': '089bab928af54bf79ee04b4aa852c4c5', 'project_id': '089bab928af54bf79ee04b4aa852c4c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3241c5c3-21cc-45fa-9a90-3e7ebb4c41bd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77137807', 'ctest-vn-76284013'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77137807', 'ctest-policy-allow-all-21605628']], 'subnet_ipam': [{'subnet_cidr': '159.137.43.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-27 02:36:16,294 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '351ff54b-f840-4b66-a4dc-216435bca4fd', 'name': 'ctest-vn-00703327', 'tenant_id': '089bab928af54bf79ee04b4aa852c4c5', 'project_id': '089bab928af54bf79ee04b4aa852c4c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7d69477-b424-47e2-a325-ee47d28925f0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77137807', 'ctest-vn-00703327'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77137807', 'ctest-policy-allow-all-21605628']], 'subnet_ipam': [{'subnet_cidr': '54.48.34.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-27 02:36:16,447 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-03-27 02:36:16,744 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-03-27 02:36:16,775 - DEBUG - Requesting: http://10.0.0.29:8082/domain/40269a6d-bc96-4c17-b703-967fa56e290c 2025-03-27 02:36:16,788 - DEBUG - Requesting: http://10.0.0.29:8082/project/089bab92-8af5-4bf7-9ee0-4b4aa852c4c5 2025-03-27 02:36:16,872 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/c535263e-7b31-403f-87e2-d2d5ebb8827e 2025-03-27 02:36:16,886 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/c535263e-7b31-403f-87e2-d2d5ebb8827e 2025-03-27 02:36:16,899 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/bba9d13e-72cf-4b43-a408-fa071068e0ce 2025-03-27 02:36:16,909 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/bba9d13e-72cf-4b43-a408-fa071068e0ce 2025-03-27 02:36:16,917 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/38fb54bd-9611-4d79-b192-f1f9584afb3e 2025-03-27 02:36:16,925 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-27 02:36:16,925 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/c535263e-7b31-403f-87e2-d2d5ebb8827e 2025-03-27 02:36:16,936 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/bba9d13e-72cf-4b43-a408-fa071068e0ce 2025-03-27 02:36:16,953 - INFO - Verified VN network id 8 for VN c535263e-7b31-403f-87e2-d2d5ebb8827e 2025-03-27 02:36:16,953 - INFO - Verifications in API Server for VN ctest-vn-76284013 passed 2025-03-27 02:36:16,953 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/c535263e-7b31-403f-87e2-d2d5ebb8827e 2025-03-27 02:36:16,964 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/bba9d13e-72cf-4b43-a408-fa071068e0ce 2025-03-27 02:36:16,971 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/bba9d13e-72cf-4b43-a408-fa071068e0ce 2025-03-27 02:36:16,978 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/38fb54bd-9611-4d79-b192-f1f9584afb3e 2025-03-27 02:36:16,992 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77137807:ctest-vn-76284013', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77137807', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14210306249034121279', 'uuid-lslong': '9791620356081484414'}, 'enable': 'true', 'created': '2025-03-27T02:36:14', 'last-modified': '2025-03-27T02:36:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.021185'} 2025-03-27 02:36:17,001 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-27 02:36:17,001 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76284013 passed 2025-03-27 02:36:17,001 - DEBUG - ====Verifying policy data for ctest-vn-76284013 in API_Server ====== 2025-03-27 02:36:17,001 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-03-27 02:36:17,008 - DEBUG - Requesting: http://10.0.0.29:8082/domain/40269a6d-bc96-4c17-b703-967fa56e290c 2025-03-27 02:36:17,020 - DEBUG - Requesting: http://10.0.0.29:8082/project/089bab92-8af5-4bf7-9ee0-4b4aa852c4c5 2025-03-27 02:36:17,104 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/c535263e-7b31-403f-87e2-d2d5ebb8827e 2025-03-27 02:36:17,120 - DEBUG - ==>Verifying data for policy with id: 99f5e1d4-9587-4818-8e71-a3d450102f9c, fqn: ['default-domain', 'ctest-TestBasicPolicy-77137807', 'ctest-policy-allow-all-21605628'] 2025-03-27 02:36:17,120 - INFO - VN ctest-vn-76284013 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-27 02:36:17,120 - DEBUG - Verifying the vn in opserver 2025-03-27 02:36:17,120 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77137807:ctest-vn-76284013 virtual network link through opserver 10.0.0.29 2025-03-27 02:36:17,120 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-03-27 02:36:17,419 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-03-27 02:36:17,477 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77137807:ctest-vn-76284013', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77137807:ctest-vn-76284013?flat'} 2025-03-27 02:36:17,477 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77137807:ctest-vn-76284013 is found in opserver 2025-03-27 02:36:17,489 - DEBUG - Do not have enough data to verify VN in agent 2025-03-27 02:36:17,495 - DEBUG - VRF ids for VN ctest-vn-76284013: {} 2025-03-27 02:36:17,495 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-03-27 02:36:17,501 - DEBUG - Requesting: http://10.0.0.29:8082/domain/40269a6d-bc96-4c17-b703-967fa56e290c 2025-03-27 02:36:17,512 - DEBUG - Requesting: http://10.0.0.29:8082/project/089bab92-8af5-4bf7-9ee0-4b4aa852c4c5 2025-03-27 02:36:17,584 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/351ff54b-f840-4b66-a4dc-216435bca4fd 2025-03-27 02:36:17,595 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/351ff54b-f840-4b66-a4dc-216435bca4fd 2025-03-27 02:36:17,606 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/8911275b-4904-4e8f-930b-bd060e99c9f5 2025-03-27 02:36:17,614 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/8911275b-4904-4e8f-930b-bd060e99c9f5 2025-03-27 02:36:17,621 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/3d0e8918-2624-457e-9d41-38c7dd9114c8 2025-03-27 02:36:17,629 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-27 02:36:17,629 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/351ff54b-f840-4b66-a4dc-216435bca4fd 2025-03-27 02:36:17,639 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/8911275b-4904-4e8f-930b-bd060e99c9f5 2025-03-27 02:36:17,658 - INFO - Verified VN network id 9 for VN 351ff54b-f840-4b66-a4dc-216435bca4fd 2025-03-27 02:36:17,658 - INFO - Verifications in API Server for VN ctest-vn-00703327 passed 2025-03-27 02:36:17,658 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/351ff54b-f840-4b66-a4dc-216435bca4fd 2025-03-27 02:36:17,671 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/8911275b-4904-4e8f-930b-bd060e99c9f5 2025-03-27 02:36:17,681 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/8911275b-4904-4e8f-930b-bd060e99c9f5 2025-03-27 02:36:17,688 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/3d0e8918-2624-457e-9d41-38c7dd9114c8 2025-03-27 02:36:17,702 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77137807:ctest-vn-00703327', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77137807', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3828047914924526438', 'uuid-lslong': '11879406631378527485'}, 'enable': 'true', 'created': '2025-03-27T02:36:15', 'last-modified': '2025-03-27T02:36:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.483439'} 2025-03-27 02:36:17,711 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-27 02:36:17,711 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00703327 passed 2025-03-27 02:36:17,711 - DEBUG - ====Verifying policy data for ctest-vn-00703327 in API_Server ====== 2025-03-27 02:36:17,711 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-03-27 02:36:17,717 - DEBUG - Requesting: http://10.0.0.29:8082/domain/40269a6d-bc96-4c17-b703-967fa56e290c 2025-03-27 02:36:17,729 - DEBUG - Requesting: http://10.0.0.29:8082/project/089bab92-8af5-4bf7-9ee0-4b4aa852c4c5 2025-03-27 02:36:17,807 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/351ff54b-f840-4b66-a4dc-216435bca4fd 2025-03-27 02:36:17,817 - DEBUG - ==>Verifying data for policy with id: 99f5e1d4-9587-4818-8e71-a3d450102f9c, fqn: ['default-domain', 'ctest-TestBasicPolicy-77137807', 'ctest-policy-allow-all-21605628'] 2025-03-27 02:36:17,817 - INFO - VN ctest-vn-00703327 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-27 02:36:17,817 - DEBUG - Verifying the vn in opserver 2025-03-27 02:36:17,818 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77137807:ctest-vn-00703327 virtual network link through opserver 10.0.0.29 2025-03-27 02:36:17,818 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-03-27 02:36:17,829 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77137807:ctest-vn-00703327', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77137807:ctest-vn-00703327?flat'} 2025-03-27 02:36:17,830 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77137807:ctest-vn-00703327 is found in opserver 2025-03-27 02:36:17,843 - DEBUG - Do not have enough data to verify VN in agent 2025-03-27 02:36:17,849 - DEBUG - VRF ids for VN ctest-vn-00703327: {} 2025-03-27 02:36:17,911 - DEBUG - Services list from nova: [, , ] 2025-03-27 02:36:19,108 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2967-1) 2025-03-27 02:36:20,293 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2967-1) 2025-03-27 02:36:20,294 - INFO - Waiting for VM ctest-TestBasicPolicy-77137807-66172217 to be up.. 2025-03-27 02:36:20,380 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 02:36:25,457 - DEBUG - VM is in ACTIVE state now 2025-03-27 02:36:25,457 - INFO - VM name : ctest-TestBasicPolicy-77137807-66172217 2025-03-27 02:36:25,532 - DEBUG - VM ctest-TestBasicPolicy-77137807-66172217 ID is b82f3bdd-4574-4273-93f6-b6bf4c72fdae 2025-03-27 02:36:25,550 - DEBUG - VM ctest-TestBasicPolicy-77137807-66172217 launched on Node cn-jenkins-deploy-platform-ansible-os-2967-1 2025-03-27 02:36:25,634 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/b82f3bdd-4574-4273-93f6-b6bf4c72fdae 2025-03-27 02:36:25,644 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/f1393cbc-1c6c-4eb6-b54b-c0928537c26d 2025-03-27 02:36:28,857 - 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 1011ms') 2025-03-27 02:36:28,857 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77137807-66172217 failed! 2025-03-27 02:36:28,911 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77137807:ctest-vn-76284013 is 159.137.43.1 and allocation pool is NOT set 2025-03-27 02:36:30,976 - 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=6.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.646 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.646/3.481/6.316/2.835 ms') 2025-03-27 02:36:30,976 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77137807-66172217 passed 2025-03-27 02:36:31,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:36:31,132 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77137807-66172217, IP 159.137.43.3, Port 22 2025-03-27 02:36:31,301 - DEBUG - VM ctest-TestBasicPolicy-77137807-66172217 is ready for SSH connections 2025-03-27 02:36:31,301 - INFO - Waiting for VM ctest-TestBasicPolicy-77137807-50516073 to be up.. 2025-03-27 02:36:31,381 - DEBUG - VM is in ACTIVE state now 2025-03-27 02:36:31,381 - INFO - VM name : ctest-TestBasicPolicy-77137807-50516073 2025-03-27 02:36:31,462 - DEBUG - VM ctest-TestBasicPolicy-77137807-50516073 ID is a0e0be9e-73e8-4771-a88c-09abf9137a47 2025-03-27 02:36:31,463 - DEBUG - VM ctest-TestBasicPolicy-77137807-50516073 launched on Node cn-jenkins-deploy-platform-ansible-os-2967-1 2025-03-27 02:36:31,553 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/a0e0be9e-73e8-4771-a88c-09abf9137a47 2025-03-27 02:36:31,565 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/7044253b-3326-42cf-9d46-acf47b367f6a 2025-03-27 02:36:32,832 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.909 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.909/1.963/3.018/1.054 ms') 2025-03-27 02:36:32,833 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-77137807-50516073 passed 2025-03-27 02:36:32,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:36:32,988 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77137807-50516073, IP 54.48.34.67, Port 22 2025-03-27 02:36:33,151 - DEBUG - VM ctest-TestBasicPolicy-77137807-50516073 is ready for SSH connections 2025-03-27 02:36:33,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:36:33,151 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.48.34.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-03-27 02:36:33,151 - DEBUG - ping -s 56 -c 3 -W 1 54.48.34.67 2025-03-27 02:36:36,838 - DEBUG - PING 54.48.34.67 (54.48.34.67): 56 data bytes 64 bytes from 54.48.34.67: seq=0 ttl=63 time=3.511 ms 64 bytes from 54.48.34.67: seq=1 ttl=63 time=0.921 ms 64 bytes from 54.48.34.67: seq=2 ttl=63 time=1.142 ms --- 54.48.34.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.921/1.858/3.511 ms 2025-03-27 02:36:36,839 - INFO - Ping to IP 54.48.34.67 from VM ctest-TestBasicPolicy-77137807-66172217 passed 2025-03-27 02:36:37,027 - DEBUG - Policy Update Response {"network-policy": {"uuid": "99f5e1d4-9587-4818-8e71-a3d450102f9c", "href": "http://10.0.0.29:8082/network-policy/99f5e1d4-9587-4818-8e71-a3d450102f9c"}} 2025-03-27 02:36:37,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:36:37,027 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.48.34.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-03-27 02:36:37,027 - DEBUG - ping -s 56 -c 3 -W 1 54.48.34.67 2025-03-27 02:36:40,245 - DEBUG - PING 54.48.34.67 (54.48.34.67): 56 data bytes 64 bytes from 54.48.34.67: seq=0 ttl=63 time=1.770 ms --- 54.48.34.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.770/1.770/1.770 ms 2025-03-27 02:36:40,245 - WARNING - Ping to IP 54.48.34.67 from VM ctest-TestBasicPolicy-77137807-66172217 failed 2025-03-27 02:36:40,246 - INFO - Deleting VM ctest-TestBasicPolicy-77137807-50516073 2025-03-27 02:36:40,317 - INFO - Deleting VM ctest-TestBasicPolicy-77137807-66172217 2025-03-27 02:36:40,694 - INFO - Deleted policy ctest-policy-allow-all-21605628 2025-03-27 02:36:40,695 - INFO - Deleting VN ctest-vn-00703327 2025-03-27 02:36:40,734 - DEBUG - VN 351ff54b-f840-4b66-a4dc-216435bca4fd still in use: Unable to complete operation on network 351ff54b-f840-4b66-a4dc-216435bca4fd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b2f23ac7-90fd-474b-ba9d-29340eb8d6bc'] 2025-03-27 02:36:40,734 - WARNING - Deleting VN ctest-vn-00703327 failed..Will retry 2025-03-27 02:36:42,833 - DEBUG - Response for deleting network () 2025-03-27 02:36:42,833 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/8911275b-4904-4e8f-930b-bd060e99c9f5 2025-03-27 02:36:42,839 - DEBUG - Response Code: 404 2025-03-27 02:36:42,840 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-03-27 02:36:42,845 - DEBUG - Requesting: http://10.0.0.29:8082/domain/40269a6d-bc96-4c17-b703-967fa56e290c 2025-03-27 02:36:42,901 - DEBUG - Requesting: http://10.0.0.29:8082/project/089bab92-8af5-4bf7-9ee0-4b4aa852c4c5 2025-03-27 02:36:42,977 - INFO - Validated that VN ctest-vn-00703327 is not found in API Server 2025-03-27 02:36:42,991 - DEBUG - VN ctest-vn-00703327 is not present in Agent 10.0.0.29 2025-03-27 02:36:42,991 - INFO - Validated that VN ctest-vn-00703327 is not in any agent 2025-03-27 02:36:43,007 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00703327 info 2025-03-27 02:36:43,007 - INFO - Deleting VN ctest-vn-76284013 2025-03-27 02:36:43,120 - DEBUG - Response for deleting network () 2025-03-27 02:36:43,120 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/bba9d13e-72cf-4b43-a408-fa071068e0ce 2025-03-27 02:36:43,127 - DEBUG - Response Code: 404 2025-03-27 02:36:43,127 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-03-27 02:36:43,132 - DEBUG - Requesting: http://10.0.0.29:8082/domain/40269a6d-bc96-4c17-b703-967fa56e290c 2025-03-27 02:36:43,185 - DEBUG - Requesting: http://10.0.0.29:8082/project/089bab92-8af5-4bf7-9ee0-4b4aa852c4c5 2025-03-27 02:36:43,255 - INFO - Validated that VN ctest-vn-76284013 is not found in API Server 2025-03-27 02:36:43,266 - DEBUG - VN ctest-vn-76284013 is not present in Agent 10.0.0.29 2025-03-27 02:36:43,266 - INFO - Validated that VN ctest-vn-76284013 is not in any agent 2025-03-27 02:36:43,281 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76284013 info 2025-03-27 02:36:43,536 - DEBUG - No XMPP flaps were noticed during the test 2025-03-27 02:36:43,536 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-03-27 02:36:43,536 - INFO - -------------------------------------------------------------------------------- 2025-03-27 02:36:44,239 - INFO - Deleted project: ctest-TestBasicPolicy-77137807, ID : 089bab92-8af5-4bf7-9ee0-4b4aa852c4c5