2024-11-07 22:05:39,875 - INFO - Domain Default found not creating 2024-11-07 22:05:40,038 - INFO - Project ctest-TestBasicPolicy-66604799 not found, creating it 2024-11-07 22:05:40,517 - INFO - Created Project:ctest-TestBasicPolicy-66604799, ID : 5451055c-438a-477e-9252-f89cdd520cbf 2024-11-07 22:05:42,027 - INFO - ================================================================================ 2024-11-07 22:05:42,027 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-11-07 22:05:42,027 - 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-11-07 22:05:42,280 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.7': '0'}} with 2024-11-07 22:05:42,281 - INFO - Initial checks done. Running the testcase now 2024-11-07 22:05:42,281 - INFO - 2024-11-07 22:05:42,857 - DEBUG - Response for create_network : {'network': {'id': '3d8c64b9-15c6-4ae0-ac85-32c36319edab', 'name': 'ctest-vn-73513432', 'tenant_id': '5451055c438a477e9252f89cdd520cbf', 'project_id': '5451055c438a477e9252f89cdd520cbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66604799', 'ctest-vn-73513432'], 'port_security_enabled': True, 'description': ''}} 2024-11-07 22:05:43,082 - DEBUG - Response for create_subnet : {'subnet': {'id': '89dd7f58-4065-4623-a4ef-364c82572305', 'name': '', 'tenant_id': '5451055c438a477e9252f89cdd520cbf', 'network_id': '3d8c64b9-15c6-4ae0-ac85-32c36319edab', 'ip_version': 4, 'cidr': '39.181.138.192/26', 'allocation_pools': [{'start': '39.181.138.194', 'end': '39.181.138.254'}], 'gateway_ip': '39.181.138.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.181.138.194', 'tags': [], 'project_id': '5451055c438a477e9252f89cdd520cbf'}} 2024-11-07 22:05:43,103 - INFO - Created VN ctest-vn-73513432 2024-11-07 22:05:43,162 - DEBUG - VN ctest-vn-73513432 UUID is 3d8c64b9-15c6-4ae0-ac85-32c36319edab 2024-11-07 22:05:43,456 - DEBUG - Response for create_network : {'network': {'id': '752110f9-a0ab-405d-8b0a-2167787086bf', 'name': 'ctest-vn-90372871', 'tenant_id': '5451055c438a477e9252f89cdd520cbf', 'project_id': '5451055c438a477e9252f89cdd520cbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66604799', 'ctest-vn-90372871'], 'port_security_enabled': True, 'description': ''}} 2024-11-07 22:05:43,662 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da5ca583-5944-49ea-be6f-c03552896372', 'name': '', 'tenant_id': '5451055c438a477e9252f89cdd520cbf', 'network_id': '752110f9-a0ab-405d-8b0a-2167787086bf', 'ip_version': 4, 'cidr': '134.105.176.64/26', 'allocation_pools': [{'start': '134.105.176.66', 'end': '134.105.176.126'}], 'gateway_ip': '134.105.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.105.176.66', 'tags': [], 'project_id': '5451055c438a477e9252f89cdd520cbf'}} 2024-11-07 22:05:43,681 - INFO - Created VN ctest-vn-90372871 2024-11-07 22:05:43,738 - DEBUG - VN ctest-vn-90372871 UUID is 752110f9-a0ab-405d-8b0a-2167787086bf 2024-11-07 22:05:43,859 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66604799:ctest-vn-73513432, 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-66604799:ctest-vn-90372871, 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-11-07 22:05:44,169 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3d8c64b9-15c6-4ae0-ac85-32c36319edab', 'name': 'ctest-vn-73513432', 'tenant_id': '5451055c438a477e9252f89cdd520cbf', 'project_id': '5451055c438a477e9252f89cdd520cbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['89dd7f58-4065-4623-a4ef-364c82572305'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66604799', 'ctest-vn-73513432'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66604799', 'ctest-policy-allow-all-69125622']], 'subnet_ipam': [{'subnet_cidr': '39.181.138.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-07 22:05:44,414 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '752110f9-a0ab-405d-8b0a-2167787086bf', 'name': 'ctest-vn-90372871', 'tenant_id': '5451055c438a477e9252f89cdd520cbf', 'project_id': '5451055c438a477e9252f89cdd520cbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['da5ca583-5944-49ea-be6f-c03552896372'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66604799', 'ctest-vn-90372871'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66604799', 'ctest-policy-allow-all-69125622']], 'subnet_ipam': [{'subnet_cidr': '134.105.176.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-07 22:05:44,594 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-11-07 22:05:44,888 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-11-07 22:05:44,930 - DEBUG - Requesting: http://10.0.0.22:8082/domain/66b65ec5-15e0-4afc-9c11-67c4b5aa4550 2024-11-07 22:05:44,946 - DEBUG - Requesting: http://10.0.0.22:8082/project/5451055c-438a-477e-9252-f89cdd520cbf 2024-11-07 22:05:45,204 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d8c64b9-15c6-4ae0-ac85-32c36319edab 2024-11-07 22:05:45,232 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d8c64b9-15c6-4ae0-ac85-32c36319edab 2024-11-07 22:05:45,271 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7459be00-53e3-4326-a007-7043cb599e3f 2024-11-07 22:05:45,322 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7459be00-53e3-4326-a007-7043cb599e3f 2024-11-07 22:05:45,336 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/af0391bf-7a7c-48a5-8792-1a7b6bf19bce 2024-11-07 22:05:45,349 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-07 22:05:45,349 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d8c64b9-15c6-4ae0-ac85-32c36319edab 2024-11-07 22:05:45,367 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7459be00-53e3-4326-a007-7043cb599e3f 2024-11-07 22:05:45,412 - INFO - Verified VN network id 9 for VN 3d8c64b9-15c6-4ae0-ac85-32c36319edab 2024-11-07 22:05:45,413 - INFO - Verifications in API Server for VN ctest-vn-73513432 passed 2024-11-07 22:05:45,413 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d8c64b9-15c6-4ae0-ac85-32c36319edab 2024-11-07 22:05:45,430 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7459be00-53e3-4326-a007-7043cb599e3f 2024-11-07 22:05:45,444 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7459be00-53e3-4326-a007-7043cb599e3f 2024-11-07 22:05:45,458 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/af0391bf-7a7c-48a5-8792-1a7b6bf19bce 2024-11-07 22:05:45,479 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66604799:ctest-vn-73513432', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66604799', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4435030479150140128', 'uuid-lslong': '12431398161188777387'}, 'enable': 'true', 'created': '2024-11-07T22:05:42', 'last-modified': '2024-11-07T22:05:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.336027'} 2024-11-07 22:05:45,486 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-07 22:05:45,486 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73513432 passed 2024-11-07 22:05:45,486 - DEBUG - ====Verifying policy data for ctest-vn-73513432 in API_Server ====== 2024-11-07 22:05:45,486 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-11-07 22:05:45,495 - DEBUG - Requesting: http://10.0.0.22:8082/domain/66b65ec5-15e0-4afc-9c11-67c4b5aa4550 2024-11-07 22:05:45,525 - DEBUG - Requesting: http://10.0.0.22:8082/project/5451055c-438a-477e-9252-f89cdd520cbf 2024-11-07 22:05:45,660 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d8c64b9-15c6-4ae0-ac85-32c36319edab 2024-11-07 22:05:45,689 - DEBUG - ==>Verifying data for policy with id: d7712e63-988e-4561-8854-325a4f76730e, fqn: ['default-domain', 'ctest-TestBasicPolicy-66604799', 'ctest-policy-allow-all-69125622'] 2024-11-07 22:05:45,689 - INFO - VN ctest-vn-73513432 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-07 22:05:45,689 - DEBUG - Verifying the vn in opserver 2024-11-07 22:05:45,689 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66604799:ctest-vn-73513432 virtual network link through opserver 10.0.0.22 2024-11-07 22:05:45,689 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2024-11-07 22:05:46,003 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2024-11-07 22:05:46,070 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66604799:ctest-vn-73513432', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66604799:ctest-vn-73513432?flat'} 2024-11-07 22:05:46,070 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66604799:ctest-vn-73513432 is found in opserver 2024-11-07 22:05:46,082 - DEBUG - Do not have enough data to verify VN in agent 2024-11-07 22:05:46,089 - DEBUG - VRF ids for VN ctest-vn-73513432: {} 2024-11-07 22:05:46,089 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-11-07 22:05:46,095 - DEBUG - Requesting: http://10.0.0.22:8082/domain/66b65ec5-15e0-4afc-9c11-67c4b5aa4550 2024-11-07 22:05:46,117 - DEBUG - Requesting: http://10.0.0.22:8082/project/5451055c-438a-477e-9252-f89cdd520cbf 2024-11-07 22:05:46,165 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/752110f9-a0ab-405d-8b0a-2167787086bf 2024-11-07 22:05:46,181 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/752110f9-a0ab-405d-8b0a-2167787086bf 2024-11-07 22:05:46,197 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ea5c65ba-05ff-4016-90da-997dae9f9ad6 2024-11-07 22:05:46,205 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ea5c65ba-05ff-4016-90da-997dae9f9ad6 2024-11-07 22:05:46,212 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a260717a-3299-4732-b1e8-d7194baa5dfe 2024-11-07 22:05:46,218 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-07 22:05:46,219 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/752110f9-a0ab-405d-8b0a-2167787086bf 2024-11-07 22:05:46,230 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ea5c65ba-05ff-4016-90da-997dae9f9ad6 2024-11-07 22:05:46,248 - INFO - Verified VN network id 10 for VN 752110f9-a0ab-405d-8b0a-2167787086bf 2024-11-07 22:05:46,248 - INFO - Verifications in API Server for VN ctest-vn-90372871 passed 2024-11-07 22:05:46,248 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/752110f9-a0ab-405d-8b0a-2167787086bf 2024-11-07 22:05:46,261 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ea5c65ba-05ff-4016-90da-997dae9f9ad6 2024-11-07 22:05:46,269 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ea5c65ba-05ff-4016-90da-997dae9f9ad6 2024-11-07 22:05:46,276 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a260717a-3299-4732-b1e8-d7194baa5dfe 2024-11-07 22:05:46,289 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66604799:ctest-vn-90372871', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66604799', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8440045840997498973', 'uuid-lslong': '10018857049325078207'}, 'enable': 'true', 'created': '2024-11-07T22:05:43', 'last-modified': '2024-11-07T22:05:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.906732'} 2024-11-07 22:05:46,295 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-07 22:05:46,295 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90372871 passed 2024-11-07 22:05:46,295 - DEBUG - ====Verifying policy data for ctest-vn-90372871 in API_Server ====== 2024-11-07 22:05:46,295 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-11-07 22:05:46,301 - DEBUG - Requesting: http://10.0.0.22:8082/domain/66b65ec5-15e0-4afc-9c11-67c4b5aa4550 2024-11-07 22:05:46,312 - DEBUG - Requesting: http://10.0.0.22:8082/project/5451055c-438a-477e-9252-f89cdd520cbf 2024-11-07 22:05:46,396 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/752110f9-a0ab-405d-8b0a-2167787086bf 2024-11-07 22:05:46,409 - DEBUG - ==>Verifying data for policy with id: d7712e63-988e-4561-8854-325a4f76730e, fqn: ['default-domain', 'ctest-TestBasicPolicy-66604799', 'ctest-policy-allow-all-69125622'] 2024-11-07 22:05:46,409 - INFO - VN ctest-vn-90372871 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-07 22:05:46,409 - DEBUG - Verifying the vn in opserver 2024-11-07 22:05:46,410 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66604799:ctest-vn-90372871 virtual network link through opserver 10.0.0.22 2024-11-07 22:05:46,410 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2024-11-07 22:05:46,420 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66604799:ctest-vn-90372871', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66604799:ctest-vn-90372871?flat'} 2024-11-07 22:05:46,420 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66604799:ctest-vn-90372871 is found in opserver 2024-11-07 22:05:46,431 - DEBUG - Do not have enough data to verify VN in agent 2024-11-07 22:05:46,436 - DEBUG - VRF ids for VN ctest-vn-90372871: {} 2024-11-07 22:05:46,486 - DEBUG - Services list from nova: [, , ] 2024-11-07 22:05:47,500 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2222-1) 2024-11-07 22:05:48,729 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2222-1) 2024-11-07 22:05:48,730 - INFO - Waiting for VM ctest-TestBasicPolicy-66604799-18838796 to be up.. 2024-11-07 22:05:48,813 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-07 22:05:53,895 - DEBUG - VM is in ACTIVE state now 2024-11-07 22:05:53,896 - INFO - VM name : ctest-TestBasicPolicy-66604799-18838796 2024-11-07 22:05:53,975 - DEBUG - VM ctest-TestBasicPolicy-66604799-18838796 ID is 791604c3-f62f-49da-a733-a2a1293e5bde 2024-11-07 22:05:53,994 - DEBUG - VM ctest-TestBasicPolicy-66604799-18838796 launched on Node cn-jenkins-deploy-platform-ansible-os-2222-1 2024-11-07 22:05:54,070 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/791604c3-f62f-49da-a733-a2a1293e5bde 2024-11-07 22:05:54,081 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/02588fb0-f4d9-4368-817f-7d81229485e6 2024-11-07 22:05:57,361 - 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 1032ms') 2024-11-07 22:05:57,362 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66604799-18838796 failed! 2024-11-07 22:05:57,422 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66604799:ctest-vn-73513432 is 39.181.138.193 and allocation pool is NOT set 2024-11-07 22:05:59,487 - 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=5.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.35 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.348/3.249/5.150/1.901 ms') 2024-11-07 22:05:59,488 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66604799-18838796 passed 2024-11-07 22:05:59,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 22:05:59,650 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66604799-18838796, IP 39.181.138.195, Port 22 2024-11-07 22:05:59,805 - DEBUG - VM ctest-TestBasicPolicy-66604799-18838796 is ready for SSH connections 2024-11-07 22:05:59,806 - INFO - Waiting for VM ctest-TestBasicPolicy-66604799-24436588 to be up.. 2024-11-07 22:05:59,894 - DEBUG - VM is in ACTIVE state now 2024-11-07 22:05:59,894 - INFO - VM name : ctest-TestBasicPolicy-66604799-24436588 2024-11-07 22:05:59,967 - DEBUG - VM ctest-TestBasicPolicy-66604799-24436588 ID is d6d0a8f9-93fc-4d99-8080-f6bb3c0e5c78 2024-11-07 22:05:59,967 - DEBUG - VM ctest-TestBasicPolicy-66604799-24436588 launched on Node cn-jenkins-deploy-platform-ansible-os-2222-1 2024-11-07 22:06:00,042 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d6d0a8f9-93fc-4d99-8080-f6bb3c0e5c78 2024-11-07 22:06:00,051 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a9c8b83f-87e1-4265-8a62-f3fdc218efb9 2024-11-07 22:06:01,302 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 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.402/1.560/2.718/1.158 ms') 2024-11-07 22:06:01,302 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66604799-24436588 passed 2024-11-07 22:06:01,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 22:06:01,458 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66604799-24436588, IP 134.105.176.67, Port 22 2024-11-07 22:06:01,614 - DEBUG - VM ctest-TestBasicPolicy-66604799-24436588 is ready for SSH connections 2024-11-07 22:06:01,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 22:06:01,614 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.105.176.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-11-07 22:06:01,614 - DEBUG - ping -s 56 -c 3 -W 1 134.105.176.67 2024-11-07 22:06:05,285 - DEBUG - PING 134.105.176.67 (134.105.176.67): 56 data bytes 64 bytes from 134.105.176.67: seq=0 ttl=63 time=3.110 ms 64 bytes from 134.105.176.67: seq=1 ttl=63 time=0.749 ms 64 bytes from 134.105.176.67: seq=2 ttl=63 time=0.616 ms --- 134.105.176.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.616/1.491/3.110 ms 2024-11-07 22:06:05,285 - INFO - Ping to IP 134.105.176.67 from VM ctest-TestBasicPolicy-66604799-18838796 passed 2024-11-07 22:06:05,482 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d7712e63-988e-4561-8854-325a4f76730e", "href": "http://10.0.0.22:8082/network-policy/d7712e63-988e-4561-8854-325a4f76730e"}} 2024-11-07 22:06:05,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 22:06:05,482 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.105.176.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-11-07 22:06:05,482 - DEBUG - ping -s 56 -c 3 -W 1 134.105.176.67 2024-11-07 22:06:08,679 - DEBUG - PING 134.105.176.67 (134.105.176.67): 56 data bytes 64 bytes from 134.105.176.67: seq=0 ttl=63 time=1.407 ms --- 134.105.176.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.407/1.407/1.407 ms 2024-11-07 22:06:08,680 - WARNING - Ping to IP 134.105.176.67 from VM ctest-TestBasicPolicy-66604799-18838796 failed 2024-11-07 22:06:08,680 - INFO - Deleting VM ctest-TestBasicPolicy-66604799-24436588 2024-11-07 22:06:08,745 - INFO - Deleting VM ctest-TestBasicPolicy-66604799-18838796 2024-11-07 22:06:09,129 - INFO - Deleted policy ctest-policy-allow-all-69125622 2024-11-07 22:06:09,129 - INFO - Deleting VN ctest-vn-90372871 2024-11-07 22:06:09,168 - DEBUG - VN 752110f9-a0ab-405d-8b0a-2167787086bf still in use: Unable to complete operation on network 752110f9-a0ab-405d-8b0a-2167787086bf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-17753154-bfdb-47af-a436-7718a6dbbe28'] 2024-11-07 22:06:09,168 - WARNING - Deleting VN ctest-vn-90372871 failed..Will retry 2024-11-07 22:06:11,275 - DEBUG - Response for deleting network () 2024-11-07 22:06:11,275 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ea5c65ba-05ff-4016-90da-997dae9f9ad6 2024-11-07 22:06:11,285 - DEBUG - Response Code: 404 2024-11-07 22:06:11,285 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-11-07 22:06:11,290 - DEBUG - Requesting: http://10.0.0.22:8082/domain/66b65ec5-15e0-4afc-9c11-67c4b5aa4550 2024-11-07 22:06:11,345 - DEBUG - Requesting: http://10.0.0.22:8082/project/5451055c-438a-477e-9252-f89cdd520cbf 2024-11-07 22:06:11,436 - INFO - Validated that VN ctest-vn-90372871 is not found in API Server 2024-11-07 22:06:11,446 - DEBUG - VN ctest-vn-90372871 is not present in Agent 10.0.0.22 2024-11-07 22:06:11,446 - INFO - Validated that VN ctest-vn-90372871 is not in any agent 2024-11-07 22:06:11,460 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90372871 info 2024-11-07 22:06:11,460 - INFO - Deleting VN ctest-vn-73513432 2024-11-07 22:06:11,567 - DEBUG - Response for deleting network () 2024-11-07 22:06:11,568 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7459be00-53e3-4326-a007-7043cb599e3f 2024-11-07 22:06:11,574 - DEBUG - Response Code: 404 2024-11-07 22:06:11,574 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-11-07 22:06:11,580 - DEBUG - Requesting: http://10.0.0.22:8082/domain/66b65ec5-15e0-4afc-9c11-67c4b5aa4550 2024-11-07 22:06:11,636 - DEBUG - Requesting: http://10.0.0.22:8082/project/5451055c-438a-477e-9252-f89cdd520cbf 2024-11-07 22:06:11,716 - INFO - Validated that VN ctest-vn-73513432 is not found in API Server 2024-11-07 22:06:11,727 - DEBUG - VN ctest-vn-73513432 is not present in Agent 10.0.0.22 2024-11-07 22:06:11,727 - INFO - Validated that VN ctest-vn-73513432 is not in any agent 2024-11-07 22:06:11,741 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73513432 info 2024-11-07 22:06:11,996 - DEBUG - No XMPP flaps were noticed during the test 2024-11-07 22:06:11,996 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2024-11-07 22:06:11,996 - INFO - -------------------------------------------------------------------------------- 2024-11-07 22:06:12,695 - INFO - Deleted project: ctest-TestBasicPolicy-66604799, ID : 5451055c-438a-477e-9252-f89cdd520cbf