2026-01-29 08:33:59,738 - INFO - Domain Default found not creating 2026-01-29 08:33:59,929 - INFO - Project ctest-TestBasicPolicy-60270586 not found, creating it 2026-01-29 08:34:00,368 - INFO - Created Project:ctest-TestBasicPolicy-60270586, ID : 4a76a421-7455-496a-99b7-d4140e8ba635 2026-01-29 08:34:01,872 - INFO - ================================================================================ 2026-01-29 08:34:01,872 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-29 08:34:01,872 - 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-29 08:34:02,134 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-01-29 08:34:02,134 - INFO - Initial checks done. Running the testcase now 2026-01-29 08:34:02,134 - INFO - 2026-01-29 08:34:02,686 - DEBUG - Response for create_network : {'network': {'id': 'f380f3a1-47a9-4367-906f-4c32c5a34477', 'name': 'ctest-vn-22882571', 'tenant_id': '4a76a4217455496a99b7d4140e8ba635', 'project_id': '4a76a4217455496a99b7d4140e8ba635', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60270586', 'ctest-vn-22882571'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 08:34:02,853 - DEBUG - Response for create_subnet : {'subnet': {'id': '95a7af76-f170-4151-b3d6-b9b8e2bfbeb4', 'name': '', 'tenant_id': '4a76a4217455496a99b7d4140e8ba635', 'network_id': 'f380f3a1-47a9-4367-906f-4c32c5a34477', 'ip_version': 4, 'cidr': '3.92.250.64/26', 'allocation_pools': [{'start': '3.92.250.66', 'end': '3.92.250.126'}], 'gateway_ip': '3.92.250.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.92.250.66', 'tags': [], 'project_id': '4a76a4217455496a99b7d4140e8ba635'}} 2026-01-29 08:34:02,875 - INFO - Created VN ctest-vn-22882571 2026-01-29 08:34:02,927 - DEBUG - VN ctest-vn-22882571 UUID is f380f3a1-47a9-4367-906f-4c32c5a34477 2026-01-29 08:34:03,254 - DEBUG - Response for create_network : {'network': {'id': 'ea211b8f-2ad2-4d41-86e1-b364d322990b', 'name': 'ctest-vn-87642825', 'tenant_id': '4a76a4217455496a99b7d4140e8ba635', 'project_id': '4a76a4217455496a99b7d4140e8ba635', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60270586', 'ctest-vn-87642825'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 08:34:03,458 - DEBUG - Response for create_subnet : {'subnet': {'id': '773acad1-fa23-41a0-93f1-bc9a315793b3', 'name': '', 'tenant_id': '4a76a4217455496a99b7d4140e8ba635', 'network_id': 'ea211b8f-2ad2-4d41-86e1-b364d322990b', 'ip_version': 4, 'cidr': '159.26.128.64/26', 'allocation_pools': [{'start': '159.26.128.66', 'end': '159.26.128.126'}], 'gateway_ip': '159.26.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.26.128.66', 'tags': [], 'project_id': '4a76a4217455496a99b7d4140e8ba635'}} 2026-01-29 08:34:03,476 - INFO - Created VN ctest-vn-87642825 2026-01-29 08:34:03,527 - DEBUG - VN ctest-vn-87642825 UUID is ea211b8f-2ad2-4d41-86e1-b364d322990b 2026-01-29 08:34:03,679 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60270586:ctest-vn-22882571, 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-60270586:ctest-vn-87642825, 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-29 08:34:03,985 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f380f3a1-47a9-4367-906f-4c32c5a34477', 'name': 'ctest-vn-22882571', 'tenant_id': '4a76a4217455496a99b7d4140e8ba635', 'project_id': '4a76a4217455496a99b7d4140e8ba635', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['95a7af76-f170-4151-b3d6-b9b8e2bfbeb4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60270586', 'ctest-vn-22882571'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60270586', 'ctest-policy-allow-all-98802297']], 'subnet_ipam': [{'subnet_cidr': '3.92.250.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 08:34:04,235 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ea211b8f-2ad2-4d41-86e1-b364d322990b', 'name': 'ctest-vn-87642825', 'tenant_id': '4a76a4217455496a99b7d4140e8ba635', 'project_id': '4a76a4217455496a99b7d4140e8ba635', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['773acad1-fa23-41a0-93f1-bc9a315793b3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60270586', 'ctest-vn-87642825'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60270586', 'ctest-policy-allow-all-98802297']], 'subnet_ipam': [{'subnet_cidr': '159.26.128.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 08:34:04,399 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-29 08:34:04,695 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-29 08:34:04,728 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4acec710-3e48-4301-8c3a-93cb874a0a14 2026-01-29 08:34:04,739 - DEBUG - Requesting: http://10.0.0.249:8082/project/4a76a421-7455-496a-99b7-d4140e8ba635 2026-01-29 08:34:04,812 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f380f3a1-47a9-4367-906f-4c32c5a34477 2026-01-29 08:34:04,823 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f380f3a1-47a9-4367-906f-4c32c5a34477 2026-01-29 08:34:04,832 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cb1bd142-03e1-44e9-a7f2-038d8670917e 2026-01-29 08:34:04,839 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cb1bd142-03e1-44e9-a7f2-038d8670917e 2026-01-29 08:34:04,845 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/79bd96b2-8d5b-484c-b9e6-fc92bf94fdcb 2026-01-29 08:34:04,851 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 08:34:04,851 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f380f3a1-47a9-4367-906f-4c32c5a34477 2026-01-29 08:34:04,858 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cb1bd142-03e1-44e9-a7f2-038d8670917e 2026-01-29 08:34:04,872 - INFO - Verified VN network id 11 for VN f380f3a1-47a9-4367-906f-4c32c5a34477 2026-01-29 08:34:04,872 - INFO - Verifications in API Server for VN ctest-vn-22882571 passed 2026-01-29 08:34:04,872 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f380f3a1-47a9-4367-906f-4c32c5a34477 2026-01-29 08:34:04,881 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cb1bd142-03e1-44e9-a7f2-038d8670917e 2026-01-29 08:34:04,888 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cb1bd142-03e1-44e9-a7f2-038d8670917e 2026-01-29 08:34:04,895 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/79bd96b2-8d5b-484c-b9e6-fc92bf94fdcb 2026-01-29 08:34:04,906 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60270586:ctest-vn-22882571', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60270586', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17546292022253011815', 'uuid-lslong': '10407621044824392823'}, 'enable': 'true', 'created': '2026-01-29T08:34:02', 'last-modified': '2026-01-29T08:34:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.942640'} 2026-01-29 08:34:04,912 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 08:34:04,912 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22882571 passed 2026-01-29 08:34:04,912 - DEBUG - ====Verifying policy data for ctest-vn-22882571 in API_Server ====== 2026-01-29 08:34:04,912 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-29 08:34:04,917 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4acec710-3e48-4301-8c3a-93cb874a0a14 2026-01-29 08:34:04,930 - DEBUG - Requesting: http://10.0.0.249:8082/project/4a76a421-7455-496a-99b7-d4140e8ba635 2026-01-29 08:34:05,001 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f380f3a1-47a9-4367-906f-4c32c5a34477 2026-01-29 08:34:05,010 - DEBUG - ==>Verifying data for policy with id: 684b70f0-ea9f-466a-adb0-de61c9ad8baf, fqn: ['default-domain', 'ctest-TestBasicPolicy-60270586', 'ctest-policy-allow-all-98802297'] 2026-01-29 08:34:05,010 - INFO - VN ctest-vn-22882571 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 08:34:05,010 - DEBUG - Verifying the vn in opserver 2026-01-29 08:34:05,010 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60270586:ctest-vn-22882571 virtual network link through opserver 10.0.0.249 2026-01-29 08:34:05,010 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-29 08:34:05,302 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-29 08:34:05,366 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60270586:ctest-vn-22882571', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60270586:ctest-vn-22882571?flat'} 2026-01-29 08:34:05,366 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60270586:ctest-vn-22882571 is found in opserver 2026-01-29 08:34:05,377 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 08:34:05,382 - DEBUG - VRF ids for VN ctest-vn-22882571: {} 2026-01-29 08:34:05,382 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-29 08:34:05,388 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4acec710-3e48-4301-8c3a-93cb874a0a14 2026-01-29 08:34:05,401 - DEBUG - Requesting: http://10.0.0.249:8082/project/4a76a421-7455-496a-99b7-d4140e8ba635 2026-01-29 08:34:05,466 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ea211b8f-2ad2-4d41-86e1-b364d322990b 2026-01-29 08:34:05,477 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ea211b8f-2ad2-4d41-86e1-b364d322990b 2026-01-29 08:34:05,486 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a78cf4d9-9cb7-4561-a358-b822bc03e5da 2026-01-29 08:34:05,493 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a78cf4d9-9cb7-4561-a358-b822bc03e5da 2026-01-29 08:34:05,500 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9ecfa6a0-9dfc-4e02-9ccb-fef0e0fd79e1 2026-01-29 08:34:05,507 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 08:34:05,508 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ea211b8f-2ad2-4d41-86e1-b364d322990b 2026-01-29 08:34:05,516 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a78cf4d9-9cb7-4561-a358-b822bc03e5da 2026-01-29 08:34:05,530 - INFO - Verified VN network id 12 for VN ea211b8f-2ad2-4d41-86e1-b364d322990b 2026-01-29 08:34:05,530 - INFO - Verifications in API Server for VN ctest-vn-87642825 passed 2026-01-29 08:34:05,530 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ea211b8f-2ad2-4d41-86e1-b364d322990b 2026-01-29 08:34:05,539 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a78cf4d9-9cb7-4561-a358-b822bc03e5da 2026-01-29 08:34:05,546 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a78cf4d9-9cb7-4561-a358-b822bc03e5da 2026-01-29 08:34:05,552 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9ecfa6a0-9dfc-4e02-9ccb-fef0e0fd79e1 2026-01-29 08:34:05,562 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60270586:ctest-vn-87642825', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60270586', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16870795980819287361', 'uuid-lslong': '9719246716462602507'}, 'enable': 'true', 'created': '2026-01-29T08:34:03', 'last-modified': '2026-01-29T08:34:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.354212'} 2026-01-29 08:34:05,569 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 08:34:05,569 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87642825 passed 2026-01-29 08:34:05,569 - DEBUG - ====Verifying policy data for ctest-vn-87642825 in API_Server ====== 2026-01-29 08:34:05,569 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-29 08:34:05,575 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4acec710-3e48-4301-8c3a-93cb874a0a14 2026-01-29 08:34:05,585 - DEBUG - Requesting: http://10.0.0.249:8082/project/4a76a421-7455-496a-99b7-d4140e8ba635 2026-01-29 08:34:05,652 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ea211b8f-2ad2-4d41-86e1-b364d322990b 2026-01-29 08:34:05,662 - DEBUG - ==>Verifying data for policy with id: 684b70f0-ea9f-466a-adb0-de61c9ad8baf, fqn: ['default-domain', 'ctest-TestBasicPolicy-60270586', 'ctest-policy-allow-all-98802297'] 2026-01-29 08:34:05,662 - INFO - VN ctest-vn-87642825 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 08:34:05,662 - DEBUG - Verifying the vn in opserver 2026-01-29 08:34:05,662 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60270586:ctest-vn-87642825 virtual network link through opserver 10.0.0.249 2026-01-29 08:34:05,662 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-29 08:34:05,673 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60270586:ctest-vn-87642825', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60270586:ctest-vn-87642825?flat'} 2026-01-29 08:34:05,673 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60270586:ctest-vn-87642825 is found in opserver 2026-01-29 08:34:05,682 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 08:34:05,687 - DEBUG - VRF ids for VN ctest-vn-87642825: {} 2026-01-29 08:34:05,742 - DEBUG - Services list from nova: [, , ] 2026-01-29 08:34:06,759 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5122-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5122-1) 2026-01-29 08:34:07,883 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5122-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5122-1) 2026-01-29 08:34:07,883 - INFO - Waiting for VM ctest-TestBasicPolicy-60270586-88127877 to be up.. 2026-01-29 08:34:07,971 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 08:34:13,061 - DEBUG - VM is in ACTIVE state now 2026-01-29 08:34:13,061 - INFO - VM name : ctest-TestBasicPolicy-60270586-88127877 2026-01-29 08:34:13,159 - DEBUG - VM ctest-TestBasicPolicy-60270586-88127877 ID is 7a8e876e-0906-406d-a298-f0b3364dadc7 2026-01-29 08:34:13,185 - DEBUG - VM ctest-TestBasicPolicy-60270586-88127877 launched on Node cn-jenkins-deploy-platform-ansible-os-5122-1 2026-01-29 08:34:13,277 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/7a8e876e-0906-406d-a298-f0b3364dadc7 2026-01-29 08:34:13,287 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/24376fd7-3ce1-440c-b539-5b16229688b2 2026-01-29 08:34:16,537 - 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 1006ms') 2026-01-29 08:34:16,537 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60270586-88127877 failed! 2026-01-29 08:34:16,599 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-60270586:ctest-vn-22882571 is 3.92.250.65 and allocation pool is NOT set 2026-01-29 08:34:18,658 - 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=9.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 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 = 0.435/4.769/9.103/4.334 ms') 2026-01-29 08:34:18,658 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60270586-88127877 passed 2026-01-29 08:34:18,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 08:34:18,819 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60270586-88127877, IP 3.92.250.67, Port 22 2026-01-29 08:34:18,975 - DEBUG - VM ctest-TestBasicPolicy-60270586-88127877 is ready for SSH connections 2026-01-29 08:34:18,976 - INFO - Waiting for VM ctest-TestBasicPolicy-60270586-92092290 to be up.. 2026-01-29 08:34:19,050 - DEBUG - VM is in ACTIVE state now 2026-01-29 08:34:19,050 - INFO - VM name : ctest-TestBasicPolicy-60270586-92092290 2026-01-29 08:34:19,131 - DEBUG - VM ctest-TestBasicPolicy-60270586-92092290 ID is 4e26f69d-9de6-452a-b798-ac1ae35f3499 2026-01-29 08:34:19,132 - DEBUG - VM ctest-TestBasicPolicy-60270586-92092290 launched on Node cn-jenkins-deploy-platform-ansible-os-5122-1 2026-01-29 08:34:19,207 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4e26f69d-9de6-452a-b798-ac1ae35f3499 2026-01-29 08:34:19,216 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e8c3773a-864d-4304-a1bd-0395117915ca 2026-01-29 08:34:20,453 - 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=3.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.472 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.472/2.021/3.570/1.549 ms') 2026-01-29 08:34:20,453 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-60270586-92092290 passed 2026-01-29 08:34:20,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 08:34:20,599 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60270586-92092290, IP 159.26.128.67, Port 22 2026-01-29 08:34:20,755 - DEBUG - VM ctest-TestBasicPolicy-60270586-92092290 is ready for SSH connections 2026-01-29 08:34:20,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 08:34:20,755 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.26.128.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-29 08:34:20,755 - DEBUG - ping -s 56 -c 3 -W 1 159.26.128.67 2026-01-29 08:34:24,751 - DEBUG - PING 159.26.128.67 (159.26.128.67): 56 data bytes 64 bytes from 159.26.128.67: seq=0 ttl=63 time=3.747 ms 64 bytes from 159.26.128.67: seq=1 ttl=63 time=1.047 ms 64 bytes from 159.26.128.67: seq=2 ttl=63 time=0.836 ms --- 159.26.128.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.836/1.876/3.747 ms 2026-01-29 08:34:24,751 - INFO - Ping to IP 159.26.128.67 from VM ctest-TestBasicPolicy-60270586-88127877 passed 2026-01-29 08:34:24,927 - DEBUG - Policy Update Response {"network-policy": {"uuid": "684b70f0-ea9f-466a-adb0-de61c9ad8baf", "href": "http://10.0.0.249:8082/network-policy/684b70f0-ea9f-466a-adb0-de61c9ad8baf"}} 2026-01-29 08:34:24,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 08:34:24,927 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.26.128.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-29 08:34:24,928 - DEBUG - ping -s 56 -c 3 -W 1 159.26.128.67 2026-01-29 08:34:28,147 - DEBUG - PING 159.26.128.67 (159.26.128.67): 56 data bytes --- 159.26.128.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-29 08:34:28,147 - WARNING - Ping to IP 159.26.128.67 from VM ctest-TestBasicPolicy-60270586-88127877 failed 2026-01-29 08:34:28,147 - INFO - Deleting VM ctest-TestBasicPolicy-60270586-92092290 2026-01-29 08:34:28,211 - INFO - Deleting VM ctest-TestBasicPolicy-60270586-88127877 2026-01-29 08:34:28,583 - INFO - Deleted policy ctest-policy-allow-all-98802297 2026-01-29 08:34:28,583 - INFO - Deleting VN ctest-vn-87642825 2026-01-29 08:34:28,621 - DEBUG - VN ea211b8f-2ad2-4d41-86e1-b364d322990b still in use: Unable to complete operation on network ea211b8f-2ad2-4d41-86e1-b364d322990b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aa22cd7c-b8d2-44ef-aaa2-b0384f0e6570'] 2026-01-29 08:34:28,621 - WARNING - Deleting VN ctest-vn-87642825 failed..Will retry 2026-01-29 08:34:30,729 - DEBUG - Response for deleting network () 2026-01-29 08:34:30,729 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a78cf4d9-9cb7-4561-a358-b822bc03e5da 2026-01-29 08:34:30,739 - DEBUG - Response Code: 404 2026-01-29 08:34:30,739 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-29 08:34:30,745 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4acec710-3e48-4301-8c3a-93cb874a0a14 2026-01-29 08:34:30,800 - DEBUG - Requesting: http://10.0.0.249:8082/project/4a76a421-7455-496a-99b7-d4140e8ba635 2026-01-29 08:34:30,869 - INFO - Validated that VN ctest-vn-87642825 is not found in API Server 2026-01-29 08:34:30,880 - DEBUG - VN ctest-vn-87642825 is not present in Agent 10.0.0.249 2026-01-29 08:34:30,880 - INFO - Validated that VN ctest-vn-87642825 is not in any agent 2026-01-29 08:34:30,903 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87642825 info 2026-01-29 08:34:30,903 - INFO - Deleting VN ctest-vn-22882571 2026-01-29 08:34:31,003 - DEBUG - Response for deleting network () 2026-01-29 08:34:31,003 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cb1bd142-03e1-44e9-a7f2-038d8670917e 2026-01-29 08:34:31,008 - DEBUG - Response Code: 404 2026-01-29 08:34:31,008 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-29 08:34:31,016 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4acec710-3e48-4301-8c3a-93cb874a0a14 2026-01-29 08:34:31,068 - DEBUG - Requesting: http://10.0.0.249:8082/project/4a76a421-7455-496a-99b7-d4140e8ba635 2026-01-29 08:34:31,142 - INFO - Validated that VN ctest-vn-22882571 is not found in API Server 2026-01-29 08:34:31,152 - DEBUG - VN ctest-vn-22882571 is not present in Agent 10.0.0.249 2026-01-29 08:34:31,152 - INFO - Validated that VN ctest-vn-22882571 is not in any agent 2026-01-29 08:34:31,165 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22882571 info 2026-01-29 08:34:31,420 - DEBUG - No XMPP flaps were noticed during the test 2026-01-29 08:34:31,420 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-01-29 08:34:31,421 - INFO - -------------------------------------------------------------------------------- 2026-01-29 08:34:32,124 - INFO - Deleted project: ctest-TestBasicPolicy-60270586, ID : 4a76a421-7455-496a-99b7-d4140e8ba635