2026-01-29 17:11:49,457 - INFO - Domain Default found not creating 2026-01-29 17:11:49,633 - INFO - Project ctest-TestBasicPolicy-29388769 not found, creating it 2026-01-29 17:11:50,117 - INFO - Created Project:ctest-TestBasicPolicy-29388769, ID : 717d6656-5ad6-4efe-b2a6-e32552928e78 2026-01-29 17:11:51,649 - INFO - ================================================================================ 2026-01-29 17:11:51,649 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-29 17:11:51,649 - 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 17:11:51,907 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.25': '0'}} with 2026-01-29 17:11:51,907 - INFO - Initial checks done. Running the testcase now 2026-01-29 17:11:51,907 - INFO - 2026-01-29 17:11:52,454 - DEBUG - Response for create_network : {'network': {'id': '3075ba6f-7a1e-4fd2-b48d-ed52903978bc', 'name': 'ctest-vn-12572959', 'tenant_id': '717d66565ad64efeb2a6e32552928e78', 'project_id': '717d66565ad64efeb2a6e32552928e78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29388769', 'ctest-vn-12572959'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 17:11:52,677 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b3b8351-3971-4fcd-8d23-3a012c9d62de', 'name': '', 'tenant_id': '717d66565ad64efeb2a6e32552928e78', 'network_id': '3075ba6f-7a1e-4fd2-b48d-ed52903978bc', 'ip_version': 4, 'cidr': '129.162.50.192/26', 'allocation_pools': [{'start': '129.162.50.194', 'end': '129.162.50.254'}], 'gateway_ip': '129.162.50.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.162.50.194', 'tags': [], 'project_id': '717d66565ad64efeb2a6e32552928e78'}} 2026-01-29 17:11:52,696 - INFO - Created VN ctest-vn-12572959 2026-01-29 17:11:52,749 - DEBUG - VN ctest-vn-12572959 UUID is 3075ba6f-7a1e-4fd2-b48d-ed52903978bc 2026-01-29 17:11:53,031 - DEBUG - Response for create_network : {'network': {'id': '760672d6-9a96-433f-981a-979a281d3099', 'name': 'ctest-vn-67185807', 'tenant_id': '717d66565ad64efeb2a6e32552928e78', 'project_id': '717d66565ad64efeb2a6e32552928e78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29388769', 'ctest-vn-67185807'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 17:11:53,214 - DEBUG - Response for create_subnet : {'subnet': {'id': '370d76fc-0733-44af-b624-5dcfdfdc20c8', 'name': '', 'tenant_id': '717d66565ad64efeb2a6e32552928e78', 'network_id': '760672d6-9a96-433f-981a-979a281d3099', 'ip_version': 4, 'cidr': '20.95.250.128/26', 'allocation_pools': [{'start': '20.95.250.130', 'end': '20.95.250.190'}], 'gateway_ip': '20.95.250.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.95.250.130', 'tags': [], 'project_id': '717d66565ad64efeb2a6e32552928e78'}} 2026-01-29 17:11:53,231 - INFO - Created VN ctest-vn-67185807 2026-01-29 17:11:53,281 - DEBUG - VN ctest-vn-67185807 UUID is 760672d6-9a96-433f-981a-979a281d3099 2026-01-29 17:11:53,398 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-12572959, 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-29388769:ctest-vn-67185807, 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 17:11:53,696 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3075ba6f-7a1e-4fd2-b48d-ed52903978bc', 'name': 'ctest-vn-12572959', 'tenant_id': '717d66565ad64efeb2a6e32552928e78', 'project_id': '717d66565ad64efeb2a6e32552928e78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7b3b8351-3971-4fcd-8d23-3a012c9d62de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29388769', 'ctest-vn-12572959'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29388769', 'ctest-policy-allow-all-53611077']], 'subnet_ipam': [{'subnet_cidr': '129.162.50.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 17:11:53,921 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '760672d6-9a96-433f-981a-979a281d3099', 'name': 'ctest-vn-67185807', 'tenant_id': '717d66565ad64efeb2a6e32552928e78', 'project_id': '717d66565ad64efeb2a6e32552928e78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['370d76fc-0733-44af-b624-5dcfdfdc20c8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29388769', 'ctest-vn-67185807'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29388769', 'ctest-policy-allow-all-53611077']], 'subnet_ipam': [{'subnet_cidr': '20.95.250.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 17:11:54,049 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-29 17:11:54,363 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-29 17:11:54,398 - DEBUG - Requesting: http://10.0.0.240:8082/domain/707db02e-1694-496e-92de-c734a10ad632 2026-01-29 17:11:54,412 - DEBUG - Requesting: http://10.0.0.240:8082/project/717d6656-5ad6-4efe-b2a6-e32552928e78 2026-01-29 17:11:54,486 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/3075ba6f-7a1e-4fd2-b48d-ed52903978bc 2026-01-29 17:11:54,497 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/3075ba6f-7a1e-4fd2-b48d-ed52903978bc 2026-01-29 17:11:54,507 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/bcf33933-41b1-4783-bd05-aee294a247ed 2026-01-29 17:11:54,515 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/bcf33933-41b1-4783-bd05-aee294a247ed 2026-01-29 17:11:54,521 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/61373b3e-4c55-4a58-a037-921be466168e 2026-01-29 17:11:54,529 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 17:11:54,529 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/3075ba6f-7a1e-4fd2-b48d-ed52903978bc 2026-01-29 17:11:54,540 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/bcf33933-41b1-4783-bd05-aee294a247ed 2026-01-29 17:11:54,558 - INFO - Verified VN network id 11 for VN 3075ba6f-7a1e-4fd2-b48d-ed52903978bc 2026-01-29 17:11:54,559 - INFO - Verifications in API Server for VN ctest-vn-12572959 passed 2026-01-29 17:11:54,559 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/3075ba6f-7a1e-4fd2-b48d-ed52903978bc 2026-01-29 17:11:54,569 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/bcf33933-41b1-4783-bd05-aee294a247ed 2026-01-29 17:11:54,577 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/bcf33933-41b1-4783-bd05-aee294a247ed 2026-01-29 17:11:54,585 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/61373b3e-4c55-4a58-a037-921be466168e 2026-01-29 17:11:54,598 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-12572959', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29388769', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3491902074048630738', 'uuid-lslong': '13010315837406017724'}, 'enable': 'true', 'created': '2026-01-29T17:11:52', 'last-modified': '2026-01-29T17:11:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925430'} 2026-01-29 17:11:54,605 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 17:11:54,605 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12572959 passed 2026-01-29 17:11:54,605 - DEBUG - ====Verifying policy data for ctest-vn-12572959 in API_Server ====== 2026-01-29 17:11:54,605 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-29 17:11:54,611 - DEBUG - Requesting: http://10.0.0.240:8082/domain/707db02e-1694-496e-92de-c734a10ad632 2026-01-29 17:11:54,622 - DEBUG - Requesting: http://10.0.0.240:8082/project/717d6656-5ad6-4efe-b2a6-e32552928e78 2026-01-29 17:11:54,692 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/3075ba6f-7a1e-4fd2-b48d-ed52903978bc 2026-01-29 17:11:54,702 - DEBUG - ==>Verifying data for policy with id: fd49aaca-c383-4ab3-b14d-c2f4ca22140a, fqn: ['default-domain', 'ctest-TestBasicPolicy-29388769', 'ctest-policy-allow-all-53611077'] 2026-01-29 17:11:54,702 - INFO - VN ctest-vn-12572959 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 17:11:54,702 - DEBUG - Verifying the vn in opserver 2026-01-29 17:11:54,702 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-12572959 virtual network link through opserver 10.0.0.240 2026-01-29 17:11:54,702 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-01-29 17:11:55,000 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-01-29 17:11:55,066 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-12572959', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-12572959?flat'} 2026-01-29 17:11:55,066 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-12572959 is found in opserver 2026-01-29 17:11:55,076 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 17:11:55,080 - DEBUG - VRF ids for VN ctest-vn-12572959: {} 2026-01-29 17:11:55,081 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-29 17:11:55,086 - DEBUG - Requesting: http://10.0.0.240:8082/domain/707db02e-1694-496e-92de-c734a10ad632 2026-01-29 17:11:55,097 - DEBUG - Requesting: http://10.0.0.240:8082/project/717d6656-5ad6-4efe-b2a6-e32552928e78 2026-01-29 17:11:55,170 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/760672d6-9a96-433f-981a-979a281d3099 2026-01-29 17:11:55,181 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/760672d6-9a96-433f-981a-979a281d3099 2026-01-29 17:11:55,191 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/5b617dc6-7b5a-4e67-8ab3-6c510054bb94 2026-01-29 17:11:55,198 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/5b617dc6-7b5a-4e67-8ab3-6c510054bb94 2026-01-29 17:11:55,204 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/561ffd11-b1b2-4887-beca-80e02243eccb 2026-01-29 17:11:55,211 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 17:11:55,211 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/760672d6-9a96-433f-981a-979a281d3099 2026-01-29 17:11:55,220 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/5b617dc6-7b5a-4e67-8ab3-6c510054bb94 2026-01-29 17:11:55,235 - INFO - Verified VN network id 12 for VN 760672d6-9a96-433f-981a-979a281d3099 2026-01-29 17:11:55,235 - INFO - Verifications in API Server for VN ctest-vn-67185807 passed 2026-01-29 17:11:55,236 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/760672d6-9a96-433f-981a-979a281d3099 2026-01-29 17:11:55,246 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/5b617dc6-7b5a-4e67-8ab3-6c510054bb94 2026-01-29 17:11:55,254 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/5b617dc6-7b5a-4e67-8ab3-6c510054bb94 2026-01-29 17:11:55,262 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/561ffd11-b1b2-4887-beca-80e02243eccb 2026-01-29 17:11:55,275 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-67185807', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29388769', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8504611212377867071', 'uuid-lslong': '10960239331513282713'}, 'enable': 'true', 'created': '2026-01-29T17:11:53', 'last-modified': '2026-01-29T17:11:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.376177'} 2026-01-29 17:11:55,281 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 17:11:55,282 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67185807 passed 2026-01-29 17:11:55,282 - DEBUG - ====Verifying policy data for ctest-vn-67185807 in API_Server ====== 2026-01-29 17:11:55,282 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-29 17:11:55,288 - DEBUG - Requesting: http://10.0.0.240:8082/domain/707db02e-1694-496e-92de-c734a10ad632 2026-01-29 17:11:55,298 - DEBUG - Requesting: http://10.0.0.240:8082/project/717d6656-5ad6-4efe-b2a6-e32552928e78 2026-01-29 17:11:55,368 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/760672d6-9a96-433f-981a-979a281d3099 2026-01-29 17:11:55,378 - DEBUG - ==>Verifying data for policy with id: fd49aaca-c383-4ab3-b14d-c2f4ca22140a, fqn: ['default-domain', 'ctest-TestBasicPolicy-29388769', 'ctest-policy-allow-all-53611077'] 2026-01-29 17:11:55,378 - INFO - VN ctest-vn-67185807 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 17:11:55,378 - DEBUG - Verifying the vn in opserver 2026-01-29 17:11:55,378 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-67185807 virtual network link through opserver 10.0.0.240 2026-01-29 17:11:55,378 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-01-29 17:11:55,388 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-67185807', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-67185807?flat'} 2026-01-29 17:11:55,388 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-67185807 is found in opserver 2026-01-29 17:11:55,398 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 17:11:55,402 - DEBUG - VRF ids for VN ctest-vn-67185807: {} 2026-01-29 17:11:55,459 - DEBUG - Services list from nova: [, , ] 2026-01-29 17:11:56,485 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5133-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5133-1) 2026-01-29 17:11:57,596 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5133-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5133-1) 2026-01-29 17:11:57,596 - INFO - Waiting for VM ctest-TestBasicPolicy-29388769-32774003 to be up.. 2026-01-29 17:11:57,677 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 17:12:02,756 - DEBUG - VM is in ACTIVE state now 2026-01-29 17:12:02,756 - INFO - VM name : ctest-TestBasicPolicy-29388769-32774003 2026-01-29 17:12:02,837 - DEBUG - VM ctest-TestBasicPolicy-29388769-32774003 ID is db035cce-735f-450d-a5a6-867beb78f487 2026-01-29 17:12:02,857 - DEBUG - VM ctest-TestBasicPolicy-29388769-32774003 launched on Node cn-jenkins-deploy-platform-ansible-os-5133-1 2026-01-29 17:12:02,939 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/db035cce-735f-450d-a5a6-867beb78f487 2026-01-29 17:12:02,947 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/e39f5ace-15fa-4a7f-9e9f-856996c3f87d 2026-01-29 17:12:06,201 - 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 1017ms') 2026-01-29 17:12:06,201 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29388769-32774003 failed! 2026-01-29 17:12:06,253 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-12572959 is 129.162.50.193 and allocation pool is NOT set 2026-01-29 17:12:08,316 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.76 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 = 1.764/5.823/9.883/4.059 ms') 2026-01-29 17:12:08,317 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29388769-32774003 passed 2026-01-29 17:12:08,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:12:08,465 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29388769-32774003, IP 129.162.50.195, Port 22 2026-01-29 17:12:08,624 - DEBUG - VM ctest-TestBasicPolicy-29388769-32774003 is ready for SSH connections 2026-01-29 17:12:08,624 - INFO - Waiting for VM ctest-TestBasicPolicy-29388769-27782420 to be up.. 2026-01-29 17:12:08,704 - DEBUG - VM is in ACTIVE state now 2026-01-29 17:12:08,705 - INFO - VM name : ctest-TestBasicPolicy-29388769-27782420 2026-01-29 17:12:08,784 - DEBUG - VM ctest-TestBasicPolicy-29388769-27782420 ID is ea643a49-89a5-4c28-b5ff-e5a910e9d494 2026-01-29 17:12:08,785 - DEBUG - VM ctest-TestBasicPolicy-29388769-27782420 launched on Node cn-jenkins-deploy-platform-ansible-os-5133-1 2026-01-29 17:12:08,863 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/ea643a49-89a5-4c28-b5ff-e5a910e9d494 2026-01-29 17:12:08,872 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/0223b65b-71dc-4a75-b87a-594338121e73 2026-01-29 17:12:10,121 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.05 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 = 1.045/2.903/4.762/1.858 ms') 2026-01-29 17:12:10,121 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29388769-27782420 passed 2026-01-29 17:12:10,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:12:10,277 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29388769-27782420, IP 20.95.250.131, Port 22 2026-01-29 17:12:10,433 - DEBUG - VM ctest-TestBasicPolicy-29388769-27782420 is ready for SSH connections 2026-01-29 17:12:10,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:12:10,433 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.95.250.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-01-29 17:12:10,433 - DEBUG - ping -s 56 -c 3 -W 1 20.95.250.131 2026-01-29 17:12:14,474 - DEBUG - PING 20.95.250.131 (20.95.250.131): 56 data bytes 64 bytes from 20.95.250.131: seq=0 ttl=63 time=3.610 ms 64 bytes from 20.95.250.131: seq=1 ttl=63 time=0.830 ms 64 bytes from 20.95.250.131: seq=2 ttl=63 time=1.061 ms --- 20.95.250.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.830/1.833/3.610 ms 2026-01-29 17:12:14,474 - INFO - Ping to IP 20.95.250.131 from VM ctest-TestBasicPolicy-29388769-32774003 passed 2026-01-29 17:12:14,649 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fd49aaca-c383-4ab3-b14d-c2f4ca22140a", "href": "http://10.0.0.240:8082/network-policy/fd49aaca-c383-4ab3-b14d-c2f4ca22140a"}} 2026-01-29 17:12:14,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:12:14,649 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.95.250.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-01-29 17:12:14,649 - DEBUG - ping -s 56 -c 3 -W 1 20.95.250.131 2026-01-29 17:12:17,868 - DEBUG - PING 20.95.250.131 (20.95.250.131): 56 data bytes --- 20.95.250.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-29 17:12:17,869 - WARNING - Ping to IP 20.95.250.131 from VM ctest-TestBasicPolicy-29388769-32774003 failed 2026-01-29 17:12:17,869 - INFO - Deleting VM ctest-TestBasicPolicy-29388769-27782420 2026-01-29 17:12:17,941 - INFO - Deleting VM ctest-TestBasicPolicy-29388769-32774003 2026-01-29 17:12:18,301 - INFO - Deleted policy ctest-policy-allow-all-53611077 2026-01-29 17:12:18,301 - INFO - Deleting VN ctest-vn-67185807 2026-01-29 17:12:18,336 - DEBUG - VN 760672d6-9a96-433f-981a-979a281d3099 still in use: Unable to complete operation on network 760672d6-9a96-433f-981a-979a281d3099. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b38a2bde-c231-4cdf-94f4-c22ac59ba1c1'] 2026-01-29 17:12:18,336 - WARNING - Deleting VN ctest-vn-67185807 failed..Will retry 2026-01-29 17:12:20,441 - DEBUG - Response for deleting network () 2026-01-29 17:12:20,441 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/5b617dc6-7b5a-4e67-8ab3-6c510054bb94 2026-01-29 17:12:20,447 - DEBUG - Response Code: 404 2026-01-29 17:12:20,447 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-29 17:12:20,452 - DEBUG - Requesting: http://10.0.0.240:8082/domain/707db02e-1694-496e-92de-c734a10ad632 2026-01-29 17:12:20,506 - DEBUG - Requesting: http://10.0.0.240:8082/project/717d6656-5ad6-4efe-b2a6-e32552928e78 2026-01-29 17:12:20,575 - INFO - Validated that VN ctest-vn-67185807 is not found in API Server 2026-01-29 17:12:20,585 - DEBUG - VN ctest-vn-67185807 is not present in Agent 10.0.0.240 2026-01-29 17:12:20,585 - INFO - Validated that VN ctest-vn-67185807 is not in any agent 2026-01-29 17:12:20,602 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67185807 info 2026-01-29 17:12:20,603 - INFO - Deleting VN ctest-vn-12572959 2026-01-29 17:12:20,703 - DEBUG - Response for deleting network () 2026-01-29 17:12:20,703 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/bcf33933-41b1-4783-bd05-aee294a247ed 2026-01-29 17:12:20,709 - DEBUG - Response Code: 404 2026-01-29 17:12:20,709 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-29 17:12:20,714 - DEBUG - Requesting: http://10.0.0.240:8082/domain/707db02e-1694-496e-92de-c734a10ad632 2026-01-29 17:12:20,766 - DEBUG - Requesting: http://10.0.0.240:8082/project/717d6656-5ad6-4efe-b2a6-e32552928e78 2026-01-29 17:12:20,833 - INFO - Validated that VN ctest-vn-12572959 is not found in API Server 2026-01-29 17:12:20,842 - DEBUG - VN ctest-vn-12572959 is not present in Agent 10.0.0.240 2026-01-29 17:12:20,842 - INFO - Validated that VN ctest-vn-12572959 is not in any agent 2026-01-29 17:12:20,856 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12572959 info 2026-01-29 17:12:21,118 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 17:12:21,119 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-01-29 17:12:21,119 - INFO - -------------------------------------------------------------------------------- 2026-01-29 17:12:21,813 - INFO - Deleted project: ctest-TestBasicPolicy-29388769, ID : 717d6656-5ad6-4efe-b2a6-e32552928e78