2025-06-26 23:11:52,845 - INFO - Domain Default found not creating 2025-06-26 23:11:52,997 - INFO - Project ctest-TestBasicPolicy-62417524 not found, creating it 2025-06-26 23:11:53,468 - INFO - Created Project:ctest-TestBasicPolicy-62417524, ID : 29d642e5-5836-4b52-89bb-e85fdaae3ab1 2025-06-26 23:11:55,069 - INFO - ================================================================================ 2025-06-26 23:11:55,069 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-26 23:11:55,069 - 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-26 23:11:55,331 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-26 23:11:55,331 - INFO - Initial checks done. Running the testcase now 2025-06-26 23:11:55,332 - INFO - 2025-06-26 23:11:55,946 - DEBUG - Response for create_network : {'network': {'id': 'f15bb0ab-a9b6-470c-97db-27730f416901', 'name': 'ctest-vn-17272049', 'tenant_id': '29d642e558364b5289bbe85fdaae3ab1', 'project_id': '29d642e558364b5289bbe85fdaae3ab1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62417524', 'ctest-vn-17272049'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 23:11:56,151 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c79759a-54d2-4d60-9415-8663db7147ee', 'name': '', 'tenant_id': '29d642e558364b5289bbe85fdaae3ab1', 'network_id': 'f15bb0ab-a9b6-470c-97db-27730f416901', 'ip_version': 4, 'cidr': '27.102.244.0/26', 'allocation_pools': [{'start': '27.102.244.2', 'end': '27.102.244.62'}], 'gateway_ip': '27.102.244.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.102.244.2', 'tags': [], 'project_id': '29d642e558364b5289bbe85fdaae3ab1'}} 2025-06-26 23:11:56,169 - INFO - Created VN ctest-vn-17272049 2025-06-26 23:11:56,225 - DEBUG - VN ctest-vn-17272049 UUID is f15bb0ab-a9b6-470c-97db-27730f416901 2025-06-26 23:11:56,538 - DEBUG - Response for create_network : {'network': {'id': 'e2e06be6-ba45-450e-a96f-9082cbcc6fcc', 'name': 'ctest-vn-67957750', 'tenant_id': '29d642e558364b5289bbe85fdaae3ab1', 'project_id': '29d642e558364b5289bbe85fdaae3ab1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62417524', 'ctest-vn-67957750'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 23:11:56,740 - DEBUG - Response for create_subnet : {'subnet': {'id': '3df89048-8f5a-4f02-82c6-fef1b49043ba', 'name': '', 'tenant_id': '29d642e558364b5289bbe85fdaae3ab1', 'network_id': 'e2e06be6-ba45-450e-a96f-9082cbcc6fcc', 'ip_version': 4, 'cidr': '220.203.26.192/26', 'allocation_pools': [{'start': '220.203.26.194', 'end': '220.203.26.254'}], 'gateway_ip': '220.203.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.203.26.194', 'tags': [], 'project_id': '29d642e558364b5289bbe85fdaae3ab1'}} 2025-06-26 23:11:56,759 - INFO - Created VN ctest-vn-67957750 2025-06-26 23:11:56,812 - DEBUG - VN ctest-vn-67957750 UUID is e2e06be6-ba45-450e-a96f-9082cbcc6fcc 2025-06-26 23:11:56,941 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62417524:ctest-vn-17272049, 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-62417524:ctest-vn-67957750, 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-26 23:11:57,244 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f15bb0ab-a9b6-470c-97db-27730f416901', 'name': 'ctest-vn-17272049', 'tenant_id': '29d642e558364b5289bbe85fdaae3ab1', 'project_id': '29d642e558364b5289bbe85fdaae3ab1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6c79759a-54d2-4d60-9415-8663db7147ee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62417524', 'ctest-vn-17272049'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62417524', 'ctest-policy-allow-all-27558284']], 'subnet_ipam': [{'subnet_cidr': '27.102.244.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-26 23:11:57,498 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e2e06be6-ba45-450e-a96f-9082cbcc6fcc', 'name': 'ctest-vn-67957750', 'tenant_id': '29d642e558364b5289bbe85fdaae3ab1', 'project_id': '29d642e558364b5289bbe85fdaae3ab1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3df89048-8f5a-4f02-82c6-fef1b49043ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62417524', 'ctest-vn-67957750'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62417524', 'ctest-policy-allow-all-27558284']], 'subnet_ipam': [{'subnet_cidr': '220.203.26.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-26 23:11:57,672 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-26 23:11:58,005 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-26 23:11:58,035 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2dbf3b6-4084-44dd-8f84-5d5149ae6850 2025-06-26 23:11:58,049 - DEBUG - Requesting: http://10.0.0.254:8082/project/29d642e5-5836-4b52-89bb-e85fdaae3ab1 2025-06-26 23:11:58,123 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f15bb0ab-a9b6-470c-97db-27730f416901 2025-06-26 23:11:58,135 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f15bb0ab-a9b6-470c-97db-27730f416901 2025-06-26 23:11:58,146 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8a36b685-7036-430b-951b-27de47e04cd8 2025-06-26 23:11:58,153 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8a36b685-7036-430b-951b-27de47e04cd8 2025-06-26 23:11:58,162 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/07394a5d-0432-4e65-b8d1-2d2f8e709aa2 2025-06-26 23:11:58,169 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-26 23:11:58,169 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f15bb0ab-a9b6-470c-97db-27730f416901 2025-06-26 23:11:58,180 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8a36b685-7036-430b-951b-27de47e04cd8 2025-06-26 23:11:58,196 - INFO - Verified VN network id 8 for VN f15bb0ab-a9b6-470c-97db-27730f416901 2025-06-26 23:11:58,197 - INFO - Verifications in API Server for VN ctest-vn-17272049 passed 2025-06-26 23:11:58,197 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f15bb0ab-a9b6-470c-97db-27730f416901 2025-06-26 23:11:58,207 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8a36b685-7036-430b-951b-27de47e04cd8 2025-06-26 23:11:58,215 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8a36b685-7036-430b-951b-27de47e04cd8 2025-06-26 23:11:58,222 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/07394a5d-0432-4e65-b8d1-2d2f8e709aa2 2025-06-26 23:11:58,234 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62417524:ctest-vn-17272049', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62417524', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17391688637354493708', 'uuid-lslong': '10942383094757419265'}, 'enable': 'true', 'created': '2025-06-26T23:11:55', 'last-modified': '2025-06-26T23:11:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.007511'} 2025-06-26 23:11:58,241 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-26 23:11:58,241 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17272049 passed 2025-06-26 23:11:58,241 - DEBUG - ====Verifying policy data for ctest-vn-17272049 in API_Server ====== 2025-06-26 23:11:58,241 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-26 23:11:58,247 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2dbf3b6-4084-44dd-8f84-5d5149ae6850 2025-06-26 23:11:58,258 - DEBUG - Requesting: http://10.0.0.254:8082/project/29d642e5-5836-4b52-89bb-e85fdaae3ab1 2025-06-26 23:11:58,334 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f15bb0ab-a9b6-470c-97db-27730f416901 2025-06-26 23:11:58,345 - DEBUG - ==>Verifying data for policy with id: 4c2cd4fe-a3ba-498d-b438-e7902d601b5e, fqn: ['default-domain', 'ctest-TestBasicPolicy-62417524', 'ctest-policy-allow-all-27558284'] 2025-06-26 23:11:58,345 - INFO - VN ctest-vn-17272049 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-26 23:11:58,346 - DEBUG - Verifying the vn in opserver 2025-06-26 23:11:58,346 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62417524:ctest-vn-17272049 virtual network link through opserver 10.0.0.254 2025-06-26 23:11:58,346 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-26 23:11:58,676 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-26 23:11:58,737 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62417524:ctest-vn-17272049', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62417524:ctest-vn-17272049?flat'} 2025-06-26 23:11:58,737 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62417524:ctest-vn-17272049 is found in opserver 2025-06-26 23:11:58,749 - DEBUG - Do not have enough data to verify VN in agent 2025-06-26 23:11:58,754 - DEBUG - VRF ids for VN ctest-vn-17272049: {} 2025-06-26 23:11:58,754 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-26 23:11:58,761 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2dbf3b6-4084-44dd-8f84-5d5149ae6850 2025-06-26 23:11:58,774 - DEBUG - Requesting: http://10.0.0.254:8082/project/29d642e5-5836-4b52-89bb-e85fdaae3ab1 2025-06-26 23:11:58,850 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e2e06be6-ba45-450e-a96f-9082cbcc6fcc 2025-06-26 23:11:58,864 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e2e06be6-ba45-450e-a96f-9082cbcc6fcc 2025-06-26 23:11:58,874 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e56fdaab-9de6-469c-b5fa-c446baa6a071 2025-06-26 23:11:58,882 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e56fdaab-9de6-469c-b5fa-c446baa6a071 2025-06-26 23:11:58,890 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/70e645f3-81ca-4035-a3ba-f5f3c37b1885 2025-06-26 23:11:58,897 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-26 23:11:58,897 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e2e06be6-ba45-450e-a96f-9082cbcc6fcc 2025-06-26 23:11:58,909 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e56fdaab-9de6-469c-b5fa-c446baa6a071 2025-06-26 23:11:58,926 - INFO - Verified VN network id 9 for VN e2e06be6-ba45-450e-a96f-9082cbcc6fcc 2025-06-26 23:11:58,926 - INFO - Verifications in API Server for VN ctest-vn-67957750 passed 2025-06-26 23:11:58,926 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e2e06be6-ba45-450e-a96f-9082cbcc6fcc 2025-06-26 23:11:58,937 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e56fdaab-9de6-469c-b5fa-c446baa6a071 2025-06-26 23:11:58,945 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e56fdaab-9de6-469c-b5fa-c446baa6a071 2025-06-26 23:11:58,952 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/70e645f3-81ca-4035-a3ba-f5f3c37b1885 2025-06-26 23:11:58,966 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62417524:ctest-vn-67957750', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62417524', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16348185286066652430', 'uuid-lslong': '12209136006264025036'}, 'enable': 'true', 'created': '2025-06-26T23:11:56', 'last-modified': '2025-06-26T23:11:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.499930'} 2025-06-26 23:11:58,973 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-26 23:11:58,973 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67957750 passed 2025-06-26 23:11:58,973 - DEBUG - ====Verifying policy data for ctest-vn-67957750 in API_Server ====== 2025-06-26 23:11:58,973 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-26 23:11:58,981 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2dbf3b6-4084-44dd-8f84-5d5149ae6850 2025-06-26 23:11:58,995 - DEBUG - Requesting: http://10.0.0.254:8082/project/29d642e5-5836-4b52-89bb-e85fdaae3ab1 2025-06-26 23:11:59,071 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e2e06be6-ba45-450e-a96f-9082cbcc6fcc 2025-06-26 23:11:59,083 - DEBUG - ==>Verifying data for policy with id: 4c2cd4fe-a3ba-498d-b438-e7902d601b5e, fqn: ['default-domain', 'ctest-TestBasicPolicy-62417524', 'ctest-policy-allow-all-27558284'] 2025-06-26 23:11:59,083 - INFO - VN ctest-vn-67957750 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-26 23:11:59,083 - DEBUG - Verifying the vn in opserver 2025-06-26 23:11:59,083 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62417524:ctest-vn-67957750 virtual network link through opserver 10.0.0.254 2025-06-26 23:11:59,083 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-26 23:11:59,096 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62417524:ctest-vn-67957750', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62417524:ctest-vn-67957750?flat'} 2025-06-26 23:11:59,096 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62417524:ctest-vn-67957750 is found in opserver 2025-06-26 23:11:59,111 - DEBUG - Do not have enough data to verify VN in agent 2025-06-26 23:11:59,117 - DEBUG - VRF ids for VN ctest-vn-67957750: {} 2025-06-26 23:11:59,179 - DEBUG - Services list from nova: [, , ] 2025-06-26 23:12:00,298 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3563-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3563-1) 2025-06-26 23:12:01,651 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3563-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3563-1) 2025-06-26 23:12:01,651 - INFO - Waiting for VM ctest-TestBasicPolicy-62417524-23066837 to be up.. 2025-06-26 23:12:01,732 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-26 23:12:06,811 - DEBUG - VM is in ACTIVE state now 2025-06-26 23:12:06,811 - INFO - VM name : ctest-TestBasicPolicy-62417524-23066837 2025-06-26 23:12:06,891 - DEBUG - VM ctest-TestBasicPolicy-62417524-23066837 ID is 3de2c945-6fcf-409e-8aac-af829b2df25f 2025-06-26 23:12:06,912 - DEBUG - VM ctest-TestBasicPolicy-62417524-23066837 launched on Node cn-jenkins-deploy-platform-ansible-os-3563-1 2025-06-26 23:12:06,992 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3de2c945-6fcf-409e-8aac-af829b2df25f 2025-06-26 23:12:07,001 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8b688fe1-37c5-4f29-98fe-65af1052fdf1 2025-06-26 23:12:10,256 - 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 1011ms') 2025-06-26 23:12:10,256 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62417524-23066837 failed! 2025-06-26 23:12:10,312 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-62417524:ctest-vn-17272049 is 27.102.244.1 and allocation pool is NOT set 2025-06-26 23:12:12,374 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.10 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 = 3.099/4.908/6.718/1.809 ms') 2025-06-26 23:12:12,375 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62417524-23066837 passed 2025-06-26 23:12:12,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 23:12:12,533 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62417524-23066837, IP 27.102.244.3, Port 22 2025-06-26 23:12:12,699 - DEBUG - VM ctest-TestBasicPolicy-62417524-23066837 is ready for SSH connections 2025-06-26 23:12:12,699 - INFO - Waiting for VM ctest-TestBasicPolicy-62417524-97465997 to be up.. 2025-06-26 23:12:12,785 - DEBUG - VM is in ACTIVE state now 2025-06-26 23:12:12,785 - INFO - VM name : ctest-TestBasicPolicy-62417524-97465997 2025-06-26 23:12:12,876 - DEBUG - VM ctest-TestBasicPolicy-62417524-97465997 ID is bd715c9b-43b3-42c9-a7a3-bde063bfcb2e 2025-06-26 23:12:12,876 - DEBUG - VM ctest-TestBasicPolicy-62417524-97465997 launched on Node cn-jenkins-deploy-platform-ansible-os-3563-1 2025-06-26 23:12:12,955 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bd715c9b-43b3-42c9-a7a3-bde063bfcb2e 2025-06-26 23:12:12,964 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d35f1763-f643-4c56-90e9-6d81ba984872 2025-06-26 23:12:14,205 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.85 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 = 1.845/3.145/4.445/1.300 ms') 2025-06-26 23:12:14,205 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62417524-97465997 passed 2025-06-26 23:12:14,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 23:12:14,360 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62417524-97465997, IP 220.203.26.195, Port 22 2025-06-26 23:12:14,517 - DEBUG - VM ctest-TestBasicPolicy-62417524-97465997 is ready for SSH connections 2025-06-26 23:12:14,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 23:12:14,517 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.203.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-26 23:12:14,517 - DEBUG - ping -s 56 -c 3 -W 1 220.203.26.195 2025-06-26 23:12:18,239 - DEBUG - PING 220.203.26.195 (220.203.26.195): 56 data bytes 64 bytes from 220.203.26.195: seq=0 ttl=63 time=3.637 ms 64 bytes from 220.203.26.195: seq=1 ttl=63 time=0.785 ms 64 bytes from 220.203.26.195: seq=2 ttl=63 time=0.898 ms --- 220.203.26.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.785/1.773/3.637 ms 2025-06-26 23:12:18,240 - INFO - Ping to IP 220.203.26.195 from VM ctest-TestBasicPolicy-62417524-23066837 passed 2025-06-26 23:12:18,428 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4c2cd4fe-a3ba-498d-b438-e7902d601b5e", "href": "http://10.0.0.254:8082/network-policy/4c2cd4fe-a3ba-498d-b438-e7902d601b5e"}} 2025-06-26 23:12:18,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 23:12:18,428 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.203.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-26 23:12:18,428 - DEBUG - ping -s 56 -c 3 -W 1 220.203.26.195 2025-06-26 23:12:21,659 - DEBUG - PING 220.203.26.195 (220.203.26.195): 56 data bytes 64 bytes from 220.203.26.195: seq=0 ttl=63 time=1.369 ms --- 220.203.26.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.369/1.369/1.369 ms 2025-06-26 23:12:21,660 - WARNING - Ping to IP 220.203.26.195 from VM ctest-TestBasicPolicy-62417524-23066837 failed 2025-06-26 23:12:21,660 - INFO - Deleting VM ctest-TestBasicPolicy-62417524-97465997 2025-06-26 23:12:21,726 - INFO - Deleting VM ctest-TestBasicPolicy-62417524-23066837 2025-06-26 23:12:22,151 - INFO - Deleted policy ctest-policy-allow-all-27558284 2025-06-26 23:12:22,151 - INFO - Deleting VN ctest-vn-67957750 2025-06-26 23:12:22,194 - DEBUG - VN e2e06be6-ba45-450e-a96f-9082cbcc6fcc still in use: Unable to complete operation on network e2e06be6-ba45-450e-a96f-9082cbcc6fcc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e6f7b80b-e0d5-42b2-ba30-ca84e713b823'] 2025-06-26 23:12:22,194 - WARNING - Deleting VN ctest-vn-67957750 failed..Will retry 2025-06-26 23:12:24,304 - DEBUG - Response for deleting network () 2025-06-26 23:12:24,304 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e56fdaab-9de6-469c-b5fa-c446baa6a071 2025-06-26 23:12:24,316 - DEBUG - Response Code: 404 2025-06-26 23:12:24,316 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-26 23:12:24,322 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2dbf3b6-4084-44dd-8f84-5d5149ae6850 2025-06-26 23:12:24,378 - DEBUG - Requesting: http://10.0.0.254:8082/project/29d642e5-5836-4b52-89bb-e85fdaae3ab1 2025-06-26 23:12:24,451 - INFO - Validated that VN ctest-vn-67957750 is not found in API Server 2025-06-26 23:12:24,463 - DEBUG - VN ctest-vn-67957750 is not present in Agent 10.0.0.254 2025-06-26 23:12:24,463 - INFO - Validated that VN ctest-vn-67957750 is not in any agent 2025-06-26 23:12:24,481 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67957750 info 2025-06-26 23:12:24,481 - INFO - Deleting VN ctest-vn-17272049 2025-06-26 23:12:24,586 - DEBUG - Response for deleting network () 2025-06-26 23:12:24,586 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8a36b685-7036-430b-951b-27de47e04cd8 2025-06-26 23:12:24,591 - DEBUG - Response Code: 404 2025-06-26 23:12:24,592 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-26 23:12:24,598 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2dbf3b6-4084-44dd-8f84-5d5149ae6850 2025-06-26 23:12:24,650 - DEBUG - Requesting: http://10.0.0.254:8082/project/29d642e5-5836-4b52-89bb-e85fdaae3ab1 2025-06-26 23:12:24,722 - INFO - Validated that VN ctest-vn-17272049 is not found in API Server 2025-06-26 23:12:24,734 - DEBUG - VN ctest-vn-17272049 is not present in Agent 10.0.0.254 2025-06-26 23:12:24,734 - INFO - Validated that VN ctest-vn-17272049 is not in any agent 2025-06-26 23:12:24,750 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17272049 info 2025-06-26 23:12:25,006 - DEBUG - No XMPP flaps were noticed during the test 2025-06-26 23:12:25,007 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-26 23:12:25,007 - INFO - -------------------------------------------------------------------------------- 2025-06-26 23:12:25,796 - INFO - Deleted project: ctest-TestBasicPolicy-62417524, ID : 29d642e5-5836-4b52-89bb-e85fdaae3ab1