2025-01-07 11:33:02,936 - INFO - Domain Default found not creating 2025-01-07 11:33:03,085 - INFO - Project ctest-TestBasicPolicy-00255038 not found, creating it 2025-01-07 11:33:03,571 - INFO - Created Project:ctest-TestBasicPolicy-00255038, ID : e63f0a86-afcd-412e-a36b-b8a744394d51 2025-01-07 11:33:05,125 - INFO - ================================================================================ 2025-01-07 11:33:05,126 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-07 11:33:05,126 - 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-01-07 11:33:05,381 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.7': '0'}} with 2025-01-07 11:33:05,381 - INFO - Initial checks done. Running the testcase now 2025-01-07 11:33:05,381 - INFO - 2025-01-07 11:33:05,926 - DEBUG - Response for create_network : {'network': {'id': 'e32e69d9-4a04-4a84-9cc4-0e4600c5604c', 'name': 'ctest-vn-91430289', 'tenant_id': 'e63f0a86afcd412ea36bb8a744394d51', 'project_id': 'e63f0a86afcd412ea36bb8a744394d51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00255038', 'ctest-vn-91430289'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 11:33:06,139 - DEBUG - Response for create_subnet : {'subnet': {'id': '63c1d162-03e2-44b1-bf74-c9fa86819610', 'name': '', 'tenant_id': 'e63f0a86afcd412ea36bb8a744394d51', 'network_id': 'e32e69d9-4a04-4a84-9cc4-0e4600c5604c', 'ip_version': 4, 'cidr': '154.58.7.128/26', 'allocation_pools': [{'start': '154.58.7.130', 'end': '154.58.7.190'}], 'gateway_ip': '154.58.7.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.58.7.130', 'tags': [], 'project_id': 'e63f0a86afcd412ea36bb8a744394d51'}} 2025-01-07 11:33:06,160 - INFO - Created VN ctest-vn-91430289 2025-01-07 11:33:06,215 - DEBUG - VN ctest-vn-91430289 UUID is e32e69d9-4a04-4a84-9cc4-0e4600c5604c 2025-01-07 11:33:06,515 - DEBUG - Response for create_network : {'network': {'id': 'ea1363db-0bc6-49e5-b777-dfd8d81314cf', 'name': 'ctest-vn-82982636', 'tenant_id': 'e63f0a86afcd412ea36bb8a744394d51', 'project_id': 'e63f0a86afcd412ea36bb8a744394d51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00255038', 'ctest-vn-82982636'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 11:33:06,701 - DEBUG - Response for create_subnet : {'subnet': {'id': '78a14fa1-6d66-47ea-9ada-7334beca195b', 'name': '', 'tenant_id': 'e63f0a86afcd412ea36bb8a744394d51', 'network_id': 'ea1363db-0bc6-49e5-b777-dfd8d81314cf', 'ip_version': 4, 'cidr': '192.87.222.64/26', 'allocation_pools': [{'start': '192.87.222.66', 'end': '192.87.222.126'}], 'gateway_ip': '192.87.222.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.87.222.66', 'tags': [], 'project_id': 'e63f0a86afcd412ea36bb8a744394d51'}} 2025-01-07 11:33:06,720 - INFO - Created VN ctest-vn-82982636 2025-01-07 11:33:06,775 - DEBUG - VN ctest-vn-82982636 UUID is ea1363db-0bc6-49e5-b777-dfd8d81314cf 2025-01-07 11:33:06,897 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00255038:ctest-vn-91430289, 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-00255038:ctest-vn-82982636, 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-01-07 11:33:07,237 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e32e69d9-4a04-4a84-9cc4-0e4600c5604c', 'name': 'ctest-vn-91430289', 'tenant_id': 'e63f0a86afcd412ea36bb8a744394d51', 'project_id': 'e63f0a86afcd412ea36bb8a744394d51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['63c1d162-03e2-44b1-bf74-c9fa86819610'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00255038', 'ctest-vn-91430289'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00255038', 'ctest-policy-allow-all-56461275']], 'subnet_ipam': [{'subnet_cidr': '154.58.7.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 11:33:07,530 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ea1363db-0bc6-49e5-b777-dfd8d81314cf', 'name': 'ctest-vn-82982636', 'tenant_id': 'e63f0a86afcd412ea36bb8a744394d51', 'project_id': 'e63f0a86afcd412ea36bb8a744394d51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['78a14fa1-6d66-47ea-9ada-7334beca195b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00255038', 'ctest-vn-82982636'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00255038', 'ctest-policy-allow-all-56461275']], 'subnet_ipam': [{'subnet_cidr': '192.87.222.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 11:33:07,691 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-01-07 11:33:07,998 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-01-07 11:33:08,029 - DEBUG - Requesting: http://10.0.0.33:8082/domain/88dfc14d-2a89-463f-8bc3-3a62b83ea8b9 2025-01-07 11:33:08,043 - DEBUG - Requesting: http://10.0.0.33:8082/project/e63f0a86-afcd-412e-a36b-b8a744394d51 2025-01-07 11:33:08,120 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e32e69d9-4a04-4a84-9cc4-0e4600c5604c 2025-01-07 11:33:08,135 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e32e69d9-4a04-4a84-9cc4-0e4600c5604c 2025-01-07 11:33:08,146 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8a5cc83e-6c79-4637-bd6e-5543daa76be6 2025-01-07 11:33:08,154 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8a5cc83e-6c79-4637-bd6e-5543daa76be6 2025-01-07 11:33:08,162 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f6fa2e6e-9233-4fe2-a2e1-1b1c1cd86c57 2025-01-07 11:33:08,169 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 11:33:08,169 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e32e69d9-4a04-4a84-9cc4-0e4600c5604c 2025-01-07 11:33:08,180 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8a5cc83e-6c79-4637-bd6e-5543daa76be6 2025-01-07 11:33:08,196 - INFO - Verified VN network id 8 for VN e32e69d9-4a04-4a84-9cc4-0e4600c5604c 2025-01-07 11:33:08,196 - INFO - Verifications in API Server for VN ctest-vn-91430289 passed 2025-01-07 11:33:08,196 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e32e69d9-4a04-4a84-9cc4-0e4600c5604c 2025-01-07 11:33:08,207 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8a5cc83e-6c79-4637-bd6e-5543daa76be6 2025-01-07 11:33:08,216 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8a5cc83e-6c79-4637-bd6e-5543daa76be6 2025-01-07 11:33:08,224 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f6fa2e6e-9233-4fe2-a2e1-1b1c1cd86c57 2025-01-07 11:33:08,238 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00255038:ctest-vn-91430289', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00255038', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16370138077508946564', 'uuid-lslong': '11296169459175481420'}, 'enable': 'true', 'created': '2025-01-07T11:33:05', 'last-modified': '2025-01-07T11:33:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.031775'} 2025-01-07 11:33:08,245 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 11:33:08,245 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91430289 passed 2025-01-07 11:33:08,245 - DEBUG - ====Verifying policy data for ctest-vn-91430289 in API_Server ====== 2025-01-07 11:33:08,245 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-01-07 11:33:08,251 - DEBUG - Requesting: http://10.0.0.33:8082/domain/88dfc14d-2a89-463f-8bc3-3a62b83ea8b9 2025-01-07 11:33:08,266 - DEBUG - Requesting: http://10.0.0.33:8082/project/e63f0a86-afcd-412e-a36b-b8a744394d51 2025-01-07 11:33:08,347 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e32e69d9-4a04-4a84-9cc4-0e4600c5604c 2025-01-07 11:33:08,359 - DEBUG - ==>Verifying data for policy with id: 9b25a882-c080-41f6-8ed2-027c60c43d6c, fqn: ['default-domain', 'ctest-TestBasicPolicy-00255038', 'ctest-policy-allow-all-56461275'] 2025-01-07 11:33:08,360 - INFO - VN ctest-vn-91430289 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 11:33:08,360 - DEBUG - Verifying the vn in opserver 2025-01-07 11:33:08,360 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00255038:ctest-vn-91430289 virtual network link through opserver 10.0.0.33 2025-01-07 11:33:08,360 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-01-07 11:33:08,657 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-01-07 11:33:08,720 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00255038:ctest-vn-91430289', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00255038:ctest-vn-91430289?flat'} 2025-01-07 11:33:08,720 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00255038:ctest-vn-91430289 is found in opserver 2025-01-07 11:33:08,734 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 11:33:08,740 - DEBUG - VRF ids for VN ctest-vn-91430289: {} 2025-01-07 11:33:08,740 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-01-07 11:33:08,748 - DEBUG - Requesting: http://10.0.0.33:8082/domain/88dfc14d-2a89-463f-8bc3-3a62b83ea8b9 2025-01-07 11:33:08,761 - DEBUG - Requesting: http://10.0.0.33:8082/project/e63f0a86-afcd-412e-a36b-b8a744394d51 2025-01-07 11:33:08,838 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ea1363db-0bc6-49e5-b777-dfd8d81314cf 2025-01-07 11:33:08,852 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ea1363db-0bc6-49e5-b777-dfd8d81314cf 2025-01-07 11:33:08,863 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2ac155c9-687a-4b61-81f9-b6092248256a 2025-01-07 11:33:08,871 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2ac155c9-687a-4b61-81f9-b6092248256a 2025-01-07 11:33:08,878 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b7b03723-7d97-4e3b-aa87-1b8cd0f08117 2025-01-07 11:33:08,886 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 11:33:08,886 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ea1363db-0bc6-49e5-b777-dfd8d81314cf 2025-01-07 11:33:08,895 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2ac155c9-687a-4b61-81f9-b6092248256a 2025-01-07 11:33:08,909 - INFO - Verified VN network id 9 for VN ea1363db-0bc6-49e5-b777-dfd8d81314cf 2025-01-07 11:33:08,909 - INFO - Verifications in API Server for VN ctest-vn-82982636 passed 2025-01-07 11:33:08,909 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ea1363db-0bc6-49e5-b777-dfd8d81314cf 2025-01-07 11:33:08,918 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2ac155c9-687a-4b61-81f9-b6092248256a 2025-01-07 11:33:08,925 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2ac155c9-687a-4b61-81f9-b6092248256a 2025-01-07 11:33:08,932 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b7b03723-7d97-4e3b-aa87-1b8cd0f08117 2025-01-07 11:33:08,943 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00255038:ctest-vn-82982636', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00255038', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16866934821879171557', 'uuid-lslong': '13220281353600439503'}, 'enable': 'true', 'created': '2025-01-07T11:33:06', 'last-modified': '2025-01-07T11:33:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.479578'} 2025-01-07 11:33:08,949 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 11:33:08,949 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82982636 passed 2025-01-07 11:33:08,950 - DEBUG - ====Verifying policy data for ctest-vn-82982636 in API_Server ====== 2025-01-07 11:33:08,950 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-01-07 11:33:08,955 - DEBUG - Requesting: http://10.0.0.33:8082/domain/88dfc14d-2a89-463f-8bc3-3a62b83ea8b9 2025-01-07 11:33:08,967 - DEBUG - Requesting: http://10.0.0.33:8082/project/e63f0a86-afcd-412e-a36b-b8a744394d51 2025-01-07 11:33:09,049 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ea1363db-0bc6-49e5-b777-dfd8d81314cf 2025-01-07 11:33:09,061 - DEBUG - ==>Verifying data for policy with id: 9b25a882-c080-41f6-8ed2-027c60c43d6c, fqn: ['default-domain', 'ctest-TestBasicPolicy-00255038', 'ctest-policy-allow-all-56461275'] 2025-01-07 11:33:09,061 - INFO - VN ctest-vn-82982636 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 11:33:09,061 - DEBUG - Verifying the vn in opserver 2025-01-07 11:33:09,061 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00255038:ctest-vn-82982636 virtual network link through opserver 10.0.0.33 2025-01-07 11:33:09,061 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-01-07 11:33:09,073 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00255038:ctest-vn-82982636', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00255038:ctest-vn-82982636?flat'} 2025-01-07 11:33:09,073 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00255038:ctest-vn-82982636 is found in opserver 2025-01-07 11:33:09,083 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 11:33:09,089 - DEBUG - VRF ids for VN ctest-vn-82982636: {} 2025-01-07 11:33:09,146 - DEBUG - Services list from nova: [, , ] 2025-01-07 11:33:10,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2546-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2546-1) 2025-01-07 11:33:11,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2546-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2546-1) 2025-01-07 11:33:11,455 - INFO - Waiting for VM ctest-TestBasicPolicy-00255038-63043715 to be up.. 2025-01-07 11:33:11,545 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-07 11:33:16,628 - DEBUG - VM is in ACTIVE state now 2025-01-07 11:33:16,628 - INFO - VM name : ctest-TestBasicPolicy-00255038-63043715 2025-01-07 11:33:16,713 - DEBUG - VM ctest-TestBasicPolicy-00255038-63043715 ID is 118efa29-c282-4bba-ba96-b51671047d34 2025-01-07 11:33:16,734 - DEBUG - VM ctest-TestBasicPolicy-00255038-63043715 launched on Node cn-jenkins-deploy-platform-ansible-os-2546-1 2025-01-07 11:33:16,814 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/118efa29-c282-4bba-ba96-b51671047d34 2025-01-07 11:33:16,825 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ef386155-ef9b-41bf-a6b2-cce5d52bf328 2025-01-07 11:33:20,026 - 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 1002ms') 2025-01-07 11:33:20,027 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00255038-63043715 failed! 2025-01-07 11:33:20,083 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00255038:ctest-vn-91430289 is 154.58.7.129 and allocation pool is NOT set 2025-01-07 11:33:22,152 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.83 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 = 1.825/5.594/9.363/3.769 ms') 2025-01-07 11:33:22,152 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00255038-63043715 passed 2025-01-07 11:33:22,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:33:22,307 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00255038-63043715, IP 154.58.7.131, Port 22 2025-01-07 11:33:22,477 - DEBUG - VM ctest-TestBasicPolicy-00255038-63043715 is ready for SSH connections 2025-01-07 11:33:22,477 - INFO - Waiting for VM ctest-TestBasicPolicy-00255038-42058344 to be up.. 2025-01-07 11:33:22,559 - DEBUG - VM is in ACTIVE state now 2025-01-07 11:33:22,559 - INFO - VM name : ctest-TestBasicPolicy-00255038-42058344 2025-01-07 11:33:22,640 - DEBUG - VM ctest-TestBasicPolicy-00255038-42058344 ID is 55a0cae1-481a-4916-8afe-b6a2939bc790 2025-01-07 11:33:22,640 - DEBUG - VM ctest-TestBasicPolicy-00255038-42058344 launched on Node cn-jenkins-deploy-platform-ansible-os-2546-1 2025-01-07 11:33:22,727 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/55a0cae1-481a-4916-8afe-b6a2939bc790 2025-01-07 11:33:22,738 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4582a005-e43e-494c-ba80-7a6116235851 2025-01-07 11:33:23,990 - 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=4.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.802 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.802/2.876/4.950/2.074 ms') 2025-01-07 11:33:23,990 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00255038-42058344 passed 2025-01-07 11:33:24,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:33:24,143 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00255038-42058344, IP 192.87.222.67, Port 22 2025-01-07 11:33:24,313 - DEBUG - VM ctest-TestBasicPolicy-00255038-42058344 is ready for SSH connections 2025-01-07 11:33:24,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:33:24,313 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.87.222.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-07 11:33:24,313 - DEBUG - ping -s 56 -c 3 -W 1 192.87.222.67 2025-01-07 11:33:28,321 - DEBUG - PING 192.87.222.67 (192.87.222.67): 56 data bytes 64 bytes from 192.87.222.67: seq=0 ttl=63 time=3.399 ms 64 bytes from 192.87.222.67: seq=1 ttl=63 time=0.819 ms 64 bytes from 192.87.222.67: seq=2 ttl=63 time=0.830 ms --- 192.87.222.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/1.682/3.399 ms 2025-01-07 11:33:28,321 - INFO - Ping to IP 192.87.222.67 from VM ctest-TestBasicPolicy-00255038-63043715 passed 2025-01-07 11:33:28,503 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9b25a882-c080-41f6-8ed2-027c60c43d6c", "href": "http://10.0.0.33:8082/network-policy/9b25a882-c080-41f6-8ed2-027c60c43d6c"}} 2025-01-07 11:33:28,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:33:28,503 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.87.222.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-07 11:33:28,503 - DEBUG - ping -s 56 -c 3 -W 1 192.87.222.67 2025-01-07 11:33:31,713 - DEBUG - PING 192.87.222.67 (192.87.222.67): 56 data bytes 64 bytes from 192.87.222.67: seq=0 ttl=63 time=1.653 ms --- 192.87.222.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.653/1.653/1.653 ms 2025-01-07 11:33:31,713 - WARNING - Ping to IP 192.87.222.67 from VM ctest-TestBasicPolicy-00255038-63043715 failed 2025-01-07 11:33:31,713 - INFO - Deleting VM ctest-TestBasicPolicy-00255038-42058344 2025-01-07 11:33:31,787 - INFO - Deleting VM ctest-TestBasicPolicy-00255038-63043715 2025-01-07 11:33:32,155 - INFO - Deleted policy ctest-policy-allow-all-56461275 2025-01-07 11:33:32,155 - INFO - Deleting VN ctest-vn-82982636 2025-01-07 11:33:32,186 - DEBUG - VN ea1363db-0bc6-49e5-b777-dfd8d81314cf still in use: Unable to complete operation on network ea1363db-0bc6-49e5-b777-dfd8d81314cf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1cbc0a4b-0654-4653-9ff6-3f7a1fdb4751'] 2025-01-07 11:33:32,186 - WARNING - Deleting VN ctest-vn-82982636 failed..Will retry 2025-01-07 11:33:34,291 - DEBUG - Response for deleting network () 2025-01-07 11:33:34,291 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2ac155c9-687a-4b61-81f9-b6092248256a 2025-01-07 11:33:34,299 - DEBUG - Response Code: 404 2025-01-07 11:33:34,299 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-01-07 11:33:34,305 - DEBUG - Requesting: http://10.0.0.33:8082/domain/88dfc14d-2a89-463f-8bc3-3a62b83ea8b9 2025-01-07 11:33:34,362 - DEBUG - Requesting: http://10.0.0.33:8082/project/e63f0a86-afcd-412e-a36b-b8a744394d51 2025-01-07 11:33:34,439 - INFO - Validated that VN ctest-vn-82982636 is not found in API Server 2025-01-07 11:33:34,449 - DEBUG - VN ctest-vn-82982636 is not present in Agent 10.0.0.33 2025-01-07 11:33:34,449 - INFO - Validated that VN ctest-vn-82982636 is not in any agent 2025-01-07 11:33:34,464 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82982636 info 2025-01-07 11:33:34,464 - INFO - Deleting VN ctest-vn-91430289 2025-01-07 11:33:34,579 - DEBUG - Response for deleting network () 2025-01-07 11:33:34,579 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8a5cc83e-6c79-4637-bd6e-5543daa76be6 2025-01-07 11:33:34,587 - DEBUG - Response Code: 404 2025-01-07 11:33:34,587 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-01-07 11:33:34,593 - DEBUG - Requesting: http://10.0.0.33:8082/domain/88dfc14d-2a89-463f-8bc3-3a62b83ea8b9 2025-01-07 11:33:34,648 - DEBUG - Requesting: http://10.0.0.33:8082/project/e63f0a86-afcd-412e-a36b-b8a744394d51 2025-01-07 11:33:34,721 - INFO - Validated that VN ctest-vn-91430289 is not found in API Server 2025-01-07 11:33:34,731 - DEBUG - VN ctest-vn-91430289 is not present in Agent 10.0.0.33 2025-01-07 11:33:34,731 - INFO - Validated that VN ctest-vn-91430289 is not in any agent 2025-01-07 11:33:34,747 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91430289 info 2025-01-07 11:33:35,000 - DEBUG - No XMPP flaps were noticed during the test 2025-01-07 11:33:35,001 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-07 11:33:35,001 - INFO - -------------------------------------------------------------------------------- 2025-01-07 11:33:35,665 - INFO - Deleted project: ctest-TestBasicPolicy-00255038, ID : e63f0a86-afcd-412e-a36b-b8a744394d51