2026-01-05 02:07:24,069 - INFO - Domain Default found not creating 2026-01-05 02:07:24,243 - INFO - Project ctest-TestBasicPolicy-64106949 not found, creating it 2026-01-05 02:07:24,698 - INFO - Created Project:ctest-TestBasicPolicy-64106949, ID : 2bf5c439-b9b9-45a2-acf8-72970bd5a395 2026-01-05 02:07:26,194 - INFO - ================================================================================ 2026-01-05 02:07:26,194 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-05 02:07:26,194 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-01-05 02:07:26,452 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.193': '0'}} with 2026-01-05 02:07:26,452 - INFO - Initial checks done. Running the testcase now 2026-01-05 02:07:26,452 - INFO - 2026-01-05 02:07:27,021 - DEBUG - Response for create_network : {'network': {'id': 'b36027f8-ba63-49f9-a9b5-9b97f97e9816', 'name': 'ctest-vn-00681819', 'tenant_id': '2bf5c439b9b945a2acf872970bd5a395', 'project_id': '2bf5c439b9b945a2acf872970bd5a395', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64106949', 'ctest-vn-00681819'], 'port_security_enabled': True, 'description': ''}} 2026-01-05 02:07:27,212 - DEBUG - Response for create_subnet : {'subnet': {'id': '80e4f71e-85bd-4751-b56b-8868f3ee3c2a', 'name': '', 'tenant_id': '2bf5c439b9b945a2acf872970bd5a395', 'network_id': 'b36027f8-ba63-49f9-a9b5-9b97f97e9816', 'ip_version': 4, 'cidr': '128.158.9.64/26', 'allocation_pools': [{'start': '128.158.9.66', 'end': '128.158.9.126'}], 'gateway_ip': '128.158.9.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.158.9.66', 'tags': [], 'project_id': '2bf5c439b9b945a2acf872970bd5a395'}} 2026-01-05 02:07:27,228 - INFO - Created VN ctest-vn-00681819 2026-01-05 02:07:27,279 - DEBUG - VN ctest-vn-00681819 UUID is b36027f8-ba63-49f9-a9b5-9b97f97e9816 2026-01-05 02:07:27,619 - DEBUG - Response for create_network : {'network': {'id': 'e87df75f-ab90-4b19-92ad-b1d0511dfbd0', 'name': 'ctest-vn-62741217', 'tenant_id': '2bf5c439b9b945a2acf872970bd5a395', 'project_id': '2bf5c439b9b945a2acf872970bd5a395', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64106949', 'ctest-vn-62741217'], 'port_security_enabled': True, 'description': ''}} 2026-01-05 02:07:27,838 - DEBUG - Response for create_subnet : {'subnet': {'id': '53f3b006-d85b-475b-b911-7f3cd3b53d2a', 'name': '', 'tenant_id': '2bf5c439b9b945a2acf872970bd5a395', 'network_id': 'e87df75f-ab90-4b19-92ad-b1d0511dfbd0', 'ip_version': 4, 'cidr': '221.132.45.192/26', 'allocation_pools': [{'start': '221.132.45.194', 'end': '221.132.45.254'}], 'gateway_ip': '221.132.45.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.132.45.194', 'tags': [], 'project_id': '2bf5c439b9b945a2acf872970bd5a395'}} 2026-01-05 02:07:27,855 - INFO - Created VN ctest-vn-62741217 2026-01-05 02:07:27,907 - DEBUG - VN ctest-vn-62741217 UUID is e87df75f-ab90-4b19-92ad-b1d0511dfbd0 2026-01-05 02:07:28,029 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-00681819, 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-64106949:ctest-vn-62741217, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-01-05 02:07:28,324 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b36027f8-ba63-49f9-a9b5-9b97f97e9816', 'name': 'ctest-vn-00681819', 'tenant_id': '2bf5c439b9b945a2acf872970bd5a395', 'project_id': '2bf5c439b9b945a2acf872970bd5a395', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['80e4f71e-85bd-4751-b56b-8868f3ee3c2a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64106949', 'ctest-vn-00681819'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64106949', 'ctest-policy-allow-all-79015617']], 'subnet_ipam': [{'subnet_cidr': '128.158.9.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-05 02:07:28,608 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e87df75f-ab90-4b19-92ad-b1d0511dfbd0', 'name': 'ctest-vn-62741217', 'tenant_id': '2bf5c439b9b945a2acf872970bd5a395', 'project_id': '2bf5c439b9b945a2acf872970bd5a395', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['53f3b006-d85b-475b-b911-7f3cd3b53d2a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64106949', 'ctest-vn-62741217'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64106949', 'ctest-policy-allow-all-79015617']], 'subnet_ipam': [{'subnet_cidr': '221.132.45.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-05 02:07:28,755 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-05 02:07:29,070 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-05 02:07:29,101 - DEBUG - Requesting: http://10.0.0.41:8082/domain/0da39fe2-7a8f-4fdc-94c9-2a9a81062395 2026-01-05 02:07:29,113 - DEBUG - Requesting: http://10.0.0.41:8082/project/2bf5c439-b9b9-45a2-acf8-72970bd5a395 2026-01-05 02:07:29,188 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b36027f8-ba63-49f9-a9b5-9b97f97e9816 2026-01-05 02:07:29,197 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b36027f8-ba63-49f9-a9b5-9b97f97e9816 2026-01-05 02:07:29,205 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/8069e79f-5c54-41f3-830f-e5bef3355d2a 2026-01-05 02:07:29,212 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/8069e79f-5c54-41f3-830f-e5bef3355d2a 2026-01-05 02:07:29,218 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b2dc3e40-6926-44f2-a21b-323739226f20 2026-01-05 02:07:29,224 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-05 02:07:29,224 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b36027f8-ba63-49f9-a9b5-9b97f97e9816 2026-01-05 02:07:29,232 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/8069e79f-5c54-41f3-830f-e5bef3355d2a 2026-01-05 02:07:29,245 - INFO - Verified VN network id 11 for VN b36027f8-ba63-49f9-a9b5-9b97f97e9816 2026-01-05 02:07:29,245 - INFO - Verifications in API Server for VN ctest-vn-00681819 passed 2026-01-05 02:07:29,245 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b36027f8-ba63-49f9-a9b5-9b97f97e9816 2026-01-05 02:07:29,253 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/8069e79f-5c54-41f3-830f-e5bef3355d2a 2026-01-05 02:07:29,259 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/8069e79f-5c54-41f3-830f-e5bef3355d2a 2026-01-05 02:07:29,264 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b2dc3e40-6926-44f2-a21b-323739226f20 2026-01-05 02:07:29,275 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-00681819', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64106949', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12925374879785765369', 'uuid-lslong': '12228851440222640150'}, 'enable': 'true', 'created': '2026-01-05T02:07:26', 'last-modified': '2026-01-05T02:07:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.976200'} 2026-01-05 02:07:29,280 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-05 02:07:29,280 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00681819 passed 2026-01-05 02:07:29,280 - DEBUG - ====Verifying policy data for ctest-vn-00681819 in API_Server ====== 2026-01-05 02:07:29,280 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-05 02:07:29,286 - DEBUG - Requesting: http://10.0.0.41:8082/domain/0da39fe2-7a8f-4fdc-94c9-2a9a81062395 2026-01-05 02:07:29,295 - DEBUG - Requesting: http://10.0.0.41:8082/project/2bf5c439-b9b9-45a2-acf8-72970bd5a395 2026-01-05 02:07:29,366 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b36027f8-ba63-49f9-a9b5-9b97f97e9816 2026-01-05 02:07:29,375 - DEBUG - ==>Verifying data for policy with id: 26536ffc-a137-4c76-ae1a-f430276dfa60, fqn: ['default-domain', 'ctest-TestBasicPolicy-64106949', 'ctest-policy-allow-all-79015617'] 2026-01-05 02:07:29,375 - INFO - VN ctest-vn-00681819 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-05 02:07:29,375 - DEBUG - Verifying the vn in opserver 2026-01-05 02:07:29,375 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-00681819 virtual network link through opserver 10.0.0.41 2026-01-05 02:07:29,375 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-01-05 02:07:29,671 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-01-05 02:07:29,730 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-00681819', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-00681819?flat'} 2026-01-05 02:07:29,730 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-00681819 is found in opserver 2026-01-05 02:07:29,739 - DEBUG - Do not have enough data to verify VN in agent 2026-01-05 02:07:29,743 - DEBUG - VRF ids for VN ctest-vn-00681819: {} 2026-01-05 02:07:29,743 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-05 02:07:29,748 - DEBUG - Requesting: http://10.0.0.41:8082/domain/0da39fe2-7a8f-4fdc-94c9-2a9a81062395 2026-01-05 02:07:29,758 - DEBUG - Requesting: http://10.0.0.41:8082/project/2bf5c439-b9b9-45a2-acf8-72970bd5a395 2026-01-05 02:07:29,831 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e87df75f-ab90-4b19-92ad-b1d0511dfbd0 2026-01-05 02:07:29,843 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e87df75f-ab90-4b19-92ad-b1d0511dfbd0 2026-01-05 02:07:29,851 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a7f2a3ea-bcd7-4e69-807e-ca44f8f5bd8c 2026-01-05 02:07:29,857 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a7f2a3ea-bcd7-4e69-807e-ca44f8f5bd8c 2026-01-05 02:07:29,863 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/05861c14-91b4-4425-ac02-7e42af1f9c8e 2026-01-05 02:07:29,871 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-05 02:07:29,871 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e87df75f-ab90-4b19-92ad-b1d0511dfbd0 2026-01-05 02:07:29,880 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a7f2a3ea-bcd7-4e69-807e-ca44f8f5bd8c 2026-01-05 02:07:29,893 - INFO - Verified VN network id 12 for VN e87df75f-ab90-4b19-92ad-b1d0511dfbd0 2026-01-05 02:07:29,893 - INFO - Verifications in API Server for VN ctest-vn-62741217 passed 2026-01-05 02:07:29,893 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e87df75f-ab90-4b19-92ad-b1d0511dfbd0 2026-01-05 02:07:29,903 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a7f2a3ea-bcd7-4e69-807e-ca44f8f5bd8c 2026-01-05 02:07:29,910 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a7f2a3ea-bcd7-4e69-807e-ca44f8f5bd8c 2026-01-05 02:07:29,917 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/05861c14-91b4-4425-ac02-7e42af1f9c8e 2026-01-05 02:07:29,929 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-62741217', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64106949', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16752818179160427289', 'uuid-lslong': '10569299408780655568'}, 'enable': 'true', 'created': '2026-01-05T02:07:27', 'last-modified': '2026-01-05T02:07:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.391840'} 2026-01-05 02:07:29,936 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-05 02:07:29,936 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62741217 passed 2026-01-05 02:07:29,936 - DEBUG - ====Verifying policy data for ctest-vn-62741217 in API_Server ====== 2026-01-05 02:07:29,936 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-05 02:07:29,944 - DEBUG - Requesting: http://10.0.0.41:8082/domain/0da39fe2-7a8f-4fdc-94c9-2a9a81062395 2026-01-05 02:07:29,953 - DEBUG - Requesting: http://10.0.0.41:8082/project/2bf5c439-b9b9-45a2-acf8-72970bd5a395 2026-01-05 02:07:30,023 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e87df75f-ab90-4b19-92ad-b1d0511dfbd0 2026-01-05 02:07:30,031 - DEBUG - ==>Verifying data for policy with id: 26536ffc-a137-4c76-ae1a-f430276dfa60, fqn: ['default-domain', 'ctest-TestBasicPolicy-64106949', 'ctest-policy-allow-all-79015617'] 2026-01-05 02:07:30,031 - INFO - VN ctest-vn-62741217 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-05 02:07:30,031 - DEBUG - Verifying the vn in opserver 2026-01-05 02:07:30,031 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-62741217 virtual network link through opserver 10.0.0.41 2026-01-05 02:07:30,031 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-01-05 02:07:30,040 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-62741217', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-62741217?flat'} 2026-01-05 02:07:30,040 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-62741217 is found in opserver 2026-01-05 02:07:30,052 - DEBUG - Do not have enough data to verify VN in agent 2026-01-05 02:07:30,058 - DEBUG - VRF ids for VN ctest-vn-62741217: {} 2026-01-05 02:07:30,114 - DEBUG - Services list from nova: [, , ] 2026-01-05 02:07:31,130 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4960-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4960-1) 2026-01-05 02:07:32,277 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4960-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4960-1) 2026-01-05 02:07:32,277 - INFO - Waiting for VM ctest-TestBasicPolicy-64106949-09671232 to be up.. 2026-01-05 02:07:32,355 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-05 02:07:37,431 - DEBUG - VM is in ACTIVE state now 2026-01-05 02:07:37,431 - INFO - VM name : ctest-TestBasicPolicy-64106949-09671232 2026-01-05 02:07:37,511 - DEBUG - VM ctest-TestBasicPolicy-64106949-09671232 ID is 77072cb4-d87c-471f-870f-999b1a7c5694 2026-01-05 02:07:37,530 - DEBUG - VM ctest-TestBasicPolicy-64106949-09671232 launched on Node cn-jenkins-deploy-platform-ansible-os-4960-1 2026-01-05 02:07:37,602 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/77072cb4-d87c-471f-870f-999b1a7c5694 2026-01-05 02:07:37,610 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b64c3346-48fc-48ec-bdb1-341b8c3f6c8d 2026-01-05 02:07:40,866 - 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-01-05 02:07:40,866 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64106949-09671232 failed! 2026-01-05 02:07:40,923 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-00681819 is 128.158.9.65 and allocation pool is NOT set 2026-01-05 02:07:42,984 - 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=7.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.926 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.926/4.040/7.154/3.114 ms') 2026-01-05 02:07:42,984 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64106949-09671232 passed 2026-01-05 02:07:43,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 02:07:43,131 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64106949-09671232, IP 128.158.9.67, Port 22 2026-01-05 02:07:43,291 - DEBUG - VM ctest-TestBasicPolicy-64106949-09671232 is ready for SSH connections 2026-01-05 02:07:43,291 - INFO - Waiting for VM ctest-TestBasicPolicy-64106949-48289102 to be up.. 2026-01-05 02:07:43,375 - DEBUG - VM is in ACTIVE state now 2026-01-05 02:07:43,375 - INFO - VM name : ctest-TestBasicPolicy-64106949-48289102 2026-01-05 02:07:43,473 - DEBUG - VM ctest-TestBasicPolicy-64106949-48289102 ID is 18e18d27-670c-48e8-8e35-1fed5d5e12e4 2026-01-05 02:07:43,473 - DEBUG - VM ctest-TestBasicPolicy-64106949-48289102 launched on Node cn-jenkins-deploy-platform-ansible-os-4960-1 2026-01-05 02:07:43,594 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/18e18d27-670c-48e8-8e35-1fed5d5e12e4 2026-01-05 02:07:43,602 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/4b6b72ee-11b9-45b8-9029-5d97443178e4 2026-01-05 02:07:44,839 - 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=2.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.509 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.509/1.531/2.553/1.022 ms') 2026-01-05 02:07:44,839 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64106949-48289102 passed 2026-01-05 02:07:44,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 02:07:44,987 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64106949-48289102, IP 221.132.45.195, Port 22 2026-01-05 02:07:45,143 - DEBUG - VM ctest-TestBasicPolicy-64106949-48289102 is ready for SSH connections 2026-01-05 02:07:45,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 02:07:45,143 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.132.45.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-01-05 02:07:45,143 - DEBUG - ping -s 56 -c 3 -W 1 221.132.45.195 2026-01-05 02:07:48,840 - DEBUG - PING 221.132.45.195 (221.132.45.195): 56 data bytes 64 bytes from 221.132.45.195: seq=0 ttl=63 time=4.063 ms 64 bytes from 221.132.45.195: seq=1 ttl=63 time=0.775 ms 64 bytes from 221.132.45.195: seq=2 ttl=63 time=1.288 ms --- 221.132.45.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.775/2.042/4.063 ms 2026-01-05 02:07:48,840 - INFO - Ping to IP 221.132.45.195 from VM ctest-TestBasicPolicy-64106949-09671232 passed 2026-01-05 02:07:49,015 - DEBUG - Policy Update Response {"network-policy": {"uuid": "26536ffc-a137-4c76-ae1a-f430276dfa60", "href": "http://10.0.0.41:8082/network-policy/26536ffc-a137-4c76-ae1a-f430276dfa60"}} 2026-01-05 02:07:49,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 02:07:49,015 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.132.45.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-01-05 02:07:49,015 - DEBUG - ping -s 56 -c 3 -W 1 221.132.45.195 2026-01-05 02:07:52,233 - DEBUG - PING 221.132.45.195 (221.132.45.195): 56 data bytes --- 221.132.45.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-05 02:07:52,233 - WARNING - Ping to IP 221.132.45.195 from VM ctest-TestBasicPolicy-64106949-09671232 failed 2026-01-05 02:07:52,233 - INFO - Deleting VM ctest-TestBasicPolicy-64106949-48289102 2026-01-05 02:07:52,298 - INFO - Deleting VM ctest-TestBasicPolicy-64106949-09671232 2026-01-05 02:07:52,658 - INFO - Deleted policy ctest-policy-allow-all-79015617 2026-01-05 02:07:52,658 - INFO - Deleting VN ctest-vn-62741217 2026-01-05 02:07:52,693 - DEBUG - VN e87df75f-ab90-4b19-92ad-b1d0511dfbd0 still in use: Unable to complete operation on network e87df75f-ab90-4b19-92ad-b1d0511dfbd0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2f688f66-ba82-487e-ab2e-6da7bf5e59ff'] 2026-01-05 02:07:52,693 - WARNING - Deleting VN ctest-vn-62741217 failed..Will retry 2026-01-05 02:07:54,801 - DEBUG - Response for deleting network () 2026-01-05 02:07:54,801 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a7f2a3ea-bcd7-4e69-807e-ca44f8f5bd8c 2026-01-05 02:07:54,806 - DEBUG - Response Code: 404 2026-01-05 02:07:54,806 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-05 02:07:54,811 - DEBUG - Requesting: http://10.0.0.41:8082/domain/0da39fe2-7a8f-4fdc-94c9-2a9a81062395 2026-01-05 02:07:54,865 - DEBUG - Requesting: http://10.0.0.41:8082/project/2bf5c439-b9b9-45a2-acf8-72970bd5a395 2026-01-05 02:07:54,933 - INFO - Validated that VN ctest-vn-62741217 is not found in API Server 2026-01-05 02:07:54,941 - DEBUG - VN ctest-vn-62741217 is not present in Agent 10.0.0.41 2026-01-05 02:07:54,941 - INFO - Validated that VN ctest-vn-62741217 is not in any agent 2026-01-05 02:07:54,955 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62741217 info 2026-01-05 02:07:54,955 - INFO - Deleting VN ctest-vn-00681819 2026-01-05 02:07:55,046 - DEBUG - Response for deleting network () 2026-01-05 02:07:55,046 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/8069e79f-5c54-41f3-830f-e5bef3355d2a 2026-01-05 02:07:55,053 - DEBUG - Response Code: 404 2026-01-05 02:07:55,053 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-05 02:07:55,058 - DEBUG - Requesting: http://10.0.0.41:8082/domain/0da39fe2-7a8f-4fdc-94c9-2a9a81062395 2026-01-05 02:07:55,107 - DEBUG - Requesting: http://10.0.0.41:8082/project/2bf5c439-b9b9-45a2-acf8-72970bd5a395 2026-01-05 02:07:55,176 - INFO - Validated that VN ctest-vn-00681819 is not found in API Server 2026-01-05 02:07:55,185 - DEBUG - VN ctest-vn-00681819 is not present in Agent 10.0.0.41 2026-01-05 02:07:55,185 - INFO - Validated that VN ctest-vn-00681819 is not in any agent 2026-01-05 02:07:55,197 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00681819 info 2026-01-05 02:07:55,451 - DEBUG - No XMPP flaps were noticed during the test
2026-01-05 02:07:55,451 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-05 02:07:55,451 - INFO - -------------------------------------------------------------------------------- 2026-01-05 02:07:56,130 - INFO - Deleted project: ctest-TestBasicPolicy-64106949, ID : 2bf5c439-b9b9-45a2-acf8-72970bd5a395