2026-07-04 07:55:34,480 - INFO - Domain Default found not creating 2026-07-04 07:55:34,620 - INFO - Project ctest-TestBasicPolicy-58089787 not found, creating it 2026-07-04 07:55:35,104 - INFO - Created Project:ctest-TestBasicPolicy-58089787, ID : 58c713e1-0ab8-4ffc-80b9-88205c2e79e6 2026-07-04 07:55:36,540 - INFO - ================================================================================ 2026-07-04 07:55:36,540 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-04 07:55:36,540 - 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-07-04 07:55:36,795 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-07-04 07:55:36,795 - INFO - Initial checks done. Running the testcase now 2026-07-04 07:55:36,795 - INFO - 2026-07-04 07:55:37,348 - DEBUG - Response for create_network : {'network': {'id': '45c25b39-226d-42ff-a8e2-8531b669647b', 'name': 'ctest-vn-93991318', 'tenant_id': '58c713e10ab84ffc80b988205c2e79e6', 'project_id': '58c713e10ab84ffc80b988205c2e79e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58089787', 'ctest-vn-93991318'], 'port_security_enabled': True, 'description': ''}} 2026-07-04 07:55:37,490 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e26d29f5-9146-44c0-9119-fa3af1ac1f88', 'name': '', 'tenant_id': '58c713e10ab84ffc80b988205c2e79e6', 'network_id': '45c25b39-226d-42ff-a8e2-8531b669647b', 'ip_version': 4, 'cidr': '71.238.23.192/26', 'allocation_pools': [{'start': '71.238.23.194', 'end': '71.238.23.254'}], 'gateway_ip': '71.238.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.238.23.194', 'tags': [], 'project_id': '58c713e10ab84ffc80b988205c2e79e6'}} 2026-07-04 07:55:37,504 - INFO - Created VN ctest-vn-93991318 2026-07-04 07:55:37,557 - DEBUG - VN ctest-vn-93991318 UUID is 45c25b39-226d-42ff-a8e2-8531b669647b 2026-07-04 07:55:37,858 - DEBUG - Response for create_network : {'network': {'id': '7387185f-1f50-4506-a8ce-55c50205b9a4', 'name': 'ctest-vn-39223427', 'tenant_id': '58c713e10ab84ffc80b988205c2e79e6', 'project_id': '58c713e10ab84ffc80b988205c2e79e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58089787', 'ctest-vn-39223427'], 'port_security_enabled': True, 'description': ''}} 2026-07-04 07:55:38,072 - DEBUG - Response for create_subnet : {'subnet': {'id': '094e9e78-db4f-48b9-b80b-0f98250dbaf5', 'name': '', 'tenant_id': '58c713e10ab84ffc80b988205c2e79e6', 'network_id': '7387185f-1f50-4506-a8ce-55c50205b9a4', 'ip_version': 4, 'cidr': '104.2.223.192/26', 'allocation_pools': [{'start': '104.2.223.194', 'end': '104.2.223.254'}], 'gateway_ip': '104.2.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.2.223.194', 'tags': [], 'project_id': '58c713e10ab84ffc80b988205c2e79e6'}} 2026-07-04 07:55:38,085 - INFO - Created VN ctest-vn-39223427 2026-07-04 07:55:38,133 - DEBUG - VN ctest-vn-39223427 UUID is 7387185f-1f50-4506-a8ce-55c50205b9a4 2026-07-04 07:55:38,273 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-93991318, 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-58089787:ctest-vn-39223427, 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-07-04 07:55:38,575 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45c25b39-226d-42ff-a8e2-8531b669647b', 'name': 'ctest-vn-93991318', 'tenant_id': '58c713e10ab84ffc80b988205c2e79e6', 'project_id': '58c713e10ab84ffc80b988205c2e79e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e26d29f5-9146-44c0-9119-fa3af1ac1f88'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58089787', 'ctest-vn-93991318'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58089787', 'ctest-policy-allow-all-46852808']], 'subnet_ipam': [{'subnet_cidr': '71.238.23.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-04 07:55:38,814 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7387185f-1f50-4506-a8ce-55c50205b9a4', 'name': 'ctest-vn-39223427', 'tenant_id': '58c713e10ab84ffc80b988205c2e79e6', 'project_id': '58c713e10ab84ffc80b988205c2e79e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['094e9e78-db4f-48b9-b80b-0f98250dbaf5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58089787', 'ctest-vn-39223427'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58089787', 'ctest-policy-allow-all-46852808']], 'subnet_ipam': [{'subnet_cidr': '104.2.223.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-04 07:55:38,969 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-04 07:55:39,290 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-04 07:55:39,313 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff3c935c-8758-4743-b289-df1a607d2b24 2026-07-04 07:55:39,324 - DEBUG - Requesting: http://10.0.0.50:8082/project/58c713e1-0ab8-4ffc-80b9-88205c2e79e6 2026-07-04 07:55:39,402 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45c25b39-226d-42ff-a8e2-8531b669647b 2026-07-04 07:55:39,414 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45c25b39-226d-42ff-a8e2-8531b669647b 2026-07-04 07:55:39,423 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/32482903-aaad-475f-a836-0c57fe38e764 2026-07-04 07:55:39,429 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/32482903-aaad-475f-a836-0c57fe38e764 2026-07-04 07:55:39,435 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/79b31894-2f48-4bff-a1b7-e203ff696469 2026-07-04 07:55:39,441 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-04 07:55:39,441 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45c25b39-226d-42ff-a8e2-8531b669647b 2026-07-04 07:55:39,449 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/32482903-aaad-475f-a836-0c57fe38e764 2026-07-04 07:55:39,461 - INFO - Verified VN network id 11 for VN 45c25b39-226d-42ff-a8e2-8531b669647b 2026-07-04 07:55:39,462 - INFO - Verifications in API Server for VN ctest-vn-93991318 passed 2026-07-04 07:55:39,462 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45c25b39-226d-42ff-a8e2-8531b669647b 2026-07-04 07:55:39,469 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/32482903-aaad-475f-a836-0c57fe38e764 2026-07-04 07:55:39,475 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/32482903-aaad-475f-a836-0c57fe38e764 2026-07-04 07:55:39,480 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/79b31894-2f48-4bff-a1b7-e203ff696469 2026-07-04 07:55:39,490 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-93991318', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58089787', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5026680435047744255', 'uuid-lslong': '12169435591668753531'}, 'enable': 'true', 'created': '2026-07-04T07:55:37', 'last-modified': '2026-07-04T07:55:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.935501'} 2026-07-04 07:55:39,496 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-04 07:55:39,496 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93991318 passed 2026-07-04 07:55:39,497 - DEBUG - ====Verifying policy data for ctest-vn-93991318 in API_Server ====== 2026-07-04 07:55:39,497 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-04 07:55:39,504 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff3c935c-8758-4743-b289-df1a607d2b24 2026-07-04 07:55:39,514 - DEBUG - Requesting: http://10.0.0.50:8082/project/58c713e1-0ab8-4ffc-80b9-88205c2e79e6 2026-07-04 07:55:39,586 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45c25b39-226d-42ff-a8e2-8531b669647b 2026-07-04 07:55:39,595 - DEBUG - ==>Verifying data for policy with id: f1586f6e-a081-4977-88bd-55743fa65dda, fqn: ['default-domain', 'ctest-TestBasicPolicy-58089787', 'ctest-policy-allow-all-46852808'] 2026-07-04 07:55:39,595 - INFO - VN ctest-vn-93991318 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-04 07:55:39,595 - DEBUG - Verifying the vn in opserver 2026-07-04 07:55:39,595 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-93991318 virtual network link through opserver 10.0.0.50 2026-07-04 07:55:39,595 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-04 07:55:40,124 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-04 07:55:40,189 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-93991318', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-93991318?flat'} 2026-07-04 07:55:40,189 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-93991318 is found in opserver 2026-07-04 07:55:40,197 - DEBUG - Do not have enough data to verify VN in agent 2026-07-04 07:55:40,201 - DEBUG - VRF ids for VN ctest-vn-93991318: {} 2026-07-04 07:55:40,201 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-04 07:55:40,205 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff3c935c-8758-4743-b289-df1a607d2b24 2026-07-04 07:55:40,214 - DEBUG - Requesting: http://10.0.0.50:8082/project/58c713e1-0ab8-4ffc-80b9-88205c2e79e6 2026-07-04 07:55:40,281 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7387185f-1f50-4506-a8ce-55c50205b9a4 2026-07-04 07:55:40,291 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7387185f-1f50-4506-a8ce-55c50205b9a4 2026-07-04 07:55:40,299 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/466b96df-c0ac-4e82-8adc-7a968121c395 2026-07-04 07:55:40,304 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/466b96df-c0ac-4e82-8adc-7a968121c395 2026-07-04 07:55:40,309 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1833e452-9f60-4ed7-8a30-171d9367c5b5 2026-07-04 07:55:40,314 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-04 07:55:40,314 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7387185f-1f50-4506-a8ce-55c50205b9a4 2026-07-04 07:55:40,321 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/466b96df-c0ac-4e82-8adc-7a968121c395 2026-07-04 07:55:40,333 - INFO - Verified VN network id 12 for VN 7387185f-1f50-4506-a8ce-55c50205b9a4 2026-07-04 07:55:40,333 - INFO - Verifications in API Server for VN ctest-vn-39223427 passed 2026-07-04 07:55:40,333 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7387185f-1f50-4506-a8ce-55c50205b9a4 2026-07-04 07:55:40,340 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/466b96df-c0ac-4e82-8adc-7a968121c395 2026-07-04 07:55:40,345 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/466b96df-c0ac-4e82-8adc-7a968121c395 2026-07-04 07:55:40,350 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1833e452-9f60-4ed7-8a30-171d9367c5b5 2026-07-04 07:55:40,360 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-39223427', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58089787', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8324649233043965190', 'uuid-lslong': '12163753948205136292'}, 'enable': 'true', 'created': '2026-07-04T07:55:37', 'last-modified': '2026-07-04T07:55:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.583695'} 2026-07-04 07:55:40,365 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-04 07:55:40,365 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39223427 passed 2026-07-04 07:55:40,365 - DEBUG - ====Verifying policy data for ctest-vn-39223427 in API_Server ====== 2026-07-04 07:55:40,365 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-04 07:55:40,370 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff3c935c-8758-4743-b289-df1a607d2b24 2026-07-04 07:55:40,380 - DEBUG - Requesting: http://10.0.0.50:8082/project/58c713e1-0ab8-4ffc-80b9-88205c2e79e6 2026-07-04 07:55:40,446 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7387185f-1f50-4506-a8ce-55c50205b9a4 2026-07-04 07:55:40,453 - DEBUG - ==>Verifying data for policy with id: f1586f6e-a081-4977-88bd-55743fa65dda, fqn: ['default-domain', 'ctest-TestBasicPolicy-58089787', 'ctest-policy-allow-all-46852808'] 2026-07-04 07:55:40,453 - INFO - VN ctest-vn-39223427 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-04 07:55:40,453 - DEBUG - Verifying the vn in opserver 2026-07-04 07:55:40,453 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-39223427 virtual network link through opserver 10.0.0.50 2026-07-04 07:55:40,453 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-04 07:55:40,462 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-39223427', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-39223427?flat'} 2026-07-04 07:55:40,462 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-39223427 is found in opserver 2026-07-04 07:55:40,471 - DEBUG - Do not have enough data to verify VN in agent 2026-07-04 07:55:40,477 - DEBUG - VRF ids for VN ctest-vn-39223427: {} 2026-07-04 07:55:40,530 - DEBUG - Services list from nova: [, , ] 2026-07-04 07:55:40,902 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6078-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6078-1) 2026-07-04 07:55:41,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6078-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6078-1) 2026-07-04 07:55:41,229 - INFO - Waiting for VM ctest-TestBasicPolicy-58089787-80824030 to be up.. 2026-07-04 07:55:41,269 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-04 07:55:46,351 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-04 07:55:51,417 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-04 07:55:56,488 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-04 07:56:01,568 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-04 07:56:06,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-04 07:56:11,736 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-04 07:56:16,808 - DEBUG - VM is in ACTIVE state now 2026-07-04 07:56:16,808 - INFO - VM name : ctest-TestBasicPolicy-58089787-80824030 2026-07-04 07:56:16,881 - DEBUG - VM ctest-TestBasicPolicy-58089787-80824030 ID is 5be159ff-1407-4801-8580-5461b136d4d7 2026-07-04 07:56:16,900 - DEBUG - VM ctest-TestBasicPolicy-58089787-80824030 launched on Node cn-jenkins-deploy-platform-ansible-os-6078-1 2026-07-04 07:56:16,971 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5be159ff-1407-4801-8580-5461b136d4d7 2026-07-04 07:56:16,979 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8f140d1a-857e-49a6-98d0-f7b94398dcab 2026-07-04 07:56:20,232 - 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 1019ms') 2026-07-04 07:56:20,232 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58089787-80824030 failed! 2026-07-04 07:56:20,285 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58089787:ctest-vn-93991318 is 71.238.23.193 and allocation pool is NOT set 2026-07-04 07:56:22,342 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.392 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.392/4.717/9.042/4.325 ms') 2026-07-04 07:56:22,342 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58089787-80824030 passed 2026-07-04 07:56:22,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-04 07:56:22,489 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58089787-80824030, IP 71.238.23.195, Port 22 2026-07-04 07:56:22,645 - DEBUG - VM ctest-TestBasicPolicy-58089787-80824030 is ready for SSH connections 2026-07-04 07:56:22,646 - INFO - Waiting for VM ctest-TestBasicPolicy-58089787-53189799 to be up.. 2026-07-04 07:56:22,725 - DEBUG - VM is in ACTIVE state now 2026-07-04 07:56:22,725 - INFO - VM name : ctest-TestBasicPolicy-58089787-53189799 2026-07-04 07:56:22,805 - DEBUG - VM ctest-TestBasicPolicy-58089787-53189799 ID is 68c65fee-675f-45bf-84de-a5e6720ff622 2026-07-04 07:56:22,805 - DEBUG - VM ctest-TestBasicPolicy-58089787-53189799 launched on Node cn-jenkins-deploy-platform-ansible-os-6078-1 2026-07-04 07:56:22,883 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/68c65fee-675f-45bf-84de-a5e6720ff622 2026-07-04 07:56:22,892 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/18936799-97e8-4e38-be0f-e213d81dd0e2 2026-07-04 07:56:26,157 - 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=2 ttl=63 time=9.17 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 9.169/9.169/9.169/0.000 ms') 2026-07-04 07:56:26,157 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58089787-53189799 passed 2026-07-04 07:56:26,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-04 07:56:26,305 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58089787-53189799, IP 104.2.223.195, Port 22 2026-07-04 07:56:26,460 - DEBUG - VM ctest-TestBasicPolicy-58089787-53189799 is ready for SSH connections 2026-07-04 07:56:26,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-04 07:56:26,461 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.2.223.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-04 07:56:26,461 - DEBUG - ping -s 56 -c 3 -W 1 104.2.223.195 2026-07-04 07:56:30,338 - DEBUG - PING 104.2.223.195 (104.2.223.195): 56 data bytes 64 bytes from 104.2.223.195: seq=0 ttl=63 time=4.382 ms 64 bytes from 104.2.223.195: seq=1 ttl=63 time=1.415 ms 64 bytes from 104.2.223.195: seq=2 ttl=63 time=1.129 ms --- 104.2.223.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.129/2.308/4.382 ms 2026-07-04 07:56:30,339 - INFO - Ping to IP 104.2.223.195 from VM ctest-TestBasicPolicy-58089787-80824030 passed 2026-07-04 07:56:30,541 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f1586f6e-a081-4977-88bd-55743fa65dda", "href": "http://10.0.0.50:8082/network-policy/f1586f6e-a081-4977-88bd-55743fa65dda"}} 2026-07-04 07:56:30,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-04 07:56:30,541 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.2.223.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-04 07:56:30,541 - DEBUG - ping -s 56 -c 3 -W 1 104.2.223.195 2026-07-04 07:56:33,672 - DEBUG - PING 104.2.223.195 (104.2.223.195): 56 data bytes 64 bytes from 104.2.223.195: seq=0 ttl=63 time=1.143 ms --- 104.2.223.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.143/1.143/1.143 ms 2026-07-04 07:56:33,673 - WARNING - Ping to IP 104.2.223.195 from VM ctest-TestBasicPolicy-58089787-80824030 failed 2026-07-04 07:56:33,673 - INFO - Deleting VM ctest-TestBasicPolicy-58089787-53189799 2026-07-04 07:56:33,739 - INFO - Deleting VM ctest-TestBasicPolicy-58089787-80824030 2026-07-04 07:56:34,091 - INFO - Deleted policy ctest-policy-allow-all-46852808 2026-07-04 07:56:34,091 - INFO - Deleting VN ctest-vn-39223427 2026-07-04 07:56:34,129 - DEBUG - VN 7387185f-1f50-4506-a8ce-55c50205b9a4 still in use: Unable to complete operation on network 7387185f-1f50-4506-a8ce-55c50205b9a4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b6bdac44-6913-42f2-94b5-2087d6f5275a'] 2026-07-04 07:56:34,129 - WARNING - Deleting VN ctest-vn-39223427 failed..Will retry 2026-07-04 07:56:36,231 - DEBUG - Response for deleting network () 2026-07-04 07:56:36,231 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/466b96df-c0ac-4e82-8adc-7a968121c395 2026-07-04 07:56:36,236 - DEBUG - Response Code: 404 2026-07-04 07:56:36,236 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-04 07:56:36,240 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff3c935c-8758-4743-b289-df1a607d2b24 2026-07-04 07:56:36,297 - DEBUG - Requesting: http://10.0.0.50:8082/project/58c713e1-0ab8-4ffc-80b9-88205c2e79e6 2026-07-04 07:56:36,369 - INFO - Validated that VN ctest-vn-39223427 is not found in API Server 2026-07-04 07:56:36,378 - DEBUG - VN ctest-vn-39223427 is not present in Agent 10.0.0.50 2026-07-04 07:56:36,378 - INFO - Validated that VN ctest-vn-39223427 is not in any agent 2026-07-04 07:56:36,389 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39223427 info 2026-07-04 07:56:36,390 - INFO - Deleting VN ctest-vn-93991318 2026-07-04 07:56:36,484 - DEBUG - Response for deleting network () 2026-07-04 07:56:36,484 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/32482903-aaad-475f-a836-0c57fe38e764 2026-07-04 07:56:36,491 - DEBUG - Response Code: 404 2026-07-04 07:56:36,491 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-04 07:56:36,496 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff3c935c-8758-4743-b289-df1a607d2b24 2026-07-04 07:56:36,546 - DEBUG - Requesting: http://10.0.0.50:8082/project/58c713e1-0ab8-4ffc-80b9-88205c2e79e6 2026-07-04 07:56:36,612 - INFO - Validated that VN ctest-vn-93991318 is not found in API Server 2026-07-04 07:56:36,621 - DEBUG - VN ctest-vn-93991318 is not present in Agent 10.0.0.50 2026-07-04 07:56:36,621 - INFO - Validated that VN ctest-vn-93991318 is not in any agent 2026-07-04 07:56:36,635 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93991318 info 2026-07-04 07:56:36,890 - DEBUG - No XMPP flaps were noticed during the test
2026-07-04 07:56:36,890 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:00]
2026-07-04 07:56:36,890 - INFO - -------------------------------------------------------------------------------- 2026-07-04 07:56:37,572 - INFO - Deleted project: ctest-TestBasicPolicy-58089787, ID : 58c713e1-0ab8-4ffc-80b9-88205c2e79e6