2026-09-01 14:22:59,701 - INFO - Domain Default found not creating 2026-09-01 14:22:59,877 - INFO - Project ctest-TestBasicPolicy-82430936 not found, creating it 2026-09-01 14:23:00,412 - INFO - Created Project:ctest-TestBasicPolicy-82430936, ID : 74d08b6d-32da-4ec3-a74f-93d7979cb756 2026-09-01 14:23:02,205 - INFO - ================================================================================ 2026-09-01 14:23:02,205 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-01 14:23:02,205 - 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-09-01 14:23:02,491 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with 2026-09-01 14:23:02,491 - INFO - Initial checks done. Running the testcase now 2026-09-01 14:23:02,491 - INFO - 2026-09-01 14:23:03,167 - DEBUG - Response for create_network : {'network': {'id': 'f84d4ea5-1a94-4432-91d7-c145fe7c0e0d', 'name': 'ctest-vn-76585474', 'tenant_id': '74d08b6d32da4ec3a74f93d7979cb756', 'project_id': '74d08b6d32da4ec3a74f93d7979cb756', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82430936', 'ctest-vn-76585474'], 'port_security_enabled': True, 'description': ''}} 2026-09-01 14:23:03,409 - DEBUG - Response for create_subnet : {'subnet': {'id': '979fdf0b-1cf5-472e-9ae7-bd0c1a7c8554', 'name': '', 'tenant_id': '74d08b6d32da4ec3a74f93d7979cb756', 'network_id': 'f84d4ea5-1a94-4432-91d7-c145fe7c0e0d', 'ip_version': 4, 'cidr': '105.8.230.64/26', 'allocation_pools': [{'start': '105.8.230.66', 'end': '105.8.230.126'}], 'gateway_ip': '105.8.230.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.8.230.66', 'tags': [], 'project_id': '74d08b6d32da4ec3a74f93d7979cb756'}} 2026-09-01 14:23:03,430 - INFO - Created VN ctest-vn-76585474 2026-09-01 14:23:03,486 - DEBUG - VN ctest-vn-76585474 UUID is f84d4ea5-1a94-4432-91d7-c145fe7c0e0d 2026-09-01 14:23:03,835 - DEBUG - Response for create_network : {'network': {'id': '337965fd-e61c-4811-a05e-9bc42527126c', 'name': 'ctest-vn-55474326', 'tenant_id': '74d08b6d32da4ec3a74f93d7979cb756', 'project_id': '74d08b6d32da4ec3a74f93d7979cb756', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82430936', 'ctest-vn-55474326'], 'port_security_enabled': True, 'description': ''}} 2026-09-01 14:23:04,080 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd82025e5-ef30-427c-8ef9-aa9772c27c56', 'name': '', 'tenant_id': '74d08b6d32da4ec3a74f93d7979cb756', 'network_id': '337965fd-e61c-4811-a05e-9bc42527126c', 'ip_version': 4, 'cidr': '169.21.251.192/26', 'allocation_pools': [{'start': '169.21.251.194', 'end': '169.21.251.254'}], 'gateway_ip': '169.21.251.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.21.251.194', 'tags': [], 'project_id': '74d08b6d32da4ec3a74f93d7979cb756'}} 2026-09-01 14:23:04,103 - INFO - Created VN ctest-vn-55474326 2026-09-01 14:23:04,158 - DEBUG - VN ctest-vn-55474326 UUID is 337965fd-e61c-4811-a05e-9bc42527126c 2026-09-01 14:23:04,279 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-76585474, 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-82430936:ctest-vn-55474326, 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-09-01 14:23:04,619 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f84d4ea5-1a94-4432-91d7-c145fe7c0e0d', 'name': 'ctest-vn-76585474', 'tenant_id': '74d08b6d32da4ec3a74f93d7979cb756', 'project_id': '74d08b6d32da4ec3a74f93d7979cb756', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['979fdf0b-1cf5-472e-9ae7-bd0c1a7c8554'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82430936', 'ctest-vn-76585474'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82430936', 'ctest-policy-allow-all-09971245']], 'subnet_ipam': [{'subnet_cidr': '105.8.230.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-01 14:23:04,882 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '337965fd-e61c-4811-a05e-9bc42527126c', 'name': 'ctest-vn-55474326', 'tenant_id': '74d08b6d32da4ec3a74f93d7979cb756', 'project_id': '74d08b6d32da4ec3a74f93d7979cb756', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['d82025e5-ef30-427c-8ef9-aa9772c27c56'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82430936', 'ctest-vn-55474326'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82430936', 'ctest-policy-allow-all-09971245']], 'subnet_ipam': [{'subnet_cidr': '169.21.251.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-01 14:23:05,022 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-01 14:23:05,414 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-01 14:23:05,448 - DEBUG - Requesting: http://10.0.0.190:8082/domain/4455561a-3135-4ce1-835f-4caa6b6744ae 2026-09-01 14:23:05,463 - DEBUG - Requesting: http://10.0.0.190:8082/project/74d08b6d-32da-4ec3-a74f-93d7979cb756 2026-09-01 14:23:05,546 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f84d4ea5-1a94-4432-91d7-c145fe7c0e0d 2026-09-01 14:23:05,561 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f84d4ea5-1a94-4432-91d7-c145fe7c0e0d 2026-09-01 14:23:05,573 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/343e9b77-4b97-407e-bc42-e20792ca8862 2026-09-01 14:23:05,581 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/343e9b77-4b97-407e-bc42-e20792ca8862 2026-09-01 14:23:05,590 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/a47f73e0-8ccf-47f8-9787-9b62db6e2ab6 2026-09-01 14:23:05,599 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-01 14:23:05,599 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f84d4ea5-1a94-4432-91d7-c145fe7c0e0d 2026-09-01 14:23:05,612 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/343e9b77-4b97-407e-bc42-e20792ca8862 2026-09-01 14:23:05,628 - INFO - Verified VN network id 12 for VN f84d4ea5-1a94-4432-91d7-c145fe7c0e0d 2026-09-01 14:23:05,628 - INFO - Verifications in API Server for VN ctest-vn-76585474 passed 2026-09-01 14:23:05,629 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f84d4ea5-1a94-4432-91d7-c145fe7c0e0d 2026-09-01 14:23:05,638 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/343e9b77-4b97-407e-bc42-e20792ca8862 2026-09-01 14:23:05,649 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/343e9b77-4b97-407e-bc42-e20792ca8862 2026-09-01 14:23:05,657 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/a47f73e0-8ccf-47f8-9787-9b62db6e2ab6 2026-09-01 14:23:05,671 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-76585474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82430936', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17892043365635343410', 'uuid-lslong': '10509080761858788877'}, 'enable': 'true', 'created': '2026-09-01T14:23:03', 'last-modified': '2026-09-01T14:23:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.079509'} 2026-09-01 14:23:05,678 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-01 14:23:05,678 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76585474 passed 2026-09-01 14:23:05,678 - DEBUG - ====Verifying policy data for ctest-vn-76585474 in API_Server ====== 2026-09-01 14:23:05,678 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-01 14:23:05,685 - DEBUG - Requesting: http://10.0.0.190:8082/domain/4455561a-3135-4ce1-835f-4caa6b6744ae 2026-09-01 14:23:05,698 - DEBUG - Requesting: http://10.0.0.190:8082/project/74d08b6d-32da-4ec3-a74f-93d7979cb756 2026-09-01 14:23:05,782 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f84d4ea5-1a94-4432-91d7-c145fe7c0e0d 2026-09-01 14:23:05,794 - DEBUG - ==>Verifying data for policy with id: cbb22885-6edd-4985-925a-2bf05fe4a7ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-82430936', 'ctest-policy-allow-all-09971245'] 2026-09-01 14:23:05,794 - INFO - VN ctest-vn-76585474 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-01 14:23:05,795 - DEBUG - Verifying the vn in opserver 2026-09-01 14:23:05,795 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-76585474 virtual network link through opserver 10.0.0.190 2026-09-01 14:23:05,795 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-09-01 14:23:06,177 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-09-01 14:23:06,239 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-76585474', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-76585474?flat'} 2026-09-01 14:23:06,240 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-76585474 is found in opserver 2026-09-01 14:23:06,253 - DEBUG - Do not have enough data to verify VN in agent 2026-09-01 14:23:06,260 - DEBUG - VRF ids for VN ctest-vn-76585474: {} 2026-09-01 14:23:06,260 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-01 14:23:06,274 - DEBUG - Requesting: http://10.0.0.190:8082/domain/4455561a-3135-4ce1-835f-4caa6b6744ae 2026-09-01 14:23:06,288 - DEBUG - Requesting: http://10.0.0.190:8082/project/74d08b6d-32da-4ec3-a74f-93d7979cb756 2026-09-01 14:23:06,372 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/337965fd-e61c-4811-a05e-9bc42527126c 2026-09-01 14:23:06,388 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/337965fd-e61c-4811-a05e-9bc42527126c 2026-09-01 14:23:06,399 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/42fbe6e6-4505-4b57-bd85-4e6c349ee667 2026-09-01 14:23:06,407 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/42fbe6e6-4505-4b57-bd85-4e6c349ee667 2026-09-01 14:23:06,414 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/0a65f640-d868-4341-9b3f-ca8794feedc5 2026-09-01 14:23:06,422 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-01 14:23:06,422 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/337965fd-e61c-4811-a05e-9bc42527126c 2026-09-01 14:23:06,431 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/42fbe6e6-4505-4b57-bd85-4e6c349ee667 2026-09-01 14:23:06,448 - INFO - Verified VN network id 13 for VN 337965fd-e61c-4811-a05e-9bc42527126c 2026-09-01 14:23:06,448 - INFO - Verifications in API Server for VN ctest-vn-55474326 passed 2026-09-01 14:23:06,448 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/337965fd-e61c-4811-a05e-9bc42527126c 2026-09-01 14:23:06,458 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/42fbe6e6-4505-4b57-bd85-4e6c349ee667 2026-09-01 14:23:06,466 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/42fbe6e6-4505-4b57-bd85-4e6c349ee667 2026-09-01 14:23:06,477 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/0a65f640-d868-4341-9b3f-ca8794feedc5 2026-09-01 14:23:06,492 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-55474326', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82430936', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3709107909278058513', 'uuid-lslong': '11555844960618484332'}, 'enable': 'true', 'created': '2026-09-01T14:23:03', 'last-modified': '2026-09-01T14:23:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.643532'} 2026-09-01 14:23:06,499 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-01 14:23:06,499 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55474326 passed 2026-09-01 14:23:06,499 - DEBUG - ====Verifying policy data for ctest-vn-55474326 in API_Server ====== 2026-09-01 14:23:06,499 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-01 14:23:06,505 - DEBUG - Requesting: http://10.0.0.190:8082/domain/4455561a-3135-4ce1-835f-4caa6b6744ae 2026-09-01 14:23:06,521 - DEBUG - Requesting: http://10.0.0.190:8082/project/74d08b6d-32da-4ec3-a74f-93d7979cb756 2026-09-01 14:23:06,599 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/337965fd-e61c-4811-a05e-9bc42527126c 2026-09-01 14:23:06,610 - DEBUG - ==>Verifying data for policy with id: cbb22885-6edd-4985-925a-2bf05fe4a7ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-82430936', 'ctest-policy-allow-all-09971245'] 2026-09-01 14:23:06,610 - INFO - VN ctest-vn-55474326 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-01 14:23:06,610 - DEBUG - Verifying the vn in opserver 2026-09-01 14:23:06,610 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-55474326 virtual network link through opserver 10.0.0.190 2026-09-01 14:23:06,610 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-09-01 14:23:06,622 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-55474326', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-55474326?flat'} 2026-09-01 14:23:06,622 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-55474326 is found in opserver 2026-09-01 14:23:06,635 - DEBUG - Do not have enough data to verify VN in agent 2026-09-01 14:23:06,640 - DEBUG - VRF ids for VN ctest-vn-55474326: {} 2026-09-01 14:23:06,699 - DEBUG - Services list from nova: [, , ] 2026-09-01 14:23:07,160 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6239-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6239-1) 2026-09-01 14:23:07,585 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6239-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6239-1) 2026-09-01 14:23:07,585 - INFO - Waiting for VM ctest-TestBasicPolicy-82430936-41228656 to be up.. 2026-09-01 14:23:07,626 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:23:12,707 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:23:17,803 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:23:22,888 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:23:27,979 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:23:33,075 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:23:38,183 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:23:43,273 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:23:48,372 - DEBUG - VM is in ACTIVE state now 2026-09-01 14:23:48,372 - INFO - VM name : ctest-TestBasicPolicy-82430936-41228656 2026-09-01 14:23:48,454 - DEBUG - VM ctest-TestBasicPolicy-82430936-41228656 ID is 96c9e959-037f-46b2-8c76-9e66e55dd0d6 2026-09-01 14:23:48,479 - DEBUG - VM ctest-TestBasicPolicy-82430936-41228656 launched on Node cn-jenkins-deploy-platform-ansible-os-6239-1 2026-09-01 14:23:48,564 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/96c9e959-037f-46b2-8c76-9e66e55dd0d6 2026-09-01 14:23:48,575 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/f2967546-71bf-4996-a92a-d235e364576d 2026-09-01 14:23:51,852 - 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=2 ttl=63 time=3.40 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1020ms\r\nrtt min/avg/max/mdev = 3.397/3.397/3.397/0.000 ms') 2026-09-01 14:23:51,852 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82430936-41228656 passed 2026-09-01 14:23:52,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 14:23:52,006 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82430936-41228656, IP 105.8.230.67, Port 22 2026-09-01 14:23:52,180 - DEBUG - VM ctest-TestBasicPolicy-82430936-41228656 is ready for SSH connections 2026-09-01 14:23:52,180 - INFO - Waiting for VM ctest-TestBasicPolicy-82430936-90541014 to be up.. 2026-09-01 14:23:52,271 - DEBUG - VM is in ACTIVE state now 2026-09-01 14:23:52,271 - INFO - VM name : ctest-TestBasicPolicy-82430936-90541014 2026-09-01 14:23:52,358 - DEBUG - VM ctest-TestBasicPolicy-82430936-90541014 ID is 49f74157-3958-4d8d-b8cd-852ce46385f2 2026-09-01 14:23:52,358 - DEBUG - VM ctest-TestBasicPolicy-82430936-90541014 launched on Node cn-jenkins-deploy-platform-ansible-os-6239-1 2026-09-01 14:23:52,446 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/49f74157-3958-4d8d-b8cd-852ce46385f2 2026-09-01 14:23:52,457 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/7a89c6fb-e4a3-4edf-81a9-df1a024c324f 2026-09-01 14:23:55,723 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2026-09-01 14:23:55,723 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82430936-90541014 failed! 2026-09-01 14:23:55,782 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82430936:ctest-vn-55474326 is 169.21.251.193 and allocation pool is NOT set 2026-09-01 14:23:57,851 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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 = 0.437/2.293/4.150/1.856 ms') 2026-09-01 14:23:57,851 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82430936-90541014 passed 2026-09-01 14:23:58,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 14:23:58,006 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82430936-90541014, IP 169.21.251.195, Port 22 2026-09-01 14:23:58,175 - DEBUG - VM ctest-TestBasicPolicy-82430936-90541014 is ready for SSH connections 2026-09-01 14:23:58,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 14:23:58,176 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.21.251.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-09-01 14:23:58,176 - DEBUG - ping -s 56 -c 3 -W 1 169.21.251.195 2026-09-01 14:24:02,172 - DEBUG - PING 169.21.251.195 (169.21.251.195): 56 data bytes 64 bytes from 169.21.251.195: seq=0 ttl=63 time=5.189 ms 64 bytes from 169.21.251.195: seq=1 ttl=63 time=1.326 ms 64 bytes from 169.21.251.195: seq=2 ttl=63 time=1.559 ms --- 169.21.251.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.326/2.691/5.189 ms 2026-09-01 14:24:02,172 - INFO - Ping to IP 169.21.251.195 from VM ctest-TestBasicPolicy-82430936-41228656 passed 2026-09-01 14:24:02,397 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cbb22885-6edd-4985-925a-2bf05fe4a7ee", "href": "http://10.0.0.190:8082/network-policy/cbb22885-6edd-4985-925a-2bf05fe4a7ee"}} 2026-09-01 14:24:02,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 14:24:02,398 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.21.251.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-09-01 14:24:02,398 - DEBUG - ping -s 56 -c 3 -W 1 169.21.251.195 2026-09-01 14:24:05,543 - DEBUG - PING 169.21.251.195 (169.21.251.195): 56 data bytes 64 bytes from 169.21.251.195: seq=0 ttl=63 time=1.864 ms --- 169.21.251.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.864/1.864/1.864 ms 2026-09-01 14:24:05,543 - WARNING - Ping to IP 169.21.251.195 from VM ctest-TestBasicPolicy-82430936-41228656 failed 2026-09-01 14:24:05,544 - INFO - Deleting VM ctest-TestBasicPolicy-82430936-90541014 2026-09-01 14:24:05,636 - INFO - Deleting VM ctest-TestBasicPolicy-82430936-41228656 2026-09-01 14:24:06,089 - INFO - Deleted policy ctest-policy-allow-all-09971245 2026-09-01 14:24:06,089 - INFO - Deleting VN ctest-vn-55474326 2026-09-01 14:24:06,148 - DEBUG - VN 337965fd-e61c-4811-a05e-9bc42527126c still in use: Unable to complete operation on network 337965fd-e61c-4811-a05e-9bc42527126c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ca01dcd9-f213-48ef-9df0-4de20a825a4a'] 2026-09-01 14:24:06,148 - WARNING - Deleting VN ctest-vn-55474326 failed..Will retry 2026-09-01 14:24:08,304 - DEBUG - Response for deleting network () 2026-09-01 14:24:08,304 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/42fbe6e6-4505-4b57-bd85-4e6c349ee667 2026-09-01 14:24:08,314 - DEBUG - Response Code: 404 2026-09-01 14:24:08,314 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-01 14:24:08,322 - DEBUG - Requesting: http://10.0.0.190:8082/domain/4455561a-3135-4ce1-835f-4caa6b6744ae 2026-09-01 14:24:08,378 - DEBUG - Requesting: http://10.0.0.190:8082/project/74d08b6d-32da-4ec3-a74f-93d7979cb756 2026-09-01 14:24:08,467 - INFO - Validated that VN ctest-vn-55474326 is not found in API Server 2026-09-01 14:24:08,484 - DEBUG - VN ctest-vn-55474326 is not present in Agent 10.0.0.190 2026-09-01 14:24:08,484 - INFO - Validated that VN ctest-vn-55474326 is not in any agent 2026-09-01 14:24:08,502 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55474326 info 2026-09-01 14:24:08,503 - INFO - Deleting VN ctest-vn-76585474 2026-09-01 14:24:08,632 - DEBUG - Response for deleting network () 2026-09-01 14:24:08,632 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/343e9b77-4b97-407e-bc42-e20792ca8862 2026-09-01 14:24:08,638 - DEBUG - Response Code: 404 2026-09-01 14:24:08,638 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-01 14:24:08,647 - DEBUG - Requesting: http://10.0.0.190:8082/domain/4455561a-3135-4ce1-835f-4caa6b6744ae 2026-09-01 14:24:08,703 - DEBUG - Requesting: http://10.0.0.190:8082/project/74d08b6d-32da-4ec3-a74f-93d7979cb756 2026-09-01 14:24:08,782 - INFO - Validated that VN ctest-vn-76585474 is not found in API Server 2026-09-01 14:24:08,795 - DEBUG - VN ctest-vn-76585474 is not present in Agent 10.0.0.190 2026-09-01 14:24:08,795 - INFO - Validated that VN ctest-vn-76585474 is not in any agent 2026-09-01 14:24:08,814 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76585474 info 2026-09-01 14:24:09,091 - DEBUG - No XMPP flaps were noticed during the test
2026-09-01 14:24:09,091 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:07]
2026-09-01 14:24:09,091 - INFO - -------------------------------------------------------------------------------- 2026-09-01 14:24:09,916 - INFO - Deleted project: ctest-TestBasicPolicy-82430936, ID : 74d08b6d-32da-4ec3-a74f-93d7979cb756