2026-05-07 13:36:03,738 - INFO - Domain Default found not creating 2026-05-07 13:36:03,938 - INFO - Project ctest-TestBasicPolicy-49206385 not found, creating it 2026-05-07 13:36:04,461 - INFO - Created Project:ctest-TestBasicPolicy-49206385, ID : bcf1cf0b-c71f-49c6-9831-1f33d71ed0e6 2026-05-07 13:36:06,194 - INFO - ================================================================================ 2026-05-07 13:36:06,194 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-07 13:36:06,195 - 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-05-07 13:36:06,463 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-07 13:36:06,463 - INFO - Initial checks done. Running the testcase now 2026-05-07 13:36:06,463 - INFO - 2026-05-07 13:36:07,113 - DEBUG - Response for create_network : {'network': {'id': '183e5504-1fe4-478b-a8a9-6ee33116509f', 'name': 'ctest-vn-96203079', 'tenant_id': 'bcf1cf0bc71f49c698311f33d71ed0e6', 'project_id': 'bcf1cf0bc71f49c698311f33d71ed0e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49206385', 'ctest-vn-96203079'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 13:36:07,278 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e63058e-1a08-4cc6-9dbd-2c1be6988c26', 'name': '', 'tenant_id': 'bcf1cf0bc71f49c698311f33d71ed0e6', 'network_id': '183e5504-1fe4-478b-a8a9-6ee33116509f', 'ip_version': 4, 'cidr': '111.214.144.0/26', 'allocation_pools': [{'start': '111.214.144.2', 'end': '111.214.144.62'}], 'gateway_ip': '111.214.144.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.214.144.2', 'tags': [], 'project_id': 'bcf1cf0bc71f49c698311f33d71ed0e6'}} 2026-05-07 13:36:07,300 - INFO - Created VN ctest-vn-96203079 2026-05-07 13:36:07,354 - DEBUG - VN ctest-vn-96203079 UUID is 183e5504-1fe4-478b-a8a9-6ee33116509f 2026-05-07 13:36:07,684 - DEBUG - Response for create_network : {'network': {'id': '0074d7db-9300-4f21-baa8-5841cd2fe32e', 'name': 'ctest-vn-61263098', 'tenant_id': 'bcf1cf0bc71f49c698311f33d71ed0e6', 'project_id': 'bcf1cf0bc71f49c698311f33d71ed0e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49206385', 'ctest-vn-61263098'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 13:36:07,929 - DEBUG - Response for create_subnet : {'subnet': {'id': '23d9838a-549e-4247-80c9-d44a7cc4cf89', 'name': '', 'tenant_id': 'bcf1cf0bc71f49c698311f33d71ed0e6', 'network_id': '0074d7db-9300-4f21-baa8-5841cd2fe32e', 'ip_version': 4, 'cidr': '1.139.41.0/26', 'allocation_pools': [{'start': '1.139.41.2', 'end': '1.139.41.62'}], 'gateway_ip': '1.139.41.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.139.41.2', 'tags': [], 'project_id': 'bcf1cf0bc71f49c698311f33d71ed0e6'}} 2026-05-07 13:36:07,950 - INFO - Created VN ctest-vn-61263098 2026-05-07 13:36:08,002 - DEBUG - VN ctest-vn-61263098 UUID is 0074d7db-9300-4f21-baa8-5841cd2fe32e 2026-05-07 13:36:08,128 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49206385:ctest-vn-96203079, 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-49206385:ctest-vn-61263098, 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-05-07 13:36:08,447 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '183e5504-1fe4-478b-a8a9-6ee33116509f', 'name': 'ctest-vn-96203079', 'tenant_id': 'bcf1cf0bc71f49c698311f33d71ed0e6', 'project_id': 'bcf1cf0bc71f49c698311f33d71ed0e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9e63058e-1a08-4cc6-9dbd-2c1be6988c26'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49206385', 'ctest-vn-96203079'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49206385', 'ctest-policy-allow-all-79382034']], 'subnet_ipam': [{'subnet_cidr': '111.214.144.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-07 13:36:08,685 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0074d7db-9300-4f21-baa8-5841cd2fe32e', 'name': 'ctest-vn-61263098', 'tenant_id': 'bcf1cf0bc71f49c698311f33d71ed0e6', 'project_id': 'bcf1cf0bc71f49c698311f33d71ed0e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['23d9838a-549e-4247-80c9-d44a7cc4cf89'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49206385', 'ctest-vn-61263098'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49206385', 'ctest-policy-allow-all-79382034']], 'subnet_ipam': [{'subnet_cidr': '1.139.41.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-07 13:36:08,858 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-07 13:36:09,197 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-07 13:36:09,234 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f808bc8c-cbd6-4bbf-bf13-589ba3ff05fc 2026-05-07 13:36:09,247 - DEBUG - Requesting: http://10.0.0.50:8082/project/bcf1cf0b-c71f-49c6-9831-1f33d71ed0e6 2026-05-07 13:36:09,330 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/183e5504-1fe4-478b-a8a9-6ee33116509f 2026-05-07 13:36:09,343 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/183e5504-1fe4-478b-a8a9-6ee33116509f 2026-05-07 13:36:09,354 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f8028d32-42f3-43e4-aa28-7e088a4c0fde 2026-05-07 13:36:09,362 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f8028d32-42f3-43e4-aa28-7e088a4c0fde 2026-05-07 13:36:09,371 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f968cbb7-4838-4249-9b89-ac1d2dc54f99 2026-05-07 13:36:09,379 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-07 13:36:09,380 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/183e5504-1fe4-478b-a8a9-6ee33116509f 2026-05-07 13:36:09,391 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f8028d32-42f3-43e4-aa28-7e088a4c0fde 2026-05-07 13:36:09,410 - INFO - Verified VN network id 12 for VN 183e5504-1fe4-478b-a8a9-6ee33116509f 2026-05-07 13:36:09,410 - INFO - Verifications in API Server for VN ctest-vn-96203079 passed 2026-05-07 13:36:09,410 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/183e5504-1fe4-478b-a8a9-6ee33116509f 2026-05-07 13:36:09,423 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f8028d32-42f3-43e4-aa28-7e088a4c0fde 2026-05-07 13:36:09,433 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f8028d32-42f3-43e4-aa28-7e088a4c0fde 2026-05-07 13:36:09,441 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f968cbb7-4838-4249-9b89-ac1d2dc54f99 2026-05-07 13:36:09,456 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49206385:ctest-vn-96203079', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49206385', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1746927181669615499', 'uuid-lslong': '12153366991496171679'}, 'enable': 'true', 'created': '2026-05-07T13:36:07', 'last-modified': '2026-05-07T13:36:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.042312'} 2026-05-07 13:36:09,462 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-07 13:36:09,463 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96203079 passed 2026-05-07 13:36:09,463 - DEBUG - ====Verifying policy data for ctest-vn-96203079 in API_Server ====== 2026-05-07 13:36:09,463 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-07 13:36:09,469 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f808bc8c-cbd6-4bbf-bf13-589ba3ff05fc 2026-05-07 13:36:09,482 - DEBUG - Requesting: http://10.0.0.50:8082/project/bcf1cf0b-c71f-49c6-9831-1f33d71ed0e6 2026-05-07 13:36:09,558 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/183e5504-1fe4-478b-a8a9-6ee33116509f 2026-05-07 13:36:09,570 - DEBUG - ==>Verifying data for policy with id: 8e7fd075-af55-4b99-af9c-ecdfad12bccb, fqn: ['default-domain', 'ctest-TestBasicPolicy-49206385', 'ctest-policy-allow-all-79382034'] 2026-05-07 13:36:09,570 - INFO - VN ctest-vn-96203079 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-07 13:36:09,570 - DEBUG - Verifying the vn in opserver 2026-05-07 13:36:09,570 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49206385:ctest-vn-96203079 virtual network link through opserver 10.0.0.50 2026-05-07 13:36:09,571 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-07 13:36:09,914 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-07 13:36:10,005 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49206385:ctest-vn-96203079', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49206385:ctest-vn-96203079?flat'} 2026-05-07 13:36:10,005 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49206385:ctest-vn-96203079 is found in opserver 2026-05-07 13:36:10,016 - DEBUG - Do not have enough data to verify VN in agent 2026-05-07 13:36:10,021 - DEBUG - VRF ids for VN ctest-vn-96203079: {} 2026-05-07 13:36:10,021 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-07 13:36:10,027 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f808bc8c-cbd6-4bbf-bf13-589ba3ff05fc 2026-05-07 13:36:10,039 - DEBUG - Requesting: http://10.0.0.50:8082/project/bcf1cf0b-c71f-49c6-9831-1f33d71ed0e6 2026-05-07 13:36:10,121 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0074d7db-9300-4f21-baa8-5841cd2fe32e 2026-05-07 13:36:10,136 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0074d7db-9300-4f21-baa8-5841cd2fe32e 2026-05-07 13:36:10,146 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3d2f046e-ac1c-4786-b9e5-2625fa0fcab0 2026-05-07 13:36:10,154 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3d2f046e-ac1c-4786-b9e5-2625fa0fcab0 2026-05-07 13:36:10,162 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/665076b9-ce7b-4f62-994f-5d213a7e88af 2026-05-07 13:36:10,169 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-07 13:36:10,169 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0074d7db-9300-4f21-baa8-5841cd2fe32e 2026-05-07 13:36:10,179 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3d2f046e-ac1c-4786-b9e5-2625fa0fcab0 2026-05-07 13:36:10,198 - INFO - Verified VN network id 13 for VN 0074d7db-9300-4f21-baa8-5841cd2fe32e 2026-05-07 13:36:10,198 - INFO - Verifications in API Server for VN ctest-vn-61263098 passed 2026-05-07 13:36:10,198 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0074d7db-9300-4f21-baa8-5841cd2fe32e 2026-05-07 13:36:10,208 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3d2f046e-ac1c-4786-b9e5-2625fa0fcab0 2026-05-07 13:36:10,217 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3d2f046e-ac1c-4786-b9e5-2625fa0fcab0 2026-05-07 13:36:10,226 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/665076b9-ce7b-4f62-994f-5d213a7e88af 2026-05-07 13:36:10,239 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49206385:ctest-vn-61263098', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49206385', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '32888435362516769', 'uuid-lslong': '13450097326780572462'}, 'enable': 'true', 'created': '2026-05-07T13:36:07', 'last-modified': '2026-05-07T13:36:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.571841'} 2026-05-07 13:36:10,246 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-07 13:36:10,246 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61263098 passed 2026-05-07 13:36:10,247 - DEBUG - ====Verifying policy data for ctest-vn-61263098 in API_Server ====== 2026-05-07 13:36:10,247 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-07 13:36:10,254 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f808bc8c-cbd6-4bbf-bf13-589ba3ff05fc 2026-05-07 13:36:10,267 - DEBUG - Requesting: http://10.0.0.50:8082/project/bcf1cf0b-c71f-49c6-9831-1f33d71ed0e6 2026-05-07 13:36:10,341 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0074d7db-9300-4f21-baa8-5841cd2fe32e 2026-05-07 13:36:10,353 - DEBUG - ==>Verifying data for policy with id: 8e7fd075-af55-4b99-af9c-ecdfad12bccb, fqn: ['default-domain', 'ctest-TestBasicPolicy-49206385', 'ctest-policy-allow-all-79382034'] 2026-05-07 13:36:10,353 - INFO - VN ctest-vn-61263098 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-07 13:36:10,353 - DEBUG - Verifying the vn in opserver 2026-05-07 13:36:10,353 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49206385:ctest-vn-61263098 virtual network link through opserver 10.0.0.50 2026-05-07 13:36:10,353 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-07 13:36:10,365 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49206385:ctest-vn-61263098', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49206385:ctest-vn-61263098?flat'} 2026-05-07 13:36:10,365 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49206385:ctest-vn-61263098 is found in opserver 2026-05-07 13:36:10,376 - DEBUG - Do not have enough data to verify VN in agent 2026-05-07 13:36:10,381 - DEBUG - VRF ids for VN ctest-vn-61263098: {} 2026-05-07 13:36:10,458 - DEBUG - Services list from nova: [, , ] 2026-05-07 13:36:11,726 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5756-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5756-1) 2026-05-07 13:36:13,096 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5756-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5756-1) 2026-05-07 13:36:13,097 - INFO - Waiting for VM ctest-TestBasicPolicy-49206385-15324067 to be up.. 2026-05-07 13:36:13,195 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-07 13:36:18,287 - DEBUG - VM is in ACTIVE state now 2026-05-07 13:36:18,287 - INFO - VM name : ctest-TestBasicPolicy-49206385-15324067 2026-05-07 13:36:18,385 - DEBUG - VM ctest-TestBasicPolicy-49206385-15324067 ID is f05f788d-3483-4af0-9c42-a56506df4d51 2026-05-07 13:36:18,411 - DEBUG - VM ctest-TestBasicPolicy-49206385-15324067 launched on Node cn-jenkins-deploy-platform-ansible-os-5756-1 2026-05-07 13:36:18,514 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f05f788d-3483-4af0-9c42-a56506df4d51 2026-05-07 13:36:18,525 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e89ccbd5-5aec-458d-858e-aa1000826c47 2026-05-07 13:36:21,768 - 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 1001ms') 2026-05-07 13:36:21,769 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49206385-15324067 failed! 2026-05-07 13:36:21,826 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49206385:ctest-vn-96203079 is 111.214.144.1 and allocation pool is NOT set 2026-05-07 13:36:25,898 - 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=8.74 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 8.743/8.743/8.743/0.000 ms') 2026-05-07 13:36:25,898 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49206385-15324067 passed 2026-05-07 13:36:26,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 13:36:26,050 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49206385-15324067, IP 111.214.144.3, Port 22 2026-05-07 13:36:26,225 - DEBUG - VM ctest-TestBasicPolicy-49206385-15324067 is ready for SSH connections 2026-05-07 13:36:26,225 - INFO - Waiting for VM ctest-TestBasicPolicy-49206385-87308724 to be up.. 2026-05-07 13:36:26,319 - DEBUG - VM is in ACTIVE state now 2026-05-07 13:36:26,319 - INFO - VM name : ctest-TestBasicPolicy-49206385-87308724 2026-05-07 13:36:26,412 - DEBUG - VM ctest-TestBasicPolicy-49206385-87308724 ID is 5857d0df-c034-4fef-8643-82060d4bc838 2026-05-07 13:36:26,412 - DEBUG - VM ctest-TestBasicPolicy-49206385-87308724 launched on Node cn-jenkins-deploy-platform-ansible-os-5756-1 2026-05-07 13:36:26,502 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5857d0df-c034-4fef-8643-82060d4bc838 2026-05-07 13:36:26,511 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e4256fde-5cd5-4898-840a-52c609d639f3 2026-05-07 13:36:27,752 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.762 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.762/2.846/4.931/2.084 ms') 2026-05-07 13:36:27,752 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49206385-87308724 passed 2026-05-07 13:36:27,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 13:36:27,902 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49206385-87308724, IP 1.139.41.3, Port 22 2026-05-07 13:36:28,058 - DEBUG - VM ctest-TestBasicPolicy-49206385-87308724 is ready for SSH connections 2026-05-07 13:36:28,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 13:36:28,058 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.139.41.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-07 13:36:28,058 - DEBUG - ping -s 56 -c 3 -W 1 1.139.41.3 2026-05-07 13:36:32,354 - DEBUG - PING 1.139.41.3 (1.139.41.3): 56 data bytes 64 bytes from 1.139.41.3: seq=0 ttl=63 time=4.102 ms 64 bytes from 1.139.41.3: seq=1 ttl=63 time=0.948 ms 64 bytes from 1.139.41.3: seq=2 ttl=63 time=1.194 ms --- 1.139.41.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/2.081/4.102 ms 2026-05-07 13:36:32,354 - INFO - Ping to IP 1.139.41.3 from VM ctest-TestBasicPolicy-49206385-15324067 passed 2026-05-07 13:36:32,542 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8e7fd075-af55-4b99-af9c-ecdfad12bccb", "href": "http://10.0.0.50:8082/network-policy/8e7fd075-af55-4b99-af9c-ecdfad12bccb"}} 2026-05-07 13:36:32,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 13:36:32,542 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.139.41.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-07 13:36:32,542 - DEBUG - ping -s 56 -c 3 -W 1 1.139.41.3 2026-05-07 13:36:35,809 - DEBUG - PING 1.139.41.3 (1.139.41.3): 56 data bytes --- 1.139.41.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-07 13:36:35,810 - WARNING - Ping to IP 1.139.41.3 from VM ctest-TestBasicPolicy-49206385-15324067 failed 2026-05-07 13:36:35,810 - INFO - Deleting VM ctest-TestBasicPolicy-49206385-87308724 2026-05-07 13:36:35,898 - INFO - Deleting VM ctest-TestBasicPolicy-49206385-15324067 2026-05-07 13:36:36,339 - INFO - Deleted policy ctest-policy-allow-all-79382034 2026-05-07 13:36:36,339 - INFO - Deleting VN ctest-vn-61263098 2026-05-07 13:36:36,383 - DEBUG - VN 0074d7db-9300-4f21-baa8-5841cd2fe32e still in use: Unable to complete operation on network 0074d7db-9300-4f21-baa8-5841cd2fe32e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c5bf6cd6-9536-4cea-9f3f-9968816faee0'] 2026-05-07 13:36:36,383 - WARNING - Deleting VN ctest-vn-61263098 failed..Will retry 2026-05-07 13:36:38,497 - DEBUG - Response for deleting network () 2026-05-07 13:36:38,497 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3d2f046e-ac1c-4786-b9e5-2625fa0fcab0 2026-05-07 13:36:38,507 - DEBUG - Response Code: 404 2026-05-07 13:36:38,507 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-07 13:36:38,514 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f808bc8c-cbd6-4bbf-bf13-589ba3ff05fc 2026-05-07 13:36:38,572 - DEBUG - Requesting: http://10.0.0.50:8082/project/bcf1cf0b-c71f-49c6-9831-1f33d71ed0e6 2026-05-07 13:36:38,642 - INFO - Validated that VN ctest-vn-61263098 is not found in API Server 2026-05-07 13:36:38,655 - DEBUG - VN ctest-vn-61263098 is not present in Agent 10.0.0.50 2026-05-07 13:36:38,655 - INFO - Validated that VN ctest-vn-61263098 is not in any agent 2026-05-07 13:36:38,670 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61263098 info 2026-05-07 13:36:38,670 - INFO - Deleting VN ctest-vn-96203079 2026-05-07 13:36:38,818 - DEBUG - Response for deleting network () 2026-05-07 13:36:38,818 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f8028d32-42f3-43e4-aa28-7e088a4c0fde 2026-05-07 13:36:38,827 - DEBUG - Response Code: 404 2026-05-07 13:36:38,828 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-07 13:36:38,834 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f808bc8c-cbd6-4bbf-bf13-589ba3ff05fc 2026-05-07 13:36:38,887 - DEBUG - Requesting: http://10.0.0.50:8082/project/bcf1cf0b-c71f-49c6-9831-1f33d71ed0e6 2026-05-07 13:36:38,970 - INFO - Validated that VN ctest-vn-96203079 is not found in API Server 2026-05-07 13:36:38,986 - DEBUG - VN ctest-vn-96203079 is not present in Agent 10.0.0.50 2026-05-07 13:36:38,987 - INFO - Validated that VN ctest-vn-96203079 is not in any agent 2026-05-07 13:36:39,011 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96203079 info 2026-05-07 13:36:39,279 - DEBUG - No XMPP flaps were noticed during the test 2026-05-07 13:36:39,279 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2026-05-07 13:36:39,279 - INFO - -------------------------------------------------------------------------------- 2026-05-07 13:36:40,028 - INFO - Deleted project: ctest-TestBasicPolicy-49206385, ID : bcf1cf0b-c71f-49c6-9831-1f33d71ed0e6