2025-01-02 22:30:25,379 - INFO - Domain Default found not creating 2025-01-02 22:30:25,534 - INFO - Project ctest-TestBasicPolicy-10910359 not found, creating it 2025-01-02 22:30:25,986 - INFO - Created Project:ctest-TestBasicPolicy-10910359, ID : 4fda94e2-b440-4730-8a3f-9b9e3469a3df 2025-01-02 22:30:27,458 - INFO - ================================================================================ 2025-01-02 22:30:27,459 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-02 22:30:27,459 - 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-02 22:30:27,714 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.18': '0'}} with 2025-01-02 22:30:27,714 - INFO - Initial checks done. Running the testcase now 2025-01-02 22:30:27,714 - INFO - 2025-01-02 22:30:28,245 - DEBUG - Response for create_network : {'network': {'id': '28b156b9-e173-4b89-bd53-13dff05c347d', 'name': 'ctest-vn-03355638', 'tenant_id': '4fda94e2b44047308a3f9b9e3469a3df', 'project_id': '4fda94e2b44047308a3f9b9e3469a3df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10910359', 'ctest-vn-03355638'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 22:30:28,432 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6fcde62-a640-4a95-91cb-94a0d5f6684b', 'name': '', 'tenant_id': '4fda94e2b44047308a3f9b9e3469a3df', 'network_id': '28b156b9-e173-4b89-bd53-13dff05c347d', 'ip_version': 4, 'cidr': '118.111.0.128/26', 'allocation_pools': [{'start': '118.111.0.130', 'end': '118.111.0.190'}], 'gateway_ip': '118.111.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.111.0.130', 'tags': [], 'project_id': '4fda94e2b44047308a3f9b9e3469a3df'}} 2025-01-02 22:30:28,455 - INFO - Created VN ctest-vn-03355638 2025-01-02 22:30:28,512 - DEBUG - VN ctest-vn-03355638 UUID is 28b156b9-e173-4b89-bd53-13dff05c347d 2025-01-02 22:30:28,818 - DEBUG - Response for create_network : {'network': {'id': '9d23ba40-11fa-4d9d-9bfc-296047aa0088', 'name': 'ctest-vn-53584706', 'tenant_id': '4fda94e2b44047308a3f9b9e3469a3df', 'project_id': '4fda94e2b44047308a3f9b9e3469a3df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10910359', 'ctest-vn-53584706'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 22:30:29,061 - DEBUG - Response for create_subnet : {'subnet': {'id': '8beac6ae-1df0-446c-b523-63a1a3402413', 'name': '', 'tenant_id': '4fda94e2b44047308a3f9b9e3469a3df', 'network_id': '9d23ba40-11fa-4d9d-9bfc-296047aa0088', 'ip_version': 4, 'cidr': '31.96.223.64/26', 'allocation_pools': [{'start': '31.96.223.66', 'end': '31.96.223.126'}], 'gateway_ip': '31.96.223.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.96.223.66', 'tags': [], 'project_id': '4fda94e2b44047308a3f9b9e3469a3df'}} 2025-01-02 22:30:29,082 - INFO - Created VN ctest-vn-53584706 2025-01-02 22:30:29,136 - DEBUG - VN ctest-vn-53584706 UUID is 9d23ba40-11fa-4d9d-9bfc-296047aa0088 2025-01-02 22:30:29,254 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10910359:ctest-vn-03355638, 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-10910359:ctest-vn-53584706, 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-02 22:30:29,583 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '28b156b9-e173-4b89-bd53-13dff05c347d', 'name': 'ctest-vn-03355638', 'tenant_id': '4fda94e2b44047308a3f9b9e3469a3df', 'project_id': '4fda94e2b44047308a3f9b9e3469a3df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d6fcde62-a640-4a95-91cb-94a0d5f6684b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10910359', 'ctest-vn-03355638'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10910359', 'ctest-policy-allow-all-08412459']], 'subnet_ipam': [{'subnet_cidr': '118.111.0.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-02 22:30:29,866 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9d23ba40-11fa-4d9d-9bfc-296047aa0088', 'name': 'ctest-vn-53584706', 'tenant_id': '4fda94e2b44047308a3f9b9e3469a3df', 'project_id': '4fda94e2b44047308a3f9b9e3469a3df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8beac6ae-1df0-446c-b523-63a1a3402413'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10910359', 'ctest-vn-53584706'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10910359', 'ctest-policy-allow-all-08412459']], 'subnet_ipam': [{'subnet_cidr': '31.96.223.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-02 22:30:30,016 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-01-02 22:30:30,316 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-01-02 22:30:30,347 - DEBUG - Requesting: http://10.0.0.30:8082/domain/c95bbdbb-3e0f-403a-ac05-8cb377cdced0 2025-01-02 22:30:30,360 - DEBUG - Requesting: http://10.0.0.30:8082/project/4fda94e2-b440-4730-8a3f-9b9e3469a3df 2025-01-02 22:30:30,437 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/28b156b9-e173-4b89-bd53-13dff05c347d 2025-01-02 22:30:30,448 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/28b156b9-e173-4b89-bd53-13dff05c347d 2025-01-02 22:30:30,458 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/bbfa0f30-25e1-41dd-8eda-35780b1529dd 2025-01-02 22:30:30,466 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/bbfa0f30-25e1-41dd-8eda-35780b1529dd 2025-01-02 22:30:30,475 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/f63f0498-5b6c-4dbe-9c8f-4efba9eb3ee1 2025-01-02 22:30:30,481 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-02 22:30:30,481 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/28b156b9-e173-4b89-bd53-13dff05c347d 2025-01-02 22:30:30,490 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/bbfa0f30-25e1-41dd-8eda-35780b1529dd 2025-01-02 22:30:30,507 - INFO - Verified VN network id 8 for VN 28b156b9-e173-4b89-bd53-13dff05c347d 2025-01-02 22:30:30,507 - INFO - Verifications in API Server for VN ctest-vn-03355638 passed 2025-01-02 22:30:30,507 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/28b156b9-e173-4b89-bd53-13dff05c347d 2025-01-02 22:30:30,518 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/bbfa0f30-25e1-41dd-8eda-35780b1529dd 2025-01-02 22:30:30,525 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/bbfa0f30-25e1-41dd-8eda-35780b1529dd 2025-01-02 22:30:30,533 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/f63f0498-5b6c-4dbe-9c8f-4efba9eb3ee1 2025-01-02 22:30:30,545 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10910359:ctest-vn-03355638', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10910359', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2932220188746271625', 'uuid-lslong': '13642269548766573693'}, 'enable': 'true', 'created': '2025-01-02T22:30:28', 'last-modified': '2025-01-02T22:30:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.986513'} 2025-01-02 22:30:30,551 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-02 22:30:30,551 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03355638 passed 2025-01-02 22:30:30,551 - DEBUG - ====Verifying policy data for ctest-vn-03355638 in API_Server ====== 2025-01-02 22:30:30,551 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-01-02 22:30:30,557 - DEBUG - Requesting: http://10.0.0.30:8082/domain/c95bbdbb-3e0f-403a-ac05-8cb377cdced0 2025-01-02 22:30:30,568 - DEBUG - Requesting: http://10.0.0.30:8082/project/4fda94e2-b440-4730-8a3f-9b9e3469a3df 2025-01-02 22:30:30,664 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/28b156b9-e173-4b89-bd53-13dff05c347d 2025-01-02 22:30:30,674 - DEBUG - ==>Verifying data for policy with id: facaaaf3-d356-404d-950d-b2e14a27728d, fqn: ['default-domain', 'ctest-TestBasicPolicy-10910359', 'ctest-policy-allow-all-08412459'] 2025-01-02 22:30:30,674 - INFO - VN ctest-vn-03355638 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-02 22:30:30,674 - DEBUG - Verifying the vn in opserver 2025-01-02 22:30:30,674 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10910359:ctest-vn-03355638 virtual network link through opserver 10.0.0.30 2025-01-02 22:30:30,674 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2025-01-02 22:30:30,966 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2025-01-02 22:30:31,023 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10910359:ctest-vn-03355638', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10910359:ctest-vn-03355638?flat'} 2025-01-02 22:30:31,023 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10910359:ctest-vn-03355638 is found in opserver 2025-01-02 22:30:31,034 - DEBUG - Do not have enough data to verify VN in agent 2025-01-02 22:30:31,039 - DEBUG - VRF ids for VN ctest-vn-03355638: {} 2025-01-02 22:30:31,039 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-01-02 22:30:31,044 - DEBUG - Requesting: http://10.0.0.30:8082/domain/c95bbdbb-3e0f-403a-ac05-8cb377cdced0 2025-01-02 22:30:31,055 - DEBUG - Requesting: http://10.0.0.30:8082/project/4fda94e2-b440-4730-8a3f-9b9e3469a3df 2025-01-02 22:30:31,127 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/9d23ba40-11fa-4d9d-9bfc-296047aa0088 2025-01-02 22:30:31,139 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/9d23ba40-11fa-4d9d-9bfc-296047aa0088 2025-01-02 22:30:31,148 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/422b5d28-a7b9-4fe4-bae9-5be060d7138b 2025-01-02 22:30:31,156 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/422b5d28-a7b9-4fe4-bae9-5be060d7138b 2025-01-02 22:30:31,162 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/998e582a-f904-461f-a7c0-378b47e5d126 2025-01-02 22:30:31,169 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-02 22:30:31,169 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/9d23ba40-11fa-4d9d-9bfc-296047aa0088 2025-01-02 22:30:31,178 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/422b5d28-a7b9-4fe4-bae9-5be060d7138b 2025-01-02 22:30:31,191 - INFO - Verified VN network id 9 for VN 9d23ba40-11fa-4d9d-9bfc-296047aa0088 2025-01-02 22:30:31,192 - INFO - Verifications in API Server for VN ctest-vn-53584706 passed 2025-01-02 22:30:31,192 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/9d23ba40-11fa-4d9d-9bfc-296047aa0088 2025-01-02 22:30:31,202 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/422b5d28-a7b9-4fe4-bae9-5be060d7138b 2025-01-02 22:30:31,210 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/422b5d28-a7b9-4fe4-bae9-5be060d7138b 2025-01-02 22:30:31,218 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/998e582a-f904-461f-a7c0-378b47e5d126 2025-01-02 22:30:31,230 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10910359:ctest-vn-53584706', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10910359', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11323098672481848733', 'uuid-lslong': '11239904263505838216'}, 'enable': 'true', 'created': '2025-01-02T22:30:28', 'last-modified': '2025-01-02T22:30:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.435999'} 2025-01-02 22:30:31,237 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-02 22:30:31,237 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53584706 passed 2025-01-02 22:30:31,237 - DEBUG - ====Verifying policy data for ctest-vn-53584706 in API_Server ====== 2025-01-02 22:30:31,238 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-01-02 22:30:31,244 - DEBUG - Requesting: http://10.0.0.30:8082/domain/c95bbdbb-3e0f-403a-ac05-8cb377cdced0 2025-01-02 22:30:31,255 - DEBUG - Requesting: http://10.0.0.30:8082/project/4fda94e2-b440-4730-8a3f-9b9e3469a3df 2025-01-02 22:30:31,329 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/9d23ba40-11fa-4d9d-9bfc-296047aa0088 2025-01-02 22:30:31,341 - DEBUG - ==>Verifying data for policy with id: facaaaf3-d356-404d-950d-b2e14a27728d, fqn: ['default-domain', 'ctest-TestBasicPolicy-10910359', 'ctest-policy-allow-all-08412459'] 2025-01-02 22:30:31,341 - INFO - VN ctest-vn-53584706 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-02 22:30:31,341 - DEBUG - Verifying the vn in opserver 2025-01-02 22:30:31,341 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10910359:ctest-vn-53584706 virtual network link through opserver 10.0.0.30 2025-01-02 22:30:31,341 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2025-01-02 22:30:31,354 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10910359:ctest-vn-53584706', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10910359:ctest-vn-53584706?flat'} 2025-01-02 22:30:31,354 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10910359:ctest-vn-53584706 is found in opserver 2025-01-02 22:30:31,366 - DEBUG - Do not have enough data to verify VN in agent 2025-01-02 22:30:31,372 - DEBUG - VRF ids for VN ctest-vn-53584706: {} 2025-01-02 22:30:31,425 - DEBUG - Services list from nova: [, , ] 2025-01-02 22:30:32,524 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2514-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2514-1) 2025-01-02 22:30:33,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2514-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2514-1) 2025-01-02 22:30:33,695 - INFO - Waiting for VM ctest-TestBasicPolicy-10910359-17702429 to be up.. 2025-01-02 22:30:33,772 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 22:30:38,861 - DEBUG - VM is in ACTIVE state now 2025-01-02 22:30:38,861 - INFO - VM name : ctest-TestBasicPolicy-10910359-17702429 2025-01-02 22:30:38,941 - DEBUG - VM ctest-TestBasicPolicy-10910359-17702429 ID is 520dd6a9-c87f-4eb3-95bb-212cc2e5869e 2025-01-02 22:30:38,964 - DEBUG - VM ctest-TestBasicPolicy-10910359-17702429 launched on Node cn-jenkins-deploy-platform-ansible-os-2514-1 2025-01-02 22:30:39,047 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/520dd6a9-c87f-4eb3-95bb-212cc2e5869e 2025-01-02 22:30:39,057 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/a97d9499-93ec-423d-a587-504d6a019f45 2025-01-02 22:30:42,317 - 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-01-02 22:30:42,318 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10910359-17702429 failed! 2025-01-02 22:30:42,372 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10910359:ctest-vn-03355638 is 118.111.0.129 and allocation pool is NOT set 2025-01-02 22:30:44,434 - 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=5.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.798 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.798/3.027/5.256/2.229 ms') 2025-01-02 22:30:44,434 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10910359-17702429 passed 2025-01-02 22:30:44,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 22:30:44,592 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10910359-17702429, IP 118.111.0.131, Port 22 2025-01-02 22:30:44,748 - DEBUG - VM ctest-TestBasicPolicy-10910359-17702429 is ready for SSH connections 2025-01-02 22:30:44,748 - INFO - Waiting for VM ctest-TestBasicPolicy-10910359-73629789 to be up.. 2025-01-02 22:30:44,837 - DEBUG - VM is in ACTIVE state now 2025-01-02 22:30:44,837 - INFO - VM name : ctest-TestBasicPolicy-10910359-73629789 2025-01-02 22:30:44,916 - DEBUG - VM ctest-TestBasicPolicy-10910359-73629789 ID is e595f515-030f-4e49-a2a9-ee02eb77852b 2025-01-02 22:30:44,917 - DEBUG - VM ctest-TestBasicPolicy-10910359-73629789 launched on Node cn-jenkins-deploy-platform-ansible-os-2514-1 2025-01-02 22:30:44,995 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/e595f515-030f-4e49-a2a9-ee02eb77852b 2025-01-02 22:30:45,007 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/a50180e4-8e34-437a-8008-e9644fcdd466 2025-01-02 22:30:46,253 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.325 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.325/1.548/2.771/1.223 ms') 2025-01-02 22:30:46,254 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10910359-73629789 passed 2025-01-02 22:30:46,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 22:30:46,408 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10910359-73629789, IP 31.96.223.67, Port 22 2025-01-02 22:30:46,577 - DEBUG - VM ctest-TestBasicPolicy-10910359-73629789 is ready for SSH connections 2025-01-02 22:30:46,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 22:30:46,578 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.96.223.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-01-02 22:30:46,578 - DEBUG - ping -s 56 -c 3 -W 1 31.96.223.67 2025-01-02 22:30:50,300 - DEBUG - PING 31.96.223.67 (31.96.223.67): 56 data bytes 64 bytes from 31.96.223.67: seq=0 ttl=63 time=5.187 ms 64 bytes from 31.96.223.67: seq=1 ttl=63 time=1.409 ms 64 bytes from 31.96.223.67: seq=2 ttl=63 time=1.287 ms --- 31.96.223.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.287/2.627/5.187 ms 2025-01-02 22:30:50,300 - INFO - Ping to IP 31.96.223.67 from VM ctest-TestBasicPolicy-10910359-17702429 passed 2025-01-02 22:30:50,484 - DEBUG - Policy Update Response {"network-policy": {"uuid": "facaaaf3-d356-404d-950d-b2e14a27728d", "href": "http://10.0.0.30:8082/network-policy/facaaaf3-d356-404d-950d-b2e14a27728d"}} 2025-01-02 22:30:50,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 22:30:50,484 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.96.223.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-01-02 22:30:50,484 - DEBUG - ping -s 56 -c 3 -W 1 31.96.223.67 2025-01-02 22:30:53,691 - DEBUG - PING 31.96.223.67 (31.96.223.67): 56 data bytes --- 31.96.223.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-02 22:30:53,691 - WARNING - Ping to IP 31.96.223.67 from VM ctest-TestBasicPolicy-10910359-17702429 failed 2025-01-02 22:30:53,691 - INFO - Deleting VM ctest-TestBasicPolicy-10910359-73629789 2025-01-02 22:30:53,793 - INFO - Deleting VM ctest-TestBasicPolicy-10910359-17702429 2025-01-02 22:30:54,170 - INFO - Deleted policy ctest-policy-allow-all-08412459 2025-01-02 22:30:54,170 - INFO - Deleting VN ctest-vn-53584706 2025-01-02 22:30:54,206 - DEBUG - VN 9d23ba40-11fa-4d9d-9bfc-296047aa0088 still in use: Unable to complete operation on network 9d23ba40-11fa-4d9d-9bfc-296047aa0088. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-22810afd-6950-4316-acd3-33d0f288589c'] 2025-01-02 22:30:54,206 - WARNING - Deleting VN ctest-vn-53584706 failed..Will retry 2025-01-02 22:30:56,309 - DEBUG - Response for deleting network () 2025-01-02 22:30:56,309 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/422b5d28-a7b9-4fe4-bae9-5be060d7138b 2025-01-02 22:30:56,315 - DEBUG - Response Code: 404 2025-01-02 22:30:56,315 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-01-02 22:30:56,322 - DEBUG - Requesting: http://10.0.0.30:8082/domain/c95bbdbb-3e0f-403a-ac05-8cb377cdced0 2025-01-02 22:30:56,378 - DEBUG - Requesting: http://10.0.0.30:8082/project/4fda94e2-b440-4730-8a3f-9b9e3469a3df 2025-01-02 22:30:56,449 - INFO - Validated that VN ctest-vn-53584706 is not found in API Server 2025-01-02 22:30:56,460 - DEBUG - VN ctest-vn-53584706 is not present in Agent 10.0.0.30 2025-01-02 22:30:56,460 - INFO - Validated that VN ctest-vn-53584706 is not in any agent 2025-01-02 22:30:56,478 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53584706 info 2025-01-02 22:30:56,478 - INFO - Deleting VN ctest-vn-03355638 2025-01-02 22:30:56,587 - DEBUG - Response for deleting network () 2025-01-02 22:30:56,588 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/bbfa0f30-25e1-41dd-8eda-35780b1529dd 2025-01-02 22:30:56,597 - DEBUG - Response Code: 404 2025-01-02 22:30:56,597 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-01-02 22:30:56,603 - DEBUG - Requesting: http://10.0.0.30:8082/domain/c95bbdbb-3e0f-403a-ac05-8cb377cdced0 2025-01-02 22:30:56,662 - DEBUG - Requesting: http://10.0.0.30:8082/project/4fda94e2-b440-4730-8a3f-9b9e3469a3df 2025-01-02 22:30:56,735 - INFO - Validated that VN ctest-vn-03355638 is not found in API Server 2025-01-02 22:30:56,747 - DEBUG - VN ctest-vn-03355638 is not present in Agent 10.0.0.30 2025-01-02 22:30:56,748 - INFO - Validated that VN ctest-vn-03355638 is not in any agent 2025-01-02 22:30:56,764 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03355638 info 2025-01-02 22:30:57,022 - DEBUG - No XMPP flaps were noticed during the test 2025-01-02 22:30:57,022 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-02 22:30:57,022 - INFO - -------------------------------------------------------------------------------- 2025-01-02 22:30:57,708 - INFO - Deleted project: ctest-TestBasicPolicy-10910359, ID : 4fda94e2-b440-4730-8a3f-9b9e3469a3df