2025-11-24 18:09:10,074 - INFO - Domain Default found not creating 2025-11-24 18:09:10,250 - INFO - Project ctest-TestBasicPolicy-88799036 not found, creating it 2025-11-24 18:09:10,710 - INFO - Created Project:ctest-TestBasicPolicy-88799036, ID : 17034ef3-d8f4-4114-95db-b6e001ca24a9 2025-11-24 18:09:12,128 - INFO - ================================================================================ 2025-11-24 18:09:12,128 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-24 18:09:12,128 - 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 2025-11-24 18:09:12,384 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-11-24 18:09:12,384 - INFO - Initial checks done. Running the testcase now 2025-11-24 18:09:12,384 - INFO - 2025-11-24 18:09:12,902 - DEBUG - Response for create_network : {'network': {'id': 'e18096a0-ba7a-4dc7-987e-3f53bf722b74', 'name': 'ctest-vn-99404952', 'tenant_id': '17034ef3d8f4411495dbb6e001ca24a9', 'project_id': '17034ef3d8f4411495dbb6e001ca24a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88799036', 'ctest-vn-99404952'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:09:13,064 - DEBUG - Response for create_subnet : {'subnet': {'id': '363e2a45-d52f-42b3-82c7-302176786183', 'name': '', 'tenant_id': '17034ef3d8f4411495dbb6e001ca24a9', 'network_id': 'e18096a0-ba7a-4dc7-987e-3f53bf722b74', 'ip_version': 4, 'cidr': '14.28.252.192/26', 'allocation_pools': [{'start': '14.28.252.194', 'end': '14.28.252.254'}], 'gateway_ip': '14.28.252.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.28.252.194', 'tags': [], 'project_id': '17034ef3d8f4411495dbb6e001ca24a9'}} 2025-11-24 18:09:13,081 - INFO - Created VN ctest-vn-99404952 2025-11-24 18:09:13,131 - DEBUG - VN ctest-vn-99404952 UUID is e18096a0-ba7a-4dc7-987e-3f53bf722b74 2025-11-24 18:09:13,411 - DEBUG - Response for create_network : {'network': {'id': 'af22189e-c698-4d02-bee3-32023572148e', 'name': 'ctest-vn-03812232', 'tenant_id': '17034ef3d8f4411495dbb6e001ca24a9', 'project_id': '17034ef3d8f4411495dbb6e001ca24a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88799036', 'ctest-vn-03812232'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:09:13,570 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b429ac4-d8cb-4946-8944-21bd90e8cc92', 'name': '', 'tenant_id': '17034ef3d8f4411495dbb6e001ca24a9', 'network_id': 'af22189e-c698-4d02-bee3-32023572148e', 'ip_version': 4, 'cidr': '216.54.161.128/26', 'allocation_pools': [{'start': '216.54.161.130', 'end': '216.54.161.190'}], 'gateway_ip': '216.54.161.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.54.161.130', 'tags': [], 'project_id': '17034ef3d8f4411495dbb6e001ca24a9'}} 2025-11-24 18:09:13,585 - INFO - Created VN ctest-vn-03812232 2025-11-24 18:09:13,635 - DEBUG - VN ctest-vn-03812232 UUID is af22189e-c698-4d02-bee3-32023572148e 2025-11-24 18:09:13,791 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88799036:ctest-vn-99404952, 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-88799036:ctest-vn-03812232, 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] 2025-11-24 18:09:14,077 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e18096a0-ba7a-4dc7-987e-3f53bf722b74', 'name': 'ctest-vn-99404952', 'tenant_id': '17034ef3d8f4411495dbb6e001ca24a9', 'project_id': '17034ef3d8f4411495dbb6e001ca24a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['363e2a45-d52f-42b3-82c7-302176786183'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88799036', 'ctest-vn-99404952'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88799036', 'ctest-policy-allow-all-68292712']], 'subnet_ipam': [{'subnet_cidr': '14.28.252.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:09:14,292 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af22189e-c698-4d02-bee3-32023572148e', 'name': 'ctest-vn-03812232', 'tenant_id': '17034ef3d8f4411495dbb6e001ca24a9', 'project_id': '17034ef3d8f4411495dbb6e001ca24a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2b429ac4-d8cb-4946-8944-21bd90e8cc92'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88799036', 'ctest-vn-03812232'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88799036', 'ctest-policy-allow-all-68292712']], 'subnet_ipam': [{'subnet_cidr': '216.54.161.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:09:14,455 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-24 18:09:14,755 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-24 18:09:14,784 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d4f84fef-8b6d-4cbc-af66-f93dd86acbde 2025-11-24 18:09:14,794 - DEBUG - Requesting: http://10.0.0.22:8082/project/17034ef3-d8f4-4114-95db-b6e001ca24a9 2025-11-24 18:09:14,864 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e18096a0-ba7a-4dc7-987e-3f53bf722b74 2025-11-24 18:09:14,874 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e18096a0-ba7a-4dc7-987e-3f53bf722b74 2025-11-24 18:09:14,883 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1714e23d-ed16-49ea-94e9-1a491c6cea6e 2025-11-24 18:09:14,890 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1714e23d-ed16-49ea-94e9-1a491c6cea6e 2025-11-24 18:09:14,897 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1cb743d7-ec9a-4153-b3d9-d87eb8cfa63c 2025-11-24 18:09:14,905 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 18:09:14,905 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e18096a0-ba7a-4dc7-987e-3f53bf722b74 2025-11-24 18:09:14,915 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1714e23d-ed16-49ea-94e9-1a491c6cea6e 2025-11-24 18:09:14,929 - INFO - Verified VN network id 11 for VN e18096a0-ba7a-4dc7-987e-3f53bf722b74 2025-11-24 18:09:14,929 - INFO - Verifications in API Server for VN ctest-vn-99404952 passed 2025-11-24 18:09:14,929 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e18096a0-ba7a-4dc7-987e-3f53bf722b74 2025-11-24 18:09:14,936 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1714e23d-ed16-49ea-94e9-1a491c6cea6e 2025-11-24 18:09:14,942 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1714e23d-ed16-49ea-94e9-1a491c6cea6e 2025-11-24 18:09:14,948 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1cb743d7-ec9a-4153-b3d9-d87eb8cfa63c 2025-11-24 18:09:14,958 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88799036:ctest-vn-99404952', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88799036', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16249153072620260807', 'uuid-lslong': '10988289769757354868'}, 'enable': 'true', 'created': '2025-11-24T18:09:12', 'last-modified': '2025-11-24T18:09:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.902147'} 2025-11-24 18:09:14,966 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 18:09:14,966 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99404952 passed 2025-11-24 18:09:14,967 - DEBUG - ====Verifying policy data for ctest-vn-99404952 in API_Server ====== 2025-11-24 18:09:14,967 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-24 18:09:14,971 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d4f84fef-8b6d-4cbc-af66-f93dd86acbde 2025-11-24 18:09:14,981 - DEBUG - Requesting: http://10.0.0.22:8082/project/17034ef3-d8f4-4114-95db-b6e001ca24a9 2025-11-24 18:09:15,051 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e18096a0-ba7a-4dc7-987e-3f53bf722b74 2025-11-24 18:09:15,059 - DEBUG - ==>Verifying data for policy with id: 92508b43-eb9e-4c20-8ce7-185b1ed9e89f, fqn: ['default-domain', 'ctest-TestBasicPolicy-88799036', 'ctest-policy-allow-all-68292712'] 2025-11-24 18:09:15,059 - INFO - VN ctest-vn-99404952 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 18:09:15,059 - DEBUG - Verifying the vn in opserver 2025-11-24 18:09:15,060 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88799036:ctest-vn-99404952 virtual network link through opserver 10.0.0.22 2025-11-24 18:09:15,060 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-24 18:09:15,353 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-24 18:09:15,410 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88799036:ctest-vn-99404952', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88799036:ctest-vn-99404952?flat'} 2025-11-24 18:09:15,410 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88799036:ctest-vn-99404952 is found in opserver 2025-11-24 18:09:15,418 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 18:09:15,423 - DEBUG - VRF ids for VN ctest-vn-99404952: {} 2025-11-24 18:09:15,423 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-24 18:09:15,427 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d4f84fef-8b6d-4cbc-af66-f93dd86acbde 2025-11-24 18:09:15,438 - DEBUG - Requesting: http://10.0.0.22:8082/project/17034ef3-d8f4-4114-95db-b6e001ca24a9 2025-11-24 18:09:15,511 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/af22189e-c698-4d02-bee3-32023572148e 2025-11-24 18:09:15,523 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/af22189e-c698-4d02-bee3-32023572148e 2025-11-24 18:09:15,531 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cedd2478-5920-423b-9f45-910522d60cb7 2025-11-24 18:09:15,538 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cedd2478-5920-423b-9f45-910522d60cb7 2025-11-24 18:09:15,545 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d1b33003-7139-4dad-af2e-96a3c82ca569 2025-11-24 18:09:15,552 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 18:09:15,552 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/af22189e-c698-4d02-bee3-32023572148e 2025-11-24 18:09:15,560 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cedd2478-5920-423b-9f45-910522d60cb7 2025-11-24 18:09:15,574 - INFO - Verified VN network id 12 for VN af22189e-c698-4d02-bee3-32023572148e 2025-11-24 18:09:15,574 - INFO - Verifications in API Server for VN ctest-vn-03812232 passed 2025-11-24 18:09:15,574 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/af22189e-c698-4d02-bee3-32023572148e 2025-11-24 18:09:15,584 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cedd2478-5920-423b-9f45-910522d60cb7 2025-11-24 18:09:15,592 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cedd2478-5920-423b-9f45-910522d60cb7 2025-11-24 18:09:15,599 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d1b33003-7139-4dad-af2e-96a3c82ca569 2025-11-24 18:09:15,610 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88799036:ctest-vn-03812232', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88799036', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12619676176061320450', 'uuid-lslong': '13754892671987618958'}, 'enable': 'true', 'created': '2025-11-24T18:09:13', 'last-modified': '2025-11-24T18:09:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.338286'} 2025-11-24 18:09:15,615 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 18:09:15,615 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03812232 passed 2025-11-24 18:09:15,615 - DEBUG - ====Verifying policy data for ctest-vn-03812232 in API_Server ====== 2025-11-24 18:09:15,615 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-24 18:09:15,621 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d4f84fef-8b6d-4cbc-af66-f93dd86acbde 2025-11-24 18:09:15,631 - DEBUG - Requesting: http://10.0.0.22:8082/project/17034ef3-d8f4-4114-95db-b6e001ca24a9 2025-11-24 18:09:15,708 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/af22189e-c698-4d02-bee3-32023572148e 2025-11-24 18:09:15,717 - DEBUG - ==>Verifying data for policy with id: 92508b43-eb9e-4c20-8ce7-185b1ed9e89f, fqn: ['default-domain', 'ctest-TestBasicPolicy-88799036', 'ctest-policy-allow-all-68292712'] 2025-11-24 18:09:15,718 - INFO - VN ctest-vn-03812232 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 18:09:15,718 - DEBUG - Verifying the vn in opserver 2025-11-24 18:09:15,718 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88799036:ctest-vn-03812232 virtual network link through opserver 10.0.0.22 2025-11-24 18:09:15,718 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-24 18:09:15,726 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88799036:ctest-vn-03812232', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88799036:ctest-vn-03812232?flat'} 2025-11-24 18:09:15,726 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88799036:ctest-vn-03812232 is found in opserver 2025-11-24 18:09:15,736 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 18:09:15,741 - DEBUG - VRF ids for VN ctest-vn-03812232: {} 2025-11-24 18:09:15,806 - DEBUG - Services list from nova: [, , ] 2025-11-24 18:09:16,820 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4812-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4812-1) 2025-11-24 18:09:17,962 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4812-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4812-1) 2025-11-24 18:09:17,963 - INFO - Waiting for VM ctest-TestBasicPolicy-88799036-61586171 to be up.. 2025-11-24 18:09:18,033 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 18:09:23,103 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:09:23,103 - INFO - VM name : ctest-TestBasicPolicy-88799036-61586171 2025-11-24 18:09:23,164 - DEBUG - VM ctest-TestBasicPolicy-88799036-61586171 ID is cfa67ceb-6678-4ee5-9c00-1895cdbb66de 2025-11-24 18:09:23,180 - DEBUG - VM ctest-TestBasicPolicy-88799036-61586171 launched on Node cn-jenkins-deploy-platform-ansible-os-4812-1 2025-11-24 18:09:23,242 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cfa67ceb-6678-4ee5-9c00-1895cdbb66de 2025-11-24 18:09:23,250 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/35032959-8fd8-4743-8514-e8b2c719ed10 2025-11-24 18:09:26,512 - 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 1032ms') 2025-11-24 18:09:26,512 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88799036-61586171 failed! 2025-11-24 18:09:26,567 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88799036:ctest-vn-99404952 is 14.28.252.193 and allocation pool is NOT set 2025-11-24 18:09:28,631 - 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=4.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.831 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.831/2.575/4.319/1.744 ms') 2025-11-24 18:09:28,631 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88799036-61586171 passed 2025-11-24 18:09:28,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:09:28,779 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88799036-61586171, IP 14.28.252.195, Port 22 2025-11-24 18:09:28,935 - DEBUG - VM ctest-TestBasicPolicy-88799036-61586171 is ready for SSH connections 2025-11-24 18:09:28,935 - INFO - Waiting for VM ctest-TestBasicPolicy-88799036-01501203 to be up.. 2025-11-24 18:09:29,005 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:09:29,005 - INFO - VM name : ctest-TestBasicPolicy-88799036-01501203 2025-11-24 18:09:29,078 - DEBUG - VM ctest-TestBasicPolicy-88799036-01501203 ID is 9a6ab982-f5ff-40f2-a769-e0dbcbb4a938 2025-11-24 18:09:29,078 - DEBUG - VM ctest-TestBasicPolicy-88799036-01501203 launched on Node cn-jenkins-deploy-platform-ansible-os-4812-1 2025-11-24 18:09:29,145 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9a6ab982-f5ff-40f2-a769-e0dbcbb4a938 2025-11-24 18:09:29,153 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/728655aa-f99f-46a1-97ec-425a617c4f51 2025-11-24 18:09:30,390 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.425/1.543/2.661/1.118 ms') 2025-11-24 18:09:30,390 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88799036-01501203 passed 2025-11-24 18:09:30,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:09:30,535 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88799036-01501203, IP 216.54.161.131, Port 22 2025-11-24 18:09:30,687 - DEBUG - VM ctest-TestBasicPolicy-88799036-01501203 is ready for SSH connections 2025-11-24 18:09:30,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:09:30,687 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.54.161.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-24 18:09:30,687 - DEBUG - ping -s 56 -c 3 -W 1 216.54.161.131 2025-11-24 18:09:34,675 - DEBUG - PING 216.54.161.131 (216.54.161.131): 56 data bytes 64 bytes from 216.54.161.131: seq=0 ttl=63 time=3.327 ms 64 bytes from 216.54.161.131: seq=1 ttl=63 time=0.890 ms 64 bytes from 216.54.161.131: seq=2 ttl=63 time=0.789 ms --- 216.54.161.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.789/1.668/3.327 ms 2025-11-24 18:09:34,675 - INFO - Ping to IP 216.54.161.131 from VM ctest-TestBasicPolicy-88799036-61586171 passed 2025-11-24 18:09:34,851 - DEBUG - Policy Update Response {"network-policy": {"uuid": "92508b43-eb9e-4c20-8ce7-185b1ed9e89f", "href": "http://10.0.0.22:8082/network-policy/92508b43-eb9e-4c20-8ce7-185b1ed9e89f"}} 2025-11-24 18:09:34,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:09:34,851 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.54.161.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-24 18:09:34,851 - DEBUG - ping -s 56 -c 3 -W 1 216.54.161.131 2025-11-24 18:09:38,056 - DEBUG - PING 216.54.161.131 (216.54.161.131): 56 data bytes --- 216.54.161.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-24 18:09:38,056 - WARNING - Ping to IP 216.54.161.131 from VM ctest-TestBasicPolicy-88799036-61586171 failed 2025-11-24 18:09:38,056 - INFO - Deleting VM ctest-TestBasicPolicy-88799036-01501203 2025-11-24 18:09:38,129 - INFO - Deleting VM ctest-TestBasicPolicy-88799036-61586171 2025-11-24 18:09:38,485 - INFO - Deleted policy ctest-policy-allow-all-68292712 2025-11-24 18:09:38,485 - INFO - Deleting VN ctest-vn-03812232 2025-11-24 18:09:38,515 - DEBUG - VN af22189e-c698-4d02-bee3-32023572148e still in use: Unable to complete operation on network af22189e-c698-4d02-bee3-32023572148e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e97b28b4-d8f0-47a1-8153-c82e801a677c'] 2025-11-24 18:09:38,515 - WARNING - Deleting VN ctest-vn-03812232 failed..Will retry 2025-11-24 18:09:40,622 - DEBUG - Response for deleting network () 2025-11-24 18:09:40,622 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cedd2478-5920-423b-9f45-910522d60cb7 2025-11-24 18:09:40,627 - DEBUG - Response Code: 404 2025-11-24 18:09:40,627 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-24 18:09:40,634 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d4f84fef-8b6d-4cbc-af66-f93dd86acbde 2025-11-24 18:09:40,684 - DEBUG - Requesting: http://10.0.0.22:8082/project/17034ef3-d8f4-4114-95db-b6e001ca24a9 2025-11-24 18:09:40,754 - INFO - Validated that VN ctest-vn-03812232 is not found in API Server 2025-11-24 18:09:40,763 - DEBUG - VN ctest-vn-03812232 is not present in Agent 10.0.0.22 2025-11-24 18:09:40,763 - INFO - Validated that VN ctest-vn-03812232 is not in any agent 2025-11-24 18:09:40,777 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03812232 info 2025-11-24 18:09:40,777 - INFO - Deleting VN ctest-vn-99404952 2025-11-24 18:09:40,882 - DEBUG - Response for deleting network () 2025-11-24 18:09:40,882 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1714e23d-ed16-49ea-94e9-1a491c6cea6e 2025-11-24 18:09:40,888 - DEBUG - Response Code: 404 2025-11-24 18:09:40,888 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-24 18:09:40,901 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d4f84fef-8b6d-4cbc-af66-f93dd86acbde 2025-11-24 18:09:40,956 - DEBUG - Requesting: http://10.0.0.22:8082/project/17034ef3-d8f4-4114-95db-b6e001ca24a9 2025-11-24 18:09:41,035 - INFO - Validated that VN ctest-vn-99404952 is not found in API Server 2025-11-24 18:09:41,046 - DEBUG - VN ctest-vn-99404952 is not present in Agent 10.0.0.22 2025-11-24 18:09:41,046 - INFO - Validated that VN ctest-vn-99404952 is not in any agent 2025-11-24 18:09:41,059 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99404952 info 2025-11-24 18:09:41,316 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 18:09:41,316 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-24 18:09:41,316 - INFO - -------------------------------------------------------------------------------- 2025-11-24 18:09:41,987 - INFO - Deleted project: ctest-TestBasicPolicy-88799036, ID : 17034ef3-d8f4-4114-95db-b6e001ca24a9