2025-02-18 09:59:59,000 - INFO - Domain Default found not creating 2025-02-18 09:59:59,139 - INFO - Project ctest-TestBasicPolicy-21964001 not found, creating it 2025-02-18 09:59:59,601 - INFO - Created Project:ctest-TestBasicPolicy-21964001, ID : d972c249-9667-4b53-8368-000c9847d605 2025-02-18 10:00:01,066 - INFO - ================================================================================ 2025-02-18 10:00:01,066 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-18 10:00:01,066 - 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-02-18 10:00:01,328 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.5': '0'}} with 2025-02-18 10:00:01,329 - INFO - Initial checks done. Running the testcase now 2025-02-18 10:00:01,329 - INFO - 2025-02-18 10:00:01,902 - DEBUG - Response for create_network : {'network': {'id': '7e782cab-9a61-4ec5-b11b-fd06e87c12d2', 'name': 'ctest-vn-93813078', 'tenant_id': 'd972c24996674b538368000c9847d605', 'project_id': 'd972c24996674b538368000c9847d605', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21964001', 'ctest-vn-93813078'], 'port_security_enabled': True, 'description': ''}} 2025-02-18 10:00:02,080 - DEBUG - Response for create_subnet : {'subnet': {'id': '5fe72b1d-a6d4-41aa-bae8-d6622d98d468', 'name': '', 'tenant_id': 'd972c24996674b538368000c9847d605', 'network_id': '7e782cab-9a61-4ec5-b11b-fd06e87c12d2', 'ip_version': 4, 'cidr': '83.74.51.0/26', 'allocation_pools': [{'start': '83.74.51.2', 'end': '83.74.51.62'}], 'gateway_ip': '83.74.51.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.74.51.2', 'tags': [], 'project_id': 'd972c24996674b538368000c9847d605'}} 2025-02-18 10:00:02,098 - INFO - Created VN ctest-vn-93813078 2025-02-18 10:00:02,150 - DEBUG - VN ctest-vn-93813078 UUID is 7e782cab-9a61-4ec5-b11b-fd06e87c12d2 2025-02-18 10:00:02,454 - DEBUG - Response for create_network : {'network': {'id': 'f181369a-589d-4698-ba83-8f562ddda9da', 'name': 'ctest-vn-12498162', 'tenant_id': 'd972c24996674b538368000c9847d605', 'project_id': 'd972c24996674b538368000c9847d605', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21964001', 'ctest-vn-12498162'], 'port_security_enabled': True, 'description': ''}} 2025-02-18 10:00:02,611 - DEBUG - Response for create_subnet : {'subnet': {'id': '208d1520-fbf1-4969-829f-0a344f127790', 'name': '', 'tenant_id': 'd972c24996674b538368000c9847d605', 'network_id': 'f181369a-589d-4698-ba83-8f562ddda9da', 'ip_version': 4, 'cidr': '42.139.102.64/26', 'allocation_pools': [{'start': '42.139.102.66', 'end': '42.139.102.126'}], 'gateway_ip': '42.139.102.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.139.102.66', 'tags': [], 'project_id': 'd972c24996674b538368000c9847d605'}} 2025-02-18 10:00:02,629 - INFO - Created VN ctest-vn-12498162 2025-02-18 10:00:02,682 - DEBUG - VN ctest-vn-12498162 UUID is f181369a-589d-4698-ba83-8f562ddda9da 2025-02-18 10:00:02,800 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21964001:ctest-vn-93813078, 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-21964001:ctest-vn-12498162, 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-02-18 10:00:03,120 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7e782cab-9a61-4ec5-b11b-fd06e87c12d2', 'name': 'ctest-vn-93813078', 'tenant_id': 'd972c24996674b538368000c9847d605', 'project_id': 'd972c24996674b538368000c9847d605', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5fe72b1d-a6d4-41aa-bae8-d6622d98d468'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21964001', 'ctest-vn-93813078'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21964001', 'ctest-policy-allow-all-17279431']], 'subnet_ipam': [{'subnet_cidr': '83.74.51.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-18 10:00:03,420 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f181369a-589d-4698-ba83-8f562ddda9da', 'name': 'ctest-vn-12498162', 'tenant_id': 'd972c24996674b538368000c9847d605', 'project_id': 'd972c24996674b538368000c9847d605', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['208d1520-fbf1-4969-829f-0a344f127790'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21964001', 'ctest-vn-12498162'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21964001', 'ctest-policy-allow-all-17279431']], 'subnet_ipam': [{'subnet_cidr': '42.139.102.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-18 10:00:03,567 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-02-18 10:00:03,869 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-02-18 10:00:03,899 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f8c5d48d-01e1-4fbd-b4ec-065ca35c196c 2025-02-18 10:00:03,913 - DEBUG - Requesting: http://10.0.0.38:8082/project/d972c249-9667-4b53-8368-000c9847d605 2025-02-18 10:00:03,988 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7e782cab-9a61-4ec5-b11b-fd06e87c12d2 2025-02-18 10:00:04,004 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7e782cab-9a61-4ec5-b11b-fd06e87c12d2 2025-02-18 10:00:04,018 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a071e073-25ee-43cb-87d4-66337007b996 2025-02-18 10:00:04,030 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a071e073-25ee-43cb-87d4-66337007b996 2025-02-18 10:00:04,041 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fcc64425-228b-433c-ac4d-c47d2360b703 2025-02-18 10:00:04,051 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-18 10:00:04,051 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7e782cab-9a61-4ec5-b11b-fd06e87c12d2 2025-02-18 10:00:04,065 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a071e073-25ee-43cb-87d4-66337007b996 2025-02-18 10:00:04,085 - INFO - Verified VN network id 8 for VN 7e782cab-9a61-4ec5-b11b-fd06e87c12d2 2025-02-18 10:00:04,085 - INFO - Verifications in API Server for VN ctest-vn-93813078 passed 2025-02-18 10:00:04,085 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7e782cab-9a61-4ec5-b11b-fd06e87c12d2 2025-02-18 10:00:04,098 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a071e073-25ee-43cb-87d4-66337007b996 2025-02-18 10:00:04,107 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a071e073-25ee-43cb-87d4-66337007b996 2025-02-18 10:00:04,116 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fcc64425-228b-433c-ac4d-c47d2360b703 2025-02-18 10:00:04,133 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21964001:ctest-vn-93813078', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21964001', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9113082961525296837', 'uuid-lslong': '12762072175196508882'}, 'enable': 'true', 'created': '2025-02-18T10:00:01', 'last-modified': '2025-02-18T10:00:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.047281'} 2025-02-18 10:00:04,141 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-18 10:00:04,141 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93813078 passed 2025-02-18 10:00:04,141 - DEBUG - ====Verifying policy data for ctest-vn-93813078 in API_Server ====== 2025-02-18 10:00:04,141 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-02-18 10:00:04,149 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f8c5d48d-01e1-4fbd-b4ec-065ca35c196c 2025-02-18 10:00:04,165 - DEBUG - Requesting: http://10.0.0.38:8082/project/d972c249-9667-4b53-8368-000c9847d605 2025-02-18 10:00:04,246 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7e782cab-9a61-4ec5-b11b-fd06e87c12d2 2025-02-18 10:00:04,259 - DEBUG - ==>Verifying data for policy with id: d461e3fa-8fa7-42f0-9829-8ddce8ed048a, fqn: ['default-domain', 'ctest-TestBasicPolicy-21964001', 'ctest-policy-allow-all-17279431'] 2025-02-18 10:00:04,259 - INFO - VN ctest-vn-93813078 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-18 10:00:04,259 - DEBUG - Verifying the vn in opserver 2025-02-18 10:00:04,259 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21964001:ctest-vn-93813078 virtual network link through opserver 10.0.0.38 2025-02-18 10:00:04,259 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-02-18 10:00:04,553 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-02-18 10:00:04,618 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21964001:ctest-vn-93813078', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21964001:ctest-vn-93813078?flat'} 2025-02-18 10:00:04,618 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21964001:ctest-vn-93813078 is found in opserver 2025-02-18 10:00:04,631 - DEBUG - Do not have enough data to verify VN in agent 2025-02-18 10:00:04,637 - DEBUG - VRF ids for VN ctest-vn-93813078: {} 2025-02-18 10:00:04,637 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-02-18 10:00:04,645 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f8c5d48d-01e1-4fbd-b4ec-065ca35c196c 2025-02-18 10:00:04,659 - DEBUG - Requesting: http://10.0.0.38:8082/project/d972c249-9667-4b53-8368-000c9847d605 2025-02-18 10:00:04,737 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f181369a-589d-4698-ba83-8f562ddda9da 2025-02-18 10:00:04,753 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f181369a-589d-4698-ba83-8f562ddda9da 2025-02-18 10:00:04,764 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9a620079-0418-43d1-bd2c-0c6419e7b26a 2025-02-18 10:00:04,773 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9a620079-0418-43d1-bd2c-0c6419e7b26a 2025-02-18 10:00:04,782 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/71216001-63ff-41f1-82f1-f7aa3b78a780 2025-02-18 10:00:04,791 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-18 10:00:04,791 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f181369a-589d-4698-ba83-8f562ddda9da 2025-02-18 10:00:04,802 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9a620079-0418-43d1-bd2c-0c6419e7b26a 2025-02-18 10:00:04,822 - INFO - Verified VN network id 9 for VN f181369a-589d-4698-ba83-8f562ddda9da 2025-02-18 10:00:04,822 - INFO - Verifications in API Server for VN ctest-vn-12498162 passed 2025-02-18 10:00:04,822 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f181369a-589d-4698-ba83-8f562ddda9da 2025-02-18 10:00:04,836 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9a620079-0418-43d1-bd2c-0c6419e7b26a 2025-02-18 10:00:04,844 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9a620079-0418-43d1-bd2c-0c6419e7b26a 2025-02-18 10:00:04,852 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/71216001-63ff-41f1-82f1-f7aa3b78a780 2025-02-18 10:00:04,866 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21964001:ctest-vn-12498162', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21964001', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17402250471675872920', 'uuid-lslong': '13439743313303153114'}, 'enable': 'true', 'created': '2025-02-18T10:00:02', 'last-modified': '2025-02-18T10:00:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.520269'} 2025-02-18 10:00:04,874 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-18 10:00:04,874 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12498162 passed 2025-02-18 10:00:04,874 - DEBUG - ====Verifying policy data for ctest-vn-12498162 in API_Server ====== 2025-02-18 10:00:04,874 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-02-18 10:00:04,882 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f8c5d48d-01e1-4fbd-b4ec-065ca35c196c 2025-02-18 10:00:04,899 - DEBUG - Requesting: http://10.0.0.38:8082/project/d972c249-9667-4b53-8368-000c9847d605 2025-02-18 10:00:04,979 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f181369a-589d-4698-ba83-8f562ddda9da 2025-02-18 10:00:04,993 - DEBUG - ==>Verifying data for policy with id: d461e3fa-8fa7-42f0-9829-8ddce8ed048a, fqn: ['default-domain', 'ctest-TestBasicPolicy-21964001', 'ctest-policy-allow-all-17279431'] 2025-02-18 10:00:04,993 - INFO - VN ctest-vn-12498162 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-18 10:00:04,993 - DEBUG - Verifying the vn in opserver 2025-02-18 10:00:04,994 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21964001:ctest-vn-12498162 virtual network link through opserver 10.0.0.38 2025-02-18 10:00:04,994 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-02-18 10:00:05,008 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21964001:ctest-vn-12498162', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21964001:ctest-vn-12498162?flat'} 2025-02-18 10:00:05,008 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21964001:ctest-vn-12498162 is found in opserver 2025-02-18 10:00:05,020 - DEBUG - Do not have enough data to verify VN in agent 2025-02-18 10:00:05,025 - DEBUG - VRF ids for VN ctest-vn-12498162: {} 2025-02-18 10:00:05,090 - DEBUG - Services list from nova: [, , ] 2025-02-18 10:00:06,200 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2745-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2745-1) 2025-02-18 10:00:07,524 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2745-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2745-1) 2025-02-18 10:00:07,524 - INFO - Waiting for VM ctest-TestBasicPolicy-21964001-10465304 to be up.. 2025-02-18 10:00:07,622 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-18 10:00:12,719 - DEBUG - VM is in ACTIVE state now 2025-02-18 10:00:12,719 - INFO - VM name : ctest-TestBasicPolicy-21964001-10465304 2025-02-18 10:00:12,821 - DEBUG - VM ctest-TestBasicPolicy-21964001-10465304 ID is a6b37d92-6980-4e79-a5e2-2c24b124d1fe 2025-02-18 10:00:12,843 - DEBUG - VM ctest-TestBasicPolicy-21964001-10465304 launched on Node cn-jenkins-deploy-platform-ansible-os-2745-1 2025-02-18 10:00:12,938 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a6b37d92-6980-4e79-a5e2-2c24b124d1fe 2025-02-18 10:00:12,949 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/977bd7c6-0f7a-48ae-99a7-a317e81e9375 2025-02-18 10:00:16,196 - 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 1011ms') 2025-02-18 10:00:16,196 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21964001-10465304 failed! 2025-02-18 10:00:16,254 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21964001:ctest-vn-93813078 is 83.74.51.1 and allocation pool is NOT set 2025-02-18 10:00:18,314 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.457 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.457/3.763/7.070/3.306 ms') 2025-02-18 10:00:18,314 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21964001-10465304 passed 2025-02-18 10:00:18,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-18 10:00:18,462 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21964001-10465304, IP 83.74.51.3, Port 22 2025-02-18 10:00:18,626 - DEBUG - VM ctest-TestBasicPolicy-21964001-10465304 is ready for SSH connections 2025-02-18 10:00:18,626 - INFO - Waiting for VM ctest-TestBasicPolicy-21964001-48386974 to be up.. 2025-02-18 10:00:18,706 - DEBUG - VM is in ACTIVE state now 2025-02-18 10:00:18,706 - INFO - VM name : ctest-TestBasicPolicy-21964001-48386974 2025-02-18 10:00:18,785 - DEBUG - VM ctest-TestBasicPolicy-21964001-48386974 ID is 301d2e4a-110e-454f-8e34-49c4e570ffe5 2025-02-18 10:00:18,786 - DEBUG - VM ctest-TestBasicPolicy-21964001-48386974 launched on Node cn-jenkins-deploy-platform-ansible-os-2745-1 2025-02-18 10:00:18,866 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/301d2e4a-110e-454f-8e34-49c4e570ffe5 2025-02-18 10:00:18,877 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4682fa06-0d39-4b82-a0d0-bee9bafc71ea 2025-02-18 10:00:20,123 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.582 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.582/1.728/2.874/1.146 ms') 2025-02-18 10:00:20,123 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21964001-48386974 passed 2025-02-18 10:00:20,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-18 10:00:20,278 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21964001-48386974, IP 42.139.102.67, Port 22 2025-02-18 10:00:20,434 - DEBUG - VM ctest-TestBasicPolicy-21964001-48386974 is ready for SSH connections 2025-02-18 10:00:20,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-18 10:00:20,435 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.139.102.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-02-18 10:00:20,435 - DEBUG - ping -s 56 -c 3 -W 1 42.139.102.67 2025-02-18 10:00:24,475 - DEBUG - PING 42.139.102.67 (42.139.102.67): 56 data bytes 64 bytes from 42.139.102.67: seq=0 ttl=63 time=4.967 ms 64 bytes from 42.139.102.67: seq=1 ttl=63 time=0.895 ms 64 bytes from 42.139.102.67: seq=2 ttl=63 time=1.011 ms --- 42.139.102.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.895/2.291/4.967 ms 2025-02-18 10:00:24,475 - INFO - Ping to IP 42.139.102.67 from VM ctest-TestBasicPolicy-21964001-10465304 passed 2025-02-18 10:00:24,662 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d461e3fa-8fa7-42f0-9829-8ddce8ed048a", "href": "http://10.0.0.38:8082/network-policy/d461e3fa-8fa7-42f0-9829-8ddce8ed048a"}} 2025-02-18 10:00:24,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-18 10:00:24,662 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.139.102.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-02-18 10:00:24,663 - DEBUG - ping -s 56 -c 3 -W 1 42.139.102.67 2025-02-18 10:00:27,881 - DEBUG - PING 42.139.102.67 (42.139.102.67): 56 data bytes 64 bytes from 42.139.102.67: seq=0 ttl=63 time=1.624 ms --- 42.139.102.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.624/1.624/1.624 ms 2025-02-18 10:00:27,881 - WARNING - Ping to IP 42.139.102.67 from VM ctest-TestBasicPolicy-21964001-10465304 failed 2025-02-18 10:00:27,881 - INFO - Deleting VM ctest-TestBasicPolicy-21964001-48386974 2025-02-18 10:00:27,948 - INFO - Deleting VM ctest-TestBasicPolicy-21964001-10465304 2025-02-18 10:00:28,346 - INFO - Deleted policy ctest-policy-allow-all-17279431 2025-02-18 10:00:28,347 - INFO - Deleting VN ctest-vn-12498162 2025-02-18 10:00:28,381 - DEBUG - VN f181369a-589d-4698-ba83-8f562ddda9da still in use: Unable to complete operation on network f181369a-589d-4698-ba83-8f562ddda9da. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e2d8ec7b-8ff7-4bb8-ab0d-92ee24c727ea'] 2025-02-18 10:00:28,381 - WARNING - Deleting VN ctest-vn-12498162 failed..Will retry 2025-02-18 10:00:30,485 - DEBUG - Response for deleting network () 2025-02-18 10:00:30,485 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9a620079-0418-43d1-bd2c-0c6419e7b26a 2025-02-18 10:00:30,495 - DEBUG - Response Code: 404 2025-02-18 10:00:30,496 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-02-18 10:00:30,502 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f8c5d48d-01e1-4fbd-b4ec-065ca35c196c 2025-02-18 10:00:30,566 - DEBUG - Requesting: http://10.0.0.38:8082/project/d972c249-9667-4b53-8368-000c9847d605 2025-02-18 10:00:30,641 - INFO - Validated that VN ctest-vn-12498162 is not found in API Server 2025-02-18 10:00:30,652 - DEBUG - VN ctest-vn-12498162 is not present in Agent 10.0.0.38 2025-02-18 10:00:30,652 - INFO - Validated that VN ctest-vn-12498162 is not in any agent 2025-02-18 10:00:30,670 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12498162 info 2025-02-18 10:00:30,670 - INFO - Deleting VN ctest-vn-93813078 2025-02-18 10:00:30,771 - DEBUG - Response for deleting network () 2025-02-18 10:00:30,771 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a071e073-25ee-43cb-87d4-66337007b996 2025-02-18 10:00:30,778 - DEBUG - Response Code: 404 2025-02-18 10:00:30,779 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-02-18 10:00:30,784 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f8c5d48d-01e1-4fbd-b4ec-065ca35c196c 2025-02-18 10:00:30,840 - DEBUG - Requesting: http://10.0.0.38:8082/project/d972c249-9667-4b53-8368-000c9847d605 2025-02-18 10:00:30,912 - INFO - Validated that VN ctest-vn-93813078 is not found in API Server 2025-02-18 10:00:30,923 - DEBUG - VN ctest-vn-93813078 is not present in Agent 10.0.0.38 2025-02-18 10:00:30,923 - INFO - Validated that VN ctest-vn-93813078 is not in any agent 2025-02-18 10:00:30,939 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93813078 info 2025-02-18 10:00:31,196 - DEBUG - No XMPP flaps were noticed during the test
2025-02-18 10:00:31,197 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-02-18 10:00:31,197 - INFO - -------------------------------------------------------------------------------- 2025-02-18 10:00:31,947 - INFO - Deleted project: ctest-TestBasicPolicy-21964001, ID : d972c249-9667-4b53-8368-000c9847d605