2025-07-23 00:14:10,447 - INFO - Domain Default found not creating 2025-07-23 00:14:10,620 - INFO - Project ctest-TestBasicPolicy-15589075 not found, creating it 2025-07-23 00:14:11,155 - INFO - Created Project:ctest-TestBasicPolicy-15589075, ID : e2b99acd-c709-4e03-b1e0-665b7e1188ca 2025-07-23 00:14:12,743 - INFO - ================================================================================ 2025-07-23 00:14:12,743 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-23 00:14:12,743 - 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-23 00:14:13,005 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-23 00:14:13,006 - INFO - Initial checks done. Running the testcase now 2025-07-23 00:14:13,006 - INFO - 2025-07-23 00:14:13,614 - DEBUG - Response for create_network : {'network': {'id': 'a0c4ad77-dc8a-4b81-8013-78335920ee70', 'name': 'ctest-vn-80018319', 'tenant_id': 'e2b99acdc7094e03b1e0665b7e1188ca', 'project_id': 'e2b99acdc7094e03b1e0665b7e1188ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15589075', 'ctest-vn-80018319'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 00:14:13,823 - DEBUG - Response for create_subnet : {'subnet': {'id': '6442da10-84f1-47f3-af19-a235b30e2f44', 'name': '', 'tenant_id': 'e2b99acdc7094e03b1e0665b7e1188ca', 'network_id': 'a0c4ad77-dc8a-4b81-8013-78335920ee70', 'ip_version': 4, 'cidr': '66.156.15.64/26', 'allocation_pools': [{'start': '66.156.15.66', 'end': '66.156.15.126'}], 'gateway_ip': '66.156.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.156.15.66', 'tags': [], 'project_id': 'e2b99acdc7094e03b1e0665b7e1188ca'}} 2025-07-23 00:14:13,845 - INFO - Created VN ctest-vn-80018319 2025-07-23 00:14:13,902 - DEBUG - VN ctest-vn-80018319 UUID is a0c4ad77-dc8a-4b81-8013-78335920ee70 2025-07-23 00:14:14,224 - DEBUG - Response for create_network : {'network': {'id': '3721f5f3-7a52-4702-878e-eb0dd9442a64', 'name': 'ctest-vn-06921781', 'tenant_id': 'e2b99acdc7094e03b1e0665b7e1188ca', 'project_id': 'e2b99acdc7094e03b1e0665b7e1188ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15589075', 'ctest-vn-06921781'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 00:14:14,463 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d89a320-6f18-4e69-b27e-1f865fc2c8ee', 'name': '', 'tenant_id': 'e2b99acdc7094e03b1e0665b7e1188ca', 'network_id': '3721f5f3-7a52-4702-878e-eb0dd9442a64', 'ip_version': 4, 'cidr': '190.40.151.128/26', 'allocation_pools': [{'start': '190.40.151.130', 'end': '190.40.151.190'}], 'gateway_ip': '190.40.151.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.40.151.130', 'tags': [], 'project_id': 'e2b99acdc7094e03b1e0665b7e1188ca'}} 2025-07-23 00:14:14,488 - INFO - Created VN ctest-vn-06921781 2025-07-23 00:14:14,542 - DEBUG - VN ctest-vn-06921781 UUID is 3721f5f3-7a52-4702-878e-eb0dd9442a64 2025-07-23 00:14:14,677 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15589075:ctest-vn-80018319, 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-15589075:ctest-vn-06921781, 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-23 00:14:15,022 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a0c4ad77-dc8a-4b81-8013-78335920ee70', 'name': 'ctest-vn-80018319', 'tenant_id': 'e2b99acdc7094e03b1e0665b7e1188ca', 'project_id': 'e2b99acdc7094e03b1e0665b7e1188ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6442da10-84f1-47f3-af19-a235b30e2f44'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15589075', 'ctest-vn-80018319'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15589075', 'ctest-policy-allow-all-13664634']], 'subnet_ipam': [{'subnet_cidr': '66.156.15.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-23 00:14:15,271 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3721f5f3-7a52-4702-878e-eb0dd9442a64', 'name': 'ctest-vn-06921781', 'tenant_id': 'e2b99acdc7094e03b1e0665b7e1188ca', 'project_id': 'e2b99acdc7094e03b1e0665b7e1188ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3d89a320-6f18-4e69-b27e-1f865fc2c8ee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15589075', 'ctest-vn-06921781'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15589075', 'ctest-policy-allow-all-13664634']], 'subnet_ipam': [{'subnet_cidr': '190.40.151.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-23 00:14:15,450 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-23 00:14:15,751 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-23 00:14:15,781 - DEBUG - Requesting: http://10.0.0.254:8082/domain/64881956-1dc5-4b5d-a418-4a4c39795296 2025-07-23 00:14:15,795 - DEBUG - Requesting: http://10.0.0.254:8082/project/e2b99acd-c709-4e03-b1e0-665b7e1188ca 2025-07-23 00:14:15,874 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a0c4ad77-dc8a-4b81-8013-78335920ee70 2025-07-23 00:14:15,888 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a0c4ad77-dc8a-4b81-8013-78335920ee70 2025-07-23 00:14:15,900 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8cf0c02c-1a25-4b0e-a890-4f3a84d152eb 2025-07-23 00:14:15,911 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8cf0c02c-1a25-4b0e-a890-4f3a84d152eb 2025-07-23 00:14:15,920 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1590f972-7934-46ac-8bfc-45dd57ff947d 2025-07-23 00:14:15,929 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-23 00:14:15,929 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a0c4ad77-dc8a-4b81-8013-78335920ee70 2025-07-23 00:14:15,940 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8cf0c02c-1a25-4b0e-a890-4f3a84d152eb 2025-07-23 00:14:15,958 - INFO - Verified VN network id 10 for VN a0c4ad77-dc8a-4b81-8013-78335920ee70 2025-07-23 00:14:15,958 - INFO - Verifications in API Server for VN ctest-vn-80018319 passed 2025-07-23 00:14:15,958 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a0c4ad77-dc8a-4b81-8013-78335920ee70 2025-07-23 00:14:15,971 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8cf0c02c-1a25-4b0e-a890-4f3a84d152eb 2025-07-23 00:14:15,980 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8cf0c02c-1a25-4b0e-a890-4f3a84d152eb 2025-07-23 00:14:15,989 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1590f972-7934-46ac-8bfc-45dd57ff947d 2025-07-23 00:14:16,005 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15589075:ctest-vn-80018319', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15589075', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11584574871816522625', 'uuid-lslong': '9228852223346273904'}, 'enable': 'true', 'created': '2025-07-23T00:14:13', 'last-modified': '2025-07-23T00:14:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.024048'} 2025-07-23 00:14:16,013 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-23 00:14:16,014 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80018319 passed 2025-07-23 00:14:16,014 - DEBUG - ====Verifying policy data for ctest-vn-80018319 in API_Server ====== 2025-07-23 00:14:16,014 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-23 00:14:16,022 - DEBUG - Requesting: http://10.0.0.254:8082/domain/64881956-1dc5-4b5d-a418-4a4c39795296 2025-07-23 00:14:16,036 - DEBUG - Requesting: http://10.0.0.254:8082/project/e2b99acd-c709-4e03-b1e0-665b7e1188ca 2025-07-23 00:14:16,114 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a0c4ad77-dc8a-4b81-8013-78335920ee70 2025-07-23 00:14:16,127 - DEBUG - ==>Verifying data for policy with id: 9eee8e1c-dae2-40ce-af58-1f57b807a7e2, fqn: ['default-domain', 'ctest-TestBasicPolicy-15589075', 'ctest-policy-allow-all-13664634'] 2025-07-23 00:14:16,127 - INFO - VN ctest-vn-80018319 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-23 00:14:16,128 - DEBUG - Verifying the vn in opserver 2025-07-23 00:14:16,128 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15589075:ctest-vn-80018319 virtual network link through opserver 10.0.0.254 2025-07-23 00:14:16,128 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-23 00:14:16,427 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-23 00:14:16,494 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15589075:ctest-vn-80018319', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15589075:ctest-vn-80018319?flat'} 2025-07-23 00:14:16,494 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15589075:ctest-vn-80018319 is found in opserver 2025-07-23 00:14:16,511 - DEBUG - Do not have enough data to verify VN in agent 2025-07-23 00:14:16,517 - DEBUG - VRF ids for VN ctest-vn-80018319: {} 2025-07-23 00:14:16,517 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-23 00:14:16,523 - DEBUG - Requesting: http://10.0.0.254:8082/domain/64881956-1dc5-4b5d-a418-4a4c39795296 2025-07-23 00:14:16,536 - DEBUG - Requesting: http://10.0.0.254:8082/project/e2b99acd-c709-4e03-b1e0-665b7e1188ca 2025-07-23 00:14:16,616 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3721f5f3-7a52-4702-878e-eb0dd9442a64 2025-07-23 00:14:16,630 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3721f5f3-7a52-4702-878e-eb0dd9442a64 2025-07-23 00:14:16,641 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e85f190-6367-4f24-82eb-ff558cf8f34c 2025-07-23 00:14:16,650 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e85f190-6367-4f24-82eb-ff558cf8f34c 2025-07-23 00:14:16,658 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/bc71be5c-b130-437c-b6d0-84670578c040 2025-07-23 00:14:16,666 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-23 00:14:16,666 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3721f5f3-7a52-4702-878e-eb0dd9442a64 2025-07-23 00:14:16,679 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e85f190-6367-4f24-82eb-ff558cf8f34c 2025-07-23 00:14:16,695 - INFO - Verified VN network id 11 for VN 3721f5f3-7a52-4702-878e-eb0dd9442a64 2025-07-23 00:14:16,695 - INFO - Verifications in API Server for VN ctest-vn-06921781 passed 2025-07-23 00:14:16,695 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3721f5f3-7a52-4702-878e-eb0dd9442a64 2025-07-23 00:14:16,708 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e85f190-6367-4f24-82eb-ff558cf8f34c 2025-07-23 00:14:16,717 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e85f190-6367-4f24-82eb-ff558cf8f34c 2025-07-23 00:14:16,726 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/bc71be5c-b130-437c-b6d0-84670578c040 2025-07-23 00:14:16,744 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15589075:ctest-vn-06921781', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15589075', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3972726772395558658', 'uuid-lslong': '9768003086525409892'}, 'enable': 'true', 'created': '2025-07-23T00:14:14', 'last-modified': '2025-07-23T00:14:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.499159'} 2025-07-23 00:14:16,751 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-23 00:14:16,752 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06921781 passed 2025-07-23 00:14:16,752 - DEBUG - ====Verifying policy data for ctest-vn-06921781 in API_Server ====== 2025-07-23 00:14:16,752 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-23 00:14:16,759 - DEBUG - Requesting: http://10.0.0.254:8082/domain/64881956-1dc5-4b5d-a418-4a4c39795296 2025-07-23 00:14:16,772 - DEBUG - Requesting: http://10.0.0.254:8082/project/e2b99acd-c709-4e03-b1e0-665b7e1188ca 2025-07-23 00:14:16,851 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3721f5f3-7a52-4702-878e-eb0dd9442a64 2025-07-23 00:14:16,862 - DEBUG - ==>Verifying data for policy with id: 9eee8e1c-dae2-40ce-af58-1f57b807a7e2, fqn: ['default-domain', 'ctest-TestBasicPolicy-15589075', 'ctest-policy-allow-all-13664634'] 2025-07-23 00:14:16,862 - INFO - VN ctest-vn-06921781 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-23 00:14:16,862 - DEBUG - Verifying the vn in opserver 2025-07-23 00:14:16,862 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15589075:ctest-vn-06921781 virtual network link through opserver 10.0.0.254 2025-07-23 00:14:16,862 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-23 00:14:16,874 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15589075:ctest-vn-06921781', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15589075:ctest-vn-06921781?flat'} 2025-07-23 00:14:16,874 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15589075:ctest-vn-06921781 is found in opserver 2025-07-23 00:14:16,886 - DEBUG - Do not have enough data to verify VN in agent 2025-07-23 00:14:16,892 - DEBUG - VRF ids for VN ctest-vn-06921781: {} 2025-07-23 00:14:16,955 - DEBUG - Services list from nova: [, , ] 2025-07-23 00:14:18,022 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3697-1) 2025-07-23 00:14:19,210 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3697-1) 2025-07-23 00:14:19,210 - INFO - Waiting for VM ctest-TestBasicPolicy-15589075-86895654 to be up.. 2025-07-23 00:14:19,298 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 00:14:24,377 - DEBUG - VM is in ACTIVE state now 2025-07-23 00:14:24,377 - INFO - VM name : ctest-TestBasicPolicy-15589075-86895654 2025-07-23 00:14:24,463 - DEBUG - VM ctest-TestBasicPolicy-15589075-86895654 ID is b34ae88e-4de8-49b3-97b8-0734258d6a99 2025-07-23 00:14:24,486 - DEBUG - VM ctest-TestBasicPolicy-15589075-86895654 launched on Node cn-jenkins-deploy-platform-ansible-os-3697-1 2025-07-23 00:14:24,574 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b34ae88e-4de8-49b3-97b8-0734258d6a99 2025-07-23 00:14:24,589 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/167a79d7-33bb-4317-927d-fa4160b2e7fa 2025-07-23 00:14:27,834 - 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 1025ms') 2025-07-23 00:14:27,834 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15589075-86895654 failed! 2025-07-23 00:14:27,897 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15589075:ctest-vn-80018319 is 66.156.15.65 and allocation pool is NOT set 2025-07-23 00:14:29,966 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.00 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 = 1.000/4.481/7.963/3.481 ms') 2025-07-23 00:14:29,966 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15589075-86895654 passed 2025-07-23 00:14:30,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 00:14:30,122 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15589075-86895654, IP 66.156.15.67, Port 22 2025-07-23 00:14:30,289 - DEBUG - VM ctest-TestBasicPolicy-15589075-86895654 is ready for SSH connections 2025-07-23 00:14:30,289 - INFO - Waiting for VM ctest-TestBasicPolicy-15589075-74631972 to be up.. 2025-07-23 00:14:30,374 - DEBUG - VM is in ACTIVE state now 2025-07-23 00:14:30,374 - INFO - VM name : ctest-TestBasicPolicy-15589075-74631972 2025-07-23 00:14:30,456 - DEBUG - VM ctest-TestBasicPolicy-15589075-74631972 ID is b6ea653a-6273-461c-94d1-c4d56b0b1be4 2025-07-23 00:14:30,456 - DEBUG - VM ctest-TestBasicPolicy-15589075-74631972 launched on Node cn-jenkins-deploy-platform-ansible-os-3697-1 2025-07-23 00:14:30,530 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b6ea653a-6273-461c-94d1-c4d56b0b1be4 2025-07-23 00:14:30,541 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ca454da3-2fda-4460-ad65-23d55c39377c 2025-07-23 00:14:31,796 - 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=8.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.921 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.921/4.693/8.465/3.772 ms') 2025-07-23 00:14:31,796 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15589075-74631972 passed 2025-07-23 00:14:31,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 00:14:31,950 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15589075-74631972, IP 190.40.151.131, Port 22 2025-07-23 00:14:32,105 - DEBUG - VM ctest-TestBasicPolicy-15589075-74631972 is ready for SSH connections 2025-07-23 00:14:32,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 00:14:32,105 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.40.151.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-23 00:14:32,106 - DEBUG - ping -s 56 -c 3 -W 1 190.40.151.131 2025-07-23 00:14:36,194 - DEBUG - PING 190.40.151.131 (190.40.151.131): 56 data bytes 64 bytes from 190.40.151.131: seq=0 ttl=63 time=3.574 ms 64 bytes from 190.40.151.131: seq=1 ttl=63 time=1.157 ms 64 bytes from 190.40.151.131: seq=2 ttl=63 time=1.129 ms --- 190.40.151.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.129/1.953/3.574 ms 2025-07-23 00:14:36,194 - INFO - Ping to IP 190.40.151.131 from VM ctest-TestBasicPolicy-15589075-86895654 passed 2025-07-23 00:14:36,381 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9eee8e1c-dae2-40ce-af58-1f57b807a7e2", "href": "http://10.0.0.254:8082/network-policy/9eee8e1c-dae2-40ce-af58-1f57b807a7e2"}} 2025-07-23 00:14:36,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 00:14:36,382 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.40.151.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-23 00:14:36,382 - DEBUG - ping -s 56 -c 3 -W 1 190.40.151.131 2025-07-23 00:14:39,637 - DEBUG - PING 190.40.151.131 (190.40.151.131): 56 data bytes --- 190.40.151.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 00:14:39,637 - WARNING - Ping to IP 190.40.151.131 from VM ctest-TestBasicPolicy-15589075-86895654 failed 2025-07-23 00:14:39,637 - INFO - Deleting VM ctest-TestBasicPolicy-15589075-74631972 2025-07-23 00:14:39,722 - INFO - Deleting VM ctest-TestBasicPolicy-15589075-86895654 2025-07-23 00:14:40,186 - INFO - Deleted policy ctest-policy-allow-all-13664634 2025-07-23 00:14:40,186 - INFO - Deleting VN ctest-vn-06921781 2025-07-23 00:14:40,237 - DEBUG - VN 3721f5f3-7a52-4702-878e-eb0dd9442a64 still in use: Unable to complete operation on network 3721f5f3-7a52-4702-878e-eb0dd9442a64. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-12de90ff-7628-460d-b669-1a586dbc5dd6'] 2025-07-23 00:14:40,237 - WARNING - Deleting VN ctest-vn-06921781 failed..Will retry 2025-07-23 00:14:42,357 - DEBUG - Response for deleting network () 2025-07-23 00:14:42,357 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e85f190-6367-4f24-82eb-ff558cf8f34c 2025-07-23 00:14:42,372 - DEBUG - Response Code: 404 2025-07-23 00:14:42,372 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-23 00:14:42,379 - DEBUG - Requesting: http://10.0.0.254:8082/domain/64881956-1dc5-4b5d-a418-4a4c39795296 2025-07-23 00:14:42,440 - DEBUG - Requesting: http://10.0.0.254:8082/project/e2b99acd-c709-4e03-b1e0-665b7e1188ca 2025-07-23 00:14:42,514 - INFO - Validated that VN ctest-vn-06921781 is not found in API Server 2025-07-23 00:14:42,527 - DEBUG - VN ctest-vn-06921781 is not present in Agent 10.0.0.254 2025-07-23 00:14:42,527 - INFO - Validated that VN ctest-vn-06921781 is not in any agent 2025-07-23 00:14:42,545 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06921781 info 2025-07-23 00:14:42,545 - INFO - Deleting VN ctest-vn-80018319 2025-07-23 00:14:42,667 - DEBUG - Response for deleting network () 2025-07-23 00:14:42,667 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8cf0c02c-1a25-4b0e-a890-4f3a84d152eb 2025-07-23 00:14:42,674 - DEBUG - Response Code: 404 2025-07-23 00:14:42,674 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-23 00:14:42,690 - DEBUG - Requesting: http://10.0.0.254:8082/domain/64881956-1dc5-4b5d-a418-4a4c39795296 2025-07-23 00:14:42,744 - DEBUG - Requesting: http://10.0.0.254:8082/project/e2b99acd-c709-4e03-b1e0-665b7e1188ca 2025-07-23 00:14:42,817 - INFO - Validated that VN ctest-vn-80018319 is not found in API Server 2025-07-23 00:14:42,829 - DEBUG - VN ctest-vn-80018319 is not present in Agent 10.0.0.254 2025-07-23 00:14:42,829 - INFO - Validated that VN ctest-vn-80018319 is not in any agent 2025-07-23 00:14:42,850 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80018319 info 2025-07-23 00:14:43,113 - DEBUG - No XMPP flaps were noticed during the test 2025-07-23 00:14:43,114 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-07-23 00:14:43,114 - INFO - -------------------------------------------------------------------------------- 2025-07-23 00:14:43,841 - INFO - Deleted project: ctest-TestBasicPolicy-15589075, ID : e2b99acd-c709-4e03-b1e0-665b7e1188ca