2025-03-29 21:02:13,439 - INFO - Domain Default found not creating 2025-03-29 21:02:13,661 - INFO - Project ctest-TestBasicPolicy-44678472 not found, creating it 2025-03-29 21:02:14,167 - INFO - Created Project:ctest-TestBasicPolicy-44678472, ID : 428093fd-03de-42fa-98c6-2c1e1a752216 2025-03-29 21:02:15,751 - INFO - ================================================================================ 2025-03-29 21:02:15,751 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-29 21:02:15,751 - 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-03-29 21:02:16,011 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.7': '0'}} with 2025-03-29 21:02:16,011 - INFO - Initial checks done. Running the testcase now 2025-03-29 21:02:16,012 - INFO - 2025-03-29 21:02:16,602 - DEBUG - Response for create_network : {'network': {'id': 'dfc3ac8b-a0c4-41f6-be43-6b2f6ef3ab4d', 'name': 'ctest-vn-21742341', 'tenant_id': '428093fd03de42fa98c62c1e1a752216', 'project_id': '428093fd03de42fa98c62c1e1a752216', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44678472', 'ctest-vn-21742341'], 'port_security_enabled': True, 'description': ''}} 2025-03-29 21:02:16,845 - DEBUG - Response for create_subnet : {'subnet': {'id': '40b396e4-4784-4d58-abea-2bc9916c5ceb', 'name': '', 'tenant_id': '428093fd03de42fa98c62c1e1a752216', 'network_id': 'dfc3ac8b-a0c4-41f6-be43-6b2f6ef3ab4d', 'ip_version': 4, 'cidr': '24.174.87.128/26', 'allocation_pools': [{'start': '24.174.87.130', 'end': '24.174.87.190'}], 'gateway_ip': '24.174.87.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.174.87.130', 'tags': [], 'project_id': '428093fd03de42fa98c62c1e1a752216'}} 2025-03-29 21:02:16,864 - INFO - Created VN ctest-vn-21742341 2025-03-29 21:02:16,916 - DEBUG - VN ctest-vn-21742341 UUID is dfc3ac8b-a0c4-41f6-be43-6b2f6ef3ab4d 2025-03-29 21:02:17,231 - DEBUG - Response for create_network : {'network': {'id': '99b30364-dcf8-4d58-9b0d-97a2973e6673', 'name': 'ctest-vn-15822663', 'tenant_id': '428093fd03de42fa98c62c1e1a752216', 'project_id': '428093fd03de42fa98c62c1e1a752216', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44678472', 'ctest-vn-15822663'], 'port_security_enabled': True, 'description': ''}} 2025-03-29 21:02:17,427 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa1f8f56-b120-4126-8c84-ff731071eb49', 'name': '', 'tenant_id': '428093fd03de42fa98c62c1e1a752216', 'network_id': '99b30364-dcf8-4d58-9b0d-97a2973e6673', 'ip_version': 4, 'cidr': '19.78.32.64/26', 'allocation_pools': [{'start': '19.78.32.66', 'end': '19.78.32.126'}], 'gateway_ip': '19.78.32.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.78.32.66', 'tags': [], 'project_id': '428093fd03de42fa98c62c1e1a752216'}} 2025-03-29 21:02:17,447 - INFO - Created VN ctest-vn-15822663 2025-03-29 21:02:17,499 - DEBUG - VN ctest-vn-15822663 UUID is 99b30364-dcf8-4d58-9b0d-97a2973e6673 2025-03-29 21:02:17,630 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44678472:ctest-vn-21742341, 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-44678472:ctest-vn-15822663, 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-03-29 21:02:17,957 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dfc3ac8b-a0c4-41f6-be43-6b2f6ef3ab4d', 'name': 'ctest-vn-21742341', 'tenant_id': '428093fd03de42fa98c62c1e1a752216', 'project_id': '428093fd03de42fa98c62c1e1a752216', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['40b396e4-4784-4d58-abea-2bc9916c5ceb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44678472', 'ctest-vn-21742341'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44678472', 'ctest-policy-allow-all-78691717']], 'subnet_ipam': [{'subnet_cidr': '24.174.87.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-29 21:02:18,199 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '99b30364-dcf8-4d58-9b0d-97a2973e6673', 'name': 'ctest-vn-15822663', 'tenant_id': '428093fd03de42fa98c62c1e1a752216', 'project_id': '428093fd03de42fa98c62c1e1a752216', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aa1f8f56-b120-4126-8c84-ff731071eb49'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44678472', 'ctest-vn-15822663'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44678472', 'ctest-policy-allow-all-78691717']], 'subnet_ipam': [{'subnet_cidr': '19.78.32.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-29 21:02:18,372 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-03-29 21:02:18,680 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-03-29 21:02:18,719 - DEBUG - Requesting: http://10.0.0.12:8082/domain/90ad27e6-36f3-4187-bd03-25f60bcf4033 2025-03-29 21:02:18,774 - DEBUG - Requesting: http://10.0.0.12:8082/project/428093fd-03de-42fa-98c6-2c1e1a752216 2025-03-29 21:02:18,884 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/dfc3ac8b-a0c4-41f6-be43-6b2f6ef3ab4d 2025-03-29 21:02:18,927 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/dfc3ac8b-a0c4-41f6-be43-6b2f6ef3ab4d 2025-03-29 21:02:18,945 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/087a4016-0943-4705-a77d-b0c98c10629c 2025-03-29 21:02:18,964 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/087a4016-0943-4705-a77d-b0c98c10629c 2025-03-29 21:02:18,979 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/637f6620-3ed9-4c57-a590-960fe8fed927 2025-03-29 21:02:19,033 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-29 21:02:19,033 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/dfc3ac8b-a0c4-41f6-be43-6b2f6ef3ab4d 2025-03-29 21:02:19,057 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/087a4016-0943-4705-a77d-b0c98c10629c 2025-03-29 21:02:19,105 - INFO - Verified VN network id 9 for VN dfc3ac8b-a0c4-41f6-be43-6b2f6ef3ab4d 2025-03-29 21:02:19,105 - INFO - Verifications in API Server for VN ctest-vn-21742341 passed 2025-03-29 21:02:19,105 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/dfc3ac8b-a0c4-41f6-be43-6b2f6ef3ab4d 2025-03-29 21:02:19,125 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/087a4016-0943-4705-a77d-b0c98c10629c 2025-03-29 21:02:19,151 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/087a4016-0943-4705-a77d-b0c98c10629c 2025-03-29 21:02:19,161 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/637f6620-3ed9-4c57-a590-960fe8fed927 2025-03-29 21:02:19,191 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44678472:ctest-vn-21742341', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44678472', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16123920806614155766', 'uuid-lslong': '13709919542115019597'}, 'enable': 'true', 'created': '2025-03-29T21:02:16', 'last-modified': '2025-03-29T21:02:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.258628'} 2025-03-29 21:02:19,201 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-29 21:02:19,201 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21742341 passed 2025-03-29 21:02:19,202 - DEBUG - ====Verifying policy data for ctest-vn-21742341 in API_Server ====== 2025-03-29 21:02:19,202 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-03-29 21:02:19,210 - DEBUG - Requesting: http://10.0.0.12:8082/domain/90ad27e6-36f3-4187-bd03-25f60bcf4033 2025-03-29 21:02:19,241 - DEBUG - Requesting: http://10.0.0.12:8082/project/428093fd-03de-42fa-98c6-2c1e1a752216 2025-03-29 21:02:19,349 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/dfc3ac8b-a0c4-41f6-be43-6b2f6ef3ab4d 2025-03-29 21:02:19,367 - DEBUG - ==>Verifying data for policy with id: 2aea4e2f-558a-4527-9802-b7b2aed27238, fqn: ['default-domain', 'ctest-TestBasicPolicy-44678472', 'ctest-policy-allow-all-78691717'] 2025-03-29 21:02:19,367 - INFO - VN ctest-vn-21742341 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-29 21:02:19,367 - DEBUG - Verifying the vn in opserver 2025-03-29 21:02:19,367 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44678472:ctest-vn-21742341 virtual network link through opserver 10.0.0.12 2025-03-29 21:02:19,368 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-03-29 21:02:19,687 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-03-29 21:02:19,758 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44678472:ctest-vn-21742341', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44678472:ctest-vn-21742341?flat'} 2025-03-29 21:02:19,758 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44678472:ctest-vn-21742341 is found in opserver 2025-03-29 21:02:19,773 - DEBUG - Do not have enough data to verify VN in agent 2025-03-29 21:02:19,780 - DEBUG - VRF ids for VN ctest-vn-21742341: {} 2025-03-29 21:02:19,780 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-03-29 21:02:19,790 - DEBUG - Requesting: http://10.0.0.12:8082/domain/90ad27e6-36f3-4187-bd03-25f60bcf4033 2025-03-29 21:02:19,812 - DEBUG - Requesting: http://10.0.0.12:8082/project/428093fd-03de-42fa-98c6-2c1e1a752216 2025-03-29 21:02:19,902 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/99b30364-dcf8-4d58-9b0d-97a2973e6673 2025-03-29 21:02:19,922 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/99b30364-dcf8-4d58-9b0d-97a2973e6673 2025-03-29 21:02:19,933 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/19c0de56-e315-4722-8cf9-471950ce8b13 2025-03-29 21:02:19,943 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/19c0de56-e315-4722-8cf9-471950ce8b13 2025-03-29 21:02:19,951 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/5743fca9-975b-4260-8db1-8eba8d8b45aa 2025-03-29 21:02:19,958 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-29 21:02:19,958 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/99b30364-dcf8-4d58-9b0d-97a2973e6673 2025-03-29 21:02:19,969 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/19c0de56-e315-4722-8cf9-471950ce8b13 2025-03-29 21:02:19,989 - INFO - Verified VN network id 10 for VN 99b30364-dcf8-4d58-9b0d-97a2973e6673 2025-03-29 21:02:19,989 - INFO - Verifications in API Server for VN ctest-vn-15822663 passed 2025-03-29 21:02:19,989 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/99b30364-dcf8-4d58-9b0d-97a2973e6673 2025-03-29 21:02:20,002 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/19c0de56-e315-4722-8cf9-471950ce8b13 2025-03-29 21:02:20,012 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/19c0de56-e315-4722-8cf9-471950ce8b13 2025-03-29 21:02:20,021 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/5743fca9-975b-4260-8db1-8eba8d8b45aa 2025-03-29 21:02:20,036 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44678472:ctest-vn-15822663', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44678472', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11075199640373054808', 'uuid-lslong': '11172752975154013811'}, 'enable': 'true', 'created': '2025-03-29T21:02:17', 'last-modified': '2025-03-29T21:02:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.862154'} 2025-03-29 21:02:20,045 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-29 21:02:20,046 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15822663 passed 2025-03-29 21:02:20,046 - DEBUG - ====Verifying policy data for ctest-vn-15822663 in API_Server ====== 2025-03-29 21:02:20,046 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-03-29 21:02:20,055 - DEBUG - Requesting: http://10.0.0.12:8082/domain/90ad27e6-36f3-4187-bd03-25f60bcf4033 2025-03-29 21:02:20,074 - DEBUG - Requesting: http://10.0.0.12:8082/project/428093fd-03de-42fa-98c6-2c1e1a752216 2025-03-29 21:02:20,158 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/99b30364-dcf8-4d58-9b0d-97a2973e6673 2025-03-29 21:02:20,172 - DEBUG - ==>Verifying data for policy with id: 2aea4e2f-558a-4527-9802-b7b2aed27238, fqn: ['default-domain', 'ctest-TestBasicPolicy-44678472', 'ctest-policy-allow-all-78691717'] 2025-03-29 21:02:20,172 - INFO - VN ctest-vn-15822663 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-29 21:02:20,172 - DEBUG - Verifying the vn in opserver 2025-03-29 21:02:20,172 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44678472:ctest-vn-15822663 virtual network link through opserver 10.0.0.12 2025-03-29 21:02:20,172 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-03-29 21:02:20,184 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44678472:ctest-vn-15822663', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44678472:ctest-vn-15822663?flat'} 2025-03-29 21:02:20,184 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44678472:ctest-vn-15822663 is found in opserver 2025-03-29 21:02:20,203 - DEBUG - Do not have enough data to verify VN in agent 2025-03-29 21:02:20,210 - DEBUG - VRF ids for VN ctest-vn-15822663: {} 2025-03-29 21:02:20,280 - DEBUG - Services list from nova: [, , ] 2025-03-29 21:02:21,402 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3002-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3002-1) 2025-03-29 21:02:22,759 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3002-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3002-1) 2025-03-29 21:02:22,760 - INFO - Waiting for VM ctest-TestBasicPolicy-44678472-08696560 to be up.. 2025-03-29 21:02:22,849 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-29 21:02:27,931 - DEBUG - VM is in ACTIVE state now 2025-03-29 21:02:27,931 - INFO - VM name : ctest-TestBasicPolicy-44678472-08696560 2025-03-29 21:02:28,023 - DEBUG - VM ctest-TestBasicPolicy-44678472-08696560 ID is 977f8382-fac9-4b5c-9a47-aa9c7abc6cbd 2025-03-29 21:02:28,044 - DEBUG - VM ctest-TestBasicPolicy-44678472-08696560 launched on Node cn-jenkins-deploy-platform-ansible-os-3002-1 2025-03-29 21:02:28,130 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/977f8382-fac9-4b5c-9a47-aa9c7abc6cbd 2025-03-29 21:02:28,142 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/e6584882-365a-4127-9c69-d69cc19b8ab7 2025-03-29 21:02:31,408 - 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 1015ms') 2025-03-29 21:02:31,408 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44678472-08696560 failed! 2025-03-29 21:02:31,464 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-44678472:ctest-vn-21742341 is 24.174.87.129 and allocation pool is NOT set 2025-03-29 21:02:33,533 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=9.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.349 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.349/4.770/9.192/4.421 ms') 2025-03-29 21:02:33,533 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44678472-08696560 passed 2025-03-29 21:02:33,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-29 21:02:33,688 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44678472-08696560, IP 24.174.87.131, Port 22 2025-03-29 21:02:33,859 - DEBUG - VM ctest-TestBasicPolicy-44678472-08696560 is ready for SSH connections 2025-03-29 21:02:33,859 - INFO - Waiting for VM ctest-TestBasicPolicy-44678472-52551333 to be up.. 2025-03-29 21:02:33,952 - DEBUG - VM is in ACTIVE state now 2025-03-29 21:02:33,952 - INFO - VM name : ctest-TestBasicPolicy-44678472-52551333 2025-03-29 21:02:34,041 - DEBUG - VM ctest-TestBasicPolicy-44678472-52551333 ID is ac35274f-e651-46b8-8b15-3ff6039b10a9 2025-03-29 21:02:34,041 - DEBUG - VM ctest-TestBasicPolicy-44678472-52551333 launched on Node cn-jenkins-deploy-platform-ansible-os-3002-1 2025-03-29 21:02:34,137 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/ac35274f-e651-46b8-8b15-3ff6039b10a9 2025-03-29 21:02:34,150 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/95391466-ae63-458f-aa4b-b55c1a9a917a 2025-03-29 21:02:35,401 - 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=5.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.04 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 = 1.041/3.171/5.302/2.130 ms') 2025-03-29 21:02:35,401 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-44678472-52551333 passed 2025-03-29 21:02:35,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-29 21:02:35,556 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44678472-52551333, IP 19.78.32.67, Port 22 2025-03-29 21:02:35,722 - DEBUG - VM ctest-TestBasicPolicy-44678472-52551333 is ready for SSH connections 2025-03-29 21:02:35,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-29 21:02:35,722 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.78.32.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-03-29 21:02:35,722 - DEBUG - ping -s 56 -c 3 -W 1 19.78.32.67 2025-03-29 21:02:39,830 - DEBUG - PING 19.78.32.67 (19.78.32.67): 56 data bytes 64 bytes from 19.78.32.67: seq=0 ttl=63 time=4.672 ms 64 bytes from 19.78.32.67: seq=1 ttl=63 time=1.253 ms 64 bytes from 19.78.32.67: seq=2 ttl=63 time=1.068 ms --- 19.78.32.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.068/2.331/4.672 ms 2025-03-29 21:02:39,830 - INFO - Ping to IP 19.78.32.67 from VM ctest-TestBasicPolicy-44678472-08696560 passed 2025-03-29 21:02:40,028 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2aea4e2f-558a-4527-9802-b7b2aed27238", "href": "http://10.0.0.12:8082/network-policy/2aea4e2f-558a-4527-9802-b7b2aed27238"}} 2025-03-29 21:02:40,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-29 21:02:40,028 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.78.32.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-03-29 21:02:40,028 - DEBUG - ping -s 56 -c 3 -W 1 19.78.32.67 2025-03-29 21:02:43,287 - DEBUG - PING 19.78.32.67 (19.78.32.67): 56 data bytes 64 bytes from 19.78.32.67: seq=0 ttl=63 time=2.000 ms --- 19.78.32.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.000/2.000/2.000 ms 2025-03-29 21:02:43,288 - WARNING - Ping to IP 19.78.32.67 from VM ctest-TestBasicPolicy-44678472-08696560 failed 2025-03-29 21:02:43,288 - INFO - Deleting VM ctest-TestBasicPolicy-44678472-52551333 2025-03-29 21:02:43,368 - INFO - Deleting VM ctest-TestBasicPolicy-44678472-08696560 2025-03-29 21:02:43,881 - INFO - Deleted policy ctest-policy-allow-all-78691717 2025-03-29 21:02:43,881 - INFO - Deleting VN ctest-vn-15822663 2025-03-29 21:02:43,923 - DEBUG - VN 99b30364-dcf8-4d58-9b0d-97a2973e6673 still in use: Unable to complete operation on network 99b30364-dcf8-4d58-9b0d-97a2973e6673. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-723d4b09-dab7-4aa4-a970-9dfdd23acd83'] 2025-03-29 21:02:43,924 - WARNING - Deleting VN ctest-vn-15822663 failed..Will retry 2025-03-29 21:02:46,150 - DEBUG - Response for deleting network () 2025-03-29 21:02:46,150 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/19c0de56-e315-4722-8cf9-471950ce8b13 2025-03-29 21:02:46,162 - DEBUG - Response Code: 404 2025-03-29 21:02:46,162 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-03-29 21:02:46,170 - DEBUG - Requesting: http://10.0.0.12:8082/domain/90ad27e6-36f3-4187-bd03-25f60bcf4033 2025-03-29 21:02:46,225 - DEBUG - Requesting: http://10.0.0.12:8082/project/428093fd-03de-42fa-98c6-2c1e1a752216 2025-03-29 21:02:46,314 - INFO - Validated that VN ctest-vn-15822663 is not found in API Server 2025-03-29 21:02:46,329 - DEBUG - VN ctest-vn-15822663 is not present in Agent 10.0.0.12 2025-03-29 21:02:46,329 - INFO - Validated that VN ctest-vn-15822663 is not in any agent 2025-03-29 21:02:46,351 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15822663 info 2025-03-29 21:02:46,351 - INFO - Deleting VN ctest-vn-21742341 2025-03-29 21:02:46,491 - DEBUG - Response for deleting network () 2025-03-29 21:02:46,491 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/087a4016-0943-4705-a77d-b0c98c10629c 2025-03-29 21:02:46,503 - DEBUG - Response Code: 404 2025-03-29 21:02:46,503 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-03-29 21:02:46,513 - DEBUG - Requesting: http://10.0.0.12:8082/domain/90ad27e6-36f3-4187-bd03-25f60bcf4033 2025-03-29 21:02:46,574 - DEBUG - Requesting: http://10.0.0.12:8082/project/428093fd-03de-42fa-98c6-2c1e1a752216 2025-03-29 21:02:46,666 - INFO - Validated that VN ctest-vn-21742341 is not found in API Server 2025-03-29 21:02:46,680 - DEBUG - VN ctest-vn-21742341 is not present in Agent 10.0.0.12 2025-03-29 21:02:46,680 - INFO - Validated that VN ctest-vn-21742341 is not in any agent 2025-03-29 21:02:46,702 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21742341 info 2025-03-29 21:02:46,964 - DEBUG - No XMPP flaps were noticed during the test
2025-03-29 21:02:46,964 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-03-29 21:02:46,964 - INFO - -------------------------------------------------------------------------------- 2025-03-29 21:02:47,683 - INFO - Deleted project: ctest-TestBasicPolicy-44678472, ID : 428093fd-03de-42fa-98c6-2c1e1a752216