2026-03-13 16:59:59,401 - INFO - Domain Default found not creating 2026-03-13 16:59:59,560 - INFO - Project ctest-TestBasicPolicy-19057897 not found, creating it 2026-03-13 17:00:00,020 - INFO - Created Project:ctest-TestBasicPolicy-19057897, ID : dc64f79e-dfa6-4e32-af10-49c5accf8d58 2026-03-13 17:00:01,499 - INFO - ================================================================================ 2026-03-13 17:00:01,499 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-13 17:00:01,499 - 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-13 17:00:01,751 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2026-03-13 17:00:01,751 - INFO - Initial checks done. Running the testcase now 2026-03-13 17:00:01,751 - INFO - 2026-03-13 17:00:02,307 - DEBUG - Response for create_network : {'network': {'id': 'c4047824-2261-443c-b495-889d0d39bd2f', 'name': 'ctest-vn-07111491', 'tenant_id': 'dc64f79edfa64e32af1049c5accf8d58', 'project_id': 'dc64f79edfa64e32af1049c5accf8d58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19057897', 'ctest-vn-07111491'], 'port_security_enabled': True, 'description': ''}} 2026-03-13 17:00:02,526 - DEBUG - Response for create_subnet : {'subnet': {'id': '602bfe72-e128-4119-b1eb-b742c22313e2', 'name': '', 'tenant_id': 'dc64f79edfa64e32af1049c5accf8d58', 'network_id': 'c4047824-2261-443c-b495-889d0d39bd2f', 'ip_version': 4, 'cidr': '120.214.179.192/26', 'allocation_pools': [{'start': '120.214.179.194', 'end': '120.214.179.254'}], 'gateway_ip': '120.214.179.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.214.179.194', 'tags': [], 'project_id': 'dc64f79edfa64e32af1049c5accf8d58'}} 2026-03-13 17:00:02,547 - INFO - Created VN ctest-vn-07111491 2026-03-13 17:00:02,602 - DEBUG - VN ctest-vn-07111491 UUID is c4047824-2261-443c-b495-889d0d39bd2f 2026-03-13 17:00:02,919 - DEBUG - Response for create_network : {'network': {'id': '5a3dd540-fc8b-40a3-9ad5-21ee75cc700b', 'name': 'ctest-vn-89903879', 'tenant_id': 'dc64f79edfa64e32af1049c5accf8d58', 'project_id': 'dc64f79edfa64e32af1049c5accf8d58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19057897', 'ctest-vn-89903879'], 'port_security_enabled': True, 'description': ''}} 2026-03-13 17:00:03,119 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd93a55c8-9995-4dee-8bf3-12ff54cd8ca5', 'name': '', 'tenant_id': 'dc64f79edfa64e32af1049c5accf8d58', 'network_id': '5a3dd540-fc8b-40a3-9ad5-21ee75cc700b', 'ip_version': 4, 'cidr': '111.136.97.0/26', 'allocation_pools': [{'start': '111.136.97.2', 'end': '111.136.97.62'}], 'gateway_ip': '111.136.97.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.136.97.2', 'tags': [], 'project_id': 'dc64f79edfa64e32af1049c5accf8d58'}} 2026-03-13 17:00:03,137 - INFO - Created VN ctest-vn-89903879 2026-03-13 17:00:03,189 - DEBUG - VN ctest-vn-89903879 UUID is 5a3dd540-fc8b-40a3-9ad5-21ee75cc700b 2026-03-13 17:00:03,301 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-07111491, 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-19057897:ctest-vn-89903879, 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-13 17:00:03,588 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c4047824-2261-443c-b495-889d0d39bd2f', 'name': 'ctest-vn-07111491', 'tenant_id': 'dc64f79edfa64e32af1049c5accf8d58', 'project_id': 'dc64f79edfa64e32af1049c5accf8d58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['602bfe72-e128-4119-b1eb-b742c22313e2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19057897', 'ctest-vn-07111491'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19057897', 'ctest-policy-allow-all-12099989']], 'subnet_ipam': [{'subnet_cidr': '120.214.179.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-13 17:00:03,819 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5a3dd540-fc8b-40a3-9ad5-21ee75cc700b', 'name': 'ctest-vn-89903879', 'tenant_id': 'dc64f79edfa64e32af1049c5accf8d58', 'project_id': 'dc64f79edfa64e32af1049c5accf8d58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d93a55c8-9995-4dee-8bf3-12ff54cd8ca5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19057897', 'ctest-vn-89903879'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19057897', 'ctest-policy-allow-all-12099989']], 'subnet_ipam': [{'subnet_cidr': '111.136.97.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-13 17:00:03,994 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-13 17:00:04,290 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-13 17:00:04,322 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1b68e2e2-4ba1-472e-a4dd-fb4f06ac3e4b 2026-03-13 17:00:04,334 - DEBUG - Requesting: http://10.0.0.33:8082/project/dc64f79e-dfa6-4e32-af10-49c5accf8d58 2026-03-13 17:00:04,405 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c4047824-2261-443c-b495-889d0d39bd2f 2026-03-13 17:00:04,416 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c4047824-2261-443c-b495-889d0d39bd2f 2026-03-13 17:00:04,425 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/328c1905-f946-4ae4-aeb5-75c8b6ff93ed 2026-03-13 17:00:04,432 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/328c1905-f946-4ae4-aeb5-75c8b6ff93ed 2026-03-13 17:00:04,439 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/028819c9-4a75-48a8-9479-261680298ade 2026-03-13 17:00:04,447 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-13 17:00:04,447 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c4047824-2261-443c-b495-889d0d39bd2f 2026-03-13 17:00:04,456 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/328c1905-f946-4ae4-aeb5-75c8b6ff93ed 2026-03-13 17:00:04,470 - INFO - Verified VN network id 11 for VN c4047824-2261-443c-b495-889d0d39bd2f 2026-03-13 17:00:04,470 - INFO - Verifications in API Server for VN ctest-vn-07111491 passed 2026-03-13 17:00:04,471 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c4047824-2261-443c-b495-889d0d39bd2f 2026-03-13 17:00:04,479 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/328c1905-f946-4ae4-aeb5-75c8b6ff93ed 2026-03-13 17:00:04,487 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/328c1905-f946-4ae4-aeb5-75c8b6ff93ed 2026-03-13 17:00:04,495 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/028819c9-4a75-48a8-9479-261680298ade 2026-03-13 17:00:04,508 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-07111491', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19057897', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14124546427931673660', 'uuid-lslong': '13012456906470047023'}, 'enable': 'true', 'created': '2026-03-13T17:00:02', 'last-modified': '2026-03-13T17:00:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.940890'} 2026-03-13 17:00:04,514 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-13 17:00:04,514 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07111491 passed 2026-03-13 17:00:04,514 - DEBUG - ====Verifying policy data for ctest-vn-07111491 in API_Server ====== 2026-03-13 17:00:04,514 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-13 17:00:04,519 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1b68e2e2-4ba1-472e-a4dd-fb4f06ac3e4b 2026-03-13 17:00:04,531 - DEBUG - Requesting: http://10.0.0.33:8082/project/dc64f79e-dfa6-4e32-af10-49c5accf8d58 2026-03-13 17:00:04,610 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c4047824-2261-443c-b495-889d0d39bd2f 2026-03-13 17:00:04,619 - DEBUG - ==>Verifying data for policy with id: 309dcdcd-7554-462f-9e66-52ddd28825f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-19057897', 'ctest-policy-allow-all-12099989'] 2026-03-13 17:00:04,619 - INFO - VN ctest-vn-07111491 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-13 17:00:04,619 - DEBUG - Verifying the vn in opserver 2026-03-13 17:00:04,619 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-07111491 virtual network link through opserver 10.0.0.33 2026-03-13 17:00:04,619 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-13 17:00:04,911 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-13 17:00:04,976 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-07111491', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-07111491?flat'} 2026-03-13 17:00:04,976 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-07111491 is found in opserver 2026-03-13 17:00:04,985 - DEBUG - Do not have enough data to verify VN in agent 2026-03-13 17:00:04,990 - DEBUG - VRF ids for VN ctest-vn-07111491: {} 2026-03-13 17:00:04,990 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-13 17:00:04,995 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1b68e2e2-4ba1-472e-a4dd-fb4f06ac3e4b 2026-03-13 17:00:05,006 - DEBUG - Requesting: http://10.0.0.33:8082/project/dc64f79e-dfa6-4e32-af10-49c5accf8d58 2026-03-13 17:00:05,076 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5a3dd540-fc8b-40a3-9ad5-21ee75cc700b 2026-03-13 17:00:05,089 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5a3dd540-fc8b-40a3-9ad5-21ee75cc700b 2026-03-13 17:00:05,099 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dfa0f6b4-3c9f-4a56-a106-20a317ba09c7 2026-03-13 17:00:05,107 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dfa0f6b4-3c9f-4a56-a106-20a317ba09c7 2026-03-13 17:00:05,115 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/720c7c7f-ad52-4f05-ad68-7c700a7f374f 2026-03-13 17:00:05,122 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-13 17:00:05,122 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5a3dd540-fc8b-40a3-9ad5-21ee75cc700b 2026-03-13 17:00:05,133 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dfa0f6b4-3c9f-4a56-a106-20a317ba09c7 2026-03-13 17:00:05,150 - INFO - Verified VN network id 12 for VN 5a3dd540-fc8b-40a3-9ad5-21ee75cc700b 2026-03-13 17:00:05,150 - INFO - Verifications in API Server for VN ctest-vn-89903879 passed 2026-03-13 17:00:05,150 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5a3dd540-fc8b-40a3-9ad5-21ee75cc700b 2026-03-13 17:00:05,160 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dfa0f6b4-3c9f-4a56-a106-20a317ba09c7 2026-03-13 17:00:05,167 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dfa0f6b4-3c9f-4a56-a106-20a317ba09c7 2026-03-13 17:00:05,176 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/720c7c7f-ad52-4f05-ad68-7c700a7f374f 2026-03-13 17:00:05,189 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-89903879', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19057897', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6502587912084471971', 'uuid-lslong': '11156860959942537227'}, 'enable': 'true', 'created': '2026-03-13T17:00:02', 'last-modified': '2026-03-13T17:00:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.396526'} 2026-03-13 17:00:05,195 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-13 17:00:05,195 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89903879 passed 2026-03-13 17:00:05,196 - DEBUG - ====Verifying policy data for ctest-vn-89903879 in API_Server ====== 2026-03-13 17:00:05,196 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-13 17:00:05,202 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1b68e2e2-4ba1-472e-a4dd-fb4f06ac3e4b 2026-03-13 17:00:05,212 - DEBUG - Requesting: http://10.0.0.33:8082/project/dc64f79e-dfa6-4e32-af10-49c5accf8d58 2026-03-13 17:00:05,277 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5a3dd540-fc8b-40a3-9ad5-21ee75cc700b 2026-03-13 17:00:05,285 - DEBUG - ==>Verifying data for policy with id: 309dcdcd-7554-462f-9e66-52ddd28825f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-19057897', 'ctest-policy-allow-all-12099989'] 2026-03-13 17:00:05,286 - INFO - VN ctest-vn-89903879 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-13 17:00:05,286 - DEBUG - Verifying the vn in opserver 2026-03-13 17:00:05,286 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-89903879 virtual network link through opserver 10.0.0.33 2026-03-13 17:00:05,286 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-13 17:00:05,295 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-89903879', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-89903879?flat'} 2026-03-13 17:00:05,295 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-89903879 is found in opserver 2026-03-13 17:00:05,304 - DEBUG - Do not have enough data to verify VN in agent 2026-03-13 17:00:05,308 - DEBUG - VRF ids for VN ctest-vn-89903879: {} 2026-03-13 17:00:05,361 - DEBUG - Services list from nova: [, , ] 2026-03-13 17:00:06,375 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5467-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5467-1) 2026-03-13 17:00:07,574 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5467-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5467-1) 2026-03-13 17:00:07,574 - INFO - Waiting for VM ctest-TestBasicPolicy-19057897-88225583 to be up.. 2026-03-13 17:00:07,656 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-13 17:00:12,728 - DEBUG - VM is in ACTIVE state now 2026-03-13 17:00:12,728 - INFO - VM name : ctest-TestBasicPolicy-19057897-88225583 2026-03-13 17:00:12,801 - DEBUG - VM ctest-TestBasicPolicy-19057897-88225583 ID is 7d63fece-a54c-466f-b608-9b5fd54de9e4 2026-03-13 17:00:12,824 - DEBUG - VM ctest-TestBasicPolicy-19057897-88225583 launched on Node cn-jenkins-deploy-platform-ansible-os-5467-1 2026-03-13 17:00:12,902 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7d63fece-a54c-466f-b608-9b5fd54de9e4 2026-03-13 17:00:12,910 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e07b7665-7685-4311-abf3-d3bad417f156 2026-03-13 17:00:16,148 - 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 1003ms') 2026-03-13 17:00:16,148 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19057897-88225583 failed! 2026-03-13 17:00:16,202 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-07111491 is 120.214.179.193 and allocation pool is NOT set 2026-03-13 17:00:18,265 - 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=6.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.56 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.560/4.690/6.820/2.130 ms') 2026-03-13 17:00:18,266 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19057897-88225583 passed 2026-03-13 17:00:18,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 17:00:18,414 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19057897-88225583, IP 120.214.179.195, Port 22 2026-03-13 17:00:18,569 - DEBUG - VM ctest-TestBasicPolicy-19057897-88225583 is ready for SSH connections 2026-03-13 17:00:18,569 - INFO - Waiting for VM ctest-TestBasicPolicy-19057897-95850584 to be up.. 2026-03-13 17:00:18,641 - DEBUG - VM is in ACTIVE state now 2026-03-13 17:00:18,641 - INFO - VM name : ctest-TestBasicPolicy-19057897-95850584 2026-03-13 17:00:18,717 - DEBUG - VM ctest-TestBasicPolicy-19057897-95850584 ID is 482a0729-8f50-4066-953c-2f0882dc07ef 2026-03-13 17:00:18,717 - DEBUG - VM ctest-TestBasicPolicy-19057897-95850584 launched on Node cn-jenkins-deploy-platform-ansible-os-5467-1 2026-03-13 17:00:18,795 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/482a0729-8f50-4066-953c-2f0882dc07ef 2026-03-13 17:00:18,803 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3773b96c-74df-43c4-a0e8-da9b329eeb19 2026-03-13 17:00:20,035 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.402/1.675/2.948/1.273 ms') 2026-03-13 17:00:20,035 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19057897-95850584 passed 2026-03-13 17:00:20,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 17:00:20,186 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19057897-95850584, IP 111.136.97.3, Port 22 2026-03-13 17:00:20,345 - DEBUG - VM ctest-TestBasicPolicy-19057897-95850584 is ready for SSH connections 2026-03-13 17:00:20,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 17:00:20,345 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.136.97.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-13 17:00:20,345 - DEBUG - ping -s 56 -c 3 -W 1 111.136.97.3 2026-03-13 17:00:24,444 - DEBUG - PING 111.136.97.3 (111.136.97.3): 56 data bytes 64 bytes from 111.136.97.3: seq=0 ttl=63 time=3.468 ms 64 bytes from 111.136.97.3: seq=1 ttl=63 time=0.966 ms 64 bytes from 111.136.97.3: seq=2 ttl=63 time=0.749 ms --- 111.136.97.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.749/1.727/3.468 ms 2026-03-13 17:00:24,444 - INFO - Ping to IP 111.136.97.3 from VM ctest-TestBasicPolicy-19057897-88225583 passed 2026-03-13 17:00:24,621 - DEBUG - Policy Update Response {"network-policy": {"uuid": "309dcdcd-7554-462f-9e66-52ddd28825f6", "href": "http://10.0.0.33:8082/network-policy/309dcdcd-7554-462f-9e66-52ddd28825f6"}} 2026-03-13 17:00:24,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 17:00:24,622 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.136.97.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-13 17:00:24,622 - DEBUG - ping -s 56 -c 3 -W 1 111.136.97.3 2026-03-13 17:00:27,835 - DEBUG - PING 111.136.97.3 (111.136.97.3): 56 data bytes --- 111.136.97.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-13 17:00:27,835 - WARNING - Ping to IP 111.136.97.3 from VM ctest-TestBasicPolicy-19057897-88225583 failed 2026-03-13 17:00:27,835 - INFO - Deleting VM ctest-TestBasicPolicy-19057897-95850584 2026-03-13 17:00:27,904 - INFO - Deleting VM ctest-TestBasicPolicy-19057897-88225583 2026-03-13 17:00:28,255 - INFO - Deleted policy ctest-policy-allow-all-12099989 2026-03-13 17:00:28,255 - INFO - Deleting VN ctest-vn-89903879 2026-03-13 17:00:28,293 - DEBUG - VN 5a3dd540-fc8b-40a3-9ad5-21ee75cc700b still in use: Unable to complete operation on network 5a3dd540-fc8b-40a3-9ad5-21ee75cc700b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7eeb603d-32d2-459e-95cf-efb53359a1d4'] 2026-03-13 17:00:28,293 - WARNING - Deleting VN ctest-vn-89903879 failed..Will retry 2026-03-13 17:00:30,386 - DEBUG - Response for deleting network () 2026-03-13 17:00:30,386 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dfa0f6b4-3c9f-4a56-a106-20a317ba09c7 2026-03-13 17:00:30,392 - DEBUG - Response Code: 404 2026-03-13 17:00:30,393 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-13 17:00:30,399 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1b68e2e2-4ba1-472e-a4dd-fb4f06ac3e4b 2026-03-13 17:00:30,451 - DEBUG - Requesting: http://10.0.0.33:8082/project/dc64f79e-dfa6-4e32-af10-49c5accf8d58 2026-03-13 17:00:30,519 - INFO - Validated that VN ctest-vn-89903879 is not found in API Server 2026-03-13 17:00:30,530 - DEBUG - VN ctest-vn-89903879 is not present in Agent 10.0.0.33 2026-03-13 17:00:30,530 - INFO - Validated that VN ctest-vn-89903879 is not in any agent 2026-03-13 17:00:30,545 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89903879 info 2026-03-13 17:00:30,546 - INFO - Deleting VN ctest-vn-07111491 2026-03-13 17:00:30,633 - DEBUG - Response for deleting network () 2026-03-13 17:00:30,634 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/328c1905-f946-4ae4-aeb5-75c8b6ff93ed 2026-03-13 17:00:30,638 - DEBUG - Response Code: 404 2026-03-13 17:00:30,638 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-13 17:00:30,644 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1b68e2e2-4ba1-472e-a4dd-fb4f06ac3e4b 2026-03-13 17:00:30,704 - DEBUG - Requesting: http://10.0.0.33:8082/project/dc64f79e-dfa6-4e32-af10-49c5accf8d58 2026-03-13 17:00:30,775 - INFO - Validated that VN ctest-vn-07111491 is not found in API Server 2026-03-13 17:00:30,785 - DEBUG - VN ctest-vn-07111491 is not present in Agent 10.0.0.33 2026-03-13 17:00:30,785 - INFO - Validated that VN ctest-vn-07111491 is not in any agent 2026-03-13 17:00:30,799 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07111491 info 2026-03-13 17:00:31,059 - DEBUG - No XMPP flaps were noticed during the test
2026-03-13 17:00:31,060 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-03-13 17:00:31,060 - INFO - -------------------------------------------------------------------------------- 2026-03-13 17:00:31,783 - INFO - Deleted project: ctest-TestBasicPolicy-19057897, ID : dc64f79e-dfa6-4e32-af10-49c5accf8d58