2026-07-06 13:30:30,400 - INFO - Domain Default found not creating 2026-07-06 13:30:30,536 - INFO - Project ctest-TestBasicPolicy-67905295 not found, creating it 2026-07-06 13:30:30,990 - INFO - Created Project:ctest-TestBasicPolicy-67905295, ID : 9bb63df8-5179-440f-8d63-7bb06ac801b9 2026-07-06 13:30:32,422 - INFO - ================================================================================ 2026-07-06 13:30:32,422 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-06 13:30:32,422 - 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 2026-07-06 13:30:32,682 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-07-06 13:30:32,682 - INFO - Initial checks done. Running the testcase now 2026-07-06 13:30:32,682 - INFO - 2026-07-06 13:30:33,213 - DEBUG - Response for create_network : {'network': {'id': 'a49947bf-dea4-4f08-ba59-6fc408f63ce7', 'name': 'ctest-vn-06047978', 'tenant_id': '9bb63df85179440f8d637bb06ac801b9', 'project_id': '9bb63df85179440f8d637bb06ac801b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67905295', 'ctest-vn-06047978'], 'port_security_enabled': True, 'description': ''}} 2026-07-06 13:30:33,420 - DEBUG - Response for create_subnet : {'subnet': {'id': '06484ffa-5b5d-4246-bdad-fd7320c222db', 'name': '', 'tenant_id': '9bb63df85179440f8d637bb06ac801b9', 'network_id': 'a49947bf-dea4-4f08-ba59-6fc408f63ce7', 'ip_version': 4, 'cidr': '143.31.161.64/26', 'allocation_pools': [{'start': '143.31.161.66', 'end': '143.31.161.126'}], 'gateway_ip': '143.31.161.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.31.161.66', 'tags': [], 'project_id': '9bb63df85179440f8d637bb06ac801b9'}} 2026-07-06 13:30:33,435 - INFO - Created VN ctest-vn-06047978 2026-07-06 13:30:33,488 - DEBUG - VN ctest-vn-06047978 UUID is a49947bf-dea4-4f08-ba59-6fc408f63ce7 2026-07-06 13:30:33,810 - DEBUG - Response for create_network : {'network': {'id': '072d9021-c979-4ca4-8b01-307884f3aa2c', 'name': 'ctest-vn-28461984', 'tenant_id': '9bb63df85179440f8d637bb06ac801b9', 'project_id': '9bb63df85179440f8d637bb06ac801b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67905295', 'ctest-vn-28461984'], 'port_security_enabled': True, 'description': ''}} 2026-07-06 13:30:33,961 - DEBUG - Response for create_subnet : {'subnet': {'id': '0125a733-a4ee-4a77-ac6e-3a158ff041eb', 'name': '', 'tenant_id': '9bb63df85179440f8d637bb06ac801b9', 'network_id': '072d9021-c979-4ca4-8b01-307884f3aa2c', 'ip_version': 4, 'cidr': '15.71.113.128/26', 'allocation_pools': [{'start': '15.71.113.130', 'end': '15.71.113.190'}], 'gateway_ip': '15.71.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.71.113.130', 'tags': [], 'project_id': '9bb63df85179440f8d637bb06ac801b9'}} 2026-07-06 13:30:33,978 - INFO - Created VN ctest-vn-28461984 2026-07-06 13:30:34,032 - DEBUG - VN ctest-vn-28461984 UUID is 072d9021-c979-4ca4-8b01-307884f3aa2c 2026-07-06 13:30:34,144 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-06047978, 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-67905295:ctest-vn-28461984, 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] 2026-07-06 13:30:34,446 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a49947bf-dea4-4f08-ba59-6fc408f63ce7', 'name': 'ctest-vn-06047978', 'tenant_id': '9bb63df85179440f8d637bb06ac801b9', 'project_id': '9bb63df85179440f8d637bb06ac801b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['06484ffa-5b5d-4246-bdad-fd7320c222db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67905295', 'ctest-vn-06047978'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67905295', 'ctest-policy-allow-all-85766550']], 'subnet_ipam': [{'subnet_cidr': '143.31.161.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-06 13:30:34,684 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '072d9021-c979-4ca4-8b01-307884f3aa2c', 'name': 'ctest-vn-28461984', 'tenant_id': '9bb63df85179440f8d637bb06ac801b9', 'project_id': '9bb63df85179440f8d637bb06ac801b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0125a733-a4ee-4a77-ac6e-3a158ff041eb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67905295', 'ctest-vn-28461984'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67905295', 'ctest-policy-allow-all-85766550']], 'subnet_ipam': [{'subnet_cidr': '15.71.113.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-06 13:30:34,844 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-06 13:30:35,160 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-06 13:30:35,184 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d8d4255-cc78-4c65-9a13-6ace5be261cc 2026-07-06 13:30:35,196 - DEBUG - Requesting: http://10.0.0.242:8082/project/9bb63df8-5179-440f-8d63-7bb06ac801b9 2026-07-06 13:30:35,265 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a49947bf-dea4-4f08-ba59-6fc408f63ce7 2026-07-06 13:30:35,275 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a49947bf-dea4-4f08-ba59-6fc408f63ce7 2026-07-06 13:30:35,283 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/02083e2e-aed9-488c-bc83-90bf5faf2b32 2026-07-06 13:30:35,289 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/02083e2e-aed9-488c-bc83-90bf5faf2b32 2026-07-06 13:30:35,294 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/c5a5c9b2-efaa-417c-adb0-f9d668dca056 2026-07-06 13:30:35,300 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-06 13:30:35,300 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a49947bf-dea4-4f08-ba59-6fc408f63ce7 2026-07-06 13:30:35,307 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/02083e2e-aed9-488c-bc83-90bf5faf2b32 2026-07-06 13:30:35,319 - INFO - Verified VN network id 9 for VN a49947bf-dea4-4f08-ba59-6fc408f63ce7 2026-07-06 13:30:35,319 - INFO - Verifications in API Server for VN ctest-vn-06047978 passed 2026-07-06 13:30:35,320 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a49947bf-dea4-4f08-ba59-6fc408f63ce7 2026-07-06 13:30:35,327 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/02083e2e-aed9-488c-bc83-90bf5faf2b32 2026-07-06 13:30:35,333 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/02083e2e-aed9-488c-bc83-90bf5faf2b32 2026-07-06 13:30:35,339 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/c5a5c9b2-efaa-417c-adb0-f9d668dca056 2026-07-06 13:30:35,348 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-06047978', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67905295', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11860589983056547592', 'uuid-lslong': '13427886651736472807'}, 'enable': 'true', 'created': '2026-07-06T13:30:33', 'last-modified': '2026-07-06T13:30:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925978'} 2026-07-06 13:30:35,353 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-06 13:30:35,354 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06047978 passed 2026-07-06 13:30:35,354 - DEBUG - ====Verifying policy data for ctest-vn-06047978 in API_Server ====== 2026-07-06 13:30:35,354 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-06 13:30:35,359 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d8d4255-cc78-4c65-9a13-6ace5be261cc 2026-07-06 13:30:35,374 - DEBUG - Requesting: http://10.0.0.242:8082/project/9bb63df8-5179-440f-8d63-7bb06ac801b9 2026-07-06 13:30:35,451 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a49947bf-dea4-4f08-ba59-6fc408f63ce7 2026-07-06 13:30:35,460 - DEBUG - ==>Verifying data for policy with id: 4a351ef4-29da-4078-8347-2813e061d02b, fqn: ['default-domain', 'ctest-TestBasicPolicy-67905295', 'ctest-policy-allow-all-85766550'] 2026-07-06 13:30:35,460 - INFO - VN ctest-vn-06047978 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-06 13:30:35,460 - DEBUG - Verifying the vn in opserver 2026-07-06 13:30:35,460 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-06047978 virtual network link through opserver 10.0.0.242 2026-07-06 13:30:35,460 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-07-06 13:30:35,779 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-07-06 13:30:35,825 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-06047978', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-06047978?flat'} 2026-07-06 13:30:35,825 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-06047978 is found in opserver 2026-07-06 13:30:35,834 - DEBUG - Do not have enough data to verify VN in agent 2026-07-06 13:30:35,838 - DEBUG - VRF ids for VN ctest-vn-06047978: {} 2026-07-06 13:30:35,838 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-06 13:30:35,843 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d8d4255-cc78-4c65-9a13-6ace5be261cc 2026-07-06 13:30:35,852 - DEBUG - Requesting: http://10.0.0.242:8082/project/9bb63df8-5179-440f-8d63-7bb06ac801b9 2026-07-06 13:30:35,919 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/072d9021-c979-4ca4-8b01-307884f3aa2c 2026-07-06 13:30:35,929 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/072d9021-c979-4ca4-8b01-307884f3aa2c 2026-07-06 13:30:35,937 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/89dceffc-74ff-4025-b003-8c3727ce4c4b 2026-07-06 13:30:35,943 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/89dceffc-74ff-4025-b003-8c3727ce4c4b 2026-07-06 13:30:35,948 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/08e858eb-ad02-4a1e-a5bf-35d9900797e8 2026-07-06 13:30:35,953 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-06 13:30:35,953 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/072d9021-c979-4ca4-8b01-307884f3aa2c 2026-07-06 13:30:35,961 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/89dceffc-74ff-4025-b003-8c3727ce4c4b 2026-07-06 13:30:35,973 - INFO - Verified VN network id 10 for VN 072d9021-c979-4ca4-8b01-307884f3aa2c 2026-07-06 13:30:35,973 - INFO - Verifications in API Server for VN ctest-vn-28461984 passed 2026-07-06 13:30:35,973 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/072d9021-c979-4ca4-8b01-307884f3aa2c 2026-07-06 13:30:35,981 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/89dceffc-74ff-4025-b003-8c3727ce4c4b 2026-07-06 13:30:35,987 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/89dceffc-74ff-4025-b003-8c3727ce4c4b 2026-07-06 13:30:35,993 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/08e858eb-ad02-4a1e-a5bf-35d9900797e8 2026-07-06 13:30:36,003 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-28461984', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67905295', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '517228007005965476', 'uuid-lslong': '10016340340433463852'}, 'enable': 'true', 'created': '2026-07-06T13:30:33', 'last-modified': '2026-07-06T13:30:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.361901'} 2026-07-06 13:30:36,008 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-06 13:30:36,008 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28461984 passed 2026-07-06 13:30:36,009 - DEBUG - ====Verifying policy data for ctest-vn-28461984 in API_Server ====== 2026-07-06 13:30:36,009 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-06 13:30:36,014 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d8d4255-cc78-4c65-9a13-6ace5be261cc 2026-07-06 13:30:36,023 - DEBUG - Requesting: http://10.0.0.242:8082/project/9bb63df8-5179-440f-8d63-7bb06ac801b9 2026-07-06 13:30:36,093 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/072d9021-c979-4ca4-8b01-307884f3aa2c 2026-07-06 13:30:36,101 - DEBUG - ==>Verifying data for policy with id: 4a351ef4-29da-4078-8347-2813e061d02b, fqn: ['default-domain', 'ctest-TestBasicPolicy-67905295', 'ctest-policy-allow-all-85766550'] 2026-07-06 13:30:36,101 - INFO - VN ctest-vn-28461984 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-06 13:30:36,101 - DEBUG - Verifying the vn in opserver 2026-07-06 13:30:36,102 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-28461984 virtual network link through opserver 10.0.0.242 2026-07-06 13:30:36,102 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-07-06 13:30:36,110 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-28461984', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-28461984?flat'} 2026-07-06 13:30:36,110 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-28461984 is found in opserver 2026-07-06 13:30:36,118 - DEBUG - Do not have enough data to verify VN in agent 2026-07-06 13:30:36,122 - DEBUG - VRF ids for VN ctest-vn-28461984: {} 2026-07-06 13:30:36,179 - DEBUG - Services list from nova: [, , ] 2026-07-06 13:30:36,501 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6082-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6082-1) 2026-07-06 13:30:36,876 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6082-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6082-1) 2026-07-06 13:30:36,876 - INFO - Waiting for VM ctest-TestBasicPolicy-67905295-68509604 to be up.. 2026-07-06 13:30:36,912 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-06 13:30:41,986 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-06 13:30:47,061 - DEBUG - VM is in ACTIVE state now 2026-07-06 13:30:47,062 - INFO - VM name : ctest-TestBasicPolicy-67905295-68509604 2026-07-06 13:30:47,130 - DEBUG - VM ctest-TestBasicPolicy-67905295-68509604 ID is 9fb211a3-8f3d-48ea-9d1e-2602eb450a4a 2026-07-06 13:30:47,158 - DEBUG - VM ctest-TestBasicPolicy-67905295-68509604 launched on Node cn-jenkins-deploy-platform-ansible-os-6082-1 2026-07-06 13:30:47,233 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9fb211a3-8f3d-48ea-9d1e-2602eb450a4a 2026-07-06 13:30:47,243 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/62b70cce-ef3a-434d-99a2-4db23886624e 2026-07-06 13:30:50,506 - 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') 2026-07-06 13:30:50,506 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67905295-68509604 failed! 2026-07-06 13:30:50,568 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67905295:ctest-vn-06047978 is 143.31.161.65 and allocation pool is NOT set 2026-07-06 13:30:54,654 - 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=2 ttl=63 time=6.55 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 6.546/6.546/6.546/0.000 ms') 2026-07-06 13:30:54,654 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67905295-68509604 passed 2026-07-06 13:30:54,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 13:30:54,804 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67905295-68509604, IP 143.31.161.67, Port 22 2026-07-06 13:30:54,970 - DEBUG - VM ctest-TestBasicPolicy-67905295-68509604 is ready for SSH connections 2026-07-06 13:30:54,970 - INFO - Waiting for VM ctest-TestBasicPolicy-67905295-65682690 to be up.. 2026-07-06 13:30:55,062 - DEBUG - VM is in ACTIVE state now 2026-07-06 13:30:55,062 - INFO - VM name : ctest-TestBasicPolicy-67905295-65682690 2026-07-06 13:30:55,131 - DEBUG - VM ctest-TestBasicPolicy-67905295-65682690 ID is e59f1903-48cf-44a6-a7cd-a6deee89dc5a 2026-07-06 13:30:55,131 - DEBUG - VM ctest-TestBasicPolicy-67905295-65682690 launched on Node cn-jenkins-deploy-platform-ansible-os-6082-1 2026-07-06 13:30:55,210 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/e59f1903-48cf-44a6-a7cd-a6deee89dc5a 2026-07-06 13:30:55,218 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/533ebdd5-3eb8-4012-b9a6-2e15b5e5216f 2026-07-06 13:30:56,458 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.895 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.895/2.987/5.080/2.092 ms') 2026-07-06 13:30:56,458 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67905295-65682690 passed 2026-07-06 13:30:56,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 13:30:56,604 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67905295-65682690, IP 15.71.113.131, Port 22 2026-07-06 13:30:56,763 - DEBUG - VM ctest-TestBasicPolicy-67905295-65682690 is ready for SSH connections 2026-07-06 13:30:56,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 13:30:56,763 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.71.113.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-07-06 13:30:56,764 - DEBUG - ping -s 56 -c 3 -W 1 15.71.113.131 2026-07-06 13:31:00,754 - DEBUG - PING 15.71.113.131 (15.71.113.131): 56 data bytes 64 bytes from 15.71.113.131: seq=0 ttl=63 time=5.066 ms 64 bytes from 15.71.113.131: seq=1 ttl=63 time=0.909 ms 64 bytes from 15.71.113.131: seq=2 ttl=63 time=0.909 ms --- 15.71.113.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.909/2.294/5.066 ms 2026-07-06 13:31:00,754 - INFO - Ping to IP 15.71.113.131 from VM ctest-TestBasicPolicy-67905295-68509604 passed 2026-07-06 13:31:00,932 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4a351ef4-29da-4078-8347-2813e061d02b", "href": "http://10.0.0.242:8082/network-policy/4a351ef4-29da-4078-8347-2813e061d02b"}} 2026-07-06 13:31:00,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 13:31:00,932 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.71.113.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-07-06 13:31:00,932 - DEBUG - ping -s 56 -c 3 -W 1 15.71.113.131 2026-07-06 13:31:04,060 - DEBUG - PING 15.71.113.131 (15.71.113.131): 56 data bytes --- 15.71.113.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-07-06 13:31:04,060 - WARNING - Ping to IP 15.71.113.131 from VM ctest-TestBasicPolicy-67905295-68509604 failed 2026-07-06 13:31:04,060 - INFO - Deleting VM ctest-TestBasicPolicy-67905295-65682690 2026-07-06 13:31:04,149 - INFO - Deleting VM ctest-TestBasicPolicy-67905295-68509604 2026-07-06 13:31:04,495 - INFO - Deleted policy ctest-policy-allow-all-85766550 2026-07-06 13:31:04,496 - INFO - Deleting VN ctest-vn-28461984 2026-07-06 13:31:04,528 - DEBUG - VN 072d9021-c979-4ca4-8b01-307884f3aa2c still in use: Unable to complete operation on network 072d9021-c979-4ca4-8b01-307884f3aa2c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-24278a9a-b8b3-4a38-ab9e-bfd4f5045fc0'] 2026-07-06 13:31:04,528 - WARNING - Deleting VN ctest-vn-28461984 failed..Will retry 2026-07-06 13:31:06,662 - DEBUG - Response for deleting network () 2026-07-06 13:31:06,662 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/89dceffc-74ff-4025-b003-8c3727ce4c4b 2026-07-06 13:31:06,670 - DEBUG - Response Code: 404 2026-07-06 13:31:06,671 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-06 13:31:06,676 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d8d4255-cc78-4c65-9a13-6ace5be261cc 2026-07-06 13:31:06,733 - DEBUG - Requesting: http://10.0.0.242:8082/project/9bb63df8-5179-440f-8d63-7bb06ac801b9 2026-07-06 13:31:06,805 - INFO - Validated that VN ctest-vn-28461984 is not found in API Server 2026-07-06 13:31:06,815 - DEBUG - VN ctest-vn-28461984 is not present in Agent 10.0.0.242 2026-07-06 13:31:06,815 - INFO - Validated that VN ctest-vn-28461984 is not in any agent 2026-07-06 13:31:06,833 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28461984 info 2026-07-06 13:31:06,833 - INFO - Deleting VN ctest-vn-06047978 2026-07-06 13:31:06,950 - DEBUG - Response for deleting network () 2026-07-06 13:31:06,950 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/02083e2e-aed9-488c-bc83-90bf5faf2b32 2026-07-06 13:31:06,956 - DEBUG - Response Code: 404 2026-07-06 13:31:06,956 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-06 13:31:06,961 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d8d4255-cc78-4c65-9a13-6ace5be261cc 2026-07-06 13:31:07,012 - DEBUG - Requesting: http://10.0.0.242:8082/project/9bb63df8-5179-440f-8d63-7bb06ac801b9 2026-07-06 13:31:07,090 - INFO - Validated that VN ctest-vn-06047978 is not found in API Server 2026-07-06 13:31:07,098 - DEBUG - VN ctest-vn-06047978 is not present in Agent 10.0.0.242 2026-07-06 13:31:07,098 - INFO - Validated that VN ctest-vn-06047978 is not in any agent 2026-07-06 13:31:07,110 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06047978 info 2026-07-06 13:31:07,365 - DEBUG - No XMPP flaps were noticed during the test
2026-07-06 13:31:07,365 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-07-06 13:31:07,365 - INFO - -------------------------------------------------------------------------------- 2026-07-06 13:31:08,062 - INFO - Deleted project: ctest-TestBasicPolicy-67905295, ID : 9bb63df8-5179-440f-8d63-7bb06ac801b9