2024-10-28 02:32:08,814 - INFO - Domain Default found not creating 2024-10-28 02:32:08,993 - INFO - Project ctest-TestBasicPolicy-31296267 not found, creating it 2024-10-28 02:32:09,522 - INFO - Created Project:ctest-TestBasicPolicy-31296267, ID : 4963a66a-5436-471a-af75-22063332bbcb 2024-10-28 02:32:11,221 - INFO - ================================================================================ 2024-10-28 02:32:11,221 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-10-28 02:32:11,221 - 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 2024-10-28 02:32:11,484 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.0.0.32': '0'}} with 2024-10-28 02:32:11,484 - INFO - Initial checks done. Running the testcase now 2024-10-28 02:32:11,485 - INFO - 2024-10-28 02:32:12,145 - DEBUG - Response for create_network : {'network': {'id': '45d2fdb7-cfa2-4603-9c79-543eb7c05f9c', 'name': 'ctest-vn-48998564', 'tenant_id': '4963a66a5436471aaf7522063332bbcb', 'project_id': '4963a66a5436471aaf7522063332bbcb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31296267', 'ctest-vn-48998564'], 'port_security_enabled': True, 'description': ''}} 2024-10-28 02:32:12,395 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cad422a4-8b53-4d5a-acc4-7673e102680a', 'name': '', 'tenant_id': '4963a66a5436471aaf7522063332bbcb', 'network_id': '45d2fdb7-cfa2-4603-9c79-543eb7c05f9c', 'ip_version': 4, 'cidr': '94.137.65.192/26', 'allocation_pools': [{'start': '94.137.65.194', 'end': '94.137.65.254'}], 'gateway_ip': '94.137.65.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.137.65.194', 'tags': [], 'project_id': '4963a66a5436471aaf7522063332bbcb'}} 2024-10-28 02:32:12,419 - INFO - Created VN ctest-vn-48998564 2024-10-28 02:32:12,479 - DEBUG - VN ctest-vn-48998564 UUID is 45d2fdb7-cfa2-4603-9c79-543eb7c05f9c 2024-10-28 02:32:12,825 - DEBUG - Response for create_network : {'network': {'id': '237303e1-8a91-40c4-9230-187b14967126', 'name': 'ctest-vn-25185465', 'tenant_id': '4963a66a5436471aaf7522063332bbcb', 'project_id': '4963a66a5436471aaf7522063332bbcb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31296267', 'ctest-vn-25185465'], 'port_security_enabled': True, 'description': ''}} 2024-10-28 02:32:13,066 - DEBUG - Response for create_subnet : {'subnet': {'id': 'def50e4c-f42c-4140-a52a-8e200720ba51', 'name': '', 'tenant_id': '4963a66a5436471aaf7522063332bbcb', 'network_id': '237303e1-8a91-40c4-9230-187b14967126', 'ip_version': 4, 'cidr': '220.84.37.128/26', 'allocation_pools': [{'start': '220.84.37.130', 'end': '220.84.37.190'}], 'gateway_ip': '220.84.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.84.37.130', 'tags': [], 'project_id': '4963a66a5436471aaf7522063332bbcb'}} 2024-10-28 02:32:13,088 - INFO - Created VN ctest-vn-25185465 2024-10-28 02:32:13,147 - DEBUG - VN ctest-vn-25185465 UUID is 237303e1-8a91-40c4-9230-187b14967126 2024-10-28 02:32:13,282 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31296267:ctest-vn-48998564, 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-31296267:ctest-vn-25185465, 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] 2024-10-28 02:32:13,622 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45d2fdb7-cfa2-4603-9c79-543eb7c05f9c', 'name': 'ctest-vn-48998564', 'tenant_id': '4963a66a5436471aaf7522063332bbcb', 'project_id': '4963a66a5436471aaf7522063332bbcb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cad422a4-8b53-4d5a-acc4-7673e102680a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31296267', 'ctest-vn-48998564'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31296267', 'ctest-policy-allow-all-47353425']], 'subnet_ipam': [{'subnet_cidr': '94.137.65.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-10-28 02:32:13,888 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '237303e1-8a91-40c4-9230-187b14967126', 'name': 'ctest-vn-25185465', 'tenant_id': '4963a66a5436471aaf7522063332bbcb', 'project_id': '4963a66a5436471aaf7522063332bbcb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['def50e4c-f42c-4140-a52a-8e200720ba51'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31296267', 'ctest-vn-25185465'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31296267', 'ctest-policy-allow-all-47353425']], 'subnet_ipam': [{'subnet_cidr': '220.84.37.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-10-28 02:32:14,055 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-28 02:32:14,404 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-28 02:32:14,442 - DEBUG - Requesting: http://10.0.0.32:8082/domain/51ad6298-d170-4109-b48a-f07afad31756 2024-10-28 02:32:14,461 - DEBUG - Requesting: http://10.0.0.32:8082/project/4963a66a-5436-471a-af75-22063332bbcb 2024-10-28 02:32:14,552 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/45d2fdb7-cfa2-4603-9c79-543eb7c05f9c 2024-10-28 02:32:14,573 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/45d2fdb7-cfa2-4603-9c79-543eb7c05f9c 2024-10-28 02:32:14,594 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/6cdcaa9b-b9c3-4e58-a028-85184823ecac 2024-10-28 02:32:14,607 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/6cdcaa9b-b9c3-4e58-a028-85184823ecac 2024-10-28 02:32:14,619 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/30a1d55f-7383-4e73-aeef-910934ae9d7b 2024-10-28 02:32:14,629 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-28 02:32:14,629 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/45d2fdb7-cfa2-4603-9c79-543eb7c05f9c 2024-10-28 02:32:14,646 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/6cdcaa9b-b9c3-4e58-a028-85184823ecac 2024-10-28 02:32:14,668 - INFO - Verified VN network id 9 for VN 45d2fdb7-cfa2-4603-9c79-543eb7c05f9c 2024-10-28 02:32:14,669 - INFO - Verifications in API Server for VN ctest-vn-48998564 passed 2024-10-28 02:32:14,669 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/45d2fdb7-cfa2-4603-9c79-543eb7c05f9c 2024-10-28 02:32:14,688 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/6cdcaa9b-b9c3-4e58-a028-85184823ecac 2024-10-28 02:32:14,701 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/6cdcaa9b-b9c3-4e58-a028-85184823ecac 2024-10-28 02:32:14,715 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/30a1d55f-7383-4e73-aeef-910934ae9d7b 2024-10-28 02:32:14,734 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31296267:ctest-vn-48998564', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31296267', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5031362699630626307', 'uuid-lslong': '11275135770446290844'}, 'enable': 'true', 'created': '2024-10-28T02:32:12', 'last-modified': '2024-10-28T02:32:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.138844'} 2024-10-28 02:32:14,742 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-28 02:32:14,742 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48998564 passed 2024-10-28 02:32:14,743 - DEBUG - ====Verifying policy data for ctest-vn-48998564 in API_Server ====== 2024-10-28 02:32:14,743 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-28 02:32:14,750 - DEBUG - Requesting: http://10.0.0.32:8082/domain/51ad6298-d170-4109-b48a-f07afad31756 2024-10-28 02:32:14,765 - DEBUG - Requesting: http://10.0.0.32:8082/project/4963a66a-5436-471a-af75-22063332bbcb 2024-10-28 02:32:14,856 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/45d2fdb7-cfa2-4603-9c79-543eb7c05f9c 2024-10-28 02:32:14,873 - DEBUG - ==>Verifying data for policy with id: eb97c356-83c3-4a2c-b6e4-f73cd1581cb9, fqn: ['default-domain', 'ctest-TestBasicPolicy-31296267', 'ctest-policy-allow-all-47353425'] 2024-10-28 02:32:14,873 - INFO - VN ctest-vn-48998564 Policy verification: verify_vn_policy_in_api_server, status: True 2024-10-28 02:32:14,873 - DEBUG - Verifying the vn in opserver 2024-10-28 02:32:14,873 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31296267:ctest-vn-48998564 virtual network link through opserver 10.0.0.32 2024-10-28 02:32:14,873 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-10-28 02:32:15,213 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-10-28 02:32:15,281 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31296267:ctest-vn-48998564', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31296267:ctest-vn-48998564?flat'} 2024-10-28 02:32:15,281 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31296267:ctest-vn-48998564 is found in opserver 2024-10-28 02:32:15,295 - DEBUG - Do not have enough data to verify VN in agent 2024-10-28 02:32:15,301 - DEBUG - VRF ids for VN ctest-vn-48998564: {} 2024-10-28 02:32:15,301 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-28 02:32:15,308 - DEBUG - Requesting: http://10.0.0.32:8082/domain/51ad6298-d170-4109-b48a-f07afad31756 2024-10-28 02:32:15,327 - DEBUG - Requesting: http://10.0.0.32:8082/project/4963a66a-5436-471a-af75-22063332bbcb 2024-10-28 02:32:15,423 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/237303e1-8a91-40c4-9230-187b14967126 2024-10-28 02:32:15,442 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/237303e1-8a91-40c4-9230-187b14967126 2024-10-28 02:32:15,457 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/99dee541-7699-405b-bfb8-7941b93b60a4 2024-10-28 02:32:15,467 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/99dee541-7699-405b-bfb8-7941b93b60a4 2024-10-28 02:32:15,476 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/48207083-5445-4e2c-b061-c0795925eeb1 2024-10-28 02:32:15,486 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-10-28 02:32:15,486 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/237303e1-8a91-40c4-9230-187b14967126 2024-10-28 02:32:15,502 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/99dee541-7699-405b-bfb8-7941b93b60a4 2024-10-28 02:32:15,523 - INFO - Verified VN network id 10 for VN 237303e1-8a91-40c4-9230-187b14967126 2024-10-28 02:32:15,523 - INFO - Verifications in API Server for VN ctest-vn-25185465 passed 2024-10-28 02:32:15,523 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/237303e1-8a91-40c4-9230-187b14967126 2024-10-28 02:32:15,541 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/99dee541-7699-405b-bfb8-7941b93b60a4 2024-10-28 02:32:15,551 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/99dee541-7699-405b-bfb8-7941b93b60a4 2024-10-28 02:32:15,561 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/48207083-5445-4e2c-b061-c0795925eeb1 2024-10-28 02:32:15,576 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31296267:ctest-vn-25185465', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31296267', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2554389680876503236', 'uuid-lslong': '10533946445325037862'}, 'enable': 'true', 'created': '2024-10-28T02:32:12', 'last-modified': '2024-10-28T02:32:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.716805'} 2024-10-28 02:32:15,584 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-10-28 02:32:15,584 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25185465 passed 2024-10-28 02:32:15,585 - DEBUG - ====Verifying policy data for ctest-vn-25185465 in API_Server ====== 2024-10-28 02:32:15,585 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-28 02:32:15,592 - DEBUG - Requesting: http://10.0.0.32:8082/domain/51ad6298-d170-4109-b48a-f07afad31756 2024-10-28 02:32:15,608 - DEBUG - Requesting: http://10.0.0.32:8082/project/4963a66a-5436-471a-af75-22063332bbcb 2024-10-28 02:32:15,697 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/237303e1-8a91-40c4-9230-187b14967126 2024-10-28 02:32:15,714 - DEBUG - ==>Verifying data for policy with id: eb97c356-83c3-4a2c-b6e4-f73cd1581cb9, fqn: ['default-domain', 'ctest-TestBasicPolicy-31296267', 'ctest-policy-allow-all-47353425'] 2024-10-28 02:32:15,714 - INFO - VN ctest-vn-25185465 Policy verification: verify_vn_policy_in_api_server, status: True 2024-10-28 02:32:15,714 - DEBUG - Verifying the vn in opserver 2024-10-28 02:32:15,714 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31296267:ctest-vn-25185465 virtual network link through opserver 10.0.0.32 2024-10-28 02:32:15,714 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-10-28 02:32:15,728 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31296267:ctest-vn-25185465', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31296267:ctest-vn-25185465?flat'} 2024-10-28 02:32:15,728 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31296267:ctest-vn-25185465 is found in opserver 2024-10-28 02:32:15,741 - DEBUG - Do not have enough data to verify VN in agent 2024-10-28 02:32:15,747 - DEBUG - VRF ids for VN ctest-vn-25185465: {} 2024-10-28 02:32:15,809 - DEBUG - Services list from nova: [, , ] 2024-10-28 02:32:16,965 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2157-1) 2024-10-28 02:32:18,462 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2157-1) 2024-10-28 02:32:18,463 - INFO - Waiting for VM ctest-TestBasicPolicy-31296267-91202140 to be up.. 2024-10-28 02:32:18,569 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-28 02:32:23,829 - DEBUG - VM is in ACTIVE state now 2024-10-28 02:32:23,829 - INFO - VM name : ctest-TestBasicPolicy-31296267-91202140 2024-10-28 02:32:24,010 - DEBUG - VM ctest-TestBasicPolicy-31296267-91202140 ID is 0ad07638-51b3-4cac-a999-98021f7098b6 2024-10-28 02:32:24,076 - DEBUG - VM ctest-TestBasicPolicy-31296267-91202140 launched on Node cn-jenkins-deploy-platform-ansible-os-2157-1. 2024-10-28 02:32:24,276 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/0ad07638-51b3-4cac-a999-98021f7098b6 2024-10-28 02:32:24,299 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/74ef2bb9-6e6d-4caf-a848-7978d188216a 2024-10-28 02:32:27,589 - 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 1002ms') 2024-10-28 02:32:27,589 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31296267-91202140 failed! 2024-10-28 02:32:27,651 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31296267:ctest-vn-48998564 is 94.137.65.193 and allocation pool is NOT set 2024-10-28 02:32:29,723 - 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=6.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.49 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.486/4.611/6.736/2.125 ms') 2024-10-28 02:32:29,723 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31296267-91202140 passed 2024-10-28 02:32:29,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 02:32:29,887 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31296267-91202140, IP 94.137.65.195, Port 22 2024-10-28 02:32:30,052 - DEBUG - VM ctest-TestBasicPolicy-31296267-91202140 is ready for SSH connections 2024-10-28 02:32:30,052 - INFO - Waiting for VM ctest-TestBasicPolicy-31296267-30883855 to be up.. 2024-10-28 02:32:30,149 - DEBUG - VM is in ACTIVE state now 2024-10-28 02:32:30,149 - INFO - VM name : ctest-TestBasicPolicy-31296267-30883855 2024-10-28 02:32:30,250 - DEBUG - VM ctest-TestBasicPolicy-31296267-30883855 ID is 77bc0e60-e7e5-4fae-9244-21cc395e3011 2024-10-28 02:32:30,250 - DEBUG - VM ctest-TestBasicPolicy-31296267-30883855 launched on Node cn-jenkins-deploy-platform-ansible-os-2157-1. 2024-10-28 02:32:30,342 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/77bc0e60-e7e5-4fae-9244-21cc395e3011 2024-10-28 02:32:30,354 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/2eeba32d-2c5c-4b7c-858b-00e689d29138 2024-10-28 02:32:31,619 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.46 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.464/3.262/5.061/1.798 ms') 2024-10-28 02:32:31,619 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31296267-30883855 passed 2024-10-28 02:32:31,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 02:32:31,783 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31296267-30883855, IP 220.84.37.131, Port 22 2024-10-28 02:32:31,939 - DEBUG - VM ctest-TestBasicPolicy-31296267-30883855 is ready for SSH connections 2024-10-28 02:32:31,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 02:32:31,939 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.84.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-10-28 02:32:31,939 - DEBUG - ping -s 56 -c 3 -W 1 220.84.37.131 2024-10-28 02:32:36,097 - DEBUG - PING 220.84.37.131 (220.84.37.131): 56 data bytes 64 bytes from 220.84.37.131: seq=0 ttl=63 time=4.258 ms 64 bytes from 220.84.37.131: seq=1 ttl=63 time=0.918 ms 64 bytes from 220.84.37.131: seq=2 ttl=63 time=0.889 ms --- 220.84.37.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/2.021/4.258 ms 2024-10-28 02:32:36,097 - INFO - Ping to IP 220.84.37.131 from VM ctest-TestBasicPolicy-31296267-91202140 passed 2024-10-28 02:32:36,298 - DEBUG - Policy Update Response {"network-policy": {"uuid": "eb97c356-83c3-4a2c-b6e4-f73cd1581cb9", "href": "http://10.0.0.32:8082/network-policy/eb97c356-83c3-4a2c-b6e4-f73cd1581cb9"}} 2024-10-28 02:32:36,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 02:32:36,299 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.84.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-10-28 02:32:36,299 - DEBUG - ping -s 56 -c 3 -W 1 220.84.37.131 2024-10-28 02:32:39,544 - DEBUG - PING 220.84.37.131 (220.84.37.131): 56 data bytes 64 bytes from 220.84.37.131: seq=0 ttl=63 time=1.812 ms --- 220.84.37.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.812/1.812/1.812 ms 2024-10-28 02:32:39,544 - WARNING - Ping to IP 220.84.37.131 from VM ctest-TestBasicPolicy-31296267-91202140 failed 2024-10-28 02:32:39,544 - INFO - Deleting VM ctest-TestBasicPolicy-31296267-30883855 2024-10-28 02:32:39,625 - INFO - Deleting VM ctest-TestBasicPolicy-31296267-91202140 2024-10-28 02:32:40,109 - INFO - Deleted policy ctest-policy-allow-all-47353425 2024-10-28 02:32:40,109 - INFO - Deleting VN ctest-vn-25185465 2024-10-28 02:32:40,155 - DEBUG - VN 237303e1-8a91-40c4-9230-187b14967126 still in use: Unable to complete operation on network 237303e1-8a91-40c4-9230-187b14967126. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6cebf810-0551-48d9-b280-bd734f06d468'] 2024-10-28 02:32:40,155 - WARNING - Deleting VN ctest-vn-25185465 failed..Will retry 2024-10-28 02:32:42,279 - DEBUG - Response for deleting network () 2024-10-28 02:32:42,279 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/99dee541-7699-405b-bfb8-7941b93b60a4 2024-10-28 02:32:42,292 - DEBUG - Response Code: 404 2024-10-28 02:32:42,293 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-28 02:32:42,300 - DEBUG - Requesting: http://10.0.0.32:8082/domain/51ad6298-d170-4109-b48a-f07afad31756 2024-10-28 02:32:42,364 - DEBUG - Requesting: http://10.0.0.32:8082/project/4963a66a-5436-471a-af75-22063332bbcb 2024-10-28 02:32:42,452 - INFO - Validated that VN ctest-vn-25185465 is not found in API Server 2024-10-28 02:32:42,464 - DEBUG - VN ctest-vn-25185465 is not present in Agent 10.0.0.32 2024-10-28 02:32:42,464 - INFO - Validated that VN ctest-vn-25185465 is not in any agent 2024-10-28 02:32:42,482 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25185465 info 2024-10-28 02:32:42,483 - INFO - Deleting VN ctest-vn-48998564 2024-10-28 02:32:42,617 - DEBUG - Response for deleting network () 2024-10-28 02:32:42,617 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/6cdcaa9b-b9c3-4e58-a028-85184823ecac 2024-10-28 02:32:42,624 - DEBUG - Response Code: 404 2024-10-28 02:32:42,625 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-28 02:32:42,636 - DEBUG - Requesting: http://10.0.0.32:8082/domain/51ad6298-d170-4109-b48a-f07afad31756 2024-10-28 02:32:42,694 - DEBUG - Requesting: http://10.0.0.32:8082/project/4963a66a-5436-471a-af75-22063332bbcb 2024-10-28 02:32:42,782 - INFO - Validated that VN ctest-vn-48998564 is not found in API Server 2024-10-28 02:32:42,795 - DEBUG - VN ctest-vn-48998564 is not present in Agent 10.0.0.32 2024-10-28 02:32:42,795 - INFO - Validated that VN ctest-vn-48998564 is not in any agent 2024-10-28 02:32:42,812 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48998564 info 2024-10-28 02:32:43,071 - DEBUG - No XMPP flaps were noticed during the test 2024-10-28 02:32:43,072 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2024-10-28 02:32:43,072 - INFO - -------------------------------------------------------------------------------- 2024-10-28 02:32:43,818 - INFO - Deleted project: ctest-TestBasicPolicy-31296267, ID : 4963a66a-5436-471a-af75-22063332bbcb