2026-04-29 19:05:33,701 - INFO - Domain Default found not creating 2026-04-29 19:05:33,884 - INFO - Project ctest-TestBasicPolicy-69955883 not found, creating it 2026-04-29 19:05:34,345 - INFO - Created Project:ctest-TestBasicPolicy-69955883, ID : c48f8a65-3937-4d65-bf77-44d7627bca07 2026-04-29 19:05:35,857 - INFO - ================================================================================ 2026-04-29 19:05:35,857 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-29 19:05:35,857 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-04-29 19:05:36,112 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-04-29 19:05:36,112 - INFO - Initial checks done. Running the testcase now 2026-04-29 19:05:36,112 - INFO - 2026-04-29 19:05:36,677 - DEBUG - Response for create_network : {'network': {'id': '73434ddd-7da9-4c14-b2d1-952d66918cb3', 'name': 'ctest-vn-57299003', 'tenant_id': 'c48f8a6539374d65bf7744d7627bca07', 'project_id': 'c48f8a6539374d65bf7744d7627bca07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69955883', 'ctest-vn-57299003'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:05:36,893 - DEBUG - Response for create_subnet : {'subnet': {'id': '518e25a0-6588-4538-9129-39517269f141', 'name': '', 'tenant_id': 'c48f8a6539374d65bf7744d7627bca07', 'network_id': '73434ddd-7da9-4c14-b2d1-952d66918cb3', 'ip_version': 4, 'cidr': '60.143.183.0/26', 'allocation_pools': [{'start': '60.143.183.2', 'end': '60.143.183.62'}], 'gateway_ip': '60.143.183.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.143.183.2', 'tags': [], 'project_id': 'c48f8a6539374d65bf7744d7627bca07'}} 2026-04-29 19:05:36,913 - INFO - Created VN ctest-vn-57299003 2026-04-29 19:05:36,967 - DEBUG - VN ctest-vn-57299003 UUID is 73434ddd-7da9-4c14-b2d1-952d66918cb3 2026-04-29 19:05:37,304 - DEBUG - Response for create_network : {'network': {'id': '61842e6c-c7b8-4a52-90e9-cb8789a4a82a', 'name': 'ctest-vn-10153948', 'tenant_id': 'c48f8a6539374d65bf7744d7627bca07', 'project_id': 'c48f8a6539374d65bf7744d7627bca07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69955883', 'ctest-vn-10153948'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:05:37,516 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb7f8f24-b3c6-45e8-b5e7-00acfd680d54', 'name': '', 'tenant_id': 'c48f8a6539374d65bf7744d7627bca07', 'network_id': '61842e6c-c7b8-4a52-90e9-cb8789a4a82a', 'ip_version': 4, 'cidr': '105.150.115.64/26', 'allocation_pools': [{'start': '105.150.115.66', 'end': '105.150.115.126'}], 'gateway_ip': '105.150.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.150.115.66', 'tags': [], 'project_id': 'c48f8a6539374d65bf7744d7627bca07'}} 2026-04-29 19:05:37,537 - INFO - Created VN ctest-vn-10153948 2026-04-29 19:05:37,591 - DEBUG - VN ctest-vn-10153948 UUID is 61842e6c-c7b8-4a52-90e9-cb8789a4a82a 2026-04-29 19:05:37,705 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69955883:ctest-vn-57299003, 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-69955883:ctest-vn-10153948, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-04-29 19:05:38,010 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '73434ddd-7da9-4c14-b2d1-952d66918cb3', 'name': 'ctest-vn-57299003', 'tenant_id': 'c48f8a6539374d65bf7744d7627bca07', 'project_id': 'c48f8a6539374d65bf7744d7627bca07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['518e25a0-6588-4538-9129-39517269f141'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69955883', 'ctest-vn-57299003'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69955883', 'ctest-policy-allow-all-00284358']], 'subnet_ipam': [{'subnet_cidr': '60.143.183.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:05:38,267 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '61842e6c-c7b8-4a52-90e9-cb8789a4a82a', 'name': 'ctest-vn-10153948', 'tenant_id': 'c48f8a6539374d65bf7744d7627bca07', 'project_id': 'c48f8a6539374d65bf7744d7627bca07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cb7f8f24-b3c6-45e8-b5e7-00acfd680d54'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69955883', 'ctest-vn-10153948'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69955883', 'ctest-policy-allow-all-00284358']], 'subnet_ipam': [{'subnet_cidr': '105.150.115.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:05:38,443 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 19:05:38,740 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 19:05:38,776 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4b692a26-661f-4c94-8dde-fb666bc77973 2026-04-29 19:05:38,790 - DEBUG - Requesting: http://10.0.0.249:8082/project/c48f8a65-3937-4d65-bf77-44d7627bca07 2026-04-29 19:05:38,864 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/73434ddd-7da9-4c14-b2d1-952d66918cb3 2026-04-29 19:05:38,875 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/73434ddd-7da9-4c14-b2d1-952d66918cb3 2026-04-29 19:05:38,887 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cc80fb15-bb6a-4f51-8efa-56836d316d49 2026-04-29 19:05:38,894 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cc80fb15-bb6a-4f51-8efa-56836d316d49 2026-04-29 19:05:38,902 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9dbba563-31c3-41a7-958c-7ee8a6f217c8 2026-04-29 19:05:38,910 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 19:05:38,910 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/73434ddd-7da9-4c14-b2d1-952d66918cb3 2026-04-29 19:05:38,919 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cc80fb15-bb6a-4f51-8efa-56836d316d49 2026-04-29 19:05:38,935 - INFO - Verified VN network id 11 for VN 73434ddd-7da9-4c14-b2d1-952d66918cb3 2026-04-29 19:05:38,935 - INFO - Verifications in API Server for VN ctest-vn-57299003 passed 2026-04-29 19:05:38,935 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/73434ddd-7da9-4c14-b2d1-952d66918cb3 2026-04-29 19:05:38,945 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cc80fb15-bb6a-4f51-8efa-56836d316d49 2026-04-29 19:05:38,953 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cc80fb15-bb6a-4f51-8efa-56836d316d49 2026-04-29 19:05:38,961 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9dbba563-31c3-41a7-958c-7ee8a6f217c8 2026-04-29 19:05:38,976 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69955883:ctest-vn-57299003', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69955883', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8305567751492684820', 'uuid-lslong': '12885244031110581427'}, 'enable': 'true', 'created': '2026-04-29T19:05:36', 'last-modified': '2026-04-29T19:05:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.002394'} 2026-04-29 19:05:38,983 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 19:05:38,983 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57299003 passed 2026-04-29 19:05:38,984 - DEBUG - ====Verifying policy data for ctest-vn-57299003 in API_Server ====== 2026-04-29 19:05:38,984 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 19:05:38,990 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4b692a26-661f-4c94-8dde-fb666bc77973 2026-04-29 19:05:39,004 - DEBUG - Requesting: http://10.0.0.249:8082/project/c48f8a65-3937-4d65-bf77-44d7627bca07 2026-04-29 19:05:39,074 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/73434ddd-7da9-4c14-b2d1-952d66918cb3 2026-04-29 19:05:39,083 - DEBUG - ==>Verifying data for policy with id: c0877af2-348d-48e4-9408-2377d8ec0bd3, fqn: ['default-domain', 'ctest-TestBasicPolicy-69955883', 'ctest-policy-allow-all-00284358'] 2026-04-29 19:05:39,083 - INFO - VN ctest-vn-57299003 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 19:05:39,083 - DEBUG - Verifying the vn in opserver 2026-04-29 19:05:39,084 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69955883:ctest-vn-57299003 virtual network link through opserver 10.0.0.249 2026-04-29 19:05:39,084 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-29 19:05:39,377 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-29 19:05:39,453 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69955883:ctest-vn-57299003', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69955883:ctest-vn-57299003?flat'} 2026-04-29 19:05:39,453 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69955883:ctest-vn-57299003 is found in opserver 2026-04-29 19:05:39,462 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 19:05:39,468 - DEBUG - VRF ids for VN ctest-vn-57299003: {} 2026-04-29 19:05:39,468 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 19:05:39,474 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4b692a26-661f-4c94-8dde-fb666bc77973 2026-04-29 19:05:39,485 - DEBUG - Requesting: http://10.0.0.249:8082/project/c48f8a65-3937-4d65-bf77-44d7627bca07 2026-04-29 19:05:39,555 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/61842e6c-c7b8-4a52-90e9-cb8789a4a82a 2026-04-29 19:05:39,567 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/61842e6c-c7b8-4a52-90e9-cb8789a4a82a 2026-04-29 19:05:39,577 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/135009ce-4bd6-482a-859d-bef4a61dae6f 2026-04-29 19:05:39,585 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/135009ce-4bd6-482a-859d-bef4a61dae6f 2026-04-29 19:05:39,593 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/481a7430-0c63-4c61-ba0f-4e58eb1dd371 2026-04-29 19:05:39,601 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 19:05:39,601 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/61842e6c-c7b8-4a52-90e9-cb8789a4a82a 2026-04-29 19:05:39,612 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/135009ce-4bd6-482a-859d-bef4a61dae6f 2026-04-29 19:05:39,628 - INFO - Verified VN network id 12 for VN 61842e6c-c7b8-4a52-90e9-cb8789a4a82a 2026-04-29 19:05:39,629 - INFO - Verifications in API Server for VN ctest-vn-10153948 passed 2026-04-29 19:05:39,629 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/61842e6c-c7b8-4a52-90e9-cb8789a4a82a 2026-04-29 19:05:39,640 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/135009ce-4bd6-482a-859d-bef4a61dae6f 2026-04-29 19:05:39,647 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/135009ce-4bd6-482a-859d-bef4a61dae6f 2026-04-29 19:05:39,655 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/481a7430-0c63-4c61-ba0f-4e58eb1dd371 2026-04-29 19:05:39,670 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69955883:ctest-vn-10153948', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69955883', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7026792363346905682', 'uuid-lslong': '10442100994025498666'}, 'enable': 'true', 'created': '2026-04-29T19:05:37', 'last-modified': '2026-04-29T19:05:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.439918'} 2026-04-29 19:05:39,676 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 19:05:39,676 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10153948 passed 2026-04-29 19:05:39,676 - DEBUG - ====Verifying policy data for ctest-vn-10153948 in API_Server ====== 2026-04-29 19:05:39,677 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 19:05:39,682 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4b692a26-661f-4c94-8dde-fb666bc77973 2026-04-29 19:05:39,693 - DEBUG - Requesting: http://10.0.0.249:8082/project/c48f8a65-3937-4d65-bf77-44d7627bca07 2026-04-29 19:05:39,767 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/61842e6c-c7b8-4a52-90e9-cb8789a4a82a 2026-04-29 19:05:39,777 - DEBUG - ==>Verifying data for policy with id: c0877af2-348d-48e4-9408-2377d8ec0bd3, fqn: ['default-domain', 'ctest-TestBasicPolicy-69955883', 'ctest-policy-allow-all-00284358'] 2026-04-29 19:05:39,777 - INFO - VN ctest-vn-10153948 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 19:05:39,777 - DEBUG - Verifying the vn in opserver 2026-04-29 19:05:39,777 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69955883:ctest-vn-10153948 virtual network link through opserver 10.0.0.249 2026-04-29 19:05:39,777 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-29 19:05:39,788 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69955883:ctest-vn-10153948', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69955883:ctest-vn-10153948?flat'} 2026-04-29 19:05:39,788 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69955883:ctest-vn-10153948 is found in opserver 2026-04-29 19:05:39,798 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 19:05:39,804 - DEBUG - VRF ids for VN ctest-vn-10153948: {} 2026-04-29 19:05:39,889 - DEBUG - Services list from nova: [, , ] 2026-04-29 19:05:40,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5713-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5713-1) 2026-04-29 19:05:42,134 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5713-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5713-1) 2026-04-29 19:05:42,134 - INFO - Waiting for VM ctest-TestBasicPolicy-69955883-14724974 to be up.. 2026-04-29 19:05:42,223 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-29 19:05:47,302 - DEBUG - VM is in ACTIVE state now 2026-04-29 19:05:47,302 - INFO - VM name : ctest-TestBasicPolicy-69955883-14724974 2026-04-29 19:05:47,379 - DEBUG - VM ctest-TestBasicPolicy-69955883-14724974 ID is 1cc7781f-e130-463d-a9ca-8b918c7d56fd 2026-04-29 19:05:47,400 - DEBUG - VM ctest-TestBasicPolicy-69955883-14724974 launched on Node cn-jenkins-deploy-platform-ansible-os-5713-1 2026-04-29 19:05:47,476 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/1cc7781f-e130-463d-a9ca-8b918c7d56fd 2026-04-29 19:05:47,486 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e1d6ff73-f1f3-402c-8eab-d576fcfa09d5 2026-04-29 19:05:50,741 - 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-04-29 19:05:50,741 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69955883-14724974 failed! 2026-04-29 19:05:50,795 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69955883:ctest-vn-57299003 is 60.143.183.1 and allocation pool is NOT set 2026-04-29 19:05:52,861 - 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=16.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.71 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.708/9.652/16.596/6.944 ms') 2026-04-29 19:05:52,862 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69955883-14724974 passed 2026-04-29 19:05:53,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:05:53,015 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69955883-14724974, IP 60.143.183.3, Port 22 2026-04-29 19:05:53,171 - DEBUG - VM ctest-TestBasicPolicy-69955883-14724974 is ready for SSH connections 2026-04-29 19:05:53,171 - INFO - Waiting for VM ctest-TestBasicPolicy-69955883-06750652 to be up.. 2026-04-29 19:05:53,246 - DEBUG - VM is in ACTIVE state now 2026-04-29 19:05:53,246 - INFO - VM name : ctest-TestBasicPolicy-69955883-06750652 2026-04-29 19:05:53,322 - DEBUG - VM ctest-TestBasicPolicy-69955883-06750652 ID is 6ac79426-eb46-4c52-844f-b29552462784 2026-04-29 19:05:53,322 - DEBUG - VM ctest-TestBasicPolicy-69955883-06750652 launched on Node cn-jenkins-deploy-platform-ansible-os-5713-1 2026-04-29 19:05:53,396 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/6ac79426-eb46-4c52-844f-b29552462784 2026-04-29 19:05:53,405 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/5cf0a40a-15c2-4a63-ac91-3bb332e0291d 2026-04-29 19:05:54,717 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 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 = 1.017/2.613/4.210/1.596 ms') 2026-04-29 19:05:54,717 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69955883-06750652 passed 2026-04-29 19:05:54,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:05:54,871 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69955883-06750652, IP 105.150.115.67, Port 22 2026-04-29 19:05:55,026 - DEBUG - VM ctest-TestBasicPolicy-69955883-06750652 is ready for SSH connections 2026-04-29 19:05:55,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:05:55,027 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.150.115.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-29 19:05:55,027 - DEBUG - ping -s 56 -c 3 -W 1 105.150.115.67 2026-04-29 19:05:59,125 - DEBUG - PING 105.150.115.67 (105.150.115.67): 56 data bytes 64 bytes from 105.150.115.67: seq=0 ttl=63 time=3.818 ms 64 bytes from 105.150.115.67: seq=1 ttl=63 time=0.950 ms 64 bytes from 105.150.115.67: seq=2 ttl=63 time=0.930 ms --- 105.150.115.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.930/1.899/3.818 ms 2026-04-29 19:05:59,125 - INFO - Ping to IP 105.150.115.67 from VM ctest-TestBasicPolicy-69955883-14724974 passed 2026-04-29 19:05:59,295 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c0877af2-348d-48e4-9408-2377d8ec0bd3", "href": "http://10.0.0.249:8082/network-policy/c0877af2-348d-48e4-9408-2377d8ec0bd3"}} 2026-04-29 19:05:59,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:05:59,295 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.150.115.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-29 19:05:59,295 - DEBUG - ping -s 56 -c 3 -W 1 105.150.115.67 2026-04-29 19:06:02,515 - DEBUG - PING 105.150.115.67 (105.150.115.67): 56 data bytes --- 105.150.115.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-29 19:06:02,515 - WARNING - Ping to IP 105.150.115.67 from VM ctest-TestBasicPolicy-69955883-14724974 failed 2026-04-29 19:06:02,515 - INFO - Deleting VM ctest-TestBasicPolicy-69955883-06750652 2026-04-29 19:06:02,590 - INFO - Deleting VM ctest-TestBasicPolicy-69955883-14724974 2026-04-29 19:06:02,976 - INFO - Deleted policy ctest-policy-allow-all-00284358 2026-04-29 19:06:02,976 - INFO - Deleting VN ctest-vn-10153948 2026-04-29 19:06:03,015 - DEBUG - VN 61842e6c-c7b8-4a52-90e9-cb8789a4a82a still in use: Unable to complete operation on network 61842e6c-c7b8-4a52-90e9-cb8789a4a82a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c8ee0547-7add-46ec-83e9-896c8cb1ead9'] 2026-04-29 19:06:03,016 - WARNING - Deleting VN ctest-vn-10153948 failed..Will retry 2026-04-29 19:06:05,119 - DEBUG - Response for deleting network () 2026-04-29 19:06:05,119 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/135009ce-4bd6-482a-859d-bef4a61dae6f 2026-04-29 19:06:05,126 - DEBUG - Response Code: 404 2026-04-29 19:06:05,127 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 19:06:05,133 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4b692a26-661f-4c94-8dde-fb666bc77973 2026-04-29 19:06:05,189 - DEBUG - Requesting: http://10.0.0.249:8082/project/c48f8a65-3937-4d65-bf77-44d7627bca07 2026-04-29 19:06:05,263 - INFO - Validated that VN ctest-vn-10153948 is not found in API Server 2026-04-29 19:06:05,272 - DEBUG - VN ctest-vn-10153948 is not present in Agent 10.0.0.249 2026-04-29 19:06:05,272 - INFO - Validated that VN ctest-vn-10153948 is not in any agent 2026-04-29 19:06:05,286 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10153948 info 2026-04-29 19:06:05,286 - INFO - Deleting VN ctest-vn-57299003 2026-04-29 19:06:05,396 - DEBUG - Response for deleting network () 2026-04-29 19:06:05,396 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cc80fb15-bb6a-4f51-8efa-56836d316d49 2026-04-29 19:06:05,401 - DEBUG - Response Code: 404 2026-04-29 19:06:05,401 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 19:06:05,407 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4b692a26-661f-4c94-8dde-fb666bc77973 2026-04-29 19:06:05,461 - DEBUG - Requesting: http://10.0.0.249:8082/project/c48f8a65-3937-4d65-bf77-44d7627bca07 2026-04-29 19:06:05,541 - INFO - Validated that VN ctest-vn-57299003 is not found in API Server 2026-04-29 19:06:05,552 - DEBUG - VN ctest-vn-57299003 is not present in Agent 10.0.0.249 2026-04-29 19:06:05,552 - INFO - Validated that VN ctest-vn-57299003 is not in any agent 2026-04-29 19:06:05,565 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57299003 info 2026-04-29 19:06:05,840 - DEBUG - No XMPP flaps were noticed during the test 2026-04-29 19:06:05,840 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-04-29 19:06:05,840 - INFO - -------------------------------------------------------------------------------- 2026-04-29 19:06:06,562 - INFO - Deleted project: ctest-TestBasicPolicy-69955883, ID : c48f8a65-3937-4d65-bf77-44d7627bca07