2025-04-23 13:35:02,199 - INFO - Domain Default found not creating 2025-04-23 13:35:02,311 - INFO - Project ctest-TestBasicPolicy-51614747 not found, creating it 2025-04-23 13:35:02,765 - INFO - Created Project:ctest-TestBasicPolicy-51614747, ID : 6cbff473-6f8f-4d6f-bab4-642ec4615c04 2025-04-23 13:35:04,003 - INFO - ================================================================================ 2025-04-23 13:35:04,003 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-23 13:35:04,003 - 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-04-23 13:35:04,258 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-23 13:35:04,258 - INFO - Initial checks done. Running the testcase now 2025-04-23 13:35:04,258 - INFO - 2025-04-23 13:35:04,758 - DEBUG - Response for create_network : {'network': {'id': 'dcdc534e-8b33-435b-8ce2-c633fdc02a44', 'name': 'ctest-vn-51844609', 'tenant_id': '6cbff4736f8f4d6fbab4642ec4615c04', 'project_id': '6cbff4736f8f4d6fbab4642ec4615c04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51614747', 'ctest-vn-51844609'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 13:35:04,905 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c50be15a-44cc-42a2-a8b8-c11d5108ccd2', 'name': '', 'tenant_id': '6cbff4736f8f4d6fbab4642ec4615c04', 'network_id': 'dcdc534e-8b33-435b-8ce2-c633fdc02a44', 'ip_version': 4, 'cidr': '74.102.211.192/26', 'allocation_pools': [{'start': '74.102.211.194', 'end': '74.102.211.254'}], 'gateway_ip': '74.102.211.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.102.211.194', 'tags': [], 'project_id': '6cbff4736f8f4d6fbab4642ec4615c04'}} 2025-04-23 13:35:04,921 - INFO - Created VN ctest-vn-51844609 2025-04-23 13:35:04,976 - DEBUG - VN ctest-vn-51844609 UUID is dcdc534e-8b33-435b-8ce2-c633fdc02a44 2025-04-23 13:35:05,421 - DEBUG - Response for create_network : {'network': {'id': '685908f2-c254-486b-a852-b278e91b80df', 'name': 'ctest-vn-21946524', 'tenant_id': '6cbff4736f8f4d6fbab4642ec4615c04', 'project_id': '6cbff4736f8f4d6fbab4642ec4615c04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51614747', 'ctest-vn-21946524'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 13:35:05,588 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e06233b-1c13-4a64-9072-9d18f823ceda', 'name': '', 'tenant_id': '6cbff4736f8f4d6fbab4642ec4615c04', 'network_id': '685908f2-c254-486b-a852-b278e91b80df', 'ip_version': 4, 'cidr': '64.74.111.0/26', 'allocation_pools': [{'start': '64.74.111.2', 'end': '64.74.111.62'}], 'gateway_ip': '64.74.111.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.74.111.2', 'tags': [], 'project_id': '6cbff4736f8f4d6fbab4642ec4615c04'}} 2025-04-23 13:35:05,602 - INFO - Created VN ctest-vn-21946524 2025-04-23 13:35:05,652 - DEBUG - VN ctest-vn-21946524 UUID is 685908f2-c254-486b-a852-b278e91b80df 2025-04-23 13:35:05,788 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51614747:ctest-vn-51844609, 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-51614747:ctest-vn-21946524, 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-04-23 13:35:06,074 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dcdc534e-8b33-435b-8ce2-c633fdc02a44', 'name': 'ctest-vn-51844609', 'tenant_id': '6cbff4736f8f4d6fbab4642ec4615c04', 'project_id': '6cbff4736f8f4d6fbab4642ec4615c04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c50be15a-44cc-42a2-a8b8-c11d5108ccd2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51614747', 'ctest-vn-51844609'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51614747', 'ctest-policy-allow-all-70100375']], 'subnet_ipam': [{'subnet_cidr': '74.102.211.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 13:35:06,254 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '685908f2-c254-486b-a852-b278e91b80df', 'name': 'ctest-vn-21946524', 'tenant_id': '6cbff4736f8f4d6fbab4642ec4615c04', 'project_id': '6cbff4736f8f4d6fbab4642ec4615c04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3e06233b-1c13-4a64-9072-9d18f823ceda'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51614747', 'ctest-vn-21946524'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51614747', 'ctest-policy-allow-all-70100375']], 'subnet_ipam': [{'subnet_cidr': '64.74.111.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 13:35:06,412 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-23 13:35:06,678 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-23 13:35:06,701 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2084c9e3-627e-4a62-8071-8462cc74e9a9 2025-04-23 13:35:06,712 - DEBUG - Requesting: http://10.0.0.38:8082/project/6cbff473-6f8f-4d6f-bab4-642ec4615c04 2025-04-23 13:35:06,781 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dcdc534e-8b33-435b-8ce2-c633fdc02a44 2025-04-23 13:35:06,792 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dcdc534e-8b33-435b-8ce2-c633fdc02a44 2025-04-23 13:35:06,800 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8376e956-a180-4f67-9553-22cfb657c10a 2025-04-23 13:35:06,806 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8376e956-a180-4f67-9553-22cfb657c10a 2025-04-23 13:35:06,819 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/abfeb5c8-28a8-4e1a-b5ff-5455829124f0 2025-04-23 13:35:06,825 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 13:35:06,825 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dcdc534e-8b33-435b-8ce2-c633fdc02a44 2025-04-23 13:35:06,832 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8376e956-a180-4f67-9553-22cfb657c10a 2025-04-23 13:35:06,846 - INFO - Verified VN network id 8 for VN dcdc534e-8b33-435b-8ce2-c633fdc02a44 2025-04-23 13:35:06,846 - INFO - Verifications in API Server for VN ctest-vn-51844609 passed 2025-04-23 13:35:06,846 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dcdc534e-8b33-435b-8ce2-c633fdc02a44 2025-04-23 13:35:06,857 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8376e956-a180-4f67-9553-22cfb657c10a 2025-04-23 13:35:06,863 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8376e956-a180-4f67-9553-22cfb657c10a 2025-04-23 13:35:06,868 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/abfeb5c8-28a8-4e1a-b5ff-5455829124f0 2025-04-23 13:35:06,877 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51614747:ctest-vn-51844609', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51614747', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15914686780028437339', 'uuid-lslong': '10151894436649380420'}, 'enable': 'true', 'created': '2025-04-23T13:35:04', 'last-modified': '2025-04-23T13:35:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.820018'} 2025-04-23 13:35:06,883 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 13:35:06,883 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51844609 passed 2025-04-23 13:35:06,883 - DEBUG - ====Verifying policy data for ctest-vn-51844609 in API_Server ====== 2025-04-23 13:35:06,883 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-23 13:35:06,887 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2084c9e3-627e-4a62-8071-8462cc74e9a9 2025-04-23 13:35:06,896 - DEBUG - Requesting: http://10.0.0.38:8082/project/6cbff473-6f8f-4d6f-bab4-642ec4615c04 2025-04-23 13:35:06,969 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dcdc534e-8b33-435b-8ce2-c633fdc02a44 2025-04-23 13:35:06,979 - DEBUG - ==>Verifying data for policy with id: 5409b791-59c6-4955-bd55-4008cfbfa72a, fqn: ['default-domain', 'ctest-TestBasicPolicy-51614747', 'ctest-policy-allow-all-70100375'] 2025-04-23 13:35:06,979 - INFO - VN ctest-vn-51844609 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 13:35:06,979 - DEBUG - Verifying the vn in opserver 2025-04-23 13:35:06,979 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51614747:ctest-vn-51844609 virtual network link through opserver 10.0.0.38 2025-04-23 13:35:06,980 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-23 13:35:07,238 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-23 13:35:07,290 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51614747:ctest-vn-51844609', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51614747:ctest-vn-51844609?flat'} 2025-04-23 13:35:07,290 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51614747:ctest-vn-51844609 is found in opserver 2025-04-23 13:35:07,300 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 13:35:07,305 - DEBUG - VRF ids for VN ctest-vn-51844609: {} 2025-04-23 13:35:07,305 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-23 13:35:07,310 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2084c9e3-627e-4a62-8071-8462cc74e9a9 2025-04-23 13:35:07,320 - DEBUG - Requesting: http://10.0.0.38:8082/project/6cbff473-6f8f-4d6f-bab4-642ec4615c04 2025-04-23 13:35:07,387 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/685908f2-c254-486b-a852-b278e91b80df 2025-04-23 13:35:07,397 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/685908f2-c254-486b-a852-b278e91b80df 2025-04-23 13:35:07,405 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/97840a8f-0ddf-4fbc-9986-36168e2a897e 2025-04-23 13:35:07,411 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/97840a8f-0ddf-4fbc-9986-36168e2a897e 2025-04-23 13:35:07,416 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8d4334af-0777-4fef-a3ce-0e9091a64b4d 2025-04-23 13:35:07,421 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 13:35:07,421 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/685908f2-c254-486b-a852-b278e91b80df 2025-04-23 13:35:07,429 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/97840a8f-0ddf-4fbc-9986-36168e2a897e 2025-04-23 13:35:07,440 - INFO - Verified VN network id 9 for VN 685908f2-c254-486b-a852-b278e91b80df 2025-04-23 13:35:07,441 - INFO - Verifications in API Server for VN ctest-vn-21946524 passed 2025-04-23 13:35:07,441 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/685908f2-c254-486b-a852-b278e91b80df 2025-04-23 13:35:07,448 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/97840a8f-0ddf-4fbc-9986-36168e2a897e 2025-04-23 13:35:07,453 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/97840a8f-0ddf-4fbc-9986-36168e2a897e 2025-04-23 13:35:07,459 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8d4334af-0777-4fef-a3ce-0e9091a64b4d 2025-04-23 13:35:07,471 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51614747:ctest-vn-21946524', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51614747', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7519050891607165035', 'uuid-lslong': '12128952978838880479'}, 'enable': 'true', 'created': '2025-04-23T13:35:05', 'last-modified': '2025-04-23T13:35:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.231269'} 2025-04-23 13:35:07,476 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 13:35:07,476 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21946524 passed 2025-04-23 13:35:07,476 - DEBUG - ====Verifying policy data for ctest-vn-21946524 in API_Server ====== 2025-04-23 13:35:07,476 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-23 13:35:07,481 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2084c9e3-627e-4a62-8071-8462cc74e9a9 2025-04-23 13:35:07,490 - DEBUG - Requesting: http://10.0.0.38:8082/project/6cbff473-6f8f-4d6f-bab4-642ec4615c04 2025-04-23 13:35:07,560 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/685908f2-c254-486b-a852-b278e91b80df 2025-04-23 13:35:07,569 - DEBUG - ==>Verifying data for policy with id: 5409b791-59c6-4955-bd55-4008cfbfa72a, fqn: ['default-domain', 'ctest-TestBasicPolicy-51614747', 'ctest-policy-allow-all-70100375'] 2025-04-23 13:35:07,569 - INFO - VN ctest-vn-21946524 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 13:35:07,569 - DEBUG - Verifying the vn in opserver 2025-04-23 13:35:07,569 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51614747:ctest-vn-21946524 virtual network link through opserver 10.0.0.38 2025-04-23 13:35:07,569 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-23 13:35:07,579 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51614747:ctest-vn-21946524', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51614747:ctest-vn-21946524?flat'} 2025-04-23 13:35:07,579 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51614747:ctest-vn-21946524 is found in opserver 2025-04-23 13:35:07,589 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 13:35:07,593 - DEBUG - VRF ids for VN ctest-vn-21946524: {} 2025-04-23 13:35:07,641 - DEBUG - Services list from nova: [, , ] 2025-04-23 13:35:08,518 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3185-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3185-1) 2025-04-23 13:35:09,614 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3185-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3185-1) 2025-04-23 13:35:09,615 - INFO - Waiting for VM ctest-TestBasicPolicy-51614747-35243267 to be up.. 2025-04-23 13:35:09,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 13:35:14,757 - DEBUG - VM is in ACTIVE state now 2025-04-23 13:35:14,757 - INFO - VM name : ctest-TestBasicPolicy-51614747-35243267 2025-04-23 13:35:14,825 - DEBUG - VM ctest-TestBasicPolicy-51614747-35243267 ID is 9107ea3c-1da9-48b9-bda5-31c4f5817bb4 2025-04-23 13:35:14,840 - DEBUG - VM ctest-TestBasicPolicy-51614747-35243267 launched on Node cn-jenkins-deploy-platform-ansible-os-3185-1 2025-04-23 13:35:14,911 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9107ea3c-1da9-48b9-bda5-31c4f5817bb4 2025-04-23 13:35:14,919 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2e7c3c76-451c-48ca-a38d-62def04fe940 2025-04-23 13:35:18,166 - 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-04-23 13:35:18,166 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51614747-35243267 failed! 2025-04-23 13:35:18,220 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51614747:ctest-vn-51844609 is 74.102.211.193 and allocation pool is NOT set 2025-04-23 13:35:20,276 - 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.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.430 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 = 0.430/1.445/2.461/1.015 ms') 2025-04-23 13:35:20,276 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51614747-35243267 passed 2025-04-23 13:35:20,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 13:35:20,432 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51614747-35243267, IP 74.102.211.195, Port 22 2025-04-23 13:35:20,584 - DEBUG - VM ctest-TestBasicPolicy-51614747-35243267 is ready for SSH connections 2025-04-23 13:35:20,584 - INFO - Waiting for VM ctest-TestBasicPolicy-51614747-53064767 to be up.. 2025-04-23 13:35:20,649 - DEBUG - VM is in ACTIVE state now 2025-04-23 13:35:20,649 - INFO - VM name : ctest-TestBasicPolicy-51614747-53064767 2025-04-23 13:35:20,709 - DEBUG - VM ctest-TestBasicPolicy-51614747-53064767 ID is cfe69191-fb32-42f1-afa6-58efc1bde6a0 2025-04-23 13:35:20,709 - DEBUG - VM ctest-TestBasicPolicy-51614747-53064767 launched on Node cn-jenkins-deploy-platform-ansible-os-3185-1 2025-04-23 13:35:20,767 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cfe69191-fb32-42f1-afa6-58efc1bde6a0 2025-04-23 13:35:20,774 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fec0bdbe-d034-42d5-b0cb-0492c4b2b97b 2025-04-23 13:35:21,997 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 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.389/1.631/2.874/1.242 ms') 2025-04-23 13:35:21,997 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51614747-53064767 passed 2025-04-23 13:35:22,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 13:35:22,144 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51614747-53064767, IP 64.74.111.3, Port 22 2025-04-23 13:35:22,296 - DEBUG - VM ctest-TestBasicPolicy-51614747-53064767 is ready for SSH connections 2025-04-23 13:35:22,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 13:35:22,296 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.74.111.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-23 13:35:22,296 - DEBUG - ping -s 56 -c 3 -W 1 64.74.111.3 2025-04-23 13:35:25,922 - DEBUG - PING 64.74.111.3 (64.74.111.3): 56 data bytes 64 bytes from 64.74.111.3: seq=0 ttl=63 time=2.943 ms 64 bytes from 64.74.111.3: seq=1 ttl=63 time=0.750 ms 64 bytes from 64.74.111.3: seq=2 ttl=63 time=0.692 ms --- 64.74.111.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.692/1.461/2.943 ms 2025-04-23 13:35:25,922 - INFO - Ping to IP 64.74.111.3 from VM ctest-TestBasicPolicy-51614747-35243267 passed 2025-04-23 13:35:26,096 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5409b791-59c6-4955-bd55-4008cfbfa72a", "href": "http://10.0.0.38:8082/network-policy/5409b791-59c6-4955-bd55-4008cfbfa72a"}} 2025-04-23 13:35:26,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 13:35:26,096 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.74.111.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-23 13:35:26,096 - DEBUG - ping -s 56 -c 3 -W 1 64.74.111.3 2025-04-23 13:35:29,283 - DEBUG - PING 64.74.111.3 (64.74.111.3): 56 data bytes --- 64.74.111.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-23 13:35:29,283 - WARNING - Ping to IP 64.74.111.3 from VM ctest-TestBasicPolicy-51614747-35243267 failed 2025-04-23 13:35:29,283 - INFO - Deleting VM ctest-TestBasicPolicy-51614747-53064767 2025-04-23 13:35:29,341 - INFO - Deleting VM ctest-TestBasicPolicy-51614747-35243267 2025-04-23 13:35:29,673 - INFO - Deleted policy ctest-policy-allow-all-70100375 2025-04-23 13:35:29,673 - INFO - Deleting VN ctest-vn-21946524 2025-04-23 13:35:29,702 - DEBUG - VN 685908f2-c254-486b-a852-b278e91b80df still in use: Unable to complete operation on network 685908f2-c254-486b-a852-b278e91b80df. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ede9ee56-fb01-4f1a-81fe-8d901685cf1a'] 2025-04-23 13:35:29,702 - WARNING - Deleting VN ctest-vn-21946524 failed..Will retry 2025-04-23 13:35:31,792 - DEBUG - Response for deleting network () 2025-04-23 13:35:31,792 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/97840a8f-0ddf-4fbc-9986-36168e2a897e 2025-04-23 13:35:31,799 - DEBUG - Response Code: 404 2025-04-23 13:35:31,800 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-23 13:35:31,805 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2084c9e3-627e-4a62-8071-8462cc74e9a9 2025-04-23 13:35:31,857 - DEBUG - Requesting: http://10.0.0.38:8082/project/6cbff473-6f8f-4d6f-bab4-642ec4615c04 2025-04-23 13:35:31,922 - INFO - Validated that VN ctest-vn-21946524 is not found in API Server 2025-04-23 13:35:31,932 - DEBUG - VN ctest-vn-21946524 is not present in Agent 10.0.0.38 2025-04-23 13:35:31,932 - INFO - Validated that VN ctest-vn-21946524 is not in any agent 2025-04-23 13:35:31,945 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21946524 info 2025-04-23 13:35:31,945 - INFO - Deleting VN ctest-vn-51844609 2025-04-23 13:35:32,038 - DEBUG - Response for deleting network () 2025-04-23 13:35:32,038 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8376e956-a180-4f67-9553-22cfb657c10a 2025-04-23 13:35:32,048 - DEBUG - Response Code: 404 2025-04-23 13:35:32,048 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-23 13:35:32,053 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2084c9e3-627e-4a62-8071-8462cc74e9a9 2025-04-23 13:35:32,104 - DEBUG - Requesting: http://10.0.0.38:8082/project/6cbff473-6f8f-4d6f-bab4-642ec4615c04 2025-04-23 13:35:32,172 - INFO - Validated that VN ctest-vn-51844609 is not found in API Server 2025-04-23 13:35:32,183 - DEBUG - VN ctest-vn-51844609 is not present in Agent 10.0.0.38 2025-04-23 13:35:32,183 - INFO - Validated that VN ctest-vn-51844609 is not in any agent 2025-04-23 13:35:32,196 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51844609 info 2025-04-23 13:35:32,450 - DEBUG - No XMPP flaps were noticed during the test 2025-04-23 13:35:32,450 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-04-23 13:35:32,450 - INFO - -------------------------------------------------------------------------------- 2025-04-23 13:35:33,050 - INFO - Deleted project: ctest-TestBasicPolicy-51614747, ID : 6cbff473-6f8f-4d6f-bab4-642ec4615c04