2026-04-28 18:53:34,903 - INFO - Domain Default found not creating 2026-04-28 18:53:35,112 - INFO - Project ctest-TestBasicPolicy-50266452 not found, creating it 2026-04-28 18:53:35,628 - INFO - Created Project:ctest-TestBasicPolicy-50266452, ID : 32a7ef58-8e3c-4024-89ad-bef83a3f8db1 2026-04-28 18:53:37,220 - INFO - ================================================================================ 2026-04-28 18:53:37,220 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-28 18:53:37,220 - 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-04-28 18:53:37,477 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2026-04-28 18:53:37,477 - INFO - Initial checks done. Running the testcase now 2026-04-28 18:53:37,477 - INFO - 2026-04-28 18:53:38,106 - DEBUG - Response for create_network : {'network': {'id': 'eacadd1c-6e09-4ce0-a077-c51f3cf3bb2b', 'name': 'ctest-vn-20351730', 'tenant_id': '32a7ef588e3c402489adbef83a3f8db1', 'project_id': '32a7ef588e3c402489adbef83a3f8db1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50266452', 'ctest-vn-20351730'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 18:53:38,360 - DEBUG - Response for create_subnet : {'subnet': {'id': '1dca0b2e-d1c4-4707-9db2-f85d66fb76ad', 'name': '', 'tenant_id': '32a7ef588e3c402489adbef83a3f8db1', 'network_id': 'eacadd1c-6e09-4ce0-a077-c51f3cf3bb2b', 'ip_version': 4, 'cidr': '122.244.129.128/26', 'allocation_pools': [{'start': '122.244.129.130', 'end': '122.244.129.190'}], 'gateway_ip': '122.244.129.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.244.129.130', 'tags': [], 'project_id': '32a7ef588e3c402489adbef83a3f8db1'}} 2026-04-28 18:53:38,383 - INFO - Created VN ctest-vn-20351730 2026-04-28 18:53:38,435 - DEBUG - VN ctest-vn-20351730 UUID is eacadd1c-6e09-4ce0-a077-c51f3cf3bb2b 2026-04-28 18:53:38,751 - DEBUG - Response for create_network : {'network': {'id': 'ec7180e1-2d19-438c-89ab-bf33d36461eb', 'name': 'ctest-vn-60216636', 'tenant_id': '32a7ef588e3c402489adbef83a3f8db1', 'project_id': '32a7ef588e3c402489adbef83a3f8db1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50266452', 'ctest-vn-60216636'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 18:53:38,952 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f55cf551-0f43-4cea-b18d-5a4b2ce9e10a', 'name': '', 'tenant_id': '32a7ef588e3c402489adbef83a3f8db1', 'network_id': 'ec7180e1-2d19-438c-89ab-bf33d36461eb', 'ip_version': 4, 'cidr': '157.79.71.192/26', 'allocation_pools': [{'start': '157.79.71.194', 'end': '157.79.71.254'}], 'gateway_ip': '157.79.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.79.71.194', 'tags': [], 'project_id': '32a7ef588e3c402489adbef83a3f8db1'}} 2026-04-28 18:53:38,973 - INFO - Created VN ctest-vn-60216636 2026-04-28 18:53:39,027 - DEBUG - VN ctest-vn-60216636 UUID is ec7180e1-2d19-438c-89ab-bf33d36461eb 2026-04-28 18:53:39,147 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-50266452:ctest-vn-20351730, 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-50266452:ctest-vn-60216636, 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-04-28 18:53:39,459 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eacadd1c-6e09-4ce0-a077-c51f3cf3bb2b', 'name': 'ctest-vn-20351730', 'tenant_id': '32a7ef588e3c402489adbef83a3f8db1', 'project_id': '32a7ef588e3c402489adbef83a3f8db1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1dca0b2e-d1c4-4707-9db2-f85d66fb76ad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50266452', 'ctest-vn-20351730'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50266452', 'ctest-policy-allow-all-67701498']], 'subnet_ipam': [{'subnet_cidr': '122.244.129.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 18:53:39,704 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec7180e1-2d19-438c-89ab-bf33d36461eb', 'name': 'ctest-vn-60216636', 'tenant_id': '32a7ef588e3c402489adbef83a3f8db1', 'project_id': '32a7ef588e3c402489adbef83a3f8db1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f55cf551-0f43-4cea-b18d-5a4b2ce9e10a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50266452', 'ctest-vn-60216636'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50266452', 'ctest-policy-allow-all-67701498']], 'subnet_ipam': [{'subnet_cidr': '157.79.71.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 18:53:39,883 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-28 18:53:40,188 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-28 18:53:40,227 - DEBUG - Requesting: http://10.0.0.33:8082/domain/939db5da-ee66-464e-93bc-b88c6d52bc10 2026-04-28 18:53:40,241 - DEBUG - Requesting: http://10.0.0.33:8082/project/32a7ef58-8e3c-4024-89ad-bef83a3f8db1 2026-04-28 18:53:40,316 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/eacadd1c-6e09-4ce0-a077-c51f3cf3bb2b 2026-04-28 18:53:40,329 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/eacadd1c-6e09-4ce0-a077-c51f3cf3bb2b 2026-04-28 18:53:40,341 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1f8c3550-96fa-4d26-84d6-3d1a39c1ab06 2026-04-28 18:53:40,350 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1f8c3550-96fa-4d26-84d6-3d1a39c1ab06 2026-04-28 18:53:40,358 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/94f1302d-db8e-4f4f-8961-345525366182 2026-04-28 18:53:40,366 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 18:53:40,366 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/eacadd1c-6e09-4ce0-a077-c51f3cf3bb2b 2026-04-28 18:53:40,377 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1f8c3550-96fa-4d26-84d6-3d1a39c1ab06 2026-04-28 18:53:40,394 - INFO - Verified VN network id 11 for VN eacadd1c-6e09-4ce0-a077-c51f3cf3bb2b 2026-04-28 18:53:40,394 - INFO - Verifications in API Server for VN ctest-vn-20351730 passed 2026-04-28 18:53:40,394 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/eacadd1c-6e09-4ce0-a077-c51f3cf3bb2b 2026-04-28 18:53:40,405 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1f8c3550-96fa-4d26-84d6-3d1a39c1ab06 2026-04-28 18:53:40,416 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1f8c3550-96fa-4d26-84d6-3d1a39c1ab06 2026-04-28 18:53:40,423 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/94f1302d-db8e-4f4f-8961-345525366182 2026-04-28 18:53:40,436 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50266452:ctest-vn-20351730', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50266452', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16918578064345615584', 'uuid-lslong': '11562927306254301995'}, 'enable': 'true', 'created': '2026-04-28T18:53:38', 'last-modified': '2026-04-28T18:53:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.005139'} 2026-04-28 18:53:40,443 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 18:53:40,444 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20351730 passed 2026-04-28 18:53:40,444 - DEBUG - ====Verifying policy data for ctest-vn-20351730 in API_Server ====== 2026-04-28 18:53:40,444 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-28 18:53:40,450 - DEBUG - Requesting: http://10.0.0.33:8082/domain/939db5da-ee66-464e-93bc-b88c6d52bc10 2026-04-28 18:53:40,465 - DEBUG - Requesting: http://10.0.0.33:8082/project/32a7ef58-8e3c-4024-89ad-bef83a3f8db1 2026-04-28 18:53:40,544 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/eacadd1c-6e09-4ce0-a077-c51f3cf3bb2b 2026-04-28 18:53:40,554 - DEBUG - ==>Verifying data for policy with id: 476ff5f5-cb92-48ec-b985-8d0f45aafb4c, fqn: ['default-domain', 'ctest-TestBasicPolicy-50266452', 'ctest-policy-allow-all-67701498'] 2026-04-28 18:53:40,554 - INFO - VN ctest-vn-20351730 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 18:53:40,554 - DEBUG - Verifying the vn in opserver 2026-04-28 18:53:40,554 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50266452:ctest-vn-20351730 virtual network link through opserver 10.0.0.33 2026-04-28 18:53:40,555 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-28 18:53:40,856 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-28 18:53:40,930 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50266452:ctest-vn-20351730', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50266452:ctest-vn-20351730?flat'} 2026-04-28 18:53:40,930 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50266452:ctest-vn-20351730 is found in opserver 2026-04-28 18:53:40,940 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 18:53:40,945 - DEBUG - VRF ids for VN ctest-vn-20351730: {} 2026-04-28 18:53:40,945 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-28 18:53:40,952 - DEBUG - Requesting: http://10.0.0.33:8082/domain/939db5da-ee66-464e-93bc-b88c6d52bc10 2026-04-28 18:53:40,965 - DEBUG - Requesting: http://10.0.0.33:8082/project/32a7ef58-8e3c-4024-89ad-bef83a3f8db1 2026-04-28 18:53:41,036 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ec7180e1-2d19-438c-89ab-bf33d36461eb 2026-04-28 18:53:41,049 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ec7180e1-2d19-438c-89ab-bf33d36461eb 2026-04-28 18:53:41,059 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f3676156-3967-44c3-8208-ea594d7d909b 2026-04-28 18:53:41,067 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f3676156-3967-44c3-8208-ea594d7d909b 2026-04-28 18:53:41,076 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/06f8f4b1-4767-4216-b408-e123d3610466 2026-04-28 18:53:41,084 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 18:53:41,084 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ec7180e1-2d19-438c-89ab-bf33d36461eb 2026-04-28 18:53:41,094 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f3676156-3967-44c3-8208-ea594d7d909b 2026-04-28 18:53:41,110 - INFO - Verified VN network id 12 for VN ec7180e1-2d19-438c-89ab-bf33d36461eb 2026-04-28 18:53:41,111 - INFO - Verifications in API Server for VN ctest-vn-60216636 passed 2026-04-28 18:53:41,111 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ec7180e1-2d19-438c-89ab-bf33d36461eb 2026-04-28 18:53:41,121 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f3676156-3967-44c3-8208-ea594d7d909b 2026-04-28 18:53:41,129 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f3676156-3967-44c3-8208-ea594d7d909b 2026-04-28 18:53:41,138 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/06f8f4b1-4767-4216-b408-e123d3610466 2026-04-28 18:53:41,150 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50266452:ctest-vn-60216636', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50266452', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17037540569931924364', 'uuid-lslong': '9920232833524457963'}, 'enable': 'true', 'created': '2026-04-28T18:53:38', 'last-modified': '2026-04-28T18:53:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.477337'} 2026-04-28 18:53:41,157 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 18:53:41,157 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60216636 passed 2026-04-28 18:53:41,157 - DEBUG - ====Verifying policy data for ctest-vn-60216636 in API_Server ====== 2026-04-28 18:53:41,157 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-28 18:53:41,164 - DEBUG - Requesting: http://10.0.0.33:8082/domain/939db5da-ee66-464e-93bc-b88c6d52bc10 2026-04-28 18:53:41,176 - DEBUG - Requesting: http://10.0.0.33:8082/project/32a7ef58-8e3c-4024-89ad-bef83a3f8db1 2026-04-28 18:53:41,252 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ec7180e1-2d19-438c-89ab-bf33d36461eb 2026-04-28 18:53:41,264 - DEBUG - ==>Verifying data for policy with id: 476ff5f5-cb92-48ec-b985-8d0f45aafb4c, fqn: ['default-domain', 'ctest-TestBasicPolicy-50266452', 'ctest-policy-allow-all-67701498'] 2026-04-28 18:53:41,265 - INFO - VN ctest-vn-60216636 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 18:53:41,265 - DEBUG - Verifying the vn in opserver 2026-04-28 18:53:41,265 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50266452:ctest-vn-60216636 virtual network link through opserver 10.0.0.33 2026-04-28 18:53:41,265 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-28 18:53:41,279 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50266452:ctest-vn-60216636', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50266452:ctest-vn-60216636?flat'} 2026-04-28 18:53:41,279 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50266452:ctest-vn-60216636 is found in opserver 2026-04-28 18:53:41,292 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 18:53:41,296 - DEBUG - VRF ids for VN ctest-vn-60216636: {} 2026-04-28 18:53:41,368 - DEBUG - Services list from nova: [, , ] 2026-04-28 18:53:42,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5706-1) 2026-04-28 18:53:43,790 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5706-1) 2026-04-28 18:53:43,790 - INFO - Waiting for VM ctest-TestBasicPolicy-50266452-83619960 to be up.. 2026-04-28 18:53:43,908 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-28 18:53:49,008 - DEBUG - VM is in ACTIVE state now 2026-04-28 18:53:49,008 - INFO - VM name : ctest-TestBasicPolicy-50266452-83619960 2026-04-28 18:53:49,102 - DEBUG - VM ctest-TestBasicPolicy-50266452-83619960 ID is 61e5f846-b970-4920-bcf2-71ee4731f7d3 2026-04-28 18:53:49,130 - DEBUG - VM ctest-TestBasicPolicy-50266452-83619960 launched on Node cn-jenkins-deploy-platform-ansible-os-5706-1 2026-04-28 18:53:49,219 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/61e5f846-b970-4920-bcf2-71ee4731f7d3 2026-04-28 18:53:49,231 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3fe38290-e546-4e56-8d15-ba79858161a3 2026-04-28 18:53:52,482 - 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 1010ms') 2026-04-28 18:53:52,482 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50266452-83619960 failed! 2026-04-28 18:53:52,539 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50266452:ctest-vn-20351730 is 122.244.129.129 and allocation pool is NOT set 2026-04-28 18:53:54,604 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.85 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.854/5.416/8.979/3.562 ms') 2026-04-28 18:53:54,605 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50266452-83619960 passed 2026-04-28 18:53:54,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 18:53:54,760 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50266452-83619960, IP 122.244.129.131, Port 22 2026-04-28 18:53:54,919 - DEBUG - VM ctest-TestBasicPolicy-50266452-83619960 is ready for SSH connections 2026-04-28 18:53:54,919 - INFO - Waiting for VM ctest-TestBasicPolicy-50266452-14668654 to be up.. 2026-04-28 18:53:55,011 - DEBUG - VM is in ACTIVE state now 2026-04-28 18:53:55,011 - INFO - VM name : ctest-TestBasicPolicy-50266452-14668654 2026-04-28 18:53:55,119 - DEBUG - VM ctest-TestBasicPolicy-50266452-14668654 ID is 48dba747-98a3-420d-a7b5-7beb677da3fb 2026-04-28 18:53:55,119 - DEBUG - VM ctest-TestBasicPolicy-50266452-14668654 launched on Node cn-jenkins-deploy-platform-ansible-os-5706-1 2026-04-28 18:53:55,224 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/48dba747-98a3-420d-a7b5-7beb677da3fb 2026-04-28 18:53:55,236 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/5030b472-932d-4128-8bc4-20d537c9bec4 2026-04-28 18:53:56,498 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.41 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 = 2.414/3.692/4.970/1.278 ms') 2026-04-28 18:53:56,499 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-50266452-14668654 passed 2026-04-28 18:53:56,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 18:53:56,651 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50266452-14668654, IP 157.79.71.195, Port 22 2026-04-28 18:53:56,818 - DEBUG - VM ctest-TestBasicPolicy-50266452-14668654 is ready for SSH connections 2026-04-28 18:53:56,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 18:53:56,819 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.79.71.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-28 18:53:56,819 - DEBUG - ping -s 56 -c 3 -W 1 157.79.71.195 2026-04-28 18:54:00,933 - DEBUG - PING 157.79.71.195 (157.79.71.195): 56 data bytes 64 bytes from 157.79.71.195: seq=0 ttl=63 time=5.167 ms 64 bytes from 157.79.71.195: seq=1 ttl=63 time=1.362 ms 64 bytes from 157.79.71.195: seq=2 ttl=63 time=1.167 ms --- 157.79.71.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.167/2.565/5.167 ms 2026-04-28 18:54:00,933 - INFO - Ping to IP 157.79.71.195 from VM ctest-TestBasicPolicy-50266452-83619960 passed 2026-04-28 18:54:01,147 - DEBUG - Policy Update Response {"network-policy": {"uuid": "476ff5f5-cb92-48ec-b985-8d0f45aafb4c", "href": "http://10.0.0.33:8082/network-policy/476ff5f5-cb92-48ec-b985-8d0f45aafb4c"}} 2026-04-28 18:54:01,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 18:54:01,148 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.79.71.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-28 18:54:01,148 - DEBUG - ping -s 56 -c 3 -W 1 157.79.71.195 2026-04-28 18:54:04,396 - DEBUG - PING 157.79.71.195 (157.79.71.195): 56 data bytes --- 157.79.71.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-28 18:54:04,396 - WARNING - Ping to IP 157.79.71.195 from VM ctest-TestBasicPolicy-50266452-83619960 failed 2026-04-28 18:54:04,396 - INFO - Deleting VM ctest-TestBasicPolicy-50266452-14668654 2026-04-28 18:54:04,480 - INFO - Deleting VM ctest-TestBasicPolicy-50266452-83619960 2026-04-28 18:54:04,924 - INFO - Deleted policy ctest-policy-allow-all-67701498 2026-04-28 18:54:04,925 - INFO - Deleting VN ctest-vn-60216636 2026-04-28 18:54:04,978 - DEBUG - VN ec7180e1-2d19-438c-89ab-bf33d36461eb still in use: Unable to complete operation on network ec7180e1-2d19-438c-89ab-bf33d36461eb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-da1c3b36-8a5e-414b-8bac-53a2681b5837'] 2026-04-28 18:54:04,979 - WARNING - Deleting VN ctest-vn-60216636 failed..Will retry 2026-04-28 18:54:07,093 - DEBUG - Response for deleting network () 2026-04-28 18:54:07,093 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f3676156-3967-44c3-8208-ea594d7d909b 2026-04-28 18:54:07,098 - DEBUG - Response Code: 404 2026-04-28 18:54:07,098 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-28 18:54:07,108 - DEBUG - Requesting: http://10.0.0.33:8082/domain/939db5da-ee66-464e-93bc-b88c6d52bc10 2026-04-28 18:54:07,161 - DEBUG - Requesting: http://10.0.0.33:8082/project/32a7ef58-8e3c-4024-89ad-bef83a3f8db1 2026-04-28 18:54:07,246 - INFO - Validated that VN ctest-vn-60216636 is not found in API Server 2026-04-28 18:54:07,256 - DEBUG - VN ctest-vn-60216636 is not present in Agent 10.0.0.33 2026-04-28 18:54:07,256 - INFO - Validated that VN ctest-vn-60216636 is not in any agent 2026-04-28 18:54:07,271 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60216636 info 2026-04-28 18:54:07,272 - INFO - Deleting VN ctest-vn-20351730 2026-04-28 18:54:07,392 - DEBUG - Response for deleting network () 2026-04-28 18:54:07,392 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1f8c3550-96fa-4d26-84d6-3d1a39c1ab06 2026-04-28 18:54:07,405 - DEBUG - Response Code: 404 2026-04-28 18:54:07,405 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-28 18:54:07,411 - DEBUG - Requesting: http://10.0.0.33:8082/domain/939db5da-ee66-464e-93bc-b88c6d52bc10 2026-04-28 18:54:07,465 - DEBUG - Requesting: http://10.0.0.33:8082/project/32a7ef58-8e3c-4024-89ad-bef83a3f8db1 2026-04-28 18:54:07,543 - INFO - Validated that VN ctest-vn-20351730 is not found in API Server 2026-04-28 18:54:07,553 - DEBUG - VN ctest-vn-20351730 is not present in Agent 10.0.0.33 2026-04-28 18:54:07,553 - INFO - Validated that VN ctest-vn-20351730 is not in any agent 2026-04-28 18:54:07,571 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20351730 info 2026-04-28 18:54:07,842 - DEBUG - No XMPP flaps were noticed during the test
2026-04-28 18:54:07,842 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-04-28 18:54:07,842 - INFO - -------------------------------------------------------------------------------- 2026-04-28 18:54:08,605 - INFO - Deleted project: ctest-TestBasicPolicy-50266452, ID : 32a7ef58-8e3c-4024-89ad-bef83a3f8db1