2025-06-24 14:53:13,381 - INFO - Domain Default found not creating 2025-06-24 14:53:13,532 - INFO - Project ctest-TestBasicPolicy-90335466 not found, creating it 2025-06-24 14:53:14,066 - INFO - Created Project:ctest-TestBasicPolicy-90335466, ID : 271822cd-5b81-4d19-ae11-2f018aca9ba9 2025-06-24 14:53:15,555 - INFO - ================================================================================ 2025-06-24 14:53:15,555 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-24 14:53:15,555 - 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-06-24 14:53:15,812 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-06-24 14:53:15,812 - INFO - Initial checks done. Running the testcase now 2025-06-24 14:53:15,812 - INFO - 2025-06-24 14:53:16,370 - DEBUG - Response for create_network : {'network': {'id': '57bc4639-7228-4b11-a57a-76d1a6fc5635', 'name': 'ctest-vn-73785905', 'tenant_id': '271822cd5b814d19ae112f018aca9ba9', 'project_id': '271822cd5b814d19ae112f018aca9ba9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90335466', 'ctest-vn-73785905'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 14:53:16,590 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8bd0c8e-b521-45ca-829a-abe7befffb99', 'name': '', 'tenant_id': '271822cd5b814d19ae112f018aca9ba9', 'network_id': '57bc4639-7228-4b11-a57a-76d1a6fc5635', 'ip_version': 4, 'cidr': '1.235.201.0/26', 'allocation_pools': [{'start': '1.235.201.2', 'end': '1.235.201.62'}], 'gateway_ip': '1.235.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.235.201.2', 'tags': [], 'project_id': '271822cd5b814d19ae112f018aca9ba9'}} 2025-06-24 14:53:16,608 - INFO - Created VN ctest-vn-73785905 2025-06-24 14:53:16,660 - DEBUG - VN ctest-vn-73785905 UUID is 57bc4639-7228-4b11-a57a-76d1a6fc5635 2025-06-24 14:53:16,981 - DEBUG - Response for create_network : {'network': {'id': '6b0f9f07-d759-4ca4-bc78-749407ce243b', 'name': 'ctest-vn-27396976', 'tenant_id': '271822cd5b814d19ae112f018aca9ba9', 'project_id': '271822cd5b814d19ae112f018aca9ba9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90335466', 'ctest-vn-27396976'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 14:53:17,166 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8e1d688-51ae-408c-8b40-904bbc4e49d4', 'name': '', 'tenant_id': '271822cd5b814d19ae112f018aca9ba9', 'network_id': '6b0f9f07-d759-4ca4-bc78-749407ce243b', 'ip_version': 4, 'cidr': '207.134.207.192/26', 'allocation_pools': [{'start': '207.134.207.194', 'end': '207.134.207.254'}], 'gateway_ip': '207.134.207.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.134.207.194', 'tags': [], 'project_id': '271822cd5b814d19ae112f018aca9ba9'}} 2025-06-24 14:53:17,188 - INFO - Created VN ctest-vn-27396976 2025-06-24 14:53:17,244 - DEBUG - VN ctest-vn-27396976 UUID is 6b0f9f07-d759-4ca4-bc78-749407ce243b 2025-06-24 14:53:17,356 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90335466:ctest-vn-73785905, 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-90335466:ctest-vn-27396976, 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-06-24 14:53:17,663 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '57bc4639-7228-4b11-a57a-76d1a6fc5635', 'name': 'ctest-vn-73785905', 'tenant_id': '271822cd5b814d19ae112f018aca9ba9', 'project_id': '271822cd5b814d19ae112f018aca9ba9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a8bd0c8e-b521-45ca-829a-abe7befffb99'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90335466', 'ctest-vn-73785905'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90335466', 'ctest-policy-allow-all-49805358']], 'subnet_ipam': [{'subnet_cidr': '1.235.201.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 14:53:17,890 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6b0f9f07-d759-4ca4-bc78-749407ce243b', 'name': 'ctest-vn-27396976', 'tenant_id': '271822cd5b814d19ae112f018aca9ba9', 'project_id': '271822cd5b814d19ae112f018aca9ba9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f8e1d688-51ae-408c-8b40-904bbc4e49d4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90335466', 'ctest-vn-27396976'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90335466', 'ctest-policy-allow-all-49805358']], 'subnet_ipam': [{'subnet_cidr': '207.134.207.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 14:53:18,052 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-24 14:53:18,346 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-24 14:53:18,377 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0d5c030e-8a25-4256-bd12-3aa8915e0c17 2025-06-24 14:53:18,392 - DEBUG - Requesting: http://10.0.0.50:8082/project/271822cd-5b81-4d19-ae11-2f018aca9ba9 2025-06-24 14:53:18,466 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/57bc4639-7228-4b11-a57a-76d1a6fc5635 2025-06-24 14:53:18,478 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/57bc4639-7228-4b11-a57a-76d1a6fc5635 2025-06-24 14:53:18,488 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b607dc3-3094-4eaf-b319-fe5f6178e5f2 2025-06-24 14:53:18,497 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b607dc3-3094-4eaf-b319-fe5f6178e5f2 2025-06-24 14:53:18,505 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d2f98437-752b-456c-b3b3-50cd99697191 2025-06-24 14:53:18,511 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 14:53:18,511 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/57bc4639-7228-4b11-a57a-76d1a6fc5635 2025-06-24 14:53:18,522 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b607dc3-3094-4eaf-b319-fe5f6178e5f2 2025-06-24 14:53:18,537 - INFO - Verified VN network id 9 for VN 57bc4639-7228-4b11-a57a-76d1a6fc5635 2025-06-24 14:53:18,537 - INFO - Verifications in API Server for VN ctest-vn-73785905 passed 2025-06-24 14:53:18,537 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/57bc4639-7228-4b11-a57a-76d1a6fc5635 2025-06-24 14:53:18,547 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b607dc3-3094-4eaf-b319-fe5f6178e5f2 2025-06-24 14:53:18,555 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b607dc3-3094-4eaf-b319-fe5f6178e5f2 2025-06-24 14:53:18,562 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d2f98437-752b-456c-b3b3-50cd99697191 2025-06-24 14:53:18,575 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90335466:ctest-vn-73785905', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90335466', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6322005189463657233', 'uuid-lslong': '11923973606238606901'}, 'enable': 'true', 'created': '2025-06-24T14:53:16', 'last-modified': '2025-06-24T14:53:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.943079'} 2025-06-24 14:53:18,581 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 14:53:18,581 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73785905 passed 2025-06-24 14:53:18,582 - DEBUG - ====Verifying policy data for ctest-vn-73785905 in API_Server ====== 2025-06-24 14:53:18,582 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-24 14:53:18,587 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0d5c030e-8a25-4256-bd12-3aa8915e0c17 2025-06-24 14:53:18,598 - DEBUG - Requesting: http://10.0.0.50:8082/project/271822cd-5b81-4d19-ae11-2f018aca9ba9 2025-06-24 14:53:18,675 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/57bc4639-7228-4b11-a57a-76d1a6fc5635 2025-06-24 14:53:18,685 - DEBUG - ==>Verifying data for policy with id: 01769b08-32d4-4c47-9d33-a57e409a01b2, fqn: ['default-domain', 'ctest-TestBasicPolicy-90335466', 'ctest-policy-allow-all-49805358'] 2025-06-24 14:53:18,685 - INFO - VN ctest-vn-73785905 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 14:53:18,685 - DEBUG - Verifying the vn in opserver 2025-06-24 14:53:18,685 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90335466:ctest-vn-73785905 virtual network link through opserver 10.0.0.50 2025-06-24 14:53:18,685 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-24 14:53:18,987 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-24 14:53:19,051 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90335466:ctest-vn-73785905', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90335466:ctest-vn-73785905?flat'} 2025-06-24 14:53:19,051 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90335466:ctest-vn-73785905 is found in opserver 2025-06-24 14:53:19,064 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 14:53:19,069 - DEBUG - VRF ids for VN ctest-vn-73785905: {} 2025-06-24 14:53:19,069 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-24 14:53:19,075 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0d5c030e-8a25-4256-bd12-3aa8915e0c17 2025-06-24 14:53:19,087 - DEBUG - Requesting: http://10.0.0.50:8082/project/271822cd-5b81-4d19-ae11-2f018aca9ba9 2025-06-24 14:53:19,166 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6b0f9f07-d759-4ca4-bc78-749407ce243b 2025-06-24 14:53:19,181 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6b0f9f07-d759-4ca4-bc78-749407ce243b 2025-06-24 14:53:19,191 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9799fb8f-33f7-4f0f-81da-0d9333bd3ae9 2025-06-24 14:53:19,200 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9799fb8f-33f7-4f0f-81da-0d9333bd3ae9 2025-06-24 14:53:19,207 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/eca61883-438e-4660-9b55-4c2b29a0b7ac 2025-06-24 14:53:19,214 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 14:53:19,214 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6b0f9f07-d759-4ca4-bc78-749407ce243b 2025-06-24 14:53:19,226 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9799fb8f-33f7-4f0f-81da-0d9333bd3ae9 2025-06-24 14:53:19,243 - INFO - Verified VN network id 10 for VN 6b0f9f07-d759-4ca4-bc78-749407ce243b 2025-06-24 14:53:19,244 - INFO - Verifications in API Server for VN ctest-vn-27396976 passed 2025-06-24 14:53:19,244 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6b0f9f07-d759-4ca4-bc78-749407ce243b 2025-06-24 14:53:19,256 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9799fb8f-33f7-4f0f-81da-0d9333bd3ae9 2025-06-24 14:53:19,265 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9799fb8f-33f7-4f0f-81da-0d9333bd3ae9 2025-06-24 14:53:19,273 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/eca61883-438e-4660-9b55-4c2b29a0b7ac 2025-06-24 14:53:19,289 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90335466:ctest-vn-27396976', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90335466', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7714559542735490212', 'uuid-lslong': '13580732855470662715'}, 'enable': 'true', 'created': '2025-06-24T14:53:16', 'last-modified': '2025-06-24T14:53:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.424917'} 2025-06-24 14:53:19,296 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 14:53:19,296 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27396976 passed 2025-06-24 14:53:19,296 - DEBUG - ====Verifying policy data for ctest-vn-27396976 in API_Server ====== 2025-06-24 14:53:19,296 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-24 14:53:19,302 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0d5c030e-8a25-4256-bd12-3aa8915e0c17 2025-06-24 14:53:19,314 - DEBUG - Requesting: http://10.0.0.50:8082/project/271822cd-5b81-4d19-ae11-2f018aca9ba9 2025-06-24 14:53:19,389 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6b0f9f07-d759-4ca4-bc78-749407ce243b 2025-06-24 14:53:19,399 - DEBUG - ==>Verifying data for policy with id: 01769b08-32d4-4c47-9d33-a57e409a01b2, fqn: ['default-domain', 'ctest-TestBasicPolicy-90335466', 'ctest-policy-allow-all-49805358'] 2025-06-24 14:53:19,399 - INFO - VN ctest-vn-27396976 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 14:53:19,399 - DEBUG - Verifying the vn in opserver 2025-06-24 14:53:19,399 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90335466:ctest-vn-27396976 virtual network link through opserver 10.0.0.50 2025-06-24 14:53:19,399 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-24 14:53:19,410 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90335466:ctest-vn-27396976', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90335466:ctest-vn-27396976?flat'} 2025-06-24 14:53:19,410 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90335466:ctest-vn-27396976 is found in opserver 2025-06-24 14:53:19,422 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 14:53:19,429 - DEBUG - VRF ids for VN ctest-vn-27396976: {} 2025-06-24 14:53:19,499 - DEBUG - Services list from nova: [, , ] 2025-06-24 14:53:20,629 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3538-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3538-1) 2025-06-24 14:53:21,796 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3538-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3538-1) 2025-06-24 14:53:21,796 - INFO - Waiting for VM ctest-TestBasicPolicy-90335466-67441504 to be up.. 2025-06-24 14:53:21,906 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-24 14:53:27,012 - DEBUG - VM is in ACTIVE state now 2025-06-24 14:53:27,013 - INFO - VM name : ctest-TestBasicPolicy-90335466-67441504 2025-06-24 14:53:27,098 - DEBUG - VM ctest-TestBasicPolicy-90335466-67441504 ID is 447fa886-f257-4392-a009-70a6917d2bc6 2025-06-24 14:53:27,118 - DEBUG - VM ctest-TestBasicPolicy-90335466-67441504 launched on Node cn-jenkins-deploy-platform-ansible-os-3538-1 2025-06-24 14:53:27,189 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/447fa886-f257-4392-a009-70a6917d2bc6 2025-06-24 14:53:27,199 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bb3a12e9-d0a8-4b75-89b2-135374766848 2025-06-24 14:53:30,456 - 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 1015ms') 2025-06-24 14:53:30,456 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90335466-67441504 failed! 2025-06-24 14:53:30,512 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90335466:ctest-vn-73785905 is 1.235.201.1 and allocation pool is NOT set 2025-06-24 14:53:32,568 - 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=8.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.497 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.497/4.386/8.275/3.889 ms') 2025-06-24 14:53:32,568 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90335466-67441504 passed 2025-06-24 14:53:32,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 14:53:32,720 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90335466-67441504, IP 1.235.201.3, Port 22 2025-06-24 14:53:32,880 - DEBUG - VM ctest-TestBasicPolicy-90335466-67441504 is ready for SSH connections 2025-06-24 14:53:32,880 - INFO - Waiting for VM ctest-TestBasicPolicy-90335466-14917062 to be up.. 2025-06-24 14:53:32,969 - DEBUG - VM is in ACTIVE state now 2025-06-24 14:53:32,969 - INFO - VM name : ctest-TestBasicPolicy-90335466-14917062 2025-06-24 14:53:33,048 - DEBUG - VM ctest-TestBasicPolicy-90335466-14917062 ID is b5db715d-a7cb-4c8c-9b5e-d2d36cafce60 2025-06-24 14:53:33,048 - DEBUG - VM ctest-TestBasicPolicy-90335466-14917062 launched on Node cn-jenkins-deploy-platform-ansible-os-3538-1 2025-06-24 14:53:33,124 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b5db715d-a7cb-4c8c-9b5e-d2d36cafce60 2025-06-24 14:53:33,133 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f8d0aa2b-6f5c-48bd-a1d9-fc55c1b8c0a4 2025-06-24 14:53:34,370 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 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.464/1.589/2.714/1.125 ms') 2025-06-24 14:53:34,370 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90335466-14917062 passed 2025-06-24 14:53:34,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 14:53:34,521 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90335466-14917062, IP 207.134.207.195, Port 22 2025-06-24 14:53:34,686 - DEBUG - VM ctest-TestBasicPolicy-90335466-14917062 is ready for SSH connections 2025-06-24 14:53:34,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 14:53:34,686 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.134.207.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-24 14:53:34,686 - DEBUG - ping -s 56 -c 3 -W 1 207.134.207.195 2025-06-24 14:53:38,389 - DEBUG - PING 207.134.207.195 (207.134.207.195): 56 data bytes 64 bytes from 207.134.207.195: seq=0 ttl=63 time=3.408 ms 64 bytes from 207.134.207.195: seq=1 ttl=63 time=0.923 ms 64 bytes from 207.134.207.195: seq=2 ttl=63 time=0.876 ms --- 207.134.207.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.876/1.735/3.408 ms 2025-06-24 14:53:38,389 - INFO - Ping to IP 207.134.207.195 from VM ctest-TestBasicPolicy-90335466-67441504 passed 2025-06-24 14:53:38,568 - DEBUG - Policy Update Response {"network-policy": {"uuid": "01769b08-32d4-4c47-9d33-a57e409a01b2", "href": "http://10.0.0.50:8082/network-policy/01769b08-32d4-4c47-9d33-a57e409a01b2"}} 2025-06-24 14:53:38,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 14:53:38,568 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.134.207.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-24 14:53:38,568 - DEBUG - ping -s 56 -c 3 -W 1 207.134.207.195 2025-06-24 14:53:41,764 - DEBUG - PING 207.134.207.195 (207.134.207.195): 56 data bytes --- 207.134.207.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-24 14:53:41,764 - WARNING - Ping to IP 207.134.207.195 from VM ctest-TestBasicPolicy-90335466-67441504 failed 2025-06-24 14:53:41,764 - INFO - Deleting VM ctest-TestBasicPolicy-90335466-14917062 2025-06-24 14:53:41,831 - INFO - Deleting VM ctest-TestBasicPolicy-90335466-67441504 2025-06-24 14:53:42,196 - INFO - Deleted policy ctest-policy-allow-all-49805358 2025-06-24 14:53:42,196 - INFO - Deleting VN ctest-vn-27396976 2025-06-24 14:53:42,239 - DEBUG - VN 6b0f9f07-d759-4ca4-bc78-749407ce243b still in use: Unable to complete operation on network 6b0f9f07-d759-4ca4-bc78-749407ce243b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-650eff24-c019-44a5-9f76-af3117d8d131'] 2025-06-24 14:53:42,239 - WARNING - Deleting VN ctest-vn-27396976 failed..Will retry 2025-06-24 14:53:44,349 - DEBUG - Response for deleting network () 2025-06-24 14:53:44,349 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9799fb8f-33f7-4f0f-81da-0d9333bd3ae9 2025-06-24 14:53:44,355 - DEBUG - Response Code: 404 2025-06-24 14:53:44,355 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-24 14:53:44,361 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0d5c030e-8a25-4256-bd12-3aa8915e0c17 2025-06-24 14:53:44,415 - DEBUG - Requesting: http://10.0.0.50:8082/project/271822cd-5b81-4d19-ae11-2f018aca9ba9 2025-06-24 14:53:44,495 - INFO - Validated that VN ctest-vn-27396976 is not found in API Server 2025-06-24 14:53:44,507 - DEBUG - VN ctest-vn-27396976 is not present in Agent 10.0.0.50 2025-06-24 14:53:44,507 - INFO - Validated that VN ctest-vn-27396976 is not in any agent 2025-06-24 14:53:44,524 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27396976 info 2025-06-24 14:53:44,524 - INFO - Deleting VN ctest-vn-73785905 2025-06-24 14:53:44,627 - DEBUG - Response for deleting network () 2025-06-24 14:53:44,627 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b607dc3-3094-4eaf-b319-fe5f6178e5f2 2025-06-24 14:53:44,634 - DEBUG - Response Code: 404 2025-06-24 14:53:44,634 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-24 14:53:44,641 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0d5c030e-8a25-4256-bd12-3aa8915e0c17 2025-06-24 14:53:44,697 - DEBUG - Requesting: http://10.0.0.50:8082/project/271822cd-5b81-4d19-ae11-2f018aca9ba9 2025-06-24 14:53:44,775 - INFO - Validated that VN ctest-vn-73785905 is not found in API Server 2025-06-24 14:53:44,787 - DEBUG - VN ctest-vn-73785905 is not present in Agent 10.0.0.50 2025-06-24 14:53:44,787 - INFO - Validated that VN ctest-vn-73785905 is not in any agent 2025-06-24 14:53:44,802 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73785905 info 2025-06-24 14:53:45,058 - DEBUG - No XMPP flaps were noticed during the test 2025-06-24 14:53:45,058 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-24 14:53:45,058 - INFO - -------------------------------------------------------------------------------- 2025-06-24 14:53:45,727 - INFO - Deleted project: ctest-TestBasicPolicy-90335466, ID : 271822cd-5b81-4d19-ae11-2f018aca9ba9