2025-07-30 12:20:19,166 - INFO - Domain Default found not creating 2025-07-30 12:20:19,325 - INFO - Project ctest-TestBasicPolicy-71136913 not found, creating it 2025-07-30 12:20:19,770 - INFO - Created Project:ctest-TestBasicPolicy-71136913, ID : 01a289c1-01ea-42bc-9ec6-3cf2f610d058 2025-07-30 12:20:21,209 - INFO - ================================================================================ 2025-07-30 12:20:21,209 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-30 12:20:21,210 - 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-07-30 12:20:21,462 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-07-30 12:20:21,462 - INFO - Initial checks done. Running the testcase now 2025-07-30 12:20:21,462 - INFO - 2025-07-30 12:20:21,996 - DEBUG - Response for create_network : {'network': {'id': '296698e4-4657-4482-bcb6-3090ddbf854c', 'name': 'ctest-vn-20253081', 'tenant_id': '01a289c101ea42bc9ec63cf2f610d058', 'project_id': '01a289c101ea42bc9ec63cf2f610d058', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71136913', 'ctest-vn-20253081'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 12:20:22,177 - DEBUG - Response for create_subnet : {'subnet': {'id': '626b28d5-fc31-42bc-a460-855af23ab1af', 'name': '', 'tenant_id': '01a289c101ea42bc9ec63cf2f610d058', 'network_id': '296698e4-4657-4482-bcb6-3090ddbf854c', 'ip_version': 4, 'cidr': '120.225.141.128/26', 'allocation_pools': [{'start': '120.225.141.130', 'end': '120.225.141.190'}], 'gateway_ip': '120.225.141.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.225.141.130', 'tags': [], 'project_id': '01a289c101ea42bc9ec63cf2f610d058'}} 2025-07-30 12:20:22,196 - INFO - Created VN ctest-vn-20253081 2025-07-30 12:20:22,248 - DEBUG - VN ctest-vn-20253081 UUID is 296698e4-4657-4482-bcb6-3090ddbf854c 2025-07-30 12:20:22,537 - DEBUG - Response for create_network : {'network': {'id': 'b8cc1b1d-7194-4e11-9139-fda4d717dd95', 'name': 'ctest-vn-69892044', 'tenant_id': '01a289c101ea42bc9ec63cf2f610d058', 'project_id': '01a289c101ea42bc9ec63cf2f610d058', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71136913', 'ctest-vn-69892044'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 12:20:22,737 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e1e92b3-2d07-4f00-b5ef-028a649fea31', 'name': '', 'tenant_id': '01a289c101ea42bc9ec63cf2f610d058', 'network_id': 'b8cc1b1d-7194-4e11-9139-fda4d717dd95', 'ip_version': 4, 'cidr': '142.51.127.192/26', 'allocation_pools': [{'start': '142.51.127.194', 'end': '142.51.127.254'}], 'gateway_ip': '142.51.127.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.51.127.194', 'tags': [], 'project_id': '01a289c101ea42bc9ec63cf2f610d058'}} 2025-07-30 12:20:22,755 - INFO - Created VN ctest-vn-69892044 2025-07-30 12:20:22,808 - DEBUG - VN ctest-vn-69892044 UUID is b8cc1b1d-7194-4e11-9139-fda4d717dd95 2025-07-30 12:20:22,921 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71136913:ctest-vn-20253081, 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-71136913:ctest-vn-69892044, 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-07-30 12:20:23,210 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '296698e4-4657-4482-bcb6-3090ddbf854c', 'name': 'ctest-vn-20253081', 'tenant_id': '01a289c101ea42bc9ec63cf2f610d058', 'project_id': '01a289c101ea42bc9ec63cf2f610d058', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['626b28d5-fc31-42bc-a460-855af23ab1af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71136913', 'ctest-vn-20253081'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71136913', 'ctest-policy-allow-all-22638822']], 'subnet_ipam': [{'subnet_cidr': '120.225.141.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-30 12:20:23,440 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b8cc1b1d-7194-4e11-9139-fda4d717dd95', 'name': 'ctest-vn-69892044', 'tenant_id': '01a289c101ea42bc9ec63cf2f610d058', 'project_id': '01a289c101ea42bc9ec63cf2f610d058', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0e1e92b3-2d07-4f00-b5ef-028a649fea31'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71136913', 'ctest-vn-69892044'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71136913', 'ctest-policy-allow-all-22638822']], 'subnet_ipam': [{'subnet_cidr': '142.51.127.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-30 12:20:23,597 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-30 12:20:23,904 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-30 12:20:23,931 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ebd601a1-3596-4958-a653-0c7aab7b34ec 2025-07-30 12:20:23,946 - DEBUG - Requesting: http://10.0.0.50:8082/project/01a289c1-01ea-42bc-9ec6-3cf2f610d058 2025-07-30 12:20:24,020 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/296698e4-4657-4482-bcb6-3090ddbf854c 2025-07-30 12:20:24,034 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/296698e4-4657-4482-bcb6-3090ddbf854c 2025-07-30 12:20:24,045 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d7be75af-707a-4331-b866-b5e01f21e4d9 2025-07-30 12:20:24,053 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d7be75af-707a-4331-b866-b5e01f21e4d9 2025-07-30 12:20:24,061 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e4981c01-832f-424d-9d83-248faac1d1f5 2025-07-30 12:20:24,068 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-30 12:20:24,068 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/296698e4-4657-4482-bcb6-3090ddbf854c 2025-07-30 12:20:24,078 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d7be75af-707a-4331-b866-b5e01f21e4d9 2025-07-30 12:20:24,093 - INFO - Verified VN network id 12 for VN 296698e4-4657-4482-bcb6-3090ddbf854c 2025-07-30 12:20:24,093 - INFO - Verifications in API Server for VN ctest-vn-20253081 passed 2025-07-30 12:20:24,093 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/296698e4-4657-4482-bcb6-3090ddbf854c 2025-07-30 12:20:24,104 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d7be75af-707a-4331-b866-b5e01f21e4d9 2025-07-30 12:20:24,111 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d7be75af-707a-4331-b866-b5e01f21e4d9 2025-07-30 12:20:24,119 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e4981c01-832f-424d-9d83-248faac1d1f5 2025-07-30 12:20:24,130 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71136913:ctest-vn-20253081', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71136913', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2983239909379622018', 'uuid-lslong': '13598109523645531468'}, 'enable': 'true', 'created': '2025-07-30T12:20:21', 'last-modified': '2025-07-30T12:20:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.939735'} 2025-07-30 12:20:24,136 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-30 12:20:24,137 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20253081 passed 2025-07-30 12:20:24,137 - DEBUG - ====Verifying policy data for ctest-vn-20253081 in API_Server ====== 2025-07-30 12:20:24,137 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-30 12:20:24,143 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ebd601a1-3596-4958-a653-0c7aab7b34ec 2025-07-30 12:20:24,154 - DEBUG - Requesting: http://10.0.0.50:8082/project/01a289c1-01ea-42bc-9ec6-3cf2f610d058 2025-07-30 12:20:24,227 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/296698e4-4657-4482-bcb6-3090ddbf854c 2025-07-30 12:20:24,237 - DEBUG - ==>Verifying data for policy with id: 6a0d5c82-b11c-4ee2-9922-49474d787fda, fqn: ['default-domain', 'ctest-TestBasicPolicy-71136913', 'ctest-policy-allow-all-22638822'] 2025-07-30 12:20:24,237 - INFO - VN ctest-vn-20253081 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-30 12:20:24,237 - DEBUG - Verifying the vn in opserver 2025-07-30 12:20:24,237 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71136913:ctest-vn-20253081 virtual network link through opserver 10.0.0.50 2025-07-30 12:20:24,237 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-30 12:20:24,525 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-30 12:20:24,582 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71136913:ctest-vn-20253081', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71136913:ctest-vn-20253081?flat'} 2025-07-30 12:20:24,582 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71136913:ctest-vn-20253081 is found in opserver 2025-07-30 12:20:24,592 - DEBUG - Do not have enough data to verify VN in agent 2025-07-30 12:20:24,598 - DEBUG - VRF ids for VN ctest-vn-20253081: {} 2025-07-30 12:20:24,598 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-30 12:20:24,604 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ebd601a1-3596-4958-a653-0c7aab7b34ec 2025-07-30 12:20:24,616 - DEBUG - Requesting: http://10.0.0.50:8082/project/01a289c1-01ea-42bc-9ec6-3cf2f610d058 2025-07-30 12:20:24,687 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b8cc1b1d-7194-4e11-9139-fda4d717dd95 2025-07-30 12:20:24,703 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b8cc1b1d-7194-4e11-9139-fda4d717dd95 2025-07-30 12:20:24,715 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/118df1b2-0f04-4255-879b-0cdc33b4c590 2025-07-30 12:20:24,724 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/118df1b2-0f04-4255-879b-0cdc33b4c590 2025-07-30 12:20:24,732 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5be1c264-b17a-4958-8122-223a2fa6d204 2025-07-30 12:20:24,739 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-30 12:20:24,739 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b8cc1b1d-7194-4e11-9139-fda4d717dd95 2025-07-30 12:20:24,750 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/118df1b2-0f04-4255-879b-0cdc33b4c590 2025-07-30 12:20:24,766 - INFO - Verified VN network id 13 for VN b8cc1b1d-7194-4e11-9139-fda4d717dd95 2025-07-30 12:20:24,767 - INFO - Verifications in API Server for VN ctest-vn-69892044 passed 2025-07-30 12:20:24,767 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b8cc1b1d-7194-4e11-9139-fda4d717dd95 2025-07-30 12:20:24,779 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/118df1b2-0f04-4255-879b-0cdc33b4c590 2025-07-30 12:20:24,788 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/118df1b2-0f04-4255-879b-0cdc33b4c590 2025-07-30 12:20:24,797 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5be1c264-b17a-4958-8122-223a2fa6d204 2025-07-30 12:20:24,814 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71136913:ctest-vn-69892044', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71136913', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13316048011501260305', 'uuid-lslong': '10464674093597187477'}, 'enable': 'true', 'created': '2025-07-30T12:20:22', 'last-modified': '2025-07-30T12:20:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.390583'} 2025-07-30 12:20:24,822 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-30 12:20:24,822 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69892044 passed 2025-07-30 12:20:24,822 - DEBUG - ====Verifying policy data for ctest-vn-69892044 in API_Server ====== 2025-07-30 12:20:24,822 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-30 12:20:24,830 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ebd601a1-3596-4958-a653-0c7aab7b34ec 2025-07-30 12:20:24,844 - DEBUG - Requesting: http://10.0.0.50:8082/project/01a289c1-01ea-42bc-9ec6-3cf2f610d058 2025-07-30 12:20:24,922 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b8cc1b1d-7194-4e11-9139-fda4d717dd95 2025-07-30 12:20:24,935 - DEBUG - ==>Verifying data for policy with id: 6a0d5c82-b11c-4ee2-9922-49474d787fda, fqn: ['default-domain', 'ctest-TestBasicPolicy-71136913', 'ctest-policy-allow-all-22638822'] 2025-07-30 12:20:24,935 - INFO - VN ctest-vn-69892044 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-30 12:20:24,935 - DEBUG - Verifying the vn in opserver 2025-07-30 12:20:24,935 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71136913:ctest-vn-69892044 virtual network link through opserver 10.0.0.50 2025-07-30 12:20:24,935 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-30 12:20:24,947 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71136913:ctest-vn-69892044', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71136913:ctest-vn-69892044?flat'} 2025-07-30 12:20:24,948 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71136913:ctest-vn-69892044 is found in opserver 2025-07-30 12:20:24,961 - DEBUG - Do not have enough data to verify VN in agent 2025-07-30 12:20:24,967 - DEBUG - VRF ids for VN ctest-vn-69892044: {} 2025-07-30 12:20:25,039 - DEBUG - Services list from nova: [, , ] 2025-07-30 12:20:26,018 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3723-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3723-1) 2025-07-30 12:20:27,113 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3723-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3723-1) 2025-07-30 12:20:27,114 - INFO - Waiting for VM ctest-TestBasicPolicy-71136913-14047320 to be up.. 2025-07-30 12:20:27,200 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-30 12:20:32,274 - DEBUG - VM is in ACTIVE state now 2025-07-30 12:20:32,274 - INFO - VM name : ctest-TestBasicPolicy-71136913-14047320 2025-07-30 12:20:32,351 - DEBUG - VM ctest-TestBasicPolicy-71136913-14047320 ID is 7fd5fcac-0417-44db-8f3b-95d765956904 2025-07-30 12:20:32,369 - DEBUG - VM ctest-TestBasicPolicy-71136913-14047320 launched on Node cn-jenkins-deploy-platform-ansible-os-3723-1 2025-07-30 12:20:32,438 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7fd5fcac-0417-44db-8f3b-95d765956904 2025-07-30 12:20:32,447 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/81df277e-ba39-432a-ba1c-c83ffced9267 2025-07-30 12:20:35,701 - 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') 2025-07-30 12:20:35,701 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71136913-14047320 failed! 2025-07-30 12:20:35,757 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71136913:ctest-vn-20253081 is 120.225.141.129 and allocation pool is NOT set 2025-07-30 12:20:37,816 - 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=2.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.362 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.362/1.625/2.889/1.263 ms') 2025-07-30 12:20:37,816 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71136913-14047320 passed 2025-07-30 12:20:37,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 12:20:37,965 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71136913-14047320, IP 120.225.141.131, Port 22 2025-07-30 12:20:38,120 - DEBUG - VM ctest-TestBasicPolicy-71136913-14047320 is ready for SSH connections 2025-07-30 12:20:38,120 - INFO - Waiting for VM ctest-TestBasicPolicy-71136913-38047946 to be up.. 2025-07-30 12:20:38,202 - DEBUG - VM is in ACTIVE state now 2025-07-30 12:20:38,202 - INFO - VM name : ctest-TestBasicPolicy-71136913-38047946 2025-07-30 12:20:38,274 - DEBUG - VM ctest-TestBasicPolicy-71136913-38047946 ID is 381d5d66-792a-4cd9-8155-0002fa057995 2025-07-30 12:20:38,274 - DEBUG - VM ctest-TestBasicPolicy-71136913-38047946 launched on Node cn-jenkins-deploy-platform-ansible-os-3723-1 2025-07-30 12:20:38,360 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/381d5d66-792a-4cd9-8155-0002fa057995 2025-07-30 12:20:38,371 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/512e84c7-1085-4955-b40a-d5d34fc5e7ca 2025-07-30 12:20:39,606 - 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=3.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.514 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.514/1.758/3.003/1.244 ms') 2025-07-30 12:20:39,606 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71136913-38047946 passed 2025-07-30 12:20:39,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 12:20:39,761 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71136913-38047946, IP 142.51.127.195, Port 22 2025-07-30 12:20:39,920 - DEBUG - VM ctest-TestBasicPolicy-71136913-38047946 is ready for SSH connections 2025-07-30 12:20:39,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 12:20:39,920 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.51.127.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-30 12:20:39,920 - DEBUG - ping -s 56 -c 3 -W 1 142.51.127.195 2025-07-30 12:20:43,953 - DEBUG - PING 142.51.127.195 (142.51.127.195): 56 data bytes 64 bytes from 142.51.127.195: seq=0 ttl=63 time=3.124 ms 64 bytes from 142.51.127.195: seq=1 ttl=63 time=0.871 ms 64 bytes from 142.51.127.195: seq=2 ttl=63 time=0.712 ms --- 142.51.127.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.712/1.569/3.124 ms 2025-07-30 12:20:43,953 - INFO - Ping to IP 142.51.127.195 from VM ctest-TestBasicPolicy-71136913-14047320 passed 2025-07-30 12:20:44,144 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6a0d5c82-b11c-4ee2-9922-49474d787fda", "href": "http://10.0.0.50:8082/network-policy/6a0d5c82-b11c-4ee2-9922-49474d787fda"}} 2025-07-30 12:20:44,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 12:20:44,144 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.51.127.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-30 12:20:44,145 - DEBUG - ping -s 56 -c 3 -W 1 142.51.127.195 2025-07-30 12:20:47,340 - DEBUG - PING 142.51.127.195 (142.51.127.195): 56 data bytes --- 142.51.127.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-30 12:20:47,340 - WARNING - Ping to IP 142.51.127.195 from VM ctest-TestBasicPolicy-71136913-14047320 failed 2025-07-30 12:20:47,341 - INFO - Deleting VM ctest-TestBasicPolicy-71136913-38047946 2025-07-30 12:20:47,408 - INFO - Deleting VM ctest-TestBasicPolicy-71136913-14047320 2025-07-30 12:20:47,789 - INFO - Deleted policy ctest-policy-allow-all-22638822 2025-07-30 12:20:47,789 - INFO - Deleting VN ctest-vn-69892044 2025-07-30 12:20:47,828 - DEBUG - VN b8cc1b1d-7194-4e11-9139-fda4d717dd95 still in use: Unable to complete operation on network b8cc1b1d-7194-4e11-9139-fda4d717dd95. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-726de6e3-89dd-4346-bd7c-a2486a14ec06'] 2025-07-30 12:20:47,828 - WARNING - Deleting VN ctest-vn-69892044 failed..Will retry 2025-07-30 12:20:49,928 - DEBUG - Response for deleting network () 2025-07-30 12:20:49,929 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/118df1b2-0f04-4255-879b-0cdc33b4c590 2025-07-30 12:20:49,937 - DEBUG - Response Code: 404 2025-07-30 12:20:49,937 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-30 12:20:49,943 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ebd601a1-3596-4958-a653-0c7aab7b34ec 2025-07-30 12:20:49,999 - DEBUG - Requesting: http://10.0.0.50:8082/project/01a289c1-01ea-42bc-9ec6-3cf2f610d058 2025-07-30 12:20:50,074 - INFO - Validated that VN ctest-vn-69892044 is not found in API Server 2025-07-30 12:20:50,085 - DEBUG - VN ctest-vn-69892044 is not present in Agent 10.0.0.50 2025-07-30 12:20:50,085 - INFO - Validated that VN ctest-vn-69892044 is not in any agent 2025-07-30 12:20:50,101 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69892044 info 2025-07-30 12:20:50,101 - INFO - Deleting VN ctest-vn-20253081 2025-07-30 12:20:50,220 - DEBUG - Response for deleting network () 2025-07-30 12:20:50,220 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d7be75af-707a-4331-b866-b5e01f21e4d9 2025-07-30 12:20:50,227 - DEBUG - Response Code: 404 2025-07-30 12:20:50,227 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-30 12:20:50,234 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ebd601a1-3596-4958-a653-0c7aab7b34ec 2025-07-30 12:20:50,290 - DEBUG - Requesting: http://10.0.0.50:8082/project/01a289c1-01ea-42bc-9ec6-3cf2f610d058 2025-07-30 12:20:50,360 - INFO - Validated that VN ctest-vn-20253081 is not found in API Server 2025-07-30 12:20:50,371 - DEBUG - VN ctest-vn-20253081 is not present in Agent 10.0.0.50 2025-07-30 12:20:50,371 - INFO - Validated that VN ctest-vn-20253081 is not in any agent 2025-07-30 12:20:50,386 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20253081 info 2025-07-30 12:20:50,642 - DEBUG - No XMPP flaps were noticed during the test
2025-07-30 12:20:50,642 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-07-30 12:20:50,642 - INFO - -------------------------------------------------------------------------------- 2025-07-30 12:20:51,317 - INFO - Deleted project: ctest-TestBasicPolicy-71136913, ID : 01a289c1-01ea-42bc-9ec6-3cf2f610d058