2026-01-02 19:11:32,374 - INFO - Domain Default found not creating 2026-01-02 19:11:32,537 - INFO - Project ctest-TestBasicPolicy-23873008 not found, creating it 2026-01-02 19:11:32,975 - INFO - Created Project:ctest-TestBasicPolicy-23873008, ID : 6198705a-36ae-4f58-97bc-20d27b010ad6 2026-01-02 19:11:34,423 - INFO - ================================================================================ 2026-01-02 19:11:34,423 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-02 19:11:34,423 - 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-01-02 19:11:34,685 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-01-02 19:11:34,685 - INFO - Initial checks done. Running the testcase now 2026-01-02 19:11:34,685 - INFO - 2026-01-02 19:11:35,243 - DEBUG - Response for create_network : {'network': {'id': '0574f0b4-c93e-45f8-85b3-038ca92ced88', 'name': 'ctest-vn-00947141', 'tenant_id': '6198705a36ae4f5897bc20d27b010ad6', 'project_id': '6198705a36ae4f5897bc20d27b010ad6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23873008', 'ctest-vn-00947141'], 'port_security_enabled': True, 'description': ''}} 2026-01-02 19:11:35,405 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4bd864c-949a-4734-9f66-1200e665b551', 'name': '', 'tenant_id': '6198705a36ae4f5897bc20d27b010ad6', 'network_id': '0574f0b4-c93e-45f8-85b3-038ca92ced88', 'ip_version': 4, 'cidr': '49.112.216.0/26', 'allocation_pools': [{'start': '49.112.216.2', 'end': '49.112.216.62'}], 'gateway_ip': '49.112.216.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.112.216.2', 'tags': [], 'project_id': '6198705a36ae4f5897bc20d27b010ad6'}} 2026-01-02 19:11:35,422 - INFO - Created VN ctest-vn-00947141 2026-01-02 19:11:35,471 - DEBUG - VN ctest-vn-00947141 UUID is 0574f0b4-c93e-45f8-85b3-038ca92ced88 2026-01-02 19:11:35,791 - DEBUG - Response for create_network : {'network': {'id': '3bc0f50a-4118-4a29-b1bb-d3f681db031c', 'name': 'ctest-vn-90371466', 'tenant_id': '6198705a36ae4f5897bc20d27b010ad6', 'project_id': '6198705a36ae4f5897bc20d27b010ad6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23873008', 'ctest-vn-90371466'], 'port_security_enabled': True, 'description': ''}} 2026-01-02 19:11:35,951 - DEBUG - Response for create_subnet : {'subnet': {'id': '0711fd8d-677e-4054-b46e-2eba4eaaa2e4', 'name': '', 'tenant_id': '6198705a36ae4f5897bc20d27b010ad6', 'network_id': '3bc0f50a-4118-4a29-b1bb-d3f681db031c', 'ip_version': 4, 'cidr': '110.148.215.64/26', 'allocation_pools': [{'start': '110.148.215.66', 'end': '110.148.215.126'}], 'gateway_ip': '110.148.215.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.148.215.66', 'tags': [], 'project_id': '6198705a36ae4f5897bc20d27b010ad6'}} 2026-01-02 19:11:35,968 - INFO - Created VN ctest-vn-90371466 2026-01-02 19:11:36,019 - DEBUG - VN ctest-vn-90371466 UUID is 3bc0f50a-4118-4a29-b1bb-d3f681db031c 2026-01-02 19:11:36,167 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-00947141, 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-23873008:ctest-vn-90371466, 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-01-02 19:11:36,445 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0574f0b4-c93e-45f8-85b3-038ca92ced88', 'name': 'ctest-vn-00947141', 'tenant_id': '6198705a36ae4f5897bc20d27b010ad6', 'project_id': '6198705a36ae4f5897bc20d27b010ad6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b4bd864c-949a-4734-9f66-1200e665b551'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23873008', 'ctest-vn-00947141'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23873008', 'ctest-policy-allow-all-80501524']], 'subnet_ipam': [{'subnet_cidr': '49.112.216.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-02 19:11:36,661 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3bc0f50a-4118-4a29-b1bb-d3f681db031c', 'name': 'ctest-vn-90371466', 'tenant_id': '6198705a36ae4f5897bc20d27b010ad6', 'project_id': '6198705a36ae4f5897bc20d27b010ad6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0711fd8d-677e-4054-b46e-2eba4eaaa2e4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23873008', 'ctest-vn-90371466'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23873008', 'ctest-policy-allow-all-80501524']], 'subnet_ipam': [{'subnet_cidr': '110.148.215.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-02 19:11:36,807 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-02 19:11:37,102 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-02 19:11:37,130 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ce6651c1-f3ff-4d52-aecb-e9c96e07744b 2026-01-02 19:11:37,140 - DEBUG - Requesting: http://10.0.0.249:8082/project/6198705a-36ae-4f58-97bc-20d27b010ad6 2026-01-02 19:11:37,208 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0574f0b4-c93e-45f8-85b3-038ca92ced88 2026-01-02 19:11:37,217 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0574f0b4-c93e-45f8-85b3-038ca92ced88 2026-01-02 19:11:37,225 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d04c9396-3ad2-4cf7-bdd7-98b2ea834123 2026-01-02 19:11:37,231 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d04c9396-3ad2-4cf7-bdd7-98b2ea834123 2026-01-02 19:11:37,236 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c4b4e0fc-4bfe-4c90-8afc-b15142dfa4d4 2026-01-02 19:11:37,242 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-02 19:11:37,242 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0574f0b4-c93e-45f8-85b3-038ca92ced88 2026-01-02 19:11:37,249 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d04c9396-3ad2-4cf7-bdd7-98b2ea834123 2026-01-02 19:11:37,261 - INFO - Verified VN network id 10 for VN 0574f0b4-c93e-45f8-85b3-038ca92ced88 2026-01-02 19:11:37,261 - INFO - Verifications in API Server for VN ctest-vn-00947141 passed 2026-01-02 19:11:37,261 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0574f0b4-c93e-45f8-85b3-038ca92ced88 2026-01-02 19:11:37,269 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d04c9396-3ad2-4cf7-bdd7-98b2ea834123 2026-01-02 19:11:37,274 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d04c9396-3ad2-4cf7-bdd7-98b2ea834123 2026-01-02 19:11:37,280 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c4b4e0fc-4bfe-4c90-8afc-b15142dfa4d4 2026-01-02 19:11:37,289 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-00947141', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23873008', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '393203726749156856', 'uuid-lslong': '9634047930544221576'}, 'enable': 'true', 'created': '2026-01-02T19:11:35', 'last-modified': '2026-01-02T19:11:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.865691'} 2026-01-02 19:11:37,294 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-02 19:11:37,294 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00947141 passed 2026-01-02 19:11:37,294 - DEBUG - ====Verifying policy data for ctest-vn-00947141 in API_Server ====== 2026-01-02 19:11:37,295 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-02 19:11:37,299 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ce6651c1-f3ff-4d52-aecb-e9c96e07744b 2026-01-02 19:11:37,310 - DEBUG - Requesting: http://10.0.0.249:8082/project/6198705a-36ae-4f58-97bc-20d27b010ad6 2026-01-02 19:11:37,385 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0574f0b4-c93e-45f8-85b3-038ca92ced88 2026-01-02 19:11:37,396 - DEBUG - ==>Verifying data for policy with id: 983bcdb5-d1a9-4b15-9191-692e6eedd2ad, fqn: ['default-domain', 'ctest-TestBasicPolicy-23873008', 'ctest-policy-allow-all-80501524'] 2026-01-02 19:11:37,396 - INFO - VN ctest-vn-00947141 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-02 19:11:37,396 - DEBUG - Verifying the vn in opserver 2026-01-02 19:11:37,396 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-00947141 virtual network link through opserver 10.0.0.249 2026-01-02 19:11:37,396 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-02 19:11:37,686 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-02 19:11:37,744 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-00947141', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-00947141?flat'} 2026-01-02 19:11:37,744 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-00947141 is found in opserver 2026-01-02 19:11:37,753 - DEBUG - Do not have enough data to verify VN in agent 2026-01-02 19:11:37,757 - DEBUG - VRF ids for VN ctest-vn-00947141: {} 2026-01-02 19:11:37,757 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-02 19:11:37,761 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ce6651c1-f3ff-4d52-aecb-e9c96e07744b 2026-01-02 19:11:37,772 - DEBUG - Requesting: http://10.0.0.249:8082/project/6198705a-36ae-4f58-97bc-20d27b010ad6 2026-01-02 19:11:37,838 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3bc0f50a-4118-4a29-b1bb-d3f681db031c 2026-01-02 19:11:37,847 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3bc0f50a-4118-4a29-b1bb-d3f681db031c 2026-01-02 19:11:37,855 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/661adce4-d863-4fdd-8571-e338b1a2a73d 2026-01-02 19:11:37,861 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/661adce4-d863-4fdd-8571-e338b1a2a73d 2026-01-02 19:11:37,867 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/4f5a0a70-cf60-4172-9ab5-23d4cb421d2f 2026-01-02 19:11:37,874 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-02 19:11:37,874 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3bc0f50a-4118-4a29-b1bb-d3f681db031c 2026-01-02 19:11:37,883 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/661adce4-d863-4fdd-8571-e338b1a2a73d 2026-01-02 19:11:37,896 - INFO - Verified VN network id 11 for VN 3bc0f50a-4118-4a29-b1bb-d3f681db031c 2026-01-02 19:11:37,896 - INFO - Verifications in API Server for VN ctest-vn-90371466 passed 2026-01-02 19:11:37,897 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3bc0f50a-4118-4a29-b1bb-d3f681db031c 2026-01-02 19:11:37,905 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/661adce4-d863-4fdd-8571-e338b1a2a73d 2026-01-02 19:11:37,913 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/661adce4-d863-4fdd-8571-e338b1a2a73d 2026-01-02 19:11:37,920 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/4f5a0a70-cf60-4172-9ab5-23d4cb421d2f 2026-01-02 19:11:37,935 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-90371466', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23873008', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4305710668156783145', 'uuid-lslong': '12807063021052166940'}, 'enable': 'true', 'created': '2026-01-02T19:11:35', 'last-modified': '2026-01-02T19:11:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.289212'} 2026-01-02 19:11:37,941 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-02 19:11:37,941 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90371466 passed 2026-01-02 19:11:37,941 - DEBUG - ====Verifying policy data for ctest-vn-90371466 in API_Server ====== 2026-01-02 19:11:37,941 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-02 19:11:37,947 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ce6651c1-f3ff-4d52-aecb-e9c96e07744b 2026-01-02 19:11:37,957 - DEBUG - Requesting: http://10.0.0.249:8082/project/6198705a-36ae-4f58-97bc-20d27b010ad6 2026-01-02 19:11:38,026 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3bc0f50a-4118-4a29-b1bb-d3f681db031c 2026-01-02 19:11:38,035 - DEBUG - ==>Verifying data for policy with id: 983bcdb5-d1a9-4b15-9191-692e6eedd2ad, fqn: ['default-domain', 'ctest-TestBasicPolicy-23873008', 'ctest-policy-allow-all-80501524'] 2026-01-02 19:11:38,035 - INFO - VN ctest-vn-90371466 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-02 19:11:38,035 - DEBUG - Verifying the vn in opserver 2026-01-02 19:11:38,035 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-90371466 virtual network link through opserver 10.0.0.249 2026-01-02 19:11:38,035 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-02 19:11:38,048 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-90371466', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-90371466?flat'} 2026-01-02 19:11:38,048 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-90371466 is found in opserver 2026-01-02 19:11:38,058 - DEBUG - Do not have enough data to verify VN in agent 2026-01-02 19:11:38,062 - DEBUG - VRF ids for VN ctest-vn-90371466: {} 2026-01-02 19:11:38,114 - DEBUG - Services list from nova: [, , ] 2026-01-02 19:11:39,096 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4953-1) 2026-01-02 19:11:40,248 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4953-1) 2026-01-02 19:11:40,249 - INFO - Waiting for VM ctest-TestBasicPolicy-23873008-94957735 to be up.. 2026-01-02 19:11:40,322 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-02 19:11:45,396 - DEBUG - VM is in ACTIVE state now 2026-01-02 19:11:45,396 - INFO - VM name : ctest-TestBasicPolicy-23873008-94957735 2026-01-02 19:11:45,493 - DEBUG - VM ctest-TestBasicPolicy-23873008-94957735 ID is d4280a79-71bc-42c1-b5b4-d74426934fc3 2026-01-02 19:11:45,511 - DEBUG - VM ctest-TestBasicPolicy-23873008-94957735 launched on Node cn-jenkins-deploy-platform-ansible-os-4953-1 2026-01-02 19:11:45,578 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d4280a79-71bc-42c1-b5b4-d74426934fc3 2026-01-02 19:11:45,587 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/af50ce29-a8cb-4c4f-ba58-76abdcee6a04 2026-01-02 19:11:48,835 - 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 1014ms') 2026-01-02 19:11:48,835 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23873008-94957735 failed! 2026-01-02 19:11:48,891 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-00947141 is 49.112.216.1 and allocation pool is NOT set 2026-01-02 19:11:50,951 - 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=4.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.786 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 = 0.786/2.707/4.628/1.921 ms') 2026-01-02 19:11:50,951 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23873008-94957735 passed 2026-01-02 19:11:51,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 19:11:51,123 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23873008-94957735, IP 49.112.216.3, Port 22 2026-01-02 19:11:51,279 - DEBUG - VM ctest-TestBasicPolicy-23873008-94957735 is ready for SSH connections 2026-01-02 19:11:51,279 - INFO - Waiting for VM ctest-TestBasicPolicy-23873008-89568777 to be up.. 2026-01-02 19:11:51,355 - DEBUG - VM is in ACTIVE state now 2026-01-02 19:11:51,355 - INFO - VM name : ctest-TestBasicPolicy-23873008-89568777 2026-01-02 19:11:51,517 - DEBUG - VM ctest-TestBasicPolicy-23873008-89568777 ID is b9f0f989-d7de-4fd5-9887-5d66c91d5803 2026-01-02 19:11:51,517 - DEBUG - VM ctest-TestBasicPolicy-23873008-89568777 launched on Node cn-jenkins-deploy-platform-ansible-os-4953-1 2026-01-02 19:11:51,582 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b9f0f989-d7de-4fd5-9887-5d66c91d5803 2026-01-02 19:11:51,590 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8f206326-7a9c-4e5e-b34a-79bca6d5d6aa 2026-01-02 19:11:52,818 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.446 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.446/1.655/2.865/1.209 ms') 2026-01-02 19:11:52,818 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23873008-89568777 passed 2026-01-02 19:11:52,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 19:11:52,963 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23873008-89568777, IP 110.148.215.67, Port 22 2026-01-02 19:11:53,122 - DEBUG - VM ctest-TestBasicPolicy-23873008-89568777 is ready for SSH connections 2026-01-02 19:11:53,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 19:11:53,122 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.148.215.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-02 19:11:53,123 - DEBUG - ping -s 56 -c 3 -W 1 110.148.215.67 2026-01-02 19:11:57,132 - DEBUG - PING 110.148.215.67 (110.148.215.67): 56 data bytes 64 bytes from 110.148.215.67: seq=0 ttl=63 time=3.322 ms 64 bytes from 110.148.215.67: seq=1 ttl=63 time=0.827 ms 64 bytes from 110.148.215.67: seq=2 ttl=63 time=0.960 ms --- 110.148.215.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.827/1.703/3.322 ms 2026-01-02 19:11:57,133 - INFO - Ping to IP 110.148.215.67 from VM ctest-TestBasicPolicy-23873008-94957735 passed 2026-01-02 19:11:57,303 - DEBUG - Policy Update Response {"network-policy": {"uuid": "983bcdb5-d1a9-4b15-9191-692e6eedd2ad", "href": "http://10.0.0.249:8082/network-policy/983bcdb5-d1a9-4b15-9191-692e6eedd2ad"}} 2026-01-02 19:11:57,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 19:11:57,303 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.148.215.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-02 19:11:57,303 - DEBUG - ping -s 56 -c 3 -W 1 110.148.215.67 2026-01-02 19:12:00,507 - DEBUG - PING 110.148.215.67 (110.148.215.67): 56 data bytes --- 110.148.215.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-02 19:12:00,507 - WARNING - Ping to IP 110.148.215.67 from VM ctest-TestBasicPolicy-23873008-94957735 failed 2026-01-02 19:12:00,507 - INFO - Deleting VM ctest-TestBasicPolicy-23873008-89568777 2026-01-02 19:12:00,573 - INFO - Deleting VM ctest-TestBasicPolicy-23873008-94957735 2026-01-02 19:12:00,920 - INFO - Deleted policy ctest-policy-allow-all-80501524 2026-01-02 19:12:00,921 - INFO - Deleting VN ctest-vn-90371466 2026-01-02 19:12:00,961 - DEBUG - VN 3bc0f50a-4118-4a29-b1bb-d3f681db031c still in use: Unable to complete operation on network 3bc0f50a-4118-4a29-b1bb-d3f681db031c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2ec49fb2-4c8f-41f9-801f-d3c28a6a4a47'] 2026-01-02 19:12:00,962 - WARNING - Deleting VN ctest-vn-90371466 failed..Will retry 2026-01-02 19:12:03,052 - DEBUG - Response for deleting network () 2026-01-02 19:12:03,052 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/661adce4-d863-4fdd-8571-e338b1a2a73d 2026-01-02 19:12:03,057 - DEBUG - Response Code: 404 2026-01-02 19:12:03,057 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-02 19:12:03,061 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ce6651c1-f3ff-4d52-aecb-e9c96e07744b 2026-01-02 19:12:03,112 - DEBUG - Requesting: http://10.0.0.249:8082/project/6198705a-36ae-4f58-97bc-20d27b010ad6 2026-01-02 19:12:03,175 - INFO - Validated that VN ctest-vn-90371466 is not found in API Server 2026-01-02 19:12:03,184 - DEBUG - VN ctest-vn-90371466 is not present in Agent 10.0.0.249 2026-01-02 19:12:03,184 - INFO - Validated that VN ctest-vn-90371466 is not in any agent 2026-01-02 19:12:03,196 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90371466 info 2026-01-02 19:12:03,196 - INFO - Deleting VN ctest-vn-00947141 2026-01-02 19:12:03,287 - DEBUG - Response for deleting network () 2026-01-02 19:12:03,287 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d04c9396-3ad2-4cf7-bdd7-98b2ea834123 2026-01-02 19:12:03,293 - DEBUG - Response Code: 404 2026-01-02 19:12:03,293 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-02 19:12:03,297 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ce6651c1-f3ff-4d52-aecb-e9c96e07744b 2026-01-02 19:12:03,352 - DEBUG - Requesting: http://10.0.0.249:8082/project/6198705a-36ae-4f58-97bc-20d27b010ad6 2026-01-02 19:12:03,420 - INFO - Validated that VN ctest-vn-00947141 is not found in API Server 2026-01-02 19:12:03,429 - DEBUG - VN ctest-vn-00947141 is not present in Agent 10.0.0.249 2026-01-02 19:12:03,429 - INFO - Validated that VN ctest-vn-00947141 is not in any agent 2026-01-02 19:12:03,443 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00947141 info 2026-01-02 19:12:03,695 - DEBUG - No XMPP flaps were noticed during the test 2026-01-02 19:12:03,695 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-01-02 19:12:03,696 - INFO - -------------------------------------------------------------------------------- 2026-01-02 19:12:04,346 - INFO - Deleted project: ctest-TestBasicPolicy-23873008, ID : 6198705a-36ae-4f58-97bc-20d27b010ad6