2026-03-05 19:44:08,806 - INFO - Domain Default found not creating 2026-03-05 19:44:08,974 - INFO - Project ctest-TestBasicPolicy-40917730 not found, creating it 2026-03-05 19:44:09,424 - INFO - Created Project:ctest-TestBasicPolicy-40917730, ID : 2a3c0939-391e-446d-9427-816577514498 2026-03-05 19:44:11,036 - INFO - ================================================================================ 2026-03-05 19:44:11,036 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-05 19:44:11,036 - 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-05 19:44:11,289 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2026-03-05 19:44:11,289 - INFO - Initial checks done. Running the testcase now 2026-03-05 19:44:11,289 - INFO - 2026-03-05 19:44:11,859 - DEBUG - Response for create_network : {'network': {'id': '035885ea-7d29-49ce-ae9d-73a1407b30a4', 'name': 'ctest-vn-40929556', 'tenant_id': '2a3c0939391e446d9427816577514498', 'project_id': '2a3c0939391e446d9427816577514498', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40917730', 'ctest-vn-40929556'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 19:44:12,058 - DEBUG - Response for create_subnet : {'subnet': {'id': '1948f806-0f9b-40cc-99a7-68135d1fab71', 'name': '', 'tenant_id': '2a3c0939391e446d9427816577514498', 'network_id': '035885ea-7d29-49ce-ae9d-73a1407b30a4', 'ip_version': 4, 'cidr': '148.28.239.192/26', 'allocation_pools': [{'start': '148.28.239.194', 'end': '148.28.239.254'}], 'gateway_ip': '148.28.239.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.28.239.194', 'tags': [], 'project_id': '2a3c0939391e446d9427816577514498'}} 2026-03-05 19:44:12,076 - INFO - Created VN ctest-vn-40929556 2026-03-05 19:44:12,127 - DEBUG - VN ctest-vn-40929556 UUID is 035885ea-7d29-49ce-ae9d-73a1407b30a4 2026-03-05 19:44:12,444 - DEBUG - Response for create_network : {'network': {'id': 'd5f103e4-7084-4b80-97ab-8403d8aafac5', 'name': 'ctest-vn-85879052', 'tenant_id': '2a3c0939391e446d9427816577514498', 'project_id': '2a3c0939391e446d9427816577514498', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40917730', 'ctest-vn-85879052'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 19:44:12,640 - DEBUG - Response for create_subnet : {'subnet': {'id': '527b0b0b-946a-47e6-a24b-d64c8cd340e1', 'name': '', 'tenant_id': '2a3c0939391e446d9427816577514498', 'network_id': 'd5f103e4-7084-4b80-97ab-8403d8aafac5', 'ip_version': 4, 'cidr': '46.138.119.192/26', 'allocation_pools': [{'start': '46.138.119.194', 'end': '46.138.119.254'}], 'gateway_ip': '46.138.119.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.138.119.194', 'tags': [], 'project_id': '2a3c0939391e446d9427816577514498'}} 2026-03-05 19:44:12,657 - INFO - Created VN ctest-vn-85879052 2026-03-05 19:44:12,711 - DEBUG - VN ctest-vn-85879052 UUID is d5f103e4-7084-4b80-97ab-8403d8aafac5 2026-03-05 19:44:12,827 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40917730:ctest-vn-40929556, 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-40917730:ctest-vn-85879052, 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-05 19:44:13,112 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '035885ea-7d29-49ce-ae9d-73a1407b30a4', 'name': 'ctest-vn-40929556', 'tenant_id': '2a3c0939391e446d9427816577514498', 'project_id': '2a3c0939391e446d9427816577514498', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1948f806-0f9b-40cc-99a7-68135d1fab71'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40917730', 'ctest-vn-40929556'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40917730', 'ctest-policy-allow-all-33704444']], 'subnet_ipam': [{'subnet_cidr': '148.28.239.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-05 19:44:13,338 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd5f103e4-7084-4b80-97ab-8403d8aafac5', 'name': 'ctest-vn-85879052', 'tenant_id': '2a3c0939391e446d9427816577514498', 'project_id': '2a3c0939391e446d9427816577514498', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['527b0b0b-946a-47e6-a24b-d64c8cd340e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40917730', 'ctest-vn-85879052'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40917730', 'ctest-policy-allow-all-33704444']], 'subnet_ipam': [{'subnet_cidr': '46.138.119.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-05 19:44:13,483 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-05 19:44:13,804 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-05 19:44:13,836 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c0a9362f-d5c3-44ab-b0d0-a4a177b3e40d 2026-03-05 19:44:13,849 - DEBUG - Requesting: http://10.0.0.27:8082/project/2a3c0939-391e-446d-9427-816577514498 2026-03-05 19:44:13,926 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/035885ea-7d29-49ce-ae9d-73a1407b30a4 2026-03-05 19:44:13,947 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/035885ea-7d29-49ce-ae9d-73a1407b30a4 2026-03-05 19:44:13,956 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c1833a3a-f6cc-4c05-a2e6-a2e7d6036048 2026-03-05 19:44:13,963 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c1833a3a-f6cc-4c05-a2e6-a2e7d6036048 2026-03-05 19:44:13,970 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/af6f518d-2e7e-4703-801c-9185536ddc0b 2026-03-05 19:44:13,977 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 19:44:13,977 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/035885ea-7d29-49ce-ae9d-73a1407b30a4 2026-03-05 19:44:13,985 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c1833a3a-f6cc-4c05-a2e6-a2e7d6036048 2026-03-05 19:44:13,999 - INFO - Verified VN network id 10 for VN 035885ea-7d29-49ce-ae9d-73a1407b30a4 2026-03-05 19:44:14,000 - INFO - Verifications in API Server for VN ctest-vn-40929556 passed 2026-03-05 19:44:14,000 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/035885ea-7d29-49ce-ae9d-73a1407b30a4 2026-03-05 19:44:14,009 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c1833a3a-f6cc-4c05-a2e6-a2e7d6036048 2026-03-05 19:44:14,017 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c1833a3a-f6cc-4c05-a2e6-a2e7d6036048 2026-03-05 19:44:14,023 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/af6f518d-2e7e-4703-801c-9185536ddc0b 2026-03-05 19:44:14,036 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40917730:ctest-vn-40929556', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40917730', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '241089822233020878', 'uuid-lslong': '12582340070351777956'}, 'enable': 'true', 'created': '2026-03-05T19:44:11', 'last-modified': '2026-03-05T19:44:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.944980'} 2026-03-05 19:44:14,042 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 19:44:14,042 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40929556 passed 2026-03-05 19:44:14,042 - DEBUG - ====Verifying policy data for ctest-vn-40929556 in API_Server ====== 2026-03-05 19:44:14,042 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-05 19:44:14,048 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c0a9362f-d5c3-44ab-b0d0-a4a177b3e40d 2026-03-05 19:44:14,059 - DEBUG - Requesting: http://10.0.0.27:8082/project/2a3c0939-391e-446d-9427-816577514498 2026-03-05 19:44:14,131 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/035885ea-7d29-49ce-ae9d-73a1407b30a4 2026-03-05 19:44:14,141 - DEBUG - ==>Verifying data for policy with id: be6e5b4c-bf84-4ef9-b687-3006b20c9c08, fqn: ['default-domain', 'ctest-TestBasicPolicy-40917730', 'ctest-policy-allow-all-33704444'] 2026-03-05 19:44:14,141 - INFO - VN ctest-vn-40929556 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-05 19:44:14,141 - DEBUG - Verifying the vn in opserver 2026-03-05 19:44:14,141 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40917730:ctest-vn-40929556 virtual network link through opserver 10.0.0.27 2026-03-05 19:44:14,141 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-03-05 19:44:14,438 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-03-05 19:44:14,504 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40917730:ctest-vn-40929556', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40917730:ctest-vn-40929556?flat'} 2026-03-05 19:44:14,504 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40917730:ctest-vn-40929556 is found in opserver 2026-03-05 19:44:14,515 - DEBUG - Do not have enough data to verify VN in agent 2026-03-05 19:44:14,519 - DEBUG - VRF ids for VN ctest-vn-40929556: {} 2026-03-05 19:44:14,519 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-05 19:44:14,525 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c0a9362f-d5c3-44ab-b0d0-a4a177b3e40d 2026-03-05 19:44:14,535 - DEBUG - Requesting: http://10.0.0.27:8082/project/2a3c0939-391e-446d-9427-816577514498 2026-03-05 19:44:14,607 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d5f103e4-7084-4b80-97ab-8403d8aafac5 2026-03-05 19:44:14,624 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d5f103e4-7084-4b80-97ab-8403d8aafac5 2026-03-05 19:44:14,633 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1e3496a9-484d-4e82-8c42-3a48ab38ada6 2026-03-05 19:44:14,641 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1e3496a9-484d-4e82-8c42-3a48ab38ada6 2026-03-05 19:44:14,648 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/23c89b71-e236-44ca-ade9-5c944f627a5c 2026-03-05 19:44:14,655 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-05 19:44:14,655 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d5f103e4-7084-4b80-97ab-8403d8aafac5 2026-03-05 19:44:14,664 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1e3496a9-484d-4e82-8c42-3a48ab38ada6 2026-03-05 19:44:14,678 - INFO - Verified VN network id 11 for VN d5f103e4-7084-4b80-97ab-8403d8aafac5 2026-03-05 19:44:14,679 - INFO - Verifications in API Server for VN ctest-vn-85879052 passed 2026-03-05 19:44:14,679 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d5f103e4-7084-4b80-97ab-8403d8aafac5 2026-03-05 19:44:14,688 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1e3496a9-484d-4e82-8c42-3a48ab38ada6 2026-03-05 19:44:14,695 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1e3496a9-484d-4e82-8c42-3a48ab38ada6 2026-03-05 19:44:14,701 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/23c89b71-e236-44ca-ade9-5c944f627a5c 2026-03-05 19:44:14,712 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40917730:ctest-vn-85879052', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40917730', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15416107279141063552', 'uuid-lslong': '10928974072799492805'}, 'enable': 'true', 'created': '2026-03-05T19:44:12', 'last-modified': '2026-03-05T19:44:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.393128'} 2026-03-05 19:44:14,717 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-05 19:44:14,717 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85879052 passed 2026-03-05 19:44:14,717 - DEBUG - ====Verifying policy data for ctest-vn-85879052 in API_Server ====== 2026-03-05 19:44:14,717 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-05 19:44:14,724 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c0a9362f-d5c3-44ab-b0d0-a4a177b3e40d 2026-03-05 19:44:14,735 - DEBUG - Requesting: http://10.0.0.27:8082/project/2a3c0939-391e-446d-9427-816577514498 2026-03-05 19:44:14,809 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d5f103e4-7084-4b80-97ab-8403d8aafac5 2026-03-05 19:44:14,819 - DEBUG - ==>Verifying data for policy with id: be6e5b4c-bf84-4ef9-b687-3006b20c9c08, fqn: ['default-domain', 'ctest-TestBasicPolicy-40917730', 'ctest-policy-allow-all-33704444'] 2026-03-05 19:44:14,819 - INFO - VN ctest-vn-85879052 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-05 19:44:14,819 - DEBUG - Verifying the vn in opserver 2026-03-05 19:44:14,819 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40917730:ctest-vn-85879052 virtual network link through opserver 10.0.0.27 2026-03-05 19:44:14,819 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-03-05 19:44:14,831 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40917730:ctest-vn-85879052', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40917730:ctest-vn-85879052?flat'} 2026-03-05 19:44:14,831 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40917730:ctest-vn-85879052 is found in opserver 2026-03-05 19:44:14,841 - DEBUG - Do not have enough data to verify VN in agent 2026-03-05 19:44:14,845 - DEBUG - VRF ids for VN ctest-vn-85879052: {} 2026-03-05 19:44:14,908 - DEBUG - Services list from nova: [, , ] 2026-03-05 19:44:15,948 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5446-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5446-1) 2026-03-05 19:44:17,126 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5446-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5446-1) 2026-03-05 19:44:17,126 - INFO - Waiting for VM ctest-TestBasicPolicy-40917730-94144602 to be up.. 2026-03-05 19:44:17,213 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-05 19:44:22,298 - DEBUG - VM is in ACTIVE state now 2026-03-05 19:44:22,298 - INFO - VM name : ctest-TestBasicPolicy-40917730-94144602 2026-03-05 19:44:22,379 - DEBUG - VM ctest-TestBasicPolicy-40917730-94144602 ID is 3a4d671a-84f6-4099-98c4-538a888ee5b9 2026-03-05 19:44:22,405 - DEBUG - VM ctest-TestBasicPolicy-40917730-94144602 launched on Node cn-jenkins-deploy-platform-ansible-os-5446-1 2026-03-05 19:44:22,488 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/3a4d671a-84f6-4099-98c4-538a888ee5b9 2026-03-05 19:44:22,497 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/234cb667-a4ea-4f90-addc-0be420587e95 2026-03-05 19:44:25,765 - 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 1027ms') 2026-03-05 19:44:25,765 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40917730-94144602 failed! 2026-03-05 19:44:25,819 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40917730:ctest-vn-40929556 is 148.28.239.193 and allocation pool is NOT set 2026-03-05 19:44:27,883 - 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=8.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.65 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 = 1.652/4.904/8.157/3.252 ms') 2026-03-05 19:44:27,883 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40917730-94144602 passed 2026-03-05 19:44:28,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 19:44:28,039 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40917730-94144602, IP 148.28.239.195, Port 22 2026-03-05 19:44:28,105 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-05 19:44:28,182 - DEBUG - VM ctest-TestBasicPolicy-40917730-94144602 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-05 19:44:33,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 19:44:33,183 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40917730-94144602, IP 148.28.239.195, Port 22 2026-03-05 19:44:33,339 - DEBUG - VM ctest-TestBasicPolicy-40917730-94144602 is ready for SSH connections 2026-03-05 19:44:33,339 - INFO - Waiting for VM ctest-TestBasicPolicy-40917730-10950235 to be up.. 2026-03-05 19:44:33,413 - DEBUG - VM is in ACTIVE state now 2026-03-05 19:44:33,414 - INFO - VM name : ctest-TestBasicPolicy-40917730-10950235 2026-03-05 19:44:33,494 - DEBUG - VM ctest-TestBasicPolicy-40917730-10950235 ID is e03fdcc3-f267-4fa6-bc21-e76704abca15 2026-03-05 19:44:33,494 - DEBUG - VM ctest-TestBasicPolicy-40917730-10950235 launched on Node cn-jenkins-deploy-platform-ansible-os-5446-1 2026-03-05 19:44:33,572 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e03fdcc3-f267-4fa6-bc21-e76704abca15 2026-03-05 19:44:33,580 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a970ce4c-f91b-49ef-b367-9c6ea0ad6625 2026-03-05 19:44:34,814 - 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=2.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 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.383/1.683/2.983/1.300 ms') 2026-03-05 19:44:34,815 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40917730-10950235 passed 2026-03-05 19:44:34,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 19:44:34,963 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40917730-10950235, IP 46.138.119.195, Port 22 2026-03-05 19:44:35,126 - DEBUG - VM ctest-TestBasicPolicy-40917730-10950235 is ready for SSH connections 2026-03-05 19:44:35,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 19:44:35,127 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.138.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-03-05 19:44:35,127 - DEBUG - ping -s 56 -c 3 -W 1 46.138.119.195 2026-03-05 19:44:39,204 - DEBUG - PING 46.138.119.195 (46.138.119.195): 56 data bytes 64 bytes from 46.138.119.195: seq=0 ttl=63 time=3.892 ms 64 bytes from 46.138.119.195: seq=1 ttl=63 time=0.818 ms 64 bytes from 46.138.119.195: seq=2 ttl=63 time=0.802 ms --- 46.138.119.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.802/1.837/3.892 ms 2026-03-05 19:44:39,205 - INFO - Ping to IP 46.138.119.195 from VM ctest-TestBasicPolicy-40917730-94144602 passed 2026-03-05 19:44:39,387 - DEBUG - Policy Update Response {"network-policy": {"uuid": "be6e5b4c-bf84-4ef9-b687-3006b20c9c08", "href": "http://10.0.0.27:8082/network-policy/be6e5b4c-bf84-4ef9-b687-3006b20c9c08"}} 2026-03-05 19:44:39,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 19:44:39,387 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.138.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-03-05 19:44:39,387 - DEBUG - ping -s 56 -c 3 -W 1 46.138.119.195 2026-03-05 19:44:42,602 - DEBUG - PING 46.138.119.195 (46.138.119.195): 56 data bytes --- 46.138.119.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-05 19:44:42,602 - WARNING - Ping to IP 46.138.119.195 from VM ctest-TestBasicPolicy-40917730-94144602 failed 2026-03-05 19:44:42,602 - INFO - Deleting VM ctest-TestBasicPolicy-40917730-10950235 2026-03-05 19:44:42,677 - INFO - Deleting VM ctest-TestBasicPolicy-40917730-94144602 2026-03-05 19:44:43,066 - INFO - Deleted policy ctest-policy-allow-all-33704444 2026-03-05 19:44:43,066 - INFO - Deleting VN ctest-vn-85879052 2026-03-05 19:44:43,105 - DEBUG - VN d5f103e4-7084-4b80-97ab-8403d8aafac5 still in use: Unable to complete operation on network d5f103e4-7084-4b80-97ab-8403d8aafac5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a068d8cd-d4c1-474a-8f44-5811d9958c17'] 2026-03-05 19:44:43,105 - WARNING - Deleting VN ctest-vn-85879052 failed..Will retry 2026-03-05 19:44:45,209 - DEBUG - Response for deleting network () 2026-03-05 19:44:45,209 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1e3496a9-484d-4e82-8c42-3a48ab38ada6 2026-03-05 19:44:45,217 - DEBUG - Response Code: 404 2026-03-05 19:44:45,217 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-05 19:44:45,222 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c0a9362f-d5c3-44ab-b0d0-a4a177b3e40d 2026-03-05 19:44:45,276 - DEBUG - Requesting: http://10.0.0.27:8082/project/2a3c0939-391e-446d-9427-816577514498 2026-03-05 19:44:45,344 - INFO - Validated that VN ctest-vn-85879052 is not found in API Server 2026-03-05 19:44:45,353 - DEBUG - VN ctest-vn-85879052 is not present in Agent 10.0.0.27 2026-03-05 19:44:45,353 - INFO - Validated that VN ctest-vn-85879052 is not in any agent 2026-03-05 19:44:45,368 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85879052 info 2026-03-05 19:44:45,368 - INFO - Deleting VN ctest-vn-40929556 2026-03-05 19:44:45,479 - DEBUG - Response for deleting network () 2026-03-05 19:44:45,479 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c1833a3a-f6cc-4c05-a2e6-a2e7d6036048 2026-03-05 19:44:45,486 - DEBUG - Response Code: 404 2026-03-05 19:44:45,486 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-05 19:44:45,492 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c0a9362f-d5c3-44ab-b0d0-a4a177b3e40d 2026-03-05 19:44:45,548 - DEBUG - Requesting: http://10.0.0.27:8082/project/2a3c0939-391e-446d-9427-816577514498 2026-03-05 19:44:45,619 - INFO - Validated that VN ctest-vn-40929556 is not found in API Server 2026-03-05 19:44:45,628 - DEBUG - VN ctest-vn-40929556 is not present in Agent 10.0.0.27 2026-03-05 19:44:45,629 - INFO - Validated that VN ctest-vn-40929556 is not in any agent 2026-03-05 19:44:45,642 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40929556 info 2026-03-05 19:44:45,896 - DEBUG - No XMPP flaps were noticed during the test 2026-03-05 19:44:45,896 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-03-05 19:44:45,896 - INFO - -------------------------------------------------------------------------------- 2026-03-05 19:44:46,597 - INFO - Deleted project: ctest-TestBasicPolicy-40917730, ID : 2a3c0939-391e-446d-9427-816577514498