2026-08-25 14:54:41,374 - INFO - Domain Default found not creating 2026-08-25 14:54:41,546 - INFO - Project ctest-TestBasicPolicy-11350051 not found, creating it 2026-08-25 14:54:42,082 - INFO - Created Project:ctest-TestBasicPolicy-11350051, ID : a04ae68f-6c08-48cc-8bf3-93bfdaed1fc9 2026-08-25 14:54:43,790 - INFO - ================================================================================ 2026-08-25 14:54:43,790 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-25 14:54:43,791 - 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-08-25 14:54:44,056 - DEBUG - Nothing to compare xmpp stats {'10.0.0.188': {'10.20.0.17': '0'}} with 2026-08-25 14:54:44,056 - INFO - Initial checks done. Running the testcase now 2026-08-25 14:54:44,056 - INFO - 2026-08-25 14:54:44,723 - DEBUG - Response for create_network : {'network': {'id': '9506bec0-d2f5-4e54-a8ec-8b9f2bb586c4', 'name': 'ctest-vn-33542288', 'tenant_id': 'a04ae68f6c0848cc8bf393bfdaed1fc9', 'project_id': 'a04ae68f6c0848cc8bf393bfdaed1fc9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11350051', 'ctest-vn-33542288'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 14:54:44,929 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c07b9c3b-dd04-4d2a-8761-d77eaf8b0f34', 'name': '', 'tenant_id': 'a04ae68f6c0848cc8bf393bfdaed1fc9', 'network_id': '9506bec0-d2f5-4e54-a8ec-8b9f2bb586c4', 'ip_version': 4, 'cidr': '12.233.132.128/26', 'allocation_pools': [{'start': '12.233.132.130', 'end': '12.233.132.190'}], 'gateway_ip': '12.233.132.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.233.132.130', 'tags': [], 'project_id': 'a04ae68f6c0848cc8bf393bfdaed1fc9'}} 2026-08-25 14:54:44,950 - INFO - Created VN ctest-vn-33542288 2026-08-25 14:54:45,002 - DEBUG - VN ctest-vn-33542288 UUID is 9506bec0-d2f5-4e54-a8ec-8b9f2bb586c4 2026-08-25 14:54:45,362 - DEBUG - Response for create_network : {'network': {'id': '306bfa2d-8763-4fe1-8078-9e77a3cd748f', 'name': 'ctest-vn-20989208', 'tenant_id': 'a04ae68f6c0848cc8bf393bfdaed1fc9', 'project_id': 'a04ae68f6c0848cc8bf393bfdaed1fc9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11350051', 'ctest-vn-20989208'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 14:54:45,583 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b0c3cab-ac79-4726-b6ac-953f0ca01faf', 'name': '', 'tenant_id': 'a04ae68f6c0848cc8bf393bfdaed1fc9', 'network_id': '306bfa2d-8763-4fe1-8078-9e77a3cd748f', 'ip_version': 4, 'cidr': '126.12.122.64/26', 'allocation_pools': [{'start': '126.12.122.66', 'end': '126.12.122.126'}], 'gateway_ip': '126.12.122.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.12.122.66', 'tags': [], 'project_id': 'a04ae68f6c0848cc8bf393bfdaed1fc9'}} 2026-08-25 14:54:45,604 - INFO - Created VN ctest-vn-20989208 2026-08-25 14:54:45,658 - DEBUG - VN ctest-vn-20989208 UUID is 306bfa2d-8763-4fe1-8078-9e77a3cd748f 2026-08-25 14:54:45,779 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11350051:ctest-vn-33542288, 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-11350051:ctest-vn-20989208, 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-08-25 14:54:46,132 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9506bec0-d2f5-4e54-a8ec-8b9f2bb586c4', 'name': 'ctest-vn-33542288', 'tenant_id': 'a04ae68f6c0848cc8bf393bfdaed1fc9', 'project_id': 'a04ae68f6c0848cc8bf393bfdaed1fc9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c07b9c3b-dd04-4d2a-8761-d77eaf8b0f34'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11350051', 'ctest-vn-33542288'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11350051', 'ctest-policy-allow-all-95243348']], 'subnet_ipam': [{'subnet_cidr': '12.233.132.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 14:54:46,382 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '306bfa2d-8763-4fe1-8078-9e77a3cd748f', 'name': 'ctest-vn-20989208', 'tenant_id': 'a04ae68f6c0848cc8bf393bfdaed1fc9', 'project_id': 'a04ae68f6c0848cc8bf393bfdaed1fc9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5b0c3cab-ac79-4726-b6ac-953f0ca01faf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11350051', 'ctest-vn-20989208'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11350051', 'ctest-policy-allow-all-95243348']], 'subnet_ipam': [{'subnet_cidr': '126.12.122.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 14:54:46,554 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-08-25 14:54:46,891 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-08-25 14:54:46,923 - DEBUG - Requesting: http://10.0.0.188:8082/domain/85eb1517-a473-4f6e-94c4-9d8cee4881e7 2026-08-25 14:54:46,938 - DEBUG - Requesting: http://10.0.0.188:8082/project/a04ae68f-6c08-48cc-8bf3-93bfdaed1fc9 2026-08-25 14:54:47,032 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/9506bec0-d2f5-4e54-a8ec-8b9f2bb586c4 2026-08-25 14:54:47,048 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/9506bec0-d2f5-4e54-a8ec-8b9f2bb586c4 2026-08-25 14:54:47,060 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/929f9e64-e747-4cc3-a697-a0d80c9d826e 2026-08-25 14:54:47,069 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/929f9e64-e747-4cc3-a697-a0d80c9d826e 2026-08-25 14:54:47,078 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/9a88ad33-c577-4e62-b0a0-4aeca79c72f1 2026-08-25 14:54:47,087 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 14:54:47,087 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/9506bec0-d2f5-4e54-a8ec-8b9f2bb586c4 2026-08-25 14:54:47,098 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/929f9e64-e747-4cc3-a697-a0d80c9d826e 2026-08-25 14:54:47,117 - INFO - Verified VN network id 12 for VN 9506bec0-d2f5-4e54-a8ec-8b9f2bb586c4 2026-08-25 14:54:47,117 - INFO - Verifications in API Server for VN ctest-vn-33542288 passed 2026-08-25 14:54:47,117 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/9506bec0-d2f5-4e54-a8ec-8b9f2bb586c4 2026-08-25 14:54:47,132 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/929f9e64-e747-4cc3-a697-a0d80c9d826e 2026-08-25 14:54:47,141 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/929f9e64-e747-4cc3-a697-a0d80c9d826e 2026-08-25 14:54:47,150 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/9a88ad33-c577-4e62-b0a0-4aeca79c72f1 2026-08-25 14:54:47,164 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11350051:ctest-vn-33542288', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11350051', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10738480096893816404', 'uuid-lslong': '12172257408624985796'}, 'enable': 'true', 'created': '2026-08-25T14:54:44', 'last-modified': '2026-08-25T14:54:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.070332'} 2026-08-25 14:54:47,173 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 14:54:47,174 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33542288 passed 2026-08-25 14:54:47,174 - DEBUG - ====Verifying policy data for ctest-vn-33542288 in API_Server ====== 2026-08-25 14:54:47,174 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-08-25 14:54:47,182 - DEBUG - Requesting: http://10.0.0.188:8082/domain/85eb1517-a473-4f6e-94c4-9d8cee4881e7 2026-08-25 14:54:47,197 - DEBUG - Requesting: http://10.0.0.188:8082/project/a04ae68f-6c08-48cc-8bf3-93bfdaed1fc9 2026-08-25 14:54:47,277 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/9506bec0-d2f5-4e54-a8ec-8b9f2bb586c4 2026-08-25 14:54:47,290 - DEBUG - ==>Verifying data for policy with id: abd0ca75-4657-46de-aa3a-d8d3c8ba3958, fqn: ['default-domain', 'ctest-TestBasicPolicy-11350051', 'ctest-policy-allow-all-95243348'] 2026-08-25 14:54:47,290 - INFO - VN ctest-vn-33542288 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 14:54:47,290 - DEBUG - Verifying the vn in opserver 2026-08-25 14:54:47,290 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11350051:ctest-vn-33542288 virtual network link through opserver 10.0.0.188 2026-08-25 14:54:47,290 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-08-25 14:54:47,611 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-08-25 14:54:47,672 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11350051:ctest-vn-33542288', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11350051:ctest-vn-33542288?flat'} 2026-08-25 14:54:47,672 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11350051:ctest-vn-33542288 is found in opserver 2026-08-25 14:54:47,686 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 14:54:47,693 - DEBUG - VRF ids for VN ctest-vn-33542288: {} 2026-08-25 14:54:47,693 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-08-25 14:54:47,700 - DEBUG - Requesting: http://10.0.0.188:8082/domain/85eb1517-a473-4f6e-94c4-9d8cee4881e7 2026-08-25 14:54:47,716 - DEBUG - Requesting: http://10.0.0.188:8082/project/a04ae68f-6c08-48cc-8bf3-93bfdaed1fc9 2026-08-25 14:54:47,803 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/306bfa2d-8763-4fe1-8078-9e77a3cd748f 2026-08-25 14:54:47,820 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/306bfa2d-8763-4fe1-8078-9e77a3cd748f 2026-08-25 14:54:47,833 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/ca539156-63b2-48ec-8709-d7f292f1baa1 2026-08-25 14:54:47,844 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/ca539156-63b2-48ec-8709-d7f292f1baa1 2026-08-25 14:54:47,854 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/6a013bf2-d6d6-4aac-aa26-9843899b62a5 2026-08-25 14:54:47,863 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-25 14:54:47,863 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/306bfa2d-8763-4fe1-8078-9e77a3cd748f 2026-08-25 14:54:47,876 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/ca539156-63b2-48ec-8709-d7f292f1baa1 2026-08-25 14:54:47,895 - INFO - Verified VN network id 13 for VN 306bfa2d-8763-4fe1-8078-9e77a3cd748f 2026-08-25 14:54:47,896 - INFO - Verifications in API Server for VN ctest-vn-20989208 passed 2026-08-25 14:54:47,896 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/306bfa2d-8763-4fe1-8078-9e77a3cd748f 2026-08-25 14:54:47,908 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/ca539156-63b2-48ec-8709-d7f292f1baa1 2026-08-25 14:54:47,918 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/ca539156-63b2-48ec-8709-d7f292f1baa1 2026-08-25 14:54:47,927 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/6a013bf2-d6d6-4aac-aa26-9843899b62a5 2026-08-25 14:54:47,941 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11350051:ctest-vn-20989208', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11350051', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3489157409780486113', 'uuid-lslong': '9257323270746502287'}, 'enable': 'true', 'created': '2026-08-25T14:54:45', 'last-modified': '2026-08-25T14:54:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.586366'} 2026-08-25 14:54:47,950 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-25 14:54:47,950 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20989208 passed 2026-08-25 14:54:47,951 - DEBUG - ====Verifying policy data for ctest-vn-20989208 in API_Server ====== 2026-08-25 14:54:47,951 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-08-25 14:54:47,959 - DEBUG - Requesting: http://10.0.0.188:8082/domain/85eb1517-a473-4f6e-94c4-9d8cee4881e7 2026-08-25 14:54:47,974 - DEBUG - Requesting: http://10.0.0.188:8082/project/a04ae68f-6c08-48cc-8bf3-93bfdaed1fc9 2026-08-25 14:54:48,062 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/306bfa2d-8763-4fe1-8078-9e77a3cd748f 2026-08-25 14:54:48,076 - DEBUG - ==>Verifying data for policy with id: abd0ca75-4657-46de-aa3a-d8d3c8ba3958, fqn: ['default-domain', 'ctest-TestBasicPolicy-11350051', 'ctest-policy-allow-all-95243348'] 2026-08-25 14:54:48,076 - INFO - VN ctest-vn-20989208 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 14:54:48,076 - DEBUG - Verifying the vn in opserver 2026-08-25 14:54:48,076 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11350051:ctest-vn-20989208 virtual network link through opserver 10.0.0.188 2026-08-25 14:54:48,076 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-08-25 14:54:48,090 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11350051:ctest-vn-20989208', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11350051:ctest-vn-20989208?flat'} 2026-08-25 14:54:48,090 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11350051:ctest-vn-20989208 is found in opserver 2026-08-25 14:54:48,103 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 14:54:48,108 - DEBUG - VRF ids for VN ctest-vn-20989208: {} 2026-08-25 14:54:48,185 - DEBUG - Services list from nova: [, , ] 2026-08-25 14:54:48,760 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6225-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6225-30) 2026-08-25 14:54:49,216 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6225-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6225-30) 2026-08-25 14:54:49,216 - INFO - Waiting for VM ctest-TestBasicPolicy-11350051-75910428 to be up.. 2026-08-25 14:54:49,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 14:54:54,355 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 14:54:59,457 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 14:55:04,567 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 14:55:09,662 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 14:55:14,744 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 14:55:19,833 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 14:55:24,936 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 14:55:30,017 - DEBUG - VM is in ACTIVE state now 2026-08-25 14:55:30,017 - INFO - VM name : ctest-TestBasicPolicy-11350051-75910428 2026-08-25 14:55:30,115 - DEBUG - VM ctest-TestBasicPolicy-11350051-75910428 ID is 8a8cc652-6aa9-447d-9a89-cb61c19baa7e 2026-08-25 14:55:30,136 - DEBUG - VM ctest-TestBasicPolicy-11350051-75910428 launched on Node cn-jenkins-deploy-platform-ansible-os-6225-30 2026-08-25 14:55:30,225 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/8a8cc652-6aa9-447d-9a89-cb61c19baa7e 2026-08-25 14:55:30,235 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/aeca0019-565b-43ff-9727-d3ae57198346 2026-08-25 14:55:33,480 - 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=5.18 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 5.183/5.183/5.183/0.000 ms') 2026-08-25 14:55:33,481 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11350051-75910428 passed 2026-08-25 14:55:33,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 14:55:33,630 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11350051-75910428, IP 12.233.132.131, Port 22 2026-08-25 14:55:33,801 - DEBUG - VM ctest-TestBasicPolicy-11350051-75910428 is ready for SSH connections 2026-08-25 14:55:33,801 - INFO - Waiting for VM ctest-TestBasicPolicy-11350051-64952461 to be up.. 2026-08-25 14:55:33,884 - DEBUG - VM is in ACTIVE state now 2026-08-25 14:55:33,884 - INFO - VM name : ctest-TestBasicPolicy-11350051-64952461 2026-08-25 14:55:33,968 - DEBUG - VM ctest-TestBasicPolicy-11350051-64952461 ID is 0a105538-8992-4f48-b352-a5d1e2659ad0 2026-08-25 14:55:33,968 - DEBUG - VM ctest-TestBasicPolicy-11350051-64952461 launched on Node cn-jenkins-deploy-platform-ansible-os-6225-30 2026-08-25 14:55:34,053 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/0a105538-8992-4f48-b352-a5d1e2659ad0 2026-08-25 14:55:34,063 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/74417608-aa05-4fe5-8777-131f9effac4d 2026-08-25 14:55:37,324 - 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-08-25 14:55:37,324 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11350051-64952461 failed! 2026-08-25 14:55:37,382 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11350051:ctest-vn-20989208 is 126.12.122.65 and allocation pool is NOT set 2026-08-25 14:55:39,451 - 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=6.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.33 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.327/3.825/6.323/2.498 ms') 2026-08-25 14:55:39,451 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11350051-64952461 passed 2026-08-25 14:55:39,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 14:55:39,611 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11350051-64952461, IP 126.12.122.67, Port 22 2026-08-25 14:55:39,781 - DEBUG - VM ctest-TestBasicPolicy-11350051-64952461 is ready for SSH connections 2026-08-25 14:55:39,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 14:55:39,781 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.12.122.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-08-25 14:55:39,782 - DEBUG - ping -s 56 -c 3 -W 1 126.12.122.67 2026-08-25 14:55:43,849 - DEBUG - PING 126.12.122.67 (126.12.122.67): 56 data bytes 64 bytes from 126.12.122.67: seq=0 ttl=63 time=4.026 ms 64 bytes from 126.12.122.67: seq=1 ttl=63 time=1.182 ms 64 bytes from 126.12.122.67: seq=2 ttl=63 time=1.254 ms --- 126.12.122.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.182/2.154/4.026 ms 2026-08-25 14:55:43,849 - INFO - Ping to IP 126.12.122.67 from VM ctest-TestBasicPolicy-11350051-75910428 passed 2026-08-25 14:55:44,038 - DEBUG - Policy Update Response {"network-policy": {"uuid": "abd0ca75-4657-46de-aa3a-d8d3c8ba3958", "href": "http://10.0.0.188:8082/network-policy/abd0ca75-4657-46de-aa3a-d8d3c8ba3958"}} 2026-08-25 14:55:44,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 14:55:44,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.12.122.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-08-25 14:55:44,038 - DEBUG - ping -s 56 -c 3 -W 1 126.12.122.67 2026-08-25 14:55:47,186 - DEBUG - PING 126.12.122.67 (126.12.122.67): 56 data bytes 64 bytes from 126.12.122.67: seq=0 ttl=63 time=2.272 ms --- 126.12.122.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.272/2.272/2.272 ms 2026-08-25 14:55:47,186 - WARNING - Ping to IP 126.12.122.67 from VM ctest-TestBasicPolicy-11350051-75910428 failed 2026-08-25 14:55:47,187 - INFO - Deleting VM ctest-TestBasicPolicy-11350051-64952461 2026-08-25 14:55:47,260 - INFO - Deleting VM ctest-TestBasicPolicy-11350051-75910428 2026-08-25 14:55:47,728 - INFO - Deleted policy ctest-policy-allow-all-95243348 2026-08-25 14:55:47,728 - INFO - Deleting VN ctest-vn-20989208 2026-08-25 14:55:47,783 - DEBUG - VN 306bfa2d-8763-4fe1-8078-9e77a3cd748f still in use: Unable to complete operation on network 306bfa2d-8763-4fe1-8078-9e77a3cd748f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d6bc36df-e302-4468-aa39-7eebe1efa4c8'] 2026-08-25 14:55:47,783 - WARNING - Deleting VN ctest-vn-20989208 failed..Will retry 2026-08-25 14:55:49,941 - DEBUG - Response for deleting network () 2026-08-25 14:55:49,941 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/ca539156-63b2-48ec-8709-d7f292f1baa1 2026-08-25 14:55:49,948 - DEBUG - Response Code: 404 2026-08-25 14:55:49,948 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-08-25 14:55:49,958 - DEBUG - Requesting: http://10.0.0.188:8082/domain/85eb1517-a473-4f6e-94c4-9d8cee4881e7 2026-08-25 14:55:50,018 - DEBUG - Requesting: http://10.0.0.188:8082/project/a04ae68f-6c08-48cc-8bf3-93bfdaed1fc9 2026-08-25 14:55:50,109 - INFO - Validated that VN ctest-vn-20989208 is not found in API Server 2026-08-25 14:55:50,123 - DEBUG - VN ctest-vn-20989208 is not present in Agent 10.0.0.188 2026-08-25 14:55:50,124 - INFO - Validated that VN ctest-vn-20989208 is not in any agent 2026-08-25 14:55:50,144 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20989208 info 2026-08-25 14:55:50,144 - INFO - Deleting VN ctest-vn-33542288 2026-08-25 14:55:50,289 - DEBUG - Response for deleting network () 2026-08-25 14:55:50,289 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/929f9e64-e747-4cc3-a697-a0d80c9d826e 2026-08-25 14:55:50,297 - DEBUG - Response Code: 404 2026-08-25 14:55:50,297 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-08-25 14:55:50,304 - DEBUG - Requesting: http://10.0.0.188:8082/domain/85eb1517-a473-4f6e-94c4-9d8cee4881e7 2026-08-25 14:55:50,360 - DEBUG - Requesting: http://10.0.0.188:8082/project/a04ae68f-6c08-48cc-8bf3-93bfdaed1fc9 2026-08-25 14:55:50,440 - INFO - Validated that VN ctest-vn-33542288 is not found in API Server 2026-08-25 14:55:50,452 - DEBUG - VN ctest-vn-33542288 is not present in Agent 10.0.0.188 2026-08-25 14:55:50,452 - INFO - Validated that VN ctest-vn-33542288 is not in any agent 2026-08-25 14:55:50,475 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33542288 info 2026-08-25 14:55:50,752 - DEBUG - No XMPP flaps were noticed during the test
2026-08-25 14:55:50,752 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:07]
2026-08-25 14:55:50,753 - INFO - -------------------------------------------------------------------------------- 2026-08-25 14:55:51,504 - INFO - Deleted project: ctest-TestBasicPolicy-11350051, ID : a04ae68f-6c08-48cc-8bf3-93bfdaed1fc9