2025-11-05 08:21:16,944 - INFO - Domain Default found not creating 2025-11-05 08:21:17,098 - INFO - Project ctest-TestBasicPolicy-44762736 not found, creating it 2025-11-05 08:21:17,552 - INFO - Created Project:ctest-TestBasicPolicy-44762736, ID : bde9de2a-8fa3-4718-99aa-a96cb3346435 2025-11-05 08:21:19,046 - INFO - ================================================================================ 2025-11-05 08:21:19,046 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 08:21:19,046 - 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-11-05 08:21:19,299 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2025-11-05 08:21:19,300 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:21:19,300 - INFO - 2025-11-05 08:21:19,867 - DEBUG - Response for create_network : {'network': {'id': 'a7210644-79d9-4c1a-8be0-59eaf9473d41', 'name': 'ctest-vn-58013134', 'tenant_id': 'bde9de2a8fa3471899aaa96cb3346435', 'project_id': 'bde9de2a8fa3471899aaa96cb3346435', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44762736', 'ctest-vn-58013134'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:21:20,056 - DEBUG - Response for create_subnet : {'subnet': {'id': '51f2f0ce-0d91-4f07-9fc0-0553805e8407', 'name': '', 'tenant_id': 'bde9de2a8fa3471899aaa96cb3346435', 'network_id': 'a7210644-79d9-4c1a-8be0-59eaf9473d41', 'ip_version': 4, 'cidr': '118.8.200.192/26', 'allocation_pools': [{'start': '118.8.200.194', 'end': '118.8.200.254'}], 'gateway_ip': '118.8.200.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.8.200.194', 'tags': [], 'project_id': 'bde9de2a8fa3471899aaa96cb3346435'}} 2025-11-05 08:21:20,069 - INFO - Created VN ctest-vn-58013134 2025-11-05 08:21:20,122 - DEBUG - VN ctest-vn-58013134 UUID is a7210644-79d9-4c1a-8be0-59eaf9473d41 2025-11-05 08:21:20,435 - DEBUG - Response for create_network : {'network': {'id': 'd1a6fd39-e7d6-449e-9296-ec57562b2f62', 'name': 'ctest-vn-14368012', 'tenant_id': 'bde9de2a8fa3471899aaa96cb3346435', 'project_id': 'bde9de2a8fa3471899aaa96cb3346435', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44762736', 'ctest-vn-14368012'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:21:20,588 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aeb21a40-c63f-40e6-a8a2-c930ded93f5c', 'name': '', 'tenant_id': 'bde9de2a8fa3471899aaa96cb3346435', 'network_id': 'd1a6fd39-e7d6-449e-9296-ec57562b2f62', 'ip_version': 4, 'cidr': '23.24.63.0/26', 'allocation_pools': [{'start': '23.24.63.2', 'end': '23.24.63.62'}], 'gateway_ip': '23.24.63.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.24.63.2', 'tags': [], 'project_id': 'bde9de2a8fa3471899aaa96cb3346435'}} 2025-11-05 08:21:20,606 - INFO - Created VN ctest-vn-14368012 2025-11-05 08:21:20,658 - DEBUG - VN ctest-vn-14368012 UUID is d1a6fd39-e7d6-449e-9296-ec57562b2f62 2025-11-05 08:21:20,806 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44762736:ctest-vn-58013134, 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-44762736:ctest-vn-14368012, 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-11-05 08:21:21,101 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a7210644-79d9-4c1a-8be0-59eaf9473d41', 'name': 'ctest-vn-58013134', 'tenant_id': 'bde9de2a8fa3471899aaa96cb3346435', 'project_id': 'bde9de2a8fa3471899aaa96cb3346435', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['51f2f0ce-0d91-4f07-9fc0-0553805e8407'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44762736', 'ctest-vn-58013134'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44762736', 'ctest-policy-allow-all-73932739']], 'subnet_ipam': [{'subnet_cidr': '118.8.200.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:21:21,331 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd1a6fd39-e7d6-449e-9296-ec57562b2f62', 'name': 'ctest-vn-14368012', 'tenant_id': 'bde9de2a8fa3471899aaa96cb3346435', 'project_id': 'bde9de2a8fa3471899aaa96cb3346435', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aeb21a40-c63f-40e6-a8a2-c930ded93f5c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44762736', 'ctest-vn-14368012'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44762736', 'ctest-policy-allow-all-73932739']], 'subnet_ipam': [{'subnet_cidr': '23.24.63.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:21:21,494 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-05 08:21:21,804 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-05 08:21:21,834 - DEBUG - Requesting: http://10.0.0.22:8082/domain/450edf14-d25c-496d-8095-cac6e98aa5a6 2025-11-05 08:21:21,844 - DEBUG - Requesting: http://10.0.0.22:8082/project/bde9de2a-8fa3-4718-99aa-a96cb3346435 2025-11-05 08:21:21,911 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a7210644-79d9-4c1a-8be0-59eaf9473d41 2025-11-05 08:21:21,922 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a7210644-79d9-4c1a-8be0-59eaf9473d41 2025-11-05 08:21:21,931 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/53cf090f-bb0f-4a89-a3dc-8c54a545fc21 2025-11-05 08:21:21,938 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/53cf090f-bb0f-4a89-a3dc-8c54a545fc21 2025-11-05 08:21:21,943 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/9455891c-f2a6-4bbb-aa46-f0c50d398540 2025-11-05 08:21:21,948 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 08:21:21,948 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a7210644-79d9-4c1a-8be0-59eaf9473d41 2025-11-05 08:21:21,956 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/53cf090f-bb0f-4a89-a3dc-8c54a545fc21 2025-11-05 08:21:21,968 - INFO - Verified VN network id 11 for VN a7210644-79d9-4c1a-8be0-59eaf9473d41 2025-11-05 08:21:21,968 - INFO - Verifications in API Server for VN ctest-vn-58013134 passed 2025-11-05 08:21:21,968 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a7210644-79d9-4c1a-8be0-59eaf9473d41 2025-11-05 08:21:21,976 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/53cf090f-bb0f-4a89-a3dc-8c54a545fc21 2025-11-05 08:21:21,982 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/53cf090f-bb0f-4a89-a3dc-8c54a545fc21 2025-11-05 08:21:21,988 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/9455891c-f2a6-4bbb-aa46-f0c50d398540 2025-11-05 08:21:21,999 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44762736:ctest-vn-58013134', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44762736', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12042913769737243674', 'uuid-lslong': '10079154831794584897'}, 'enable': 'true', 'created': '2025-11-05T08:21:19', 'last-modified': '2025-11-05T08:21:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.928769'} 2025-11-05 08:21:22,005 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 08:21:22,005 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58013134 passed 2025-11-05 08:21:22,005 - DEBUG - ====Verifying policy data for ctest-vn-58013134 in API_Server ====== 2025-11-05 08:21:22,005 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-05 08:21:22,010 - DEBUG - Requesting: http://10.0.0.22:8082/domain/450edf14-d25c-496d-8095-cac6e98aa5a6 2025-11-05 08:21:22,020 - DEBUG - Requesting: http://10.0.0.22:8082/project/bde9de2a-8fa3-4718-99aa-a96cb3346435 2025-11-05 08:21:22,089 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a7210644-79d9-4c1a-8be0-59eaf9473d41 2025-11-05 08:21:22,097 - DEBUG - ==>Verifying data for policy with id: 0130fe99-d76e-4f2f-be9a-88399eefd34e, fqn: ['default-domain', 'ctest-TestBasicPolicy-44762736', 'ctest-policy-allow-all-73932739'] 2025-11-05 08:21:22,097 - INFO - VN ctest-vn-58013134 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 08:21:22,097 - DEBUG - Verifying the vn in opserver 2025-11-05 08:21:22,097 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44762736:ctest-vn-58013134 virtual network link through opserver 10.0.0.22 2025-11-05 08:21:22,097 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-05 08:21:22,417 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-05 08:21:22,494 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44762736:ctest-vn-58013134', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44762736:ctest-vn-58013134?flat'} 2025-11-05 08:21:22,494 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44762736:ctest-vn-58013134 is found in opserver 2025-11-05 08:21:22,503 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 08:21:22,507 - DEBUG - VRF ids for VN ctest-vn-58013134: {} 2025-11-05 08:21:22,508 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-05 08:21:22,513 - DEBUG - Requesting: http://10.0.0.22:8082/domain/450edf14-d25c-496d-8095-cac6e98aa5a6 2025-11-05 08:21:22,522 - DEBUG - Requesting: http://10.0.0.22:8082/project/bde9de2a-8fa3-4718-99aa-a96cb3346435 2025-11-05 08:21:22,591 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d1a6fd39-e7d6-449e-9296-ec57562b2f62 2025-11-05 08:21:22,602 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d1a6fd39-e7d6-449e-9296-ec57562b2f62 2025-11-05 08:21:22,612 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49084dec-c621-41a5-8c69-708e057154c9 2025-11-05 08:21:22,618 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49084dec-c621-41a5-8c69-708e057154c9 2025-11-05 08:21:22,625 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/28ebf504-2378-476e-aeb2-b16b5f6e384c 2025-11-05 08:21:22,630 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 08:21:22,630 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d1a6fd39-e7d6-449e-9296-ec57562b2f62 2025-11-05 08:21:22,638 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49084dec-c621-41a5-8c69-708e057154c9 2025-11-05 08:21:22,652 - INFO - Verified VN network id 12 for VN d1a6fd39-e7d6-449e-9296-ec57562b2f62 2025-11-05 08:21:22,652 - INFO - Verifications in API Server for VN ctest-vn-14368012 passed 2025-11-05 08:21:22,652 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d1a6fd39-e7d6-449e-9296-ec57562b2f62 2025-11-05 08:21:22,661 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49084dec-c621-41a5-8c69-708e057154c9 2025-11-05 08:21:22,672 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49084dec-c621-41a5-8c69-708e057154c9 2025-11-05 08:21:22,678 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/28ebf504-2378-476e-aeb2-b16b5f6e384c 2025-11-05 08:21:22,691 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44762736:ctest-vn-14368012', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44762736', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15107040425205449886', 'uuid-lslong': '10562889835896057698'}, 'enable': 'true', 'created': '2025-11-05T08:21:20', 'last-modified': '2025-11-05T08:21:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.376465'} 2025-11-05 08:21:22,696 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 08:21:22,696 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14368012 passed 2025-11-05 08:21:22,697 - DEBUG - ====Verifying policy data for ctest-vn-14368012 in API_Server ====== 2025-11-05 08:21:22,697 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-05 08:21:22,702 - DEBUG - Requesting: http://10.0.0.22:8082/domain/450edf14-d25c-496d-8095-cac6e98aa5a6 2025-11-05 08:21:22,713 - DEBUG - Requesting: http://10.0.0.22:8082/project/bde9de2a-8fa3-4718-99aa-a96cb3346435 2025-11-05 08:21:22,780 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d1a6fd39-e7d6-449e-9296-ec57562b2f62 2025-11-05 08:21:22,789 - DEBUG - ==>Verifying data for policy with id: 0130fe99-d76e-4f2f-be9a-88399eefd34e, fqn: ['default-domain', 'ctest-TestBasicPolicy-44762736', 'ctest-policy-allow-all-73932739'] 2025-11-05 08:21:22,789 - INFO - VN ctest-vn-14368012 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 08:21:22,789 - DEBUG - Verifying the vn in opserver 2025-11-05 08:21:22,789 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44762736:ctest-vn-14368012 virtual network link through opserver 10.0.0.22 2025-11-05 08:21:22,789 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-05 08:21:22,798 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44762736:ctest-vn-14368012', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44762736:ctest-vn-14368012?flat'} 2025-11-05 08:21:22,798 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44762736:ctest-vn-14368012 is found in opserver 2025-11-05 08:21:22,809 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 08:21:22,814 - DEBUG - VRF ids for VN ctest-vn-14368012: {} 2025-11-05 08:21:22,877 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:21:23,916 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4630-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4630-1) 2025-11-05 08:21:25,136 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4630-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4630-1) 2025-11-05 08:21:25,136 - INFO - Waiting for VM ctest-TestBasicPolicy-44762736-52628407 to be up.. 2025-11-05 08:21:25,219 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 08:21:30,289 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:21:30,290 - INFO - VM name : ctest-TestBasicPolicy-44762736-52628407 2025-11-05 08:21:30,358 - DEBUG - VM ctest-TestBasicPolicy-44762736-52628407 ID is 05b6d19b-7850-46a9-818e-de41f2f5bed3 2025-11-05 08:21:30,376 - DEBUG - VM ctest-TestBasicPolicy-44762736-52628407 launched on Node cn-jenkins-deploy-platform-ansible-os-4630-1 2025-11-05 08:21:30,446 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/05b6d19b-7850-46a9-818e-de41f2f5bed3 2025-11-05 08:21:30,457 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/062d04af-f20d-4123-8fe3-d87d4da2eebb 2025-11-05 08:21:33,729 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms') 2025-11-05 08:21:33,729 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44762736-52628407 failed! 2025-11-05 08:21:33,782 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-44762736:ctest-vn-58013134 is 118.8.200.193 and allocation pool is NOT set 2025-11-05 08:21:35,843 - 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=3.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.450 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.450/2.187/3.925/1.737 ms') 2025-11-05 08:21:35,843 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44762736-52628407 passed 2025-11-05 08:21:35,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:21:35,994 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44762736-52628407, IP 118.8.200.195, Port 22 2025-11-05 08:21:36,146 - DEBUG - VM ctest-TestBasicPolicy-44762736-52628407 is ready for SSH connections 2025-11-05 08:21:36,146 - INFO - Waiting for VM ctest-TestBasicPolicy-44762736-56764490 to be up.. 2025-11-05 08:21:36,217 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:21:36,217 - INFO - VM name : ctest-TestBasicPolicy-44762736-56764490 2025-11-05 08:21:36,282 - DEBUG - VM ctest-TestBasicPolicy-44762736-56764490 ID is d711edef-d5aa-4781-ba2d-6ffc9188d744 2025-11-05 08:21:36,282 - DEBUG - VM ctest-TestBasicPolicy-44762736-56764490 launched on Node cn-jenkins-deploy-platform-ansible-os-4630-1 2025-11-05 08:21:36,356 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d711edef-d5aa-4781-ba2d-6ffc9188d744 2025-11-05 08:21:36,365 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e7689e8c-f9e6-4d65-af5a-4e346af0859f 2025-11-05 08:21:37,600 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/2.115/3.807/1.691 ms') 2025-11-05 08:21:37,600 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-44762736-56764490 passed 2025-11-05 08:21:37,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:21:37,750 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44762736-56764490, IP 23.24.63.3, Port 22 2025-11-05 08:21:37,907 - DEBUG - VM ctest-TestBasicPolicy-44762736-56764490 is ready for SSH connections 2025-11-05 08:21:37,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:21:37,907 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.24.63.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-05 08:21:37,907 - DEBUG - ping -s 56 -c 3 -W 1 23.24.63.3 2025-11-05 08:21:41,579 - DEBUG - PING 23.24.63.3 (23.24.63.3): 56 data bytes 64 bytes from 23.24.63.3: seq=0 ttl=63 time=3.692 ms 64 bytes from 23.24.63.3: seq=1 ttl=63 time=0.928 ms 64 bytes from 23.24.63.3: seq=2 ttl=63 time=1.106 ms --- 23.24.63.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.928/1.908/3.692 ms 2025-11-05 08:21:41,580 - INFO - Ping to IP 23.24.63.3 from VM ctest-TestBasicPolicy-44762736-52628407 passed 2025-11-05 08:21:41,754 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0130fe99-d76e-4f2f-be9a-88399eefd34e", "href": "http://10.0.0.22:8082/network-policy/0130fe99-d76e-4f2f-be9a-88399eefd34e"}} 2025-11-05 08:21:41,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:21:41,754 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.24.63.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-05 08:21:41,754 - DEBUG - ping -s 56 -c 3 -W 1 23.24.63.3 2025-11-05 08:21:44,902 - DEBUG - PING 23.24.63.3 (23.24.63.3): 56 data bytes 64 bytes from 23.24.63.3: seq=0 ttl=63 time=1.635 ms --- 23.24.63.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.635/1.635/1.635 ms 2025-11-05 08:21:44,902 - WARNING - Ping to IP 23.24.63.3 from VM ctest-TestBasicPolicy-44762736-52628407 failed 2025-11-05 08:21:44,902 - INFO - Deleting VM ctest-TestBasicPolicy-44762736-56764490 2025-11-05 08:21:44,974 - INFO - Deleting VM ctest-TestBasicPolicy-44762736-52628407 2025-11-05 08:21:45,320 - INFO - Deleted policy ctest-policy-allow-all-73932739 2025-11-05 08:21:45,320 - INFO - Deleting VN ctest-vn-14368012 2025-11-05 08:21:45,352 - DEBUG - VN d1a6fd39-e7d6-449e-9296-ec57562b2f62 still in use: Unable to complete operation on network d1a6fd39-e7d6-449e-9296-ec57562b2f62. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d53bf157-0dc7-4e93-9089-6edf96f7f5fd'] 2025-11-05 08:21:45,352 - WARNING - Deleting VN ctest-vn-14368012 failed..Will retry 2025-11-05 08:21:47,452 - DEBUG - Response for deleting network () 2025-11-05 08:21:47,452 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49084dec-c621-41a5-8c69-708e057154c9 2025-11-05 08:21:47,456 - DEBUG - Response Code: 404 2025-11-05 08:21:47,456 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-05 08:21:47,463 - DEBUG - Requesting: http://10.0.0.22:8082/domain/450edf14-d25c-496d-8095-cac6e98aa5a6 2025-11-05 08:21:47,515 - DEBUG - Requesting: http://10.0.0.22:8082/project/bde9de2a-8fa3-4718-99aa-a96cb3346435 2025-11-05 08:21:47,585 - INFO - Validated that VN ctest-vn-14368012 is not found in API Server 2025-11-05 08:21:47,594 - DEBUG - VN ctest-vn-14368012 is not present in Agent 10.0.0.22 2025-11-05 08:21:47,594 - INFO - Validated that VN ctest-vn-14368012 is not in any agent 2025-11-05 08:21:47,607 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14368012 info 2025-11-05 08:21:47,607 - INFO - Deleting VN ctest-vn-58013134 2025-11-05 08:21:47,698 - DEBUG - Response for deleting network () 2025-11-05 08:21:47,698 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/53cf090f-bb0f-4a89-a3dc-8c54a545fc21 2025-11-05 08:21:47,704 - DEBUG - Response Code: 404 2025-11-05 08:21:47,705 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-05 08:21:47,709 - DEBUG - Requesting: http://10.0.0.22:8082/domain/450edf14-d25c-496d-8095-cac6e98aa5a6 2025-11-05 08:21:47,762 - DEBUG - Requesting: http://10.0.0.22:8082/project/bde9de2a-8fa3-4718-99aa-a96cb3346435 2025-11-05 08:21:47,830 - INFO - Validated that VN ctest-vn-58013134 is not found in API Server 2025-11-05 08:21:47,840 - DEBUG - VN ctest-vn-58013134 is not present in Agent 10.0.0.22 2025-11-05 08:21:47,840 - INFO - Validated that VN ctest-vn-58013134 is not in any agent 2025-11-05 08:21:47,853 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58013134 info 2025-11-05 08:21:48,125 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 08:21:48,125 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-05 08:21:48,125 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:21:48,833 - INFO - Deleted project: ctest-TestBasicPolicy-44762736, ID : bde9de2a-8fa3-4718-99aa-a96cb3346435