2025-04-08 14:18:41,838 - INFO - Domain Default found not creating 2025-04-08 14:18:41,994 - INFO - Project ctest-TestBasicPolicy-91290993 not found, creating it 2025-04-08 14:18:42,456 - INFO - Created Project:ctest-TestBasicPolicy-91290993, ID : e7ee4e28-82f9-4085-8264-981e87d7efcb 2025-04-08 14:18:43,934 - INFO - ================================================================================ 2025-04-08 14:18:43,934 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-08 14:18:43,934 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-04-08 14:18:44,188 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.18': '0'}} with 2025-04-08 14:18:44,188 - INFO - Initial checks done. Running the testcase now 2025-04-08 14:18:44,188 - INFO - 2025-04-08 14:18:44,750 - DEBUG - Response for create_network : {'network': {'id': '21feae77-6e03-469b-8d4f-adf567ae696b', 'name': 'ctest-vn-87852813', 'tenant_id': 'e7ee4e2882f940858264981e87d7efcb', 'project_id': 'e7ee4e2882f940858264981e87d7efcb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91290993', 'ctest-vn-87852813'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 14:18:44,943 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dcfc7811-8629-48fd-8cb4-d97b1c35a670', 'name': '', 'tenant_id': 'e7ee4e2882f940858264981e87d7efcb', 'network_id': '21feae77-6e03-469b-8d4f-adf567ae696b', 'ip_version': 4, 'cidr': '14.168.209.64/26', 'allocation_pools': [{'start': '14.168.209.66', 'end': '14.168.209.126'}], 'gateway_ip': '14.168.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.168.209.66', 'tags': [], 'project_id': 'e7ee4e2882f940858264981e87d7efcb'}} 2025-04-08 14:18:44,963 - INFO - Created VN ctest-vn-87852813 2025-04-08 14:18:45,018 - DEBUG - VN ctest-vn-87852813 UUID is 21feae77-6e03-469b-8d4f-adf567ae696b 2025-04-08 14:18:45,329 - DEBUG - Response for create_network : {'network': {'id': '570b8a28-51c9-4a49-8bfd-2b2f6b76030b', 'name': 'ctest-vn-44952289', 'tenant_id': 'e7ee4e2882f940858264981e87d7efcb', 'project_id': 'e7ee4e2882f940858264981e87d7efcb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91290993', 'ctest-vn-44952289'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 14:18:45,541 - DEBUG - Response for create_subnet : {'subnet': {'id': '3bff62d1-503b-4968-a88c-4174a2fa0eda', 'name': '', 'tenant_id': 'e7ee4e2882f940858264981e87d7efcb', 'network_id': '570b8a28-51c9-4a49-8bfd-2b2f6b76030b', 'ip_version': 4, 'cidr': '175.108.222.192/26', 'allocation_pools': [{'start': '175.108.222.194', 'end': '175.108.222.254'}], 'gateway_ip': '175.108.222.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.108.222.194', 'tags': [], 'project_id': 'e7ee4e2882f940858264981e87d7efcb'}} 2025-04-08 14:18:45,561 - INFO - Created VN ctest-vn-44952289 2025-04-08 14:18:45,614 - DEBUG - VN ctest-vn-44952289 UUID is 570b8a28-51c9-4a49-8bfd-2b2f6b76030b 2025-04-08 14:18:45,731 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91290993:ctest-vn-87852813, 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-91290993:ctest-vn-44952289, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-04-08 14:18:46,038 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '21feae77-6e03-469b-8d4f-adf567ae696b', 'name': 'ctest-vn-87852813', 'tenant_id': 'e7ee4e2882f940858264981e87d7efcb', 'project_id': 'e7ee4e2882f940858264981e87d7efcb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dcfc7811-8629-48fd-8cb4-d97b1c35a670'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91290993', 'ctest-vn-87852813'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91290993', 'ctest-policy-allow-all-84369966']], 'subnet_ipam': [{'subnet_cidr': '14.168.209.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-08 14:18:46,273 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '570b8a28-51c9-4a49-8bfd-2b2f6b76030b', 'name': 'ctest-vn-44952289', 'tenant_id': 'e7ee4e2882f940858264981e87d7efcb', 'project_id': 'e7ee4e2882f940858264981e87d7efcb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3bff62d1-503b-4968-a88c-4174a2fa0eda'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91290993', 'ctest-vn-44952289'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91290993', 'ctest-policy-allow-all-84369966']], 'subnet_ipam': [{'subnet_cidr': '175.108.222.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-08 14:18:46,418 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-04-08 14:18:46,725 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-04-08 14:18:46,761 - DEBUG - Requesting: http://10.0.0.24:8082/domain/93f3ea46-34ad-47d8-aeea-c2b4e3e1152f 2025-04-08 14:18:46,776 - DEBUG - Requesting: http://10.0.0.24:8082/project/e7ee4e28-82f9-4085-8264-981e87d7efcb 2025-04-08 14:18:46,850 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/21feae77-6e03-469b-8d4f-adf567ae696b 2025-04-08 14:18:46,862 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/21feae77-6e03-469b-8d4f-adf567ae696b 2025-04-08 14:18:46,873 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/b469d561-7f71-4c06-91ec-e6ccfab9d365 2025-04-08 14:18:46,881 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/b469d561-7f71-4c06-91ec-e6ccfab9d365 2025-04-08 14:18:46,889 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/af073ee9-5ea2-4efa-aa90-214d6637ec5d 2025-04-08 14:18:46,898 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-08 14:18:46,898 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/21feae77-6e03-469b-8d4f-adf567ae696b 2025-04-08 14:18:46,909 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/b469d561-7f71-4c06-91ec-e6ccfab9d365 2025-04-08 14:18:46,927 - INFO - Verified VN network id 8 for VN 21feae77-6e03-469b-8d4f-adf567ae696b 2025-04-08 14:18:46,927 - INFO - Verifications in API Server for VN ctest-vn-87852813 passed 2025-04-08 14:18:46,927 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/21feae77-6e03-469b-8d4f-adf567ae696b 2025-04-08 14:18:46,938 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/b469d561-7f71-4c06-91ec-e6ccfab9d365 2025-04-08 14:18:46,946 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/b469d561-7f71-4c06-91ec-e6ccfab9d365 2025-04-08 14:18:46,956 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/af073ee9-5ea2-4efa-aa90-214d6637ec5d 2025-04-08 14:18:46,972 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91290993:ctest-vn-87852813', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91290993', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2449587075306178203', 'uuid-lslong': '10182548552026057067'}, 'enable': 'true', 'created': '2025-04-08T14:18:44', 'last-modified': '2025-04-08T14:18:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.958489'} 2025-04-08 14:18:46,979 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-08 14:18:46,979 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87852813 passed 2025-04-08 14:18:46,979 - DEBUG - ====Verifying policy data for ctest-vn-87852813 in API_Server ====== 2025-04-08 14:18:46,979 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-04-08 14:18:46,986 - DEBUG - Requesting: http://10.0.0.24:8082/domain/93f3ea46-34ad-47d8-aeea-c2b4e3e1152f 2025-04-08 14:18:46,999 - DEBUG - Requesting: http://10.0.0.24:8082/project/e7ee4e28-82f9-4085-8264-981e87d7efcb 2025-04-08 14:18:47,071 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/21feae77-6e03-469b-8d4f-adf567ae696b 2025-04-08 14:18:47,084 - DEBUG - ==>Verifying data for policy with id: 6dd34562-20c2-40b5-a400-d19f24dc6c36, fqn: ['default-domain', 'ctest-TestBasicPolicy-91290993', 'ctest-policy-allow-all-84369966'] 2025-04-08 14:18:47,084 - INFO - VN ctest-vn-87852813 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-08 14:18:47,084 - DEBUG - Verifying the vn in opserver 2025-04-08 14:18:47,084 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91290993:ctest-vn-87852813 virtual network link through opserver 10.0.0.24 2025-04-08 14:18:47,084 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-04-08 14:18:47,382 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-04-08 14:18:47,450 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91290993:ctest-vn-87852813', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91290993:ctest-vn-87852813?flat'} 2025-04-08 14:18:47,450 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91290993:ctest-vn-87852813 is found in opserver 2025-04-08 14:18:47,463 - DEBUG - Do not have enough data to verify VN in agent 2025-04-08 14:18:47,469 - DEBUG - VRF ids for VN ctest-vn-87852813: {} 2025-04-08 14:18:47,469 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-04-08 14:18:47,475 - DEBUG - Requesting: http://10.0.0.24:8082/domain/93f3ea46-34ad-47d8-aeea-c2b4e3e1152f 2025-04-08 14:18:47,488 - DEBUG - Requesting: http://10.0.0.24:8082/project/e7ee4e28-82f9-4085-8264-981e87d7efcb 2025-04-08 14:18:47,567 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/570b8a28-51c9-4a49-8bfd-2b2f6b76030b 2025-04-08 14:18:47,580 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/570b8a28-51c9-4a49-8bfd-2b2f6b76030b 2025-04-08 14:18:47,593 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/b4c5fd7d-0448-4248-acc5-fcfe83a477c0 2025-04-08 14:18:47,604 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/b4c5fd7d-0448-4248-acc5-fcfe83a477c0 2025-04-08 14:18:47,615 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/7916d31a-3bcc-4ef7-ac6d-26cd45fcbf5d 2025-04-08 14:18:47,622 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-08 14:18:47,622 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/570b8a28-51c9-4a49-8bfd-2b2f6b76030b 2025-04-08 14:18:47,633 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/b4c5fd7d-0448-4248-acc5-fcfe83a477c0 2025-04-08 14:18:47,649 - INFO - Verified VN network id 9 for VN 570b8a28-51c9-4a49-8bfd-2b2f6b76030b 2025-04-08 14:18:47,649 - INFO - Verifications in API Server for VN ctest-vn-44952289 passed 2025-04-08 14:18:47,650 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/570b8a28-51c9-4a49-8bfd-2b2f6b76030b 2025-04-08 14:18:47,661 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/b4c5fd7d-0448-4248-acc5-fcfe83a477c0 2025-04-08 14:18:47,669 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/b4c5fd7d-0448-4248-acc5-fcfe83a477c0 2025-04-08 14:18:47,677 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/7916d31a-3bcc-4ef7-ac6d-26cd45fcbf5d 2025-04-08 14:18:47,690 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91290993:ctest-vn-44952289', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91290993', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6272258811819018825', 'uuid-lslong': '10087266223046132491'}, 'enable': 'true', 'created': '2025-04-08T14:18:45', 'last-modified': '2025-04-08T14:18:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.441829'} 2025-04-08 14:18:47,699 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-08 14:18:47,699 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44952289 passed 2025-04-08 14:18:47,700 - DEBUG - ====Verifying policy data for ctest-vn-44952289 in API_Server ====== 2025-04-08 14:18:47,700 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-04-08 14:18:47,707 - DEBUG - Requesting: http://10.0.0.24:8082/domain/93f3ea46-34ad-47d8-aeea-c2b4e3e1152f 2025-04-08 14:18:47,724 - DEBUG - Requesting: http://10.0.0.24:8082/project/e7ee4e28-82f9-4085-8264-981e87d7efcb 2025-04-08 14:18:47,800 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/570b8a28-51c9-4a49-8bfd-2b2f6b76030b 2025-04-08 14:18:47,812 - DEBUG - ==>Verifying data for policy with id: 6dd34562-20c2-40b5-a400-d19f24dc6c36, fqn: ['default-domain', 'ctest-TestBasicPolicy-91290993', 'ctest-policy-allow-all-84369966'] 2025-04-08 14:18:47,813 - INFO - VN ctest-vn-44952289 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-08 14:18:47,813 - DEBUG - Verifying the vn in opserver 2025-04-08 14:18:47,813 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91290993:ctest-vn-44952289 virtual network link through opserver 10.0.0.24 2025-04-08 14:18:47,813 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-04-08 14:18:47,825 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91290993:ctest-vn-44952289', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91290993:ctest-vn-44952289?flat'} 2025-04-08 14:18:47,826 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91290993:ctest-vn-44952289 is found in opserver 2025-04-08 14:18:47,838 - DEBUG - Do not have enough data to verify VN in agent 2025-04-08 14:18:47,844 - DEBUG - VRF ids for VN ctest-vn-44952289: {} 2025-04-08 14:18:47,905 - DEBUG - Services list from nova: [, , ] 2025-04-08 14:18:48,976 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3053-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3053-1) 2025-04-08 14:18:50,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3053-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3053-1) 2025-04-08 14:18:50,259 - INFO - Waiting for VM ctest-TestBasicPolicy-91290993-32786565 to be up.. 2025-04-08 14:18:50,344 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-08 14:18:55,437 - DEBUG - VM is in ACTIVE state now 2025-04-08 14:18:55,437 - INFO - VM name : ctest-TestBasicPolicy-91290993-32786565 2025-04-08 14:18:55,530 - DEBUG - VM ctest-TestBasicPolicy-91290993-32786565 ID is a4f4837c-32d2-4044-a9a5-03e6315bf6cb 2025-04-08 14:18:55,550 - DEBUG - VM ctest-TestBasicPolicy-91290993-32786565 launched on Node cn-jenkins-deploy-platform-ansible-os-3053-1 2025-04-08 14:18:55,636 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/a4f4837c-32d2-4044-a9a5-03e6315bf6cb 2025-04-08 14:18:55,650 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/75712713-fcf6-45c3-a98c-252814935675 2025-04-08 14:18:58,923 - 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 1014ms') 2025-04-08 14:18:58,923 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91290993-32786565 failed! 2025-04-08 14:18:58,978 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-91290993:ctest-vn-87852813 is 14.168.209.65 and allocation pool is NOT set 2025-04-08 14:19:01,044 - 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=6.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.472 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.472/3.618/6.764/3.146 ms') 2025-04-08 14:19:01,044 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91290993-32786565 passed 2025-04-08 14:19:01,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 14:19:01,206 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91290993-32786565, IP 14.168.209.67, Port 22 2025-04-08 14:19:01,380 - DEBUG - VM ctest-TestBasicPolicy-91290993-32786565 is ready for SSH connections 2025-04-08 14:19:01,380 - INFO - Waiting for VM ctest-TestBasicPolicy-91290993-02217635 to be up.. 2025-04-08 14:19:01,475 - DEBUG - VM is in ACTIVE state now 2025-04-08 14:19:01,476 - INFO - VM name : ctest-TestBasicPolicy-91290993-02217635 2025-04-08 14:19:01,574 - DEBUG - VM ctest-TestBasicPolicy-91290993-02217635 ID is 72fa2cc6-8a59-46ad-b1fe-9f3caf51a0a4 2025-04-08 14:19:01,574 - DEBUG - VM ctest-TestBasicPolicy-91290993-02217635 launched on Node cn-jenkins-deploy-platform-ansible-os-3053-1 2025-04-08 14:19:01,666 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/72fa2cc6-8a59-46ad-b1fe-9f3caf51a0a4 2025-04-08 14:19:01,676 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/acce2a57-7446-4eee-922b-2f77d22f29d1 2025-04-08 14:19:02,933 - 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=5.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.924 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.924/3.124/5.324/2.200 ms') 2025-04-08 14:19:02,933 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-91290993-02217635 passed 2025-04-08 14:19:03,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 14:19:03,090 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91290993-02217635, IP 175.108.222.195, Port 22 2025-04-08 14:19:03,264 - DEBUG - VM ctest-TestBasicPolicy-91290993-02217635 is ready for SSH connections 2025-04-08 14:19:03,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 14:19:03,265 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.108.222.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-04-08 14:19:03,265 - DEBUG - ping -s 56 -c 3 -W 1 175.108.222.195 2025-04-08 14:19:07,305 - DEBUG - PING 175.108.222.195 (175.108.222.195): 56 data bytes 64 bytes from 175.108.222.195: seq=0 ttl=63 time=3.494 ms 64 bytes from 175.108.222.195: seq=1 ttl=63 time=0.963 ms 64 bytes from 175.108.222.195: seq=2 ttl=63 time=0.813 ms --- 175.108.222.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/1.756/3.494 ms 2025-04-08 14:19:07,305 - INFO - Ping to IP 175.108.222.195 from VM ctest-TestBasicPolicy-91290993-32786565 passed 2025-04-08 14:19:07,486 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6dd34562-20c2-40b5-a400-d19f24dc6c36", "href": "http://10.0.0.24:8082/network-policy/6dd34562-20c2-40b5-a400-d19f24dc6c36"}} 2025-04-08 14:19:07,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 14:19:07,486 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.108.222.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-04-08 14:19:07,486 - DEBUG - ping -s 56 -c 3 -W 1 175.108.222.195 2025-04-08 14:19:10,723 - DEBUG - PING 175.108.222.195 (175.108.222.195): 56 data bytes 64 bytes from 175.108.222.195: seq=0 ttl=63 time=2.012 ms --- 175.108.222.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.012/2.012/2.012 ms 2025-04-08 14:19:10,723 - WARNING - Ping to IP 175.108.222.195 from VM ctest-TestBasicPolicy-91290993-32786565 failed 2025-04-08 14:19:10,723 - INFO - Deleting VM ctest-TestBasicPolicy-91290993-02217635 2025-04-08 14:19:10,793 - INFO - Deleting VM ctest-TestBasicPolicy-91290993-32786565 2025-04-08 14:19:11,211 - INFO - Deleted policy ctest-policy-allow-all-84369966 2025-04-08 14:19:11,212 - INFO - Deleting VN ctest-vn-44952289 2025-04-08 14:19:11,250 - DEBUG - VN 570b8a28-51c9-4a49-8bfd-2b2f6b76030b still in use: Unable to complete operation on network 570b8a28-51c9-4a49-8bfd-2b2f6b76030b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-96e6deaf-1a25-4e8a-82c3-1354437b9b9b'] 2025-04-08 14:19:11,250 - WARNING - Deleting VN ctest-vn-44952289 failed..Will retry 2025-04-08 14:19:13,360 - DEBUG - Response for deleting network () 2025-04-08 14:19:13,360 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/b4c5fd7d-0448-4248-acc5-fcfe83a477c0 2025-04-08 14:19:13,371 - DEBUG - Response Code: 404 2025-04-08 14:19:13,371 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-04-08 14:19:13,377 - DEBUG - Requesting: http://10.0.0.24:8082/domain/93f3ea46-34ad-47d8-aeea-c2b4e3e1152f 2025-04-08 14:19:13,432 - DEBUG - Requesting: http://10.0.0.24:8082/project/e7ee4e28-82f9-4085-8264-981e87d7efcb 2025-04-08 14:19:13,511 - INFO - Validated that VN ctest-vn-44952289 is not found in API Server 2025-04-08 14:19:13,523 - DEBUG - VN ctest-vn-44952289 is not present in Agent 10.0.0.24 2025-04-08 14:19:13,523 - INFO - Validated that VN ctest-vn-44952289 is not in any agent 2025-04-08 14:19:13,540 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44952289 info 2025-04-08 14:19:13,540 - INFO - Deleting VN ctest-vn-87852813 2025-04-08 14:19:13,658 - DEBUG - Response for deleting network () 2025-04-08 14:19:13,658 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/b469d561-7f71-4c06-91ec-e6ccfab9d365 2025-04-08 14:19:13,665 - DEBUG - Response Code: 404 2025-04-08 14:19:13,666 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-04-08 14:19:13,672 - DEBUG - Requesting: http://10.0.0.24:8082/domain/93f3ea46-34ad-47d8-aeea-c2b4e3e1152f 2025-04-08 14:19:13,728 - DEBUG - Requesting: http://10.0.0.24:8082/project/e7ee4e28-82f9-4085-8264-981e87d7efcb 2025-04-08 14:19:13,811 - INFO - Validated that VN ctest-vn-87852813 is not found in API Server 2025-04-08 14:19:13,823 - DEBUG - VN ctest-vn-87852813 is not present in Agent 10.0.0.24 2025-04-08 14:19:13,823 - INFO - Validated that VN ctest-vn-87852813 is not in any agent 2025-04-08 14:19:13,842 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87852813 info 2025-04-08 14:19:14,097 - DEBUG - No XMPP flaps were noticed during the test 2025-04-08 14:19:14,097 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-04-08 14:19:14,097 - INFO - -------------------------------------------------------------------------------- 2025-04-08 14:19:14,805 - INFO - Deleted project: ctest-TestBasicPolicy-91290993, ID : e7ee4e28-82f9-4085-8264-981e87d7efcb