2025-08-31 07:22:36,238 - INFO - Domain Default found not creating 2025-08-31 07:22:36,390 - INFO - Project ctest-TestBasicPolicy-71873459 not found, creating it 2025-08-31 07:22:36,852 - INFO - Created Project:ctest-TestBasicPolicy-71873459, ID : 54c472a6-251c-40e9-aa4a-3033bef2fd56 2025-08-31 07:22:38,305 - INFO - ================================================================================ 2025-08-31 07:22:38,305 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-31 07:22:38,305 - 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-08-31 07:22:38,558 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-08-31 07:22:38,558 - INFO - Initial checks done. Running the testcase now 2025-08-31 07:22:38,558 - INFO - 2025-08-31 07:22:39,088 - DEBUG - Response for create_network : {'network': {'id': '10d8a8ec-e245-431a-aa20-e74e8163405f', 'name': 'ctest-vn-55949134', 'tenant_id': '54c472a6251c40e9aa4a3033bef2fd56', 'project_id': '54c472a6251c40e9aa4a3033bef2fd56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71873459', 'ctest-vn-55949134'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 07:22:39,284 - DEBUG - Response for create_subnet : {'subnet': {'id': '974b2202-5c60-4d11-968b-de4269c9c3b7', 'name': '', 'tenant_id': '54c472a6251c40e9aa4a3033bef2fd56', 'network_id': '10d8a8ec-e245-431a-aa20-e74e8163405f', 'ip_version': 4, 'cidr': '202.28.60.128/26', 'allocation_pools': [{'start': '202.28.60.130', 'end': '202.28.60.190'}], 'gateway_ip': '202.28.60.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.28.60.130', 'tags': [], 'project_id': '54c472a6251c40e9aa4a3033bef2fd56'}} 2025-08-31 07:22:39,303 - INFO - Created VN ctest-vn-55949134 2025-08-31 07:22:39,357 - DEBUG - VN ctest-vn-55949134 UUID is 10d8a8ec-e245-431a-aa20-e74e8163405f 2025-08-31 07:22:39,663 - DEBUG - Response for create_network : {'network': {'id': '00ac8a66-87fd-4b88-bd79-ac2d01238167', 'name': 'ctest-vn-09930498', 'tenant_id': '54c472a6251c40e9aa4a3033bef2fd56', 'project_id': '54c472a6251c40e9aa4a3033bef2fd56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71873459', 'ctest-vn-09930498'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 07:22:39,832 - DEBUG - Response for create_subnet : {'subnet': {'id': '47fa36eb-636a-4fa8-8008-32aed4d0f35c', 'name': '', 'tenant_id': '54c472a6251c40e9aa4a3033bef2fd56', 'network_id': '00ac8a66-87fd-4b88-bd79-ac2d01238167', 'ip_version': 4, 'cidr': '63.131.38.128/26', 'allocation_pools': [{'start': '63.131.38.130', 'end': '63.131.38.190'}], 'gateway_ip': '63.131.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.131.38.130', 'tags': [], 'project_id': '54c472a6251c40e9aa4a3033bef2fd56'}} 2025-08-31 07:22:39,849 - INFO - Created VN ctest-vn-09930498 2025-08-31 07:22:39,901 - DEBUG - VN ctest-vn-09930498 UUID is 00ac8a66-87fd-4b88-bd79-ac2d01238167 2025-08-31 07:22:40,049 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71873459:ctest-vn-55949134, 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-71873459:ctest-vn-09930498, 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-08-31 07:22:40,343 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '10d8a8ec-e245-431a-aa20-e74e8163405f', 'name': 'ctest-vn-55949134', 'tenant_id': '54c472a6251c40e9aa4a3033bef2fd56', 'project_id': '54c472a6251c40e9aa4a3033bef2fd56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['974b2202-5c60-4d11-968b-de4269c9c3b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71873459', 'ctest-vn-55949134'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71873459', 'ctest-policy-allow-all-98466214']], 'subnet_ipam': [{'subnet_cidr': '202.28.60.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-31 07:22:40,569 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '00ac8a66-87fd-4b88-bd79-ac2d01238167', 'name': 'ctest-vn-09930498', 'tenant_id': '54c472a6251c40e9aa4a3033bef2fd56', 'project_id': '54c472a6251c40e9aa4a3033bef2fd56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['47fa36eb-636a-4fa8-8008-32aed4d0f35c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71873459', 'ctest-vn-09930498'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71873459', 'ctest-policy-allow-all-98466214']], 'subnet_ipam': [{'subnet_cidr': '63.131.38.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-31 07:22:40,737 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-31 07:22:41,031 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-31 07:22:41,058 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fffad682-d985-4662-b1c5-1b7d3c7bc424 2025-08-31 07:22:41,069 - DEBUG - Requesting: http://10.0.0.33:8082/project/54c472a6-251c-40e9-aa4a-3033bef2fd56 2025-08-31 07:22:41,142 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/10d8a8ec-e245-431a-aa20-e74e8163405f 2025-08-31 07:22:41,154 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/10d8a8ec-e245-431a-aa20-e74e8163405f 2025-08-31 07:22:41,163 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7b285787-e024-4a35-bb63-bea6b68fac9c 2025-08-31 07:22:41,170 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7b285787-e024-4a35-bb63-bea6b68fac9c 2025-08-31 07:22:41,176 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b200ae55-e521-4dfe-b8c4-a17c7e4f041a 2025-08-31 07:22:41,182 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-31 07:22:41,182 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/10d8a8ec-e245-431a-aa20-e74e8163405f 2025-08-31 07:22:41,190 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7b285787-e024-4a35-bb63-bea6b68fac9c 2025-08-31 07:22:41,204 - INFO - Verified VN network id 11 for VN 10d8a8ec-e245-431a-aa20-e74e8163405f 2025-08-31 07:22:41,204 - INFO - Verifications in API Server for VN ctest-vn-55949134 passed 2025-08-31 07:22:41,204 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/10d8a8ec-e245-431a-aa20-e74e8163405f 2025-08-31 07:22:41,213 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7b285787-e024-4a35-bb63-bea6b68fac9c 2025-08-31 07:22:41,219 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7b285787-e024-4a35-bb63-bea6b68fac9c 2025-08-31 07:22:41,226 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b200ae55-e521-4dfe-b8c4-a17c7e4f041a 2025-08-31 07:22:41,238 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71873459:ctest-vn-55949134', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71873459', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1213905834938286874', 'uuid-lslong': '12259052510066720863'}, 'enable': 'true', 'created': '2025-08-31T07:22:39', 'last-modified': '2025-08-31T07:22:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.917896'} 2025-08-31 07:22:41,243 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-31 07:22:41,243 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55949134 passed 2025-08-31 07:22:41,244 - DEBUG - ====Verifying policy data for ctest-vn-55949134 in API_Server ====== 2025-08-31 07:22:41,244 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-31 07:22:41,249 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fffad682-d985-4662-b1c5-1b7d3c7bc424 2025-08-31 07:22:41,258 - DEBUG - Requesting: http://10.0.0.33:8082/project/54c472a6-251c-40e9-aa4a-3033bef2fd56 2025-08-31 07:22:41,331 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/10d8a8ec-e245-431a-aa20-e74e8163405f 2025-08-31 07:22:41,340 - DEBUG - ==>Verifying data for policy with id: 74318551-8c23-42bc-a663-033e52a37e7a, fqn: ['default-domain', 'ctest-TestBasicPolicy-71873459', 'ctest-policy-allow-all-98466214'] 2025-08-31 07:22:41,341 - INFO - VN ctest-vn-55949134 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-31 07:22:41,341 - DEBUG - Verifying the vn in opserver 2025-08-31 07:22:41,341 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71873459:ctest-vn-55949134 virtual network link through opserver 10.0.0.33 2025-08-31 07:22:41,341 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-31 07:22:41,645 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-31 07:22:41,703 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71873459:ctest-vn-55949134', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71873459:ctest-vn-55949134?flat'} 2025-08-31 07:22:41,703 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71873459:ctest-vn-55949134 is found in opserver 2025-08-31 07:22:41,714 - DEBUG - Do not have enough data to verify VN in agent 2025-08-31 07:22:41,719 - DEBUG - VRF ids for VN ctest-vn-55949134: {} 2025-08-31 07:22:41,720 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-31 07:22:41,725 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fffad682-d985-4662-b1c5-1b7d3c7bc424 2025-08-31 07:22:41,736 - DEBUG - Requesting: http://10.0.0.33:8082/project/54c472a6-251c-40e9-aa4a-3033bef2fd56 2025-08-31 07:22:41,805 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/00ac8a66-87fd-4b88-bd79-ac2d01238167 2025-08-31 07:22:41,816 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/00ac8a66-87fd-4b88-bd79-ac2d01238167 2025-08-31 07:22:41,824 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3e668296-d9be-4b84-9cb5-864d77475fd7 2025-08-31 07:22:41,831 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3e668296-d9be-4b84-9cb5-864d77475fd7 2025-08-31 07:22:41,837 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2fc26c31-b16a-456f-a157-bd8dad374f8c 2025-08-31 07:22:41,843 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-31 07:22:41,843 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/00ac8a66-87fd-4b88-bd79-ac2d01238167 2025-08-31 07:22:41,851 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3e668296-d9be-4b84-9cb5-864d77475fd7 2025-08-31 07:22:41,864 - INFO - Verified VN network id 12 for VN 00ac8a66-87fd-4b88-bd79-ac2d01238167 2025-08-31 07:22:41,864 - INFO - Verifications in API Server for VN ctest-vn-09930498 passed 2025-08-31 07:22:41,865 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/00ac8a66-87fd-4b88-bd79-ac2d01238167 2025-08-31 07:22:41,873 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3e668296-d9be-4b84-9cb5-864d77475fd7 2025-08-31 07:22:41,879 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3e668296-d9be-4b84-9cb5-864d77475fd7 2025-08-31 07:22:41,886 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2fc26c31-b16a-456f-a157-bd8dad374f8c 2025-08-31 07:22:41,895 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71873459:ctest-vn-09930498', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71873459', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '48565868967054216', 'uuid-lslong': '13653133054642979175'}, 'enable': 'true', 'created': '2025-08-31T07:22:39', 'last-modified': '2025-08-31T07:22:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.350385'} 2025-08-31 07:22:41,902 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-31 07:22:41,902 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09930498 passed 2025-08-31 07:22:41,902 - DEBUG - ====Verifying policy data for ctest-vn-09930498 in API_Server ====== 2025-08-31 07:22:41,902 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-31 07:22:41,907 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fffad682-d985-4662-b1c5-1b7d3c7bc424 2025-08-31 07:22:41,917 - DEBUG - Requesting: http://10.0.0.33:8082/project/54c472a6-251c-40e9-aa4a-3033bef2fd56 2025-08-31 07:22:41,987 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/00ac8a66-87fd-4b88-bd79-ac2d01238167 2025-08-31 07:22:41,995 - DEBUG - ==>Verifying data for policy with id: 74318551-8c23-42bc-a663-033e52a37e7a, fqn: ['default-domain', 'ctest-TestBasicPolicy-71873459', 'ctest-policy-allow-all-98466214'] 2025-08-31 07:22:41,995 - INFO - VN ctest-vn-09930498 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-31 07:22:41,995 - DEBUG - Verifying the vn in opserver 2025-08-31 07:22:41,995 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71873459:ctest-vn-09930498 virtual network link through opserver 10.0.0.33 2025-08-31 07:22:41,995 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-31 07:22:42,007 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71873459:ctest-vn-09930498', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71873459:ctest-vn-09930498?flat'} 2025-08-31 07:22:42,007 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71873459:ctest-vn-09930498 is found in opserver 2025-08-31 07:22:42,015 - DEBUG - Do not have enough data to verify VN in agent 2025-08-31 07:22:42,019 - DEBUG - VRF ids for VN ctest-vn-09930498: {} 2025-08-31 07:22:42,072 - DEBUG - Services list from nova: [, , ] 2025-08-31 07:22:43,075 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3989-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3989-1) 2025-08-31 07:22:44,196 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3989-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3989-1) 2025-08-31 07:22:44,197 - INFO - Waiting for VM ctest-TestBasicPolicy-71873459-23895956 to be up.. 2025-08-31 07:22:44,286 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-31 07:22:49,372 - DEBUG - VM is in ACTIVE state now 2025-08-31 07:22:49,372 - INFO - VM name : ctest-TestBasicPolicy-71873459-23895956 2025-08-31 07:22:49,446 - DEBUG - VM ctest-TestBasicPolicy-71873459-23895956 ID is 96666d92-e568-43bd-acb8-06510aa69785 2025-08-31 07:22:49,464 - DEBUG - VM ctest-TestBasicPolicy-71873459-23895956 launched on Node cn-jenkins-deploy-platform-ansible-os-3989-1 2025-08-31 07:22:49,533 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/96666d92-e568-43bd-acb8-06510aa69785 2025-08-31 07:22:49,542 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/22cd71cf-9799-4481-a1ec-ab6ba481c41c 2025-08-31 07:22:52,803 - 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 1023ms') 2025-08-31 07:22:52,803 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71873459-23895956 failed! 2025-08-31 07:22:52,857 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71873459:ctest-vn-55949134 is 202.28.60.129 and allocation pool is NOT set 2025-08-31 07:22:54,922 - 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=9.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.969 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.969/5.359/9.749/4.390 ms') 2025-08-31 07:22:54,922 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71873459-23895956 passed 2025-08-31 07:22:55,077 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 07:22:55,078 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71873459-23895956, IP 202.28.60.131, Port 22 2025-08-31 07:22:55,243 - DEBUG - VM ctest-TestBasicPolicy-71873459-23895956 is ready for SSH connections 2025-08-31 07:22:55,243 - INFO - Waiting for VM ctest-TestBasicPolicy-71873459-99127160 to be up.. 2025-08-31 07:22:55,319 - DEBUG - VM is in ACTIVE state now 2025-08-31 07:22:55,319 - INFO - VM name : ctest-TestBasicPolicy-71873459-99127160 2025-08-31 07:22:55,392 - DEBUG - VM ctest-TestBasicPolicy-71873459-99127160 ID is c18a4358-bd4d-4056-86f5-da4090f5e46a 2025-08-31 07:22:55,392 - DEBUG - VM ctest-TestBasicPolicy-71873459-99127160 launched on Node cn-jenkins-deploy-platform-ansible-os-3989-1 2025-08-31 07:22:55,459 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c18a4358-bd4d-4056-86f5-da4090f5e46a 2025-08-31 07:22:55,466 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/bbc54883-797b-497d-ab5c-80990c99b742 2025-08-31 07:22:56,697 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.471 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.471/1.887/3.304/1.416 ms') 2025-08-31 07:22:56,698 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71873459-99127160 passed 2025-08-31 07:22:56,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 07:22:56,849 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71873459-99127160, IP 63.131.38.131, Port 22 2025-08-31 07:22:57,001 - DEBUG - VM ctest-TestBasicPolicy-71873459-99127160 is ready for SSH connections 2025-08-31 07:22:57,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 07:22:57,001 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.131.38.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-31 07:22:57,001 - DEBUG - ping -s 56 -c 3 -W 1 63.131.38.131 2025-08-31 07:23:01,007 - DEBUG - PING 63.131.38.131 (63.131.38.131): 56 data bytes 64 bytes from 63.131.38.131: seq=0 ttl=63 time=3.317 ms 64 bytes from 63.131.38.131: seq=1 ttl=63 time=0.941 ms 64 bytes from 63.131.38.131: seq=2 ttl=63 time=0.787 ms --- 63.131.38.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.787/1.681/3.317 ms 2025-08-31 07:23:01,008 - INFO - Ping to IP 63.131.38.131 from VM ctest-TestBasicPolicy-71873459-23895956 passed 2025-08-31 07:23:01,181 - DEBUG - Policy Update Response {"network-policy": {"uuid": "74318551-8c23-42bc-a663-033e52a37e7a", "href": "http://10.0.0.33:8082/network-policy/74318551-8c23-42bc-a663-033e52a37e7a"}} 2025-08-31 07:23:01,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 07:23:01,181 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.131.38.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-31 07:23:01,181 - DEBUG - ping -s 56 -c 3 -W 1 63.131.38.131 2025-08-31 07:23:04,393 - DEBUG - PING 63.131.38.131 (63.131.38.131): 56 data bytes --- 63.131.38.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-31 07:23:04,394 - WARNING - Ping to IP 63.131.38.131 from VM ctest-TestBasicPolicy-71873459-23895956 failed 2025-08-31 07:23:04,394 - INFO - Deleting VM ctest-TestBasicPolicy-71873459-99127160 2025-08-31 07:23:04,553 - INFO - Deleting VM ctest-TestBasicPolicy-71873459-23895956 2025-08-31 07:23:04,923 - INFO - Deleted policy ctest-policy-allow-all-98466214 2025-08-31 07:23:04,923 - INFO - Deleting VN ctest-vn-09930498 2025-08-31 07:23:04,957 - DEBUG - VN 00ac8a66-87fd-4b88-bd79-ac2d01238167 still in use: Unable to complete operation on network 00ac8a66-87fd-4b88-bd79-ac2d01238167. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee76baa2-360a-4760-af2c-940af2426a4c'] 2025-08-31 07:23:04,957 - WARNING - Deleting VN ctest-vn-09930498 failed..Will retry 2025-08-31 07:23:07,048 - DEBUG - Response for deleting network () 2025-08-31 07:23:07,048 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3e668296-d9be-4b84-9cb5-864d77475fd7 2025-08-31 07:23:07,055 - DEBUG - Response Code: 404 2025-08-31 07:23:07,056 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-31 07:23:07,061 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fffad682-d985-4662-b1c5-1b7d3c7bc424 2025-08-31 07:23:07,115 - DEBUG - Requesting: http://10.0.0.33:8082/project/54c472a6-251c-40e9-aa4a-3033bef2fd56 2025-08-31 07:23:07,182 - INFO - Validated that VN ctest-vn-09930498 is not found in API Server 2025-08-31 07:23:07,193 - DEBUG - VN ctest-vn-09930498 is not present in Agent 10.0.0.33 2025-08-31 07:23:07,193 - INFO - Validated that VN ctest-vn-09930498 is not in any agent 2025-08-31 07:23:07,206 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09930498 info 2025-08-31 07:23:07,206 - INFO - Deleting VN ctest-vn-55949134 2025-08-31 07:23:07,303 - DEBUG - Response for deleting network () 2025-08-31 07:23:07,305 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7b285787-e024-4a35-bb63-bea6b68fac9c 2025-08-31 07:23:07,311 - DEBUG - Response Code: 404 2025-08-31 07:23:07,311 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-31 07:23:07,316 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fffad682-d985-4662-b1c5-1b7d3c7bc424 2025-08-31 07:23:07,372 - DEBUG - Requesting: http://10.0.0.33:8082/project/54c472a6-251c-40e9-aa4a-3033bef2fd56 2025-08-31 07:23:07,440 - INFO - Validated that VN ctest-vn-55949134 is not found in API Server 2025-08-31 07:23:07,450 - DEBUG - VN ctest-vn-55949134 is not present in Agent 10.0.0.33 2025-08-31 07:23:07,450 - INFO - Validated that VN ctest-vn-55949134 is not in any agent 2025-08-31 07:23:07,464 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55949134 info 2025-08-31 07:23:07,731 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 07:23:07,731 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-31 07:23:07,731 - INFO - -------------------------------------------------------------------------------- 2025-08-31 07:23:08,393 - INFO - Deleted project: ctest-TestBasicPolicy-71873459, ID : 54c472a6-251c-40e9-aa4a-3033bef2fd56