2026-03-30 13:02:27,303 - INFO - Domain Default found not creating 2026-03-30 13:02:27,509 - INFO - Project ctest-TestBasicPolicy-81706246 not found, creating it 2026-03-30 13:02:27,988 - INFO - Created Project:ctest-TestBasicPolicy-81706246, ID : de4bab67-add6-4900-b85c-f7e351ff2574 2026-03-30 13:02:29,582 - INFO - ================================================================================ 2026-03-30 13:02:29,582 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-30 13:02:29,582 - 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-03-30 13:02:29,836 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-03-30 13:02:29,836 - INFO - Initial checks done. Running the testcase now 2026-03-30 13:02:29,836 - INFO - 2026-03-30 13:02:30,396 - DEBUG - Response for create_network : {'network': {'id': '3b80df23-1c3c-4fa5-9a8f-295ec5ffdaa7', 'name': 'ctest-vn-71692823', 'tenant_id': 'de4bab67add64900b85cf7e351ff2574', 'project_id': 'de4bab67add64900b85cf7e351ff2574', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81706246', 'ctest-vn-71692823'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 13:02:30,609 - DEBUG - Response for create_subnet : {'subnet': {'id': '21453af7-bd47-447b-a03b-3b3079eff508', 'name': '', 'tenant_id': 'de4bab67add64900b85cf7e351ff2574', 'network_id': '3b80df23-1c3c-4fa5-9a8f-295ec5ffdaa7', 'ip_version': 4, 'cidr': '47.52.186.64/26', 'allocation_pools': [{'start': '47.52.186.66', 'end': '47.52.186.126'}], 'gateway_ip': '47.52.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.52.186.66', 'tags': [], 'project_id': 'de4bab67add64900b85cf7e351ff2574'}} 2026-03-30 13:02:30,628 - INFO - Created VN ctest-vn-71692823 2026-03-30 13:02:30,679 - DEBUG - VN ctest-vn-71692823 UUID is 3b80df23-1c3c-4fa5-9a8f-295ec5ffdaa7 2026-03-30 13:02:30,974 - DEBUG - Response for create_network : {'network': {'id': 'f1fb2394-9022-460e-85f2-b77d682cdfba', 'name': 'ctest-vn-75351069', 'tenant_id': 'de4bab67add64900b85cf7e351ff2574', 'project_id': 'de4bab67add64900b85cf7e351ff2574', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81706246', 'ctest-vn-75351069'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 13:02:31,200 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0cef72e-2b04-416b-bda3-c0fe4c75c8e9', 'name': '', 'tenant_id': 'de4bab67add64900b85cf7e351ff2574', 'network_id': 'f1fb2394-9022-460e-85f2-b77d682cdfba', 'ip_version': 4, 'cidr': '160.72.183.192/26', 'allocation_pools': [{'start': '160.72.183.194', 'end': '160.72.183.254'}], 'gateway_ip': '160.72.183.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.72.183.194', 'tags': [], 'project_id': 'de4bab67add64900b85cf7e351ff2574'}} 2026-03-30 13:02:31,220 - INFO - Created VN ctest-vn-75351069 2026-03-30 13:02:31,275 - DEBUG - VN ctest-vn-75351069 UUID is f1fb2394-9022-460e-85f2-b77d682cdfba 2026-03-30 13:02:31,395 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81706246:ctest-vn-71692823, 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-81706246:ctest-vn-75351069, 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-03-30 13:02:31,703 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3b80df23-1c3c-4fa5-9a8f-295ec5ffdaa7', 'name': 'ctest-vn-71692823', 'tenant_id': 'de4bab67add64900b85cf7e351ff2574', 'project_id': 'de4bab67add64900b85cf7e351ff2574', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['21453af7-bd47-447b-a03b-3b3079eff508'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81706246', 'ctest-vn-71692823'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81706246', 'ctest-policy-allow-all-55999018']], 'subnet_ipam': [{'subnet_cidr': '47.52.186.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-30 13:02:31,932 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f1fb2394-9022-460e-85f2-b77d682cdfba', 'name': 'ctest-vn-75351069', 'tenant_id': 'de4bab67add64900b85cf7e351ff2574', 'project_id': 'de4bab67add64900b85cf7e351ff2574', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0cef72e-2b04-416b-bda3-c0fe4c75c8e9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81706246', 'ctest-vn-75351069'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81706246', 'ctest-policy-allow-all-55999018']], 'subnet_ipam': [{'subnet_cidr': '160.72.183.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-30 13:02:32,083 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-30 13:02:32,388 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-30 13:02:32,422 - DEBUG - Requesting: http://10.0.0.242:8082/domain/94b85dcd-cd06-48b3-9922-1dd10cfce00f 2026-03-30 13:02:32,435 - DEBUG - Requesting: http://10.0.0.242:8082/project/de4bab67-add6-4900-b85c-f7e351ff2574 2026-03-30 13:02:32,510 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3b80df23-1c3c-4fa5-9a8f-295ec5ffdaa7 2026-03-30 13:02:32,521 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3b80df23-1c3c-4fa5-9a8f-295ec5ffdaa7 2026-03-30 13:02:32,532 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c4b826d0-f1c3-41f3-a3c2-60b0710636e8 2026-03-30 13:02:32,540 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c4b826d0-f1c3-41f3-a3c2-60b0710636e8 2026-03-30 13:02:32,548 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/419088f7-76ce-45ff-8324-f0b2559c65e1 2026-03-30 13:02:32,555 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-30 13:02:32,556 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3b80df23-1c3c-4fa5-9a8f-295ec5ffdaa7 2026-03-30 13:02:32,565 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c4b826d0-f1c3-41f3-a3c2-60b0710636e8 2026-03-30 13:02:32,581 - INFO - Verified VN network id 11 for VN 3b80df23-1c3c-4fa5-9a8f-295ec5ffdaa7 2026-03-30 13:02:32,581 - INFO - Verifications in API Server for VN ctest-vn-71692823 passed 2026-03-30 13:02:32,581 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3b80df23-1c3c-4fa5-9a8f-295ec5ffdaa7 2026-03-30 13:02:32,592 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c4b826d0-f1c3-41f3-a3c2-60b0710636e8 2026-03-30 13:02:32,601 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c4b826d0-f1c3-41f3-a3c2-60b0710636e8 2026-03-30 13:02:32,609 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/419088f7-76ce-45ff-8324-f0b2559c65e1 2026-03-30 13:02:32,623 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81706246:ctest-vn-71692823', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81706246', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4287672187147276197', 'uuid-lslong': '11137165890536069799'}, 'enable': 'true', 'created': '2026-03-30T13:02:30', 'last-modified': '2026-03-30T13:02:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.939553'} 2026-03-30 13:02:32,629 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-30 13:02:32,629 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71692823 passed 2026-03-30 13:02:32,629 - DEBUG - ====Verifying policy data for ctest-vn-71692823 in API_Server ====== 2026-03-30 13:02:32,629 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-30 13:02:32,635 - DEBUG - Requesting: http://10.0.0.242:8082/domain/94b85dcd-cd06-48b3-9922-1dd10cfce00f 2026-03-30 13:02:32,645 - DEBUG - Requesting: http://10.0.0.242:8082/project/de4bab67-add6-4900-b85c-f7e351ff2574 2026-03-30 13:02:32,714 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3b80df23-1c3c-4fa5-9a8f-295ec5ffdaa7 2026-03-30 13:02:32,723 - DEBUG - ==>Verifying data for policy with id: 38797b1b-0225-40e5-b002-8a2baf2ff58b, fqn: ['default-domain', 'ctest-TestBasicPolicy-81706246', 'ctest-policy-allow-all-55999018'] 2026-03-30 13:02:32,723 - INFO - VN ctest-vn-71692823 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-30 13:02:32,723 - DEBUG - Verifying the vn in opserver 2026-03-30 13:02:32,723 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81706246:ctest-vn-71692823 virtual network link through opserver 10.0.0.242 2026-03-30 13:02:32,724 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-30 13:02:33,019 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-30 13:02:33,082 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81706246:ctest-vn-71692823', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81706246:ctest-vn-71692823?flat'} 2026-03-30 13:02:33,082 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81706246:ctest-vn-71692823 is found in opserver 2026-03-30 13:02:33,093 - DEBUG - Do not have enough data to verify VN in agent 2026-03-30 13:02:33,098 - DEBUG - VRF ids for VN ctest-vn-71692823: {} 2026-03-30 13:02:33,098 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-30 13:02:33,105 - DEBUG - Requesting: http://10.0.0.242:8082/domain/94b85dcd-cd06-48b3-9922-1dd10cfce00f 2026-03-30 13:02:33,118 - DEBUG - Requesting: http://10.0.0.242:8082/project/de4bab67-add6-4900-b85c-f7e351ff2574 2026-03-30 13:02:33,198 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f1fb2394-9022-460e-85f2-b77d682cdfba 2026-03-30 13:02:33,213 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f1fb2394-9022-460e-85f2-b77d682cdfba 2026-03-30 13:02:33,223 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2721ce34-d541-48a0-badc-142dbaaf8e7c 2026-03-30 13:02:33,231 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2721ce34-d541-48a0-badc-142dbaaf8e7c 2026-03-30 13:02:33,239 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/5a9a140b-231f-4615-8bc6-e8ab7524980d 2026-03-30 13:02:33,247 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-30 13:02:33,247 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f1fb2394-9022-460e-85f2-b77d682cdfba 2026-03-30 13:02:33,257 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2721ce34-d541-48a0-badc-142dbaaf8e7c 2026-03-30 13:02:33,271 - INFO - Verified VN network id 12 for VN f1fb2394-9022-460e-85f2-b77d682cdfba 2026-03-30 13:02:33,271 - INFO - Verifications in API Server for VN ctest-vn-75351069 passed 2026-03-30 13:02:33,271 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f1fb2394-9022-460e-85f2-b77d682cdfba 2026-03-30 13:02:33,281 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2721ce34-d541-48a0-badc-142dbaaf8e7c 2026-03-30 13:02:33,289 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2721ce34-d541-48a0-badc-142dbaaf8e7c 2026-03-30 13:02:33,297 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/5a9a140b-231f-4615-8bc6-e8ab7524980d 2026-03-30 13:02:33,315 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81706246:ctest-vn-75351069', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81706246', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17436569503275304462', 'uuid-lslong': '9651978700654960570'}, 'enable': 'true', 'created': '2026-03-30T13:02:30', 'last-modified': '2026-03-30T13:02:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.405835'} 2026-03-30 13:02:33,321 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-30 13:02:33,321 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75351069 passed 2026-03-30 13:02:33,321 - DEBUG - ====Verifying policy data for ctest-vn-75351069 in API_Server ====== 2026-03-30 13:02:33,321 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-30 13:02:33,327 - DEBUG - Requesting: http://10.0.0.242:8082/domain/94b85dcd-cd06-48b3-9922-1dd10cfce00f 2026-03-30 13:02:33,340 - DEBUG - Requesting: http://10.0.0.242:8082/project/de4bab67-add6-4900-b85c-f7e351ff2574 2026-03-30 13:02:33,413 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f1fb2394-9022-460e-85f2-b77d682cdfba 2026-03-30 13:02:33,424 - DEBUG - ==>Verifying data for policy with id: 38797b1b-0225-40e5-b002-8a2baf2ff58b, fqn: ['default-domain', 'ctest-TestBasicPolicy-81706246', 'ctest-policy-allow-all-55999018'] 2026-03-30 13:02:33,424 - INFO - VN ctest-vn-75351069 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-30 13:02:33,424 - DEBUG - Verifying the vn in opserver 2026-03-30 13:02:33,424 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81706246:ctest-vn-75351069 virtual network link through opserver 10.0.0.242 2026-03-30 13:02:33,424 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-30 13:02:33,435 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81706246:ctest-vn-75351069', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81706246:ctest-vn-75351069?flat'} 2026-03-30 13:02:33,435 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81706246:ctest-vn-75351069 is found in opserver 2026-03-30 13:02:33,445 - DEBUG - Do not have enough data to verify VN in agent 2026-03-30 13:02:33,450 - DEBUG - VRF ids for VN ctest-vn-75351069: {} 2026-03-30 13:02:33,512 - DEBUG - Services list from nova: [, , ] 2026-03-30 13:02:34,558 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5565-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5565-1) 2026-03-30 13:02:35,742 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5565-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5565-1) 2026-03-30 13:02:35,742 - INFO - Waiting for VM ctest-TestBasicPolicy-81706246-64081139 to be up.. 2026-03-30 13:02:35,841 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-30 13:02:40,947 - DEBUG - VM is in ACTIVE state now 2026-03-30 13:02:40,947 - INFO - VM name : ctest-TestBasicPolicy-81706246-64081139 2026-03-30 13:02:41,027 - DEBUG - VM ctest-TestBasicPolicy-81706246-64081139 ID is 71c12c11-c87c-44cb-ae37-5daf7d589f4b 2026-03-30 13:02:41,049 - DEBUG - VM ctest-TestBasicPolicy-81706246-64081139 launched on Node cn-jenkins-deploy-platform-ansible-os-5565-1 2026-03-30 13:02:41,130 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/71c12c11-c87c-44cb-ae37-5daf7d589f4b 2026-03-30 13:02:41,139 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/6747f7bd-ea58-4ecb-9333-62f1957ee7c7 2026-03-30 13:02:44,399 - 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 1022ms') 2026-03-30 13:02:44,400 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81706246-64081139 failed! 2026-03-30 13:02:44,456 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-81706246:ctest-vn-71692823 is 47.52.186.65 and allocation pool is NOT set 2026-03-30 13:02:46,520 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.618 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.618/4.876/9.134/4.258 ms') 2026-03-30 13:02:46,520 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81706246-64081139 passed 2026-03-30 13:02:46,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 13:02:46,667 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81706246-64081139, IP 47.52.186.67, Port 22 2026-03-30 13:02:46,834 - DEBUG - VM ctest-TestBasicPolicy-81706246-64081139 is ready for SSH connections 2026-03-30 13:02:46,834 - INFO - Waiting for VM ctest-TestBasicPolicy-81706246-17654006 to be up.. 2026-03-30 13:02:46,911 - DEBUG - VM is in ACTIVE state now 2026-03-30 13:02:46,911 - INFO - VM name : ctest-TestBasicPolicy-81706246-17654006 2026-03-30 13:02:46,989 - DEBUG - VM ctest-TestBasicPolicy-81706246-17654006 ID is 2d56c179-df1e-4d18-81f3-c6e5ff4a345a 2026-03-30 13:02:46,989 - DEBUG - VM ctest-TestBasicPolicy-81706246-17654006 launched on Node cn-jenkins-deploy-platform-ansible-os-5565-1 2026-03-30 13:02:47,064 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/2d56c179-df1e-4d18-81f3-c6e5ff4a345a 2026-03-30 13:02:47,073 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/ff60982b-cbcb-4440-b0b2-4fa38d322b03 2026-03-30 13:02:48,318 - 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=6.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.97 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.965/4.060/6.155/2.095 ms') 2026-03-30 13:02:48,318 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-81706246-17654006 passed 2026-03-30 13:02:48,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 13:02:48,476 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81706246-17654006, IP 160.72.183.195, Port 22 2026-03-30 13:02:48,545 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-30 13:02:48,630 - DEBUG - VM ctest-TestBasicPolicy-81706246-17654006 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-30 13:02:53,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 13:02:53,631 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81706246-17654006, IP 160.72.183.195, Port 22 2026-03-30 13:02:53,787 - DEBUG - VM ctest-TestBasicPolicy-81706246-17654006 is ready for SSH connections 2026-03-30 13:02:53,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 13:02:53,787 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.72.183.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-03-30 13:02:53,787 - DEBUG - ping -s 56 -c 3 -W 1 160.72.183.195 2026-03-30 13:02:58,015 - DEBUG - PING 160.72.183.195 (160.72.183.195): 56 data bytes 64 bytes from 160.72.183.195: seq=0 ttl=63 time=4.892 ms 64 bytes from 160.72.183.195: seq=1 ttl=63 time=0.841 ms 64 bytes from 160.72.183.195: seq=2 ttl=63 time=1.078 ms --- 160.72.183.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.841/2.270/4.892 ms 2026-03-30 13:02:58,015 - INFO - Ping to IP 160.72.183.195 from VM ctest-TestBasicPolicy-81706246-64081139 passed 2026-03-30 13:02:58,191 - DEBUG - Policy Update Response {"network-policy": {"uuid": "38797b1b-0225-40e5-b002-8a2baf2ff58b", "href": "http://10.0.0.242:8082/network-policy/38797b1b-0225-40e5-b002-8a2baf2ff58b"}} 2026-03-30 13:02:58,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 13:02:58,191 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.72.183.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-03-30 13:02:58,191 - DEBUG - ping -s 56 -c 3 -W 1 160.72.183.195 2026-03-30 13:03:01,448 - DEBUG - PING 160.72.183.195 (160.72.183.195): 56 data bytes --- 160.72.183.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-30 13:03:01,448 - WARNING - Ping to IP 160.72.183.195 from VM ctest-TestBasicPolicy-81706246-64081139 failed 2026-03-30 13:03:01,449 - INFO - Deleting VM ctest-TestBasicPolicy-81706246-17654006 2026-03-30 13:03:01,546 - INFO - Deleting VM ctest-TestBasicPolicy-81706246-64081139 2026-03-30 13:03:02,124 - INFO - Deleted policy ctest-policy-allow-all-55999018 2026-03-30 13:03:02,124 - INFO - Deleting VN ctest-vn-75351069 2026-03-30 13:03:02,181 - DEBUG - VN f1fb2394-9022-460e-85f2-b77d682cdfba still in use: Unable to complete operation on network f1fb2394-9022-460e-85f2-b77d682cdfba. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-55bc0431-40c1-495c-8636-4fdace19fba3'] 2026-03-30 13:03:02,182 - WARNING - Deleting VN ctest-vn-75351069 failed..Will retry 2026-03-30 13:03:04,299 - DEBUG - Response for deleting network () 2026-03-30 13:03:04,299 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2721ce34-d541-48a0-badc-142dbaaf8e7c 2026-03-30 13:03:04,307 - DEBUG - Response Code: 404 2026-03-30 13:03:04,307 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-30 13:03:04,313 - DEBUG - Requesting: http://10.0.0.242:8082/domain/94b85dcd-cd06-48b3-9922-1dd10cfce00f 2026-03-30 13:03:04,372 - DEBUG - Requesting: http://10.0.0.242:8082/project/de4bab67-add6-4900-b85c-f7e351ff2574 2026-03-30 13:03:04,446 - INFO - Validated that VN ctest-vn-75351069 is not found in API Server 2026-03-30 13:03:04,458 - DEBUG - VN ctest-vn-75351069 is not present in Agent 10.0.0.242 2026-03-30 13:03:04,458 - INFO - Validated that VN ctest-vn-75351069 is not in any agent 2026-03-30 13:03:04,476 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75351069 info 2026-03-30 13:03:04,476 - INFO - Deleting VN ctest-vn-71692823 2026-03-30 13:03:04,583 - DEBUG - Response for deleting network () 2026-03-30 13:03:04,583 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c4b826d0-f1c3-41f3-a3c2-60b0710636e8 2026-03-30 13:03:04,589 - DEBUG - Response Code: 404 2026-03-30 13:03:04,589 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-30 13:03:04,596 - DEBUG - Requesting: http://10.0.0.242:8082/domain/94b85dcd-cd06-48b3-9922-1dd10cfce00f 2026-03-30 13:03:04,653 - DEBUG - Requesting: http://10.0.0.242:8082/project/de4bab67-add6-4900-b85c-f7e351ff2574 2026-03-30 13:03:04,732 - INFO - Validated that VN ctest-vn-71692823 is not found in API Server 2026-03-30 13:03:04,742 - DEBUG - VN ctest-vn-71692823 is not present in Agent 10.0.0.242 2026-03-30 13:03:04,742 - INFO - Validated that VN ctest-vn-71692823 is not in any agent 2026-03-30 13:03:04,759 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71692823 info 2026-03-30 13:03:05,013 - DEBUG - No XMPP flaps were noticed during the test
2026-03-30 13:03:05,013 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-03-30 13:03:05,013 - INFO - -------------------------------------------------------------------------------- 2026-03-30 13:03:06,331 - INFO - Deleted project: ctest-TestBasicPolicy-81706246, ID : de4bab67-add6-4900-b85c-f7e351ff2574