2024-08-23 15:30:31,367 - INFO - Domain Default found not creating 2024-08-23 15:30:31,641 - INFO - Project ctest-TestBasicPolicy-17554919 not found, creating it 2024-08-23 15:30:32,120 - INFO - Created Project:ctest-TestBasicPolicy-17554919, ID : 7844786f-5b9c-428f-8353-e01be79954c3 2024-08-23 15:30:33,652 - INFO - ================================================================================ 2024-08-23 15:30:33,652 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-23 15:30:33,652 - 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-08-23 15:30:33,912 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.6': '0'}} with 2024-08-23 15:30:33,912 - INFO - Initial checks done. Running the testcase now 2024-08-23 15:30:33,912 - INFO - 2024-08-23 15:30:34,478 - DEBUG - Response for create_network : {'network': {'id': '225d7efc-0b65-43f0-8793-b4118790fa03', 'name': 'ctest-vn-04525751', 'tenant_id': '7844786f5b9c428f8353e01be79954c3', 'project_id': '7844786f5b9c428f8353e01be79954c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17554919', 'ctest-vn-04525751'], 'port_security_enabled': True, 'description': ''}} 2024-08-23 15:30:34,665 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac4b48e2-c944-4e6b-af11-80df075bb478', 'name': '', 'tenant_id': '7844786f5b9c428f8353e01be79954c3', 'network_id': '225d7efc-0b65-43f0-8793-b4118790fa03', 'ip_version': 4, 'cidr': '156.221.207.0/26', 'allocation_pools': [{'start': '156.221.207.2', 'end': '156.221.207.62'}], 'gateway_ip': '156.221.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.221.207.2', 'tags': [], 'project_id': '7844786f5b9c428f8353e01be79954c3'}} 2024-08-23 15:30:34,683 - INFO - Created VN ctest-vn-04525751 2024-08-23 15:30:34,738 - DEBUG - VN ctest-vn-04525751 UUID is 225d7efc-0b65-43f0-8793-b4118790fa03 2024-08-23 15:30:35,029 - DEBUG - Response for create_network : {'network': {'id': 'd6668643-b843-4426-a9bc-2bd761c4a21f', 'name': 'ctest-vn-74827054', 'tenant_id': '7844786f5b9c428f8353e01be79954c3', 'project_id': '7844786f5b9c428f8353e01be79954c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17554919', 'ctest-vn-74827054'], 'port_security_enabled': True, 'description': ''}} 2024-08-23 15:30:35,270 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af3101e0-76e6-4dbf-9e9b-39061641db04', 'name': '', 'tenant_id': '7844786f5b9c428f8353e01be79954c3', 'network_id': 'd6668643-b843-4426-a9bc-2bd761c4a21f', 'ip_version': 4, 'cidr': '49.29.230.0/26', 'allocation_pools': [{'start': '49.29.230.2', 'end': '49.29.230.62'}], 'gateway_ip': '49.29.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.29.230.2', 'tags': [], 'project_id': '7844786f5b9c428f8353e01be79954c3'}} 2024-08-23 15:30:35,292 - INFO - Created VN ctest-vn-74827054 2024-08-23 15:30:35,346 - DEBUG - VN ctest-vn-74827054 UUID is d6668643-b843-4426-a9bc-2bd761c4a21f 2024-08-23 15:30:35,466 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17554919:ctest-vn-04525751, 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-17554919:ctest-vn-74827054, 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-08-23 15:30:35,769 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '225d7efc-0b65-43f0-8793-b4118790fa03', 'name': 'ctest-vn-04525751', 'tenant_id': '7844786f5b9c428f8353e01be79954c3', 'project_id': '7844786f5b9c428f8353e01be79954c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ac4b48e2-c944-4e6b-af11-80df075bb478'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17554919', 'ctest-vn-04525751'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17554919', 'ctest-policy-allow-all-31863416']], 'subnet_ipam': [{'subnet_cidr': '156.221.207.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-23 15:30:36,009 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd6668643-b843-4426-a9bc-2bd761c4a21f', 'name': 'ctest-vn-74827054', 'tenant_id': '7844786f5b9c428f8353e01be79954c3', 'project_id': '7844786f5b9c428f8353e01be79954c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['af3101e0-76e6-4dbf-9e9b-39061641db04'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17554919', 'ctest-vn-74827054'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17554919', 'ctest-policy-allow-all-31863416']], 'subnet_ipam': [{'subnet_cidr': '49.29.230.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-23 15:30:36,182 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-08-23 15:30:36,480 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-08-23 15:30:36,517 - DEBUG - Requesting: http://10.0.0.48:8082/domain/45b4c2c7-0e4d-4386-8d55-0f8a4f1790a7 2024-08-23 15:30:36,531 - DEBUG - Requesting: http://10.0.0.48:8082/project/7844786f-5b9c-428f-8353-e01be79954c3 2024-08-23 15:30:36,603 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/225d7efc-0b65-43f0-8793-b4118790fa03 2024-08-23 15:30:36,612 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/225d7efc-0b65-43f0-8793-b4118790fa03 2024-08-23 15:30:36,621 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c7252078-198f-464b-b497-6e749fb98c67 2024-08-23 15:30:36,628 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c7252078-198f-464b-b497-6e749fb98c67 2024-08-23 15:30:36,635 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/f59f0d43-748a-44cf-9eab-7e02e5770d49 2024-08-23 15:30:36,642 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-23 15:30:36,642 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/225d7efc-0b65-43f0-8793-b4118790fa03 2024-08-23 15:30:36,650 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c7252078-198f-464b-b497-6e749fb98c67 2024-08-23 15:30:36,662 - INFO - Verified VN network id 9 for VN 225d7efc-0b65-43f0-8793-b4118790fa03 2024-08-23 15:30:36,662 - INFO - Verifications in API Server for VN ctest-vn-04525751 passed 2024-08-23 15:30:36,662 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/225d7efc-0b65-43f0-8793-b4118790fa03 2024-08-23 15:30:36,671 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c7252078-198f-464b-b497-6e749fb98c67 2024-08-23 15:30:36,678 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c7252078-198f-464b-b497-6e749fb98c67 2024-08-23 15:30:36,687 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/f59f0d43-748a-44cf-9eab-7e02e5770d49 2024-08-23 15:30:36,705 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17554919:ctest-vn-04525751', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17554919', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2476274991111685104', 'uuid-lslong': '9769350004078606851'}, 'enable': 'true', 'created': '2024-08-23T15:30:34', 'last-modified': '2024-08-23T15:30:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.961276'} 2024-08-23 15:30:36,712 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-23 15:30:36,712 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04525751 passed 2024-08-23 15:30:36,713 - DEBUG - ====Verifying policy data for ctest-vn-04525751 in API_Server ====== 2024-08-23 15:30:36,713 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-08-23 15:30:36,720 - DEBUG - Requesting: http://10.0.0.48:8082/domain/45b4c2c7-0e4d-4386-8d55-0f8a4f1790a7 2024-08-23 15:30:36,736 - DEBUG - Requesting: http://10.0.0.48:8082/project/7844786f-5b9c-428f-8353-e01be79954c3 2024-08-23 15:30:36,815 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/225d7efc-0b65-43f0-8793-b4118790fa03 2024-08-23 15:30:36,825 - DEBUG - ==>Verifying data for policy with id: ac2c4fb5-b6f5-4705-ba3a-1b26171d7454, fqn: ['default-domain', 'ctest-TestBasicPolicy-17554919', 'ctest-policy-allow-all-31863416'] 2024-08-23 15:30:36,825 - INFO - VN ctest-vn-04525751 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-23 15:30:36,825 - DEBUG - Verifying the vn in opserver 2024-08-23 15:30:36,825 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17554919:ctest-vn-04525751 virtual network link through opserver 10.0.0.48 2024-08-23 15:30:36,825 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2024-08-23 15:30:37,123 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2024-08-23 15:30:37,191 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17554919:ctest-vn-04525751', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17554919:ctest-vn-04525751?flat'} 2024-08-23 15:30:37,191 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17554919:ctest-vn-04525751 is found in opserver 2024-08-23 15:30:37,203 - DEBUG - Do not have enough data to verify VN in agent 2024-08-23 15:30:37,209 - DEBUG - VRF ids for VN ctest-vn-04525751: {} 2024-08-23 15:30:37,209 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-08-23 15:30:37,216 - DEBUG - Requesting: http://10.0.0.48:8082/domain/45b4c2c7-0e4d-4386-8d55-0f8a4f1790a7 2024-08-23 15:30:37,229 - DEBUG - Requesting: http://10.0.0.48:8082/project/7844786f-5b9c-428f-8353-e01be79954c3 2024-08-23 15:30:37,300 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/d6668643-b843-4426-a9bc-2bd761c4a21f 2024-08-23 15:30:37,312 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/d6668643-b843-4426-a9bc-2bd761c4a21f 2024-08-23 15:30:37,321 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/aa9aa680-03f0-42dd-b72e-b43ec09c765e 2024-08-23 15:30:37,328 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/aa9aa680-03f0-42dd-b72e-b43ec09c765e 2024-08-23 15:30:37,336 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/676386e3-4579-4e0f-82a6-22abc1e06c72 2024-08-23 15:30:37,343 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-23 15:30:37,343 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/d6668643-b843-4426-a9bc-2bd761c4a21f 2024-08-23 15:30:37,354 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/aa9aa680-03f0-42dd-b72e-b43ec09c765e 2024-08-23 15:30:37,370 - INFO - Verified VN network id 10 for VN d6668643-b843-4426-a9bc-2bd761c4a21f 2024-08-23 15:30:37,370 - INFO - Verifications in API Server for VN ctest-vn-74827054 passed 2024-08-23 15:30:37,370 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/d6668643-b843-4426-a9bc-2bd761c4a21f 2024-08-23 15:30:37,383 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/aa9aa680-03f0-42dd-b72e-b43ec09c765e 2024-08-23 15:30:37,392 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/aa9aa680-03f0-42dd-b72e-b43ec09c765e 2024-08-23 15:30:37,399 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/676386e3-4579-4e0f-82a6-22abc1e06c72 2024-08-23 15:30:37,413 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17554919:ctest-vn-74827054', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17554919', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15449183197153412134', 'uuid-lslong': '12230698892089664031'}, 'enable': 'true', 'created': '2024-08-23T15:30:34', 'last-modified': '2024-08-23T15:30:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.425363'} 2024-08-23 15:30:37,419 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-23 15:30:37,420 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74827054 passed 2024-08-23 15:30:37,420 - DEBUG - ====Verifying policy data for ctest-vn-74827054 in API_Server ====== 2024-08-23 15:30:37,420 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-08-23 15:30:37,426 - DEBUG - Requesting: http://10.0.0.48:8082/domain/45b4c2c7-0e4d-4386-8d55-0f8a4f1790a7 2024-08-23 15:30:37,440 - DEBUG - Requesting: http://10.0.0.48:8082/project/7844786f-5b9c-428f-8353-e01be79954c3 2024-08-23 15:30:37,512 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/d6668643-b843-4426-a9bc-2bd761c4a21f 2024-08-23 15:30:37,523 - DEBUG - ==>Verifying data for policy with id: ac2c4fb5-b6f5-4705-ba3a-1b26171d7454, fqn: ['default-domain', 'ctest-TestBasicPolicy-17554919', 'ctest-policy-allow-all-31863416'] 2024-08-23 15:30:37,523 - INFO - VN ctest-vn-74827054 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-23 15:30:37,523 - DEBUG - Verifying the vn in opserver 2024-08-23 15:30:37,523 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17554919:ctest-vn-74827054 virtual network link through opserver 10.0.0.48 2024-08-23 15:30:37,523 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2024-08-23 15:30:37,535 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17554919:ctest-vn-74827054', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17554919:ctest-vn-74827054?flat'} 2024-08-23 15:30:37,535 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17554919:ctest-vn-74827054 is found in opserver 2024-08-23 15:30:37,546 - DEBUG - Do not have enough data to verify VN in agent 2024-08-23 15:30:37,552 - DEBUG - VRF ids for VN ctest-vn-74827054: {} 2024-08-23 15:30:37,606 - DEBUG - Services list from nova: [, , ] 2024-08-23 15:30:38,743 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1720-1) 2024-08-23 15:30:40,137 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1720-1) 2024-08-23 15:30:40,137 - INFO - Waiting for VM ctest-TestBasicPolicy-17554919-22426104 to be up.. 2024-08-23 15:30:40,238 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-23 15:30:45,321 - DEBUG - VM is in ACTIVE state now 2024-08-23 15:30:45,321 - INFO - VM name : ctest-TestBasicPolicy-17554919-22426104 2024-08-23 15:30:45,397 - DEBUG - VM ctest-TestBasicPolicy-17554919-22426104 ID is d9fb6f8f-c957-4b0f-bc66-8e884befb813 2024-08-23 15:30:45,414 - DEBUG - VM ctest-TestBasicPolicy-17554919-22426104 launched on Node cn-jenkins-deploy-platform-ansible-os-1720-1 2024-08-23 15:30:45,497 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/d9fb6f8f-c957-4b0f-bc66-8e884befb813 2024-08-23 15:30:45,506 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/0661ded4-22b2-461f-ad87-d40b5482c920 2024-08-23 15:30:48,772 - 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 1018ms') 2024-08-23 15:30:48,773 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17554919-22426104 failed! 2024-08-23 15:30:48,826 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17554919:ctest-vn-04525751 is 156.221.207.1 and allocation pool is NOT set 2024-08-23 15:30:50,887 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.804 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.804/3.203/5.602/2.399 ms') 2024-08-23 15:30:50,887 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17554919-22426104 passed 2024-08-23 15:30:51,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 15:30:51,046 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17554919-22426104, IP 156.221.207.3, Port 22 2024-08-23 15:30:51,201 - DEBUG - VM ctest-TestBasicPolicy-17554919-22426104 is ready for SSH connections 2024-08-23 15:30:51,201 - INFO - Waiting for VM ctest-TestBasicPolicy-17554919-82267012 to be up.. 2024-08-23 15:30:51,287 - DEBUG - VM is in ACTIVE state now 2024-08-23 15:30:51,287 - INFO - VM name : ctest-TestBasicPolicy-17554919-82267012 2024-08-23 15:30:51,371 - DEBUG - VM ctest-TestBasicPolicy-17554919-82267012 ID is 13c5aded-239f-42c7-b458-66e7b3e13218 2024-08-23 15:30:51,372 - DEBUG - VM ctest-TestBasicPolicy-17554919-82267012 launched on Node cn-jenkins-deploy-platform-ansible-os-1720-1 2024-08-23 15:30:51,463 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/13c5aded-239f-42c7-b458-66e7b3e13218 2024-08-23 15:30:51,474 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/220ad4a7-defc-4a5f-b80d-a433c54a04bb 2024-08-23 15:30:52,727 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 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.412/1.630/2.849/1.218 ms') 2024-08-23 15:30:52,727 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17554919-82267012 passed 2024-08-23 15:30:52,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 15:30:52,874 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17554919-82267012, IP 49.29.230.3, Port 22 2024-08-23 15:30:53,044 - DEBUG - VM ctest-TestBasicPolicy-17554919-82267012 is ready for SSH connections 2024-08-23 15:30:53,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 15:30:53,044 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.29.230.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2024-08-23 15:30:53,044 - DEBUG - ping -s 56 -c 3 -W 1 49.29.230.3 2024-08-23 15:30:56,746 - DEBUG - PING 49.29.230.3 (49.29.230.3): 56 data bytes 64 bytes from 49.29.230.3: seq=0 ttl=63 time=3.101 ms 64 bytes from 49.29.230.3: seq=1 ttl=63 time=0.814 ms 64 bytes from 49.29.230.3: seq=2 ttl=63 time=0.866 ms --- 49.29.230.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.814/1.593/3.101 ms 2024-08-23 15:30:56,747 - INFO - Ping to IP 49.29.230.3 from VM ctest-TestBasicPolicy-17554919-22426104 passed 2024-08-23 15:30:56,926 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ac2c4fb5-b6f5-4705-ba3a-1b26171d7454", "href": "http://10.0.0.48:8082/network-policy/ac2c4fb5-b6f5-4705-ba3a-1b26171d7454"}} 2024-08-23 15:30:56,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 15:30:56,926 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.29.230.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2024-08-23 15:30:56,926 - DEBUG - ping -s 56 -c 3 -W 1 49.29.230.3 2024-08-23 15:31:00,125 - DEBUG - PING 49.29.230.3 (49.29.230.3): 56 data bytes 64 bytes from 49.29.230.3: seq=0 ttl=63 time=1.619 ms --- 49.29.230.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.619/1.619/1.619 ms 2024-08-23 15:31:00,126 - WARNING - Ping to IP 49.29.230.3 from VM ctest-TestBasicPolicy-17554919-22426104 failed 2024-08-23 15:31:00,126 - INFO - Deleting VM ctest-TestBasicPolicy-17554919-82267012 2024-08-23 15:31:00,201 - INFO - Deleting VM ctest-TestBasicPolicy-17554919-22426104 2024-08-23 15:31:00,638 - INFO - Deleted policy ctest-policy-allow-all-31863416 2024-08-23 15:31:00,638 - INFO - Deleting VN ctest-vn-74827054 2024-08-23 15:31:00,694 - DEBUG - VN d6668643-b843-4426-a9bc-2bd761c4a21f still in use: Unable to complete operation on network d6668643-b843-4426-a9bc-2bd761c4a21f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d22d0ec8-07f3-4221-9b71-f11c945e8bbd'] 2024-08-23 15:31:00,694 - WARNING - Deleting VN ctest-vn-74827054 failed..Will retry 2024-08-23 15:31:02,812 - DEBUG - Response for deleting network () 2024-08-23 15:31:02,812 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/aa9aa680-03f0-42dd-b72e-b43ec09c765e 2024-08-23 15:31:02,818 - DEBUG - Response Code: 404 2024-08-23 15:31:02,818 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-08-23 15:31:02,824 - DEBUG - Requesting: http://10.0.0.48:8082/domain/45b4c2c7-0e4d-4386-8d55-0f8a4f1790a7 2024-08-23 15:31:02,879 - DEBUG - Requesting: http://10.0.0.48:8082/project/7844786f-5b9c-428f-8353-e01be79954c3 2024-08-23 15:31:02,949 - INFO - Validated that VN ctest-vn-74827054 is not found in API Server 2024-08-23 15:31:02,960 - DEBUG - VN ctest-vn-74827054 is not present in Agent 10.0.0.48 2024-08-23 15:31:02,960 - INFO - Validated that VN ctest-vn-74827054 is not in any agent 2024-08-23 15:31:02,977 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74827054 info 2024-08-23 15:31:02,977 - INFO - Deleting VN ctest-vn-04525751 2024-08-23 15:31:03,095 - DEBUG - Response for deleting network () 2024-08-23 15:31:03,095 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c7252078-198f-464b-b497-6e749fb98c67 2024-08-23 15:31:03,102 - DEBUG - Response Code: 404 2024-08-23 15:31:03,102 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-08-23 15:31:03,108 - DEBUG - Requesting: http://10.0.0.48:8082/domain/45b4c2c7-0e4d-4386-8d55-0f8a4f1790a7 2024-08-23 15:31:03,164 - DEBUG - Requesting: http://10.0.0.48:8082/project/7844786f-5b9c-428f-8353-e01be79954c3 2024-08-23 15:31:03,234 - INFO - Validated that VN ctest-vn-04525751 is not found in API Server 2024-08-23 15:31:03,244 - DEBUG - VN ctest-vn-04525751 is not present in Agent 10.0.0.48 2024-08-23 15:31:03,245 - INFO - Validated that VN ctest-vn-04525751 is not in any agent 2024-08-23 15:31:03,260 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04525751 info 2024-08-23 15:31:03,520 - DEBUG - No XMPP flaps were noticed during the test
2024-08-23 15:31:03,520 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2024-08-23 15:31:03,520 - INFO - -------------------------------------------------------------------------------- 2024-08-23 15:31:04,211 - INFO - Deleted project: ctest-TestBasicPolicy-17554919, ID : 7844786f-5b9c-428f-8353-e01be79954c3