2026-11-07 05:17:39,146 - INFO - Domain Default found not creating 2026-11-07 05:17:39,325 - INFO - Project ctest-TestBasicPolicy-43350776 not found, creating it 2026-11-07 05:17:39,819 - INFO - Created Project:ctest-TestBasicPolicy-43350776, ID : a79bae55-a400-458b-bc44-a0e9de9618ce 2026-11-07 05:17:41,461 - INFO - ================================================================================ 2026-11-07 05:17:41,462 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-07 05:17:41,462 - 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-11-07 05:17:41,729 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with 2026-11-07 05:17:41,729 - INFO - Initial checks done. Running the testcase now 2026-11-07 05:17:41,729 - INFO - 2026-11-07 05:17:42,330 - DEBUG - Response for create_network : {'network': {'id': 'a9edd1a8-2a57-425e-8824-77eb7048a925', 'name': 'ctest-vn-45374236', 'tenant_id': 'a79bae55a400458bbc44a0e9de9618ce', 'project_id': 'a79bae55a400458bbc44a0e9de9618ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43350776', 'ctest-vn-45374236'], 'port_security_enabled': True, 'description': ''}} 2026-11-07 05:17:42,546 - DEBUG - Response for create_subnet : {'subnet': {'id': '161e48cc-c0e8-45c6-bd21-05e5995da72a', 'name': '', 'tenant_id': 'a79bae55a400458bbc44a0e9de9618ce', 'network_id': 'a9edd1a8-2a57-425e-8824-77eb7048a925', 'ip_version': 4, 'cidr': '13.198.0.192/26', 'allocation_pools': [{'start': '13.198.0.194', 'end': '13.198.0.254'}], 'gateway_ip': '13.198.0.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.198.0.194', 'tags': [], 'project_id': 'a79bae55a400458bbc44a0e9de9618ce'}} 2026-11-07 05:17:42,567 - INFO - Created VN ctest-vn-45374236 2026-11-07 05:17:42,623 - DEBUG - VN ctest-vn-45374236 UUID is a9edd1a8-2a57-425e-8824-77eb7048a925 2026-11-07 05:17:42,948 - DEBUG - Response for create_network : {'network': {'id': 'ce0e545e-df3c-45bf-9d1c-1a5067d849c2', 'name': 'ctest-vn-99508447', 'tenant_id': 'a79bae55a400458bbc44a0e9de9618ce', 'project_id': 'a79bae55a400458bbc44a0e9de9618ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43350776', 'ctest-vn-99508447'], 'port_security_enabled': True, 'description': ''}} 2026-11-07 05:17:43,137 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e832c05e-707c-4064-bb93-9b3336e4b40f', 'name': '', 'tenant_id': 'a79bae55a400458bbc44a0e9de9618ce', 'network_id': 'ce0e545e-df3c-45bf-9d1c-1a5067d849c2', 'ip_version': 4, 'cidr': '104.65.96.0/26', 'allocation_pools': [{'start': '104.65.96.2', 'end': '104.65.96.62'}], 'gateway_ip': '104.65.96.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.65.96.2', 'tags': [], 'project_id': 'a79bae55a400458bbc44a0e9de9618ce'}} 2026-11-07 05:17:43,155 - INFO - Created VN ctest-vn-99508447 2026-11-07 05:17:43,207 - DEBUG - VN ctest-vn-99508447 UUID is ce0e545e-df3c-45bf-9d1c-1a5067d849c2 2026-11-07 05:17:43,355 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43350776:ctest-vn-45374236, 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-43350776:ctest-vn-99508447, 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-11-07 05:17:43,664 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a9edd1a8-2a57-425e-8824-77eb7048a925', 'name': 'ctest-vn-45374236', 'tenant_id': 'a79bae55a400458bbc44a0e9de9618ce', 'project_id': 'a79bae55a400458bbc44a0e9de9618ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['161e48cc-c0e8-45c6-bd21-05e5995da72a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43350776', 'ctest-vn-45374236'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43350776', 'ctest-policy-allow-all-38364535']], 'subnet_ipam': [{'subnet_cidr': '13.198.0.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-07 05:17:43,903 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce0e545e-df3c-45bf-9d1c-1a5067d849c2', 'name': 'ctest-vn-99508447', 'tenant_id': 'a79bae55a400458bbc44a0e9de9618ce', 'project_id': 'a79bae55a400458bbc44a0e9de9618ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e832c05e-707c-4064-bb93-9b3336e4b40f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43350776', 'ctest-vn-99508447'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43350776', 'ctest-policy-allow-all-38364535']], 'subnet_ipam': [{'subnet_cidr': '104.65.96.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-07 05:17:44,071 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-07 05:17:44,462 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-07 05:17:44,493 - DEBUG - Requesting: http://10.0.0.185:8082/domain/1d04880d-91fb-48ba-907e-d600bd308c22 2026-11-07 05:17:44,506 - DEBUG - Requesting: http://10.0.0.185:8082/project/a79bae55-a400-458b-bc44-a0e9de9618ce 2026-11-07 05:17:44,583 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a9edd1a8-2a57-425e-8824-77eb7048a925 2026-11-07 05:17:44,595 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a9edd1a8-2a57-425e-8824-77eb7048a925 2026-11-07 05:17:44,605 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/7b3d36fb-ad9f-48e8-8d86-ad6d1d5e939a 2026-11-07 05:17:44,612 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/7b3d36fb-ad9f-48e8-8d86-ad6d1d5e939a 2026-11-07 05:17:44,619 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/82f91e9c-7e02-4ee9-8a81-960589a8f9ba 2026-11-07 05:17:44,625 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-07 05:17:44,625 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a9edd1a8-2a57-425e-8824-77eb7048a925 2026-11-07 05:17:44,634 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/7b3d36fb-ad9f-48e8-8d86-ad6d1d5e939a 2026-11-07 05:17:44,649 - INFO - Verified VN network id 12 for VN a9edd1a8-2a57-425e-8824-77eb7048a925 2026-11-07 05:17:44,649 - INFO - Verifications in API Server for VN ctest-vn-45374236 passed 2026-11-07 05:17:44,649 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a9edd1a8-2a57-425e-8824-77eb7048a925 2026-11-07 05:17:44,658 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/7b3d36fb-ad9f-48e8-8d86-ad6d1d5e939a 2026-11-07 05:17:44,665 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/7b3d36fb-ad9f-48e8-8d86-ad6d1d5e939a 2026-11-07 05:17:44,673 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/82f91e9c-7e02-4ee9-8a81-960589a8f9ba 2026-11-07 05:17:44,685 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43350776:ctest-vn-45374236', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43350776', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12244673482085319262', 'uuid-lslong': '9810097741404612901'}, 'enable': 'true', 'created': '2026-11-07T05:17:42', 'last-modified': '2026-11-07T05:17:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.054248'} 2026-11-07 05:17:44,693 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-07 05:17:44,693 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45374236 passed 2026-11-07 05:17:44,693 - DEBUG - ====Verifying policy data for ctest-vn-45374236 in API_Server ====== 2026-11-07 05:17:44,693 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-07 05:17:44,699 - DEBUG - Requesting: http://10.0.0.185:8082/domain/1d04880d-91fb-48ba-907e-d600bd308c22 2026-11-07 05:17:44,709 - DEBUG - Requesting: http://10.0.0.185:8082/project/a79bae55-a400-458b-bc44-a0e9de9618ce 2026-11-07 05:17:44,787 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a9edd1a8-2a57-425e-8824-77eb7048a925 2026-11-07 05:17:44,795 - DEBUG - ==>Verifying data for policy with id: 13487a15-4227-430e-80d4-d67abe22366f, fqn: ['default-domain', 'ctest-TestBasicPolicy-43350776', 'ctest-policy-allow-all-38364535'] 2026-11-07 05:17:44,795 - INFO - VN ctest-vn-45374236 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-07 05:17:44,795 - DEBUG - Verifying the vn in opserver 2026-11-07 05:17:44,795 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43350776:ctest-vn-45374236 virtual network link through opserver 10.0.0.185 2026-11-07 05:17:44,795 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-11-07 05:17:45,117 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-11-07 05:17:45,169 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43350776:ctest-vn-45374236', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43350776:ctest-vn-45374236?flat'} 2026-11-07 05:17:45,169 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43350776:ctest-vn-45374236 is found in opserver 2026-11-07 05:17:45,178 - DEBUG - Do not have enough data to verify VN in agent 2026-11-07 05:17:45,184 - DEBUG - VRF ids for VN ctest-vn-45374236: {} 2026-11-07 05:17:45,184 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-07 05:17:45,189 - DEBUG - Requesting: http://10.0.0.185:8082/domain/1d04880d-91fb-48ba-907e-d600bd308c22 2026-11-07 05:17:45,200 - DEBUG - Requesting: http://10.0.0.185:8082/project/a79bae55-a400-458b-bc44-a0e9de9618ce 2026-11-07 05:17:45,271 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/ce0e545e-df3c-45bf-9d1c-1a5067d849c2 2026-11-07 05:17:45,282 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/ce0e545e-df3c-45bf-9d1c-1a5067d849c2 2026-11-07 05:17:45,291 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/4c204776-2e97-4fe7-9493-e92878b102b4 2026-11-07 05:17:45,299 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/4c204776-2e97-4fe7-9493-e92878b102b4 2026-11-07 05:17:45,305 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/6d58fe5b-6f52-43da-be2d-a040deb88e42 2026-11-07 05:17:45,312 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-07 05:17:45,312 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/ce0e545e-df3c-45bf-9d1c-1a5067d849c2 2026-11-07 05:17:45,320 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/4c204776-2e97-4fe7-9493-e92878b102b4 2026-11-07 05:17:45,333 - INFO - Verified VN network id 13 for VN ce0e545e-df3c-45bf-9d1c-1a5067d849c2 2026-11-07 05:17:45,333 - INFO - Verifications in API Server for VN ctest-vn-99508447 passed 2026-11-07 05:17:45,333 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/ce0e545e-df3c-45bf-9d1c-1a5067d849c2 2026-11-07 05:17:45,343 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/4c204776-2e97-4fe7-9493-e92878b102b4 2026-11-07 05:17:45,351 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/4c204776-2e97-4fe7-9493-e92878b102b4 2026-11-07 05:17:45,357 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/6d58fe5b-6f52-43da-be2d-a040deb88e42 2026-11-07 05:17:45,370 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43350776:ctest-vn-99508447', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43350776', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14847897787936032191', 'uuid-lslong': '11320952495944518082'}, 'enable': 'true', 'created': '2026-11-07T05:17:42', 'last-modified': '2026-11-07T05:17:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.499224'} 2026-11-07 05:17:45,376 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-07 05:17:45,376 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99508447 passed 2026-11-07 05:17:45,376 - DEBUG - ====Verifying policy data for ctest-vn-99508447 in API_Server ====== 2026-11-07 05:17:45,376 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-07 05:17:45,382 - DEBUG - Requesting: http://10.0.0.185:8082/domain/1d04880d-91fb-48ba-907e-d600bd308c22 2026-11-07 05:17:45,392 - DEBUG - Requesting: http://10.0.0.185:8082/project/a79bae55-a400-458b-bc44-a0e9de9618ce 2026-11-07 05:17:45,470 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/ce0e545e-df3c-45bf-9d1c-1a5067d849c2 2026-11-07 05:17:45,480 - DEBUG - ==>Verifying data for policy with id: 13487a15-4227-430e-80d4-d67abe22366f, fqn: ['default-domain', 'ctest-TestBasicPolicy-43350776', 'ctest-policy-allow-all-38364535'] 2026-11-07 05:17:45,480 - INFO - VN ctest-vn-99508447 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-07 05:17:45,481 - DEBUG - Verifying the vn in opserver 2026-11-07 05:17:45,481 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43350776:ctest-vn-99508447 virtual network link through opserver 10.0.0.185 2026-11-07 05:17:45,481 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-11-07 05:17:45,492 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43350776:ctest-vn-99508447', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43350776:ctest-vn-99508447?flat'} 2026-11-07 05:17:45,492 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43350776:ctest-vn-99508447 is found in opserver 2026-11-07 05:17:45,502 - DEBUG - Do not have enough data to verify VN in agent 2026-11-07 05:17:45,508 - DEBUG - VRF ids for VN ctest-vn-99508447: {} 2026-11-07 05:17:45,581 - DEBUG - Services list from nova: [, , ] 2026-11-07 05:17:46,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6495-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6495-1) 2026-11-07 05:17:46,423 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6495-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6495-1) 2026-11-07 05:17:46,423 - INFO - Waiting for VM ctest-TestBasicPolicy-43350776-76646249 to be up.. 2026-11-07 05:17:46,462 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 05:17:51,539 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 05:17:56,615 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 05:18:01,694 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 05:18:06,775 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 05:18:11,857 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 05:18:16,934 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 05:18:22,013 - DEBUG - VM is in ACTIVE state now 2026-11-07 05:18:22,013 - INFO - VM name : ctest-TestBasicPolicy-43350776-76646249 2026-11-07 05:18:22,099 - DEBUG - VM ctest-TestBasicPolicy-43350776-76646249 ID is ba324509-359d-4da1-9ef0-4d2e12293216 2026-11-07 05:18:22,123 - DEBUG - VM ctest-TestBasicPolicy-43350776-76646249 launched on Node cn-jenkins-deploy-platform-ansible-os-6495-1 2026-11-07 05:18:22,197 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/ba324509-359d-4da1-9ef0-4d2e12293216 2026-11-07 05:18:22,209 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/ecb6c4f3-e633-44a7-a90d-57f380b038a0 2026-11-07 05:18:25,479 - 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-11-07 05:18:25,480 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43350776-76646249 failed! 2026-11-07 05:18:25,535 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43350776:ctest-vn-45374236 is 13.198.0.193 and allocation pool is NOT set 2026-11-07 05:18:29,601 - 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.32 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 3.319/3.319/3.319/0.000 ms') 2026-11-07 05:18:29,601 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43350776-76646249 passed 2026-11-07 05:18:29,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 05:18:29,755 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43350776-76646249, IP 13.198.0.195, Port 22 2026-11-07 05:18:29,915 - DEBUG - VM ctest-TestBasicPolicy-43350776-76646249 is ready for SSH connections 2026-11-07 05:18:29,915 - INFO - Waiting for VM ctest-TestBasicPolicy-43350776-21299982 to be up.. 2026-11-07 05:18:30,002 - DEBUG - VM is in ACTIVE state now 2026-11-07 05:18:30,003 - INFO - VM name : ctest-TestBasicPolicy-43350776-21299982 2026-11-07 05:18:30,082 - DEBUG - VM ctest-TestBasicPolicy-43350776-21299982 ID is 9865405c-6ffc-47f9-9e82-d92b2c40146d 2026-11-07 05:18:30,082 - DEBUG - VM ctest-TestBasicPolicy-43350776-21299982 launched on Node cn-jenkins-deploy-platform-ansible-os-6495-1 2026-11-07 05:18:30,164 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/9865405c-6ffc-47f9-9e82-d92b2c40146d 2026-11-07 05:18:30,172 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/c03a0802-fcb2-46a9-a773-b32f51064742 2026-11-07 05:18:33,413 - 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=4.12 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 4.116/4.116/4.116/0.000 ms') 2026-11-07 05:18:33,413 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43350776-21299982 passed 2026-11-07 05:18:33,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 05:18:33,563 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43350776-21299982, IP 104.65.96.3, Port 22 2026-11-07 05:18:33,718 - DEBUG - VM ctest-TestBasicPolicy-43350776-21299982 is ready for SSH connections 2026-11-07 05:18:33,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 05:18:33,719 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.65.96.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-11-07 05:18:33,719 - DEBUG - ping -s 56 -c 3 -W 1 104.65.96.3 2026-11-07 05:18:37,682 - DEBUG - PING 104.65.96.3 (104.65.96.3): 56 data bytes 64 bytes from 104.65.96.3: seq=0 ttl=63 time=3.859 ms 64 bytes from 104.65.96.3: seq=1 ttl=63 time=1.224 ms 64 bytes from 104.65.96.3: seq=2 ttl=63 time=1.100 ms --- 104.65.96.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.100/2.061/3.859 ms 2026-11-07 05:18:37,682 - INFO - Ping to IP 104.65.96.3 from VM ctest-TestBasicPolicy-43350776-76646249 passed 2026-11-07 05:18:37,859 - DEBUG - Policy Update Response {"network-policy": {"uuid": "13487a15-4227-430e-80d4-d67abe22366f", "href": "http://10.0.0.185:8082/network-policy/13487a15-4227-430e-80d4-d67abe22366f"}} 2026-11-07 05:18:37,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 05:18:37,859 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.65.96.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-11-07 05:18:37,859 - DEBUG - ping -s 56 -c 3 -W 1 104.65.96.3 2026-11-07 05:18:40,977 - DEBUG - PING 104.65.96.3 (104.65.96.3): 56 data bytes 64 bytes from 104.65.96.3: seq=0 ttl=63 time=1.471 ms --- 104.65.96.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.471/1.471/1.471 ms 2026-11-07 05:18:40,978 - WARNING - Ping to IP 104.65.96.3 from VM ctest-TestBasicPolicy-43350776-76646249 failed 2026-11-07 05:18:40,978 - INFO - Deleting VM ctest-TestBasicPolicy-43350776-21299982 2026-11-07 05:18:41,054 - INFO - Deleting VM ctest-TestBasicPolicy-43350776-76646249 2026-11-07 05:18:41,407 - INFO - Deleted policy ctest-policy-allow-all-38364535 2026-11-07 05:18:41,407 - INFO - Deleting VN ctest-vn-99508447 2026-11-07 05:18:41,439 - DEBUG - VN ce0e545e-df3c-45bf-9d1c-1a5067d849c2 still in use: Unable to complete operation on network ce0e545e-df3c-45bf-9d1c-1a5067d849c2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2a54c323-0cac-49c0-8c10-7bdc6b97d508'] 2026-11-07 05:18:41,440 - WARNING - Deleting VN ctest-vn-99508447 failed..Will retry 2026-11-07 05:18:43,475 - DEBUG - VN ce0e545e-df3c-45bf-9d1c-1a5067d849c2 still in use: Unable to complete operation on network ce0e545e-df3c-45bf-9d1c-1a5067d849c2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a1a4edb2-8467-41e6-be71-7441c1cc9f12'] 2026-11-07 05:18:43,475 - WARNING - Deleting VN ctest-vn-99508447 failed..Will retry 2026-11-07 05:18:45,578 - DEBUG - Response for deleting network () 2026-11-07 05:18:45,578 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/4c204776-2e97-4fe7-9493-e92878b102b4 2026-11-07 05:18:45,584 - DEBUG - Response Code: 404 2026-11-07 05:18:45,584 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-07 05:18:45,589 - DEBUG - Requesting: http://10.0.0.185:8082/domain/1d04880d-91fb-48ba-907e-d600bd308c22 2026-11-07 05:18:45,645 - DEBUG - Requesting: http://10.0.0.185:8082/project/a79bae55-a400-458b-bc44-a0e9de9618ce 2026-11-07 05:18:45,721 - INFO - Validated that VN ctest-vn-99508447 is not found in API Server 2026-11-07 05:18:45,735 - DEBUG - VN ctest-vn-99508447 is not present in Agent 10.0.0.185 2026-11-07 05:18:45,735 - INFO - Validated that VN ctest-vn-99508447 is not in any agent 2026-11-07 05:18:45,753 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99508447 info 2026-11-07 05:18:45,753 - INFO - Deleting VN ctest-vn-45374236 2026-11-07 05:18:45,852 - DEBUG - Response for deleting network () 2026-11-07 05:18:45,852 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/7b3d36fb-ad9f-48e8-8d86-ad6d1d5e939a 2026-11-07 05:18:45,857 - DEBUG - Response Code: 404 2026-11-07 05:18:45,857 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-07 05:18:45,864 - DEBUG - Requesting: http://10.0.0.185:8082/domain/1d04880d-91fb-48ba-907e-d600bd308c22 2026-11-07 05:18:45,915 - DEBUG - Requesting: http://10.0.0.185:8082/project/a79bae55-a400-458b-bc44-a0e9de9618ce 2026-11-07 05:18:45,989 - INFO - Validated that VN ctest-vn-45374236 is not found in API Server 2026-11-07 05:18:45,999 - DEBUG - VN ctest-vn-45374236 is not present in Agent 10.0.0.185 2026-11-07 05:18:45,999 - INFO - Validated that VN ctest-vn-45374236 is not in any agent 2026-11-07 05:18:46,013 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45374236 info 2026-11-07 05:18:46,272 - DEBUG - No XMPP flaps were noticed during the test
2026-11-07 05:18:46,272 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05]
2026-11-07 05:18:46,272 - INFO - -------------------------------------------------------------------------------- 2026-11-07 05:18:46,997 - INFO - Deleted project: ctest-TestBasicPolicy-43350776, ID : a79bae55-a400-458b-bc44-a0e9de9618ce