2024-11-04 03:44:17,395 - INFO - Domain Default found not creating 2024-11-04 03:44:17,592 - INFO - Project ctest-TestBasicPolicy-44931273 not found, creating it 2024-11-04 03:44:18,102 - INFO - Created Project:ctest-TestBasicPolicy-44931273, ID : d4717d45-618a-4f2a-b453-74bb218446b8 2024-11-04 03:44:19,672 - INFO - ================================================================================ 2024-11-04 03:44:19,672 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-11-04 03:44:19,672 - 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-04 03:44:19,929 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.22': '0'}} with 2024-11-04 03:44:19,929 - INFO - Initial checks done. Running the testcase now 2024-11-04 03:44:19,929 - INFO - 2024-11-04 03:44:20,522 - DEBUG - Response for create_network : {'network': {'id': '2a798bbb-c8c0-4f36-89c0-ddca49dc94fe', 'name': 'ctest-vn-56663777', 'tenant_id': 'd4717d45618a4f2ab45374bb218446b8', 'project_id': 'd4717d45618a4f2ab45374bb218446b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44931273', 'ctest-vn-56663777'], 'port_security_enabled': True, 'description': ''}} 2024-11-04 03:44:20,686 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f5cd4ad-4132-4e6c-80a4-44b5cc1b54be', 'name': '', 'tenant_id': 'd4717d45618a4f2ab45374bb218446b8', 'network_id': '2a798bbb-c8c0-4f36-89c0-ddca49dc94fe', 'ip_version': 4, 'cidr': '164.117.96.0/26', 'allocation_pools': [{'start': '164.117.96.2', 'end': '164.117.96.62'}], 'gateway_ip': '164.117.96.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.117.96.2', 'tags': [], 'project_id': 'd4717d45618a4f2ab45374bb218446b8'}} 2024-11-04 03:44:20,708 - INFO - Created VN ctest-vn-56663777 2024-11-04 03:44:20,771 - DEBUG - VN ctest-vn-56663777 UUID is 2a798bbb-c8c0-4f36-89c0-ddca49dc94fe 2024-11-04 03:44:21,117 - DEBUG - Response for create_network : {'network': {'id': '5c6e7b18-5e96-4ba1-8fec-0e08056da2da', 'name': 'ctest-vn-14375965', 'tenant_id': 'd4717d45618a4f2ab45374bb218446b8', 'project_id': 'd4717d45618a4f2ab45374bb218446b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44931273', 'ctest-vn-14375965'], 'port_security_enabled': True, 'description': ''}} 2024-11-04 03:44:21,287 - DEBUG - Response for create_subnet : {'subnet': {'id': '853982d2-90e2-416f-9c32-8c08356c83cf', 'name': '', 'tenant_id': 'd4717d45618a4f2ab45374bb218446b8', 'network_id': '5c6e7b18-5e96-4ba1-8fec-0e08056da2da', 'ip_version': 4, 'cidr': '79.43.51.192/26', 'allocation_pools': [{'start': '79.43.51.194', 'end': '79.43.51.254'}], 'gateway_ip': '79.43.51.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.43.51.194', 'tags': [], 'project_id': 'd4717d45618a4f2ab45374bb218446b8'}} 2024-11-04 03:44:21,309 - INFO - Created VN ctest-vn-14375965 2024-11-04 03:44:21,367 - DEBUG - VN ctest-vn-14375965 UUID is 5c6e7b18-5e96-4ba1-8fec-0e08056da2da 2024-11-04 03:44:21,499 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44931273:ctest-vn-56663777, 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-44931273:ctest-vn-14375965, 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-04 03:44:21,819 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2a798bbb-c8c0-4f36-89c0-ddca49dc94fe', 'name': 'ctest-vn-56663777', 'tenant_id': 'd4717d45618a4f2ab45374bb218446b8', 'project_id': 'd4717d45618a4f2ab45374bb218446b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f5cd4ad-4132-4e6c-80a4-44b5cc1b54be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44931273', 'ctest-vn-56663777'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44931273', 'ctest-policy-allow-all-10138491']], 'subnet_ipam': [{'subnet_cidr': '164.117.96.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-04 03:44:22,079 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5c6e7b18-5e96-4ba1-8fec-0e08056da2da', 'name': 'ctest-vn-14375965', 'tenant_id': 'd4717d45618a4f2ab45374bb218446b8', 'project_id': 'd4717d45618a4f2ab45374bb218446b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['853982d2-90e2-416f-9c32-8c08356c83cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44931273', 'ctest-vn-14375965'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44931273', 'ctest-policy-allow-all-10138491']], 'subnet_ipam': [{'subnet_cidr': '79.43.51.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-04 03:44:22,255 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2024-11-04 03:44:22,564 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2024-11-04 03:44:22,599 - DEBUG - Requesting: http://10.0.0.23:8082/domain/b087c328-9d92-4400-921b-83fed47c14b5 2024-11-04 03:44:22,619 - DEBUG - Requesting: http://10.0.0.23:8082/project/d4717d45-618a-4f2a-b453-74bb218446b8 2024-11-04 03:44:22,707 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/2a798bbb-c8c0-4f36-89c0-ddca49dc94fe 2024-11-04 03:44:22,723 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/2a798bbb-c8c0-4f36-89c0-ddca49dc94fe 2024-11-04 03:44:22,738 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/b04175ad-0807-4f35-916c-7a3d3593a478 2024-11-04 03:44:22,750 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/b04175ad-0807-4f35-916c-7a3d3593a478 2024-11-04 03:44:22,760 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/31612060-f988-4113-8b7a-45e2c63c3628 2024-11-04 03:44:22,768 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-04 03:44:22,769 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/2a798bbb-c8c0-4f36-89c0-ddca49dc94fe 2024-11-04 03:44:22,784 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/b04175ad-0807-4f35-916c-7a3d3593a478 2024-11-04 03:44:22,806 - INFO - Verified VN network id 8 for VN 2a798bbb-c8c0-4f36-89c0-ddca49dc94fe 2024-11-04 03:44:22,806 - INFO - Verifications in API Server for VN ctest-vn-56663777 passed 2024-11-04 03:44:22,806 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/2a798bbb-c8c0-4f36-89c0-ddca49dc94fe 2024-11-04 03:44:22,821 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/b04175ad-0807-4f35-916c-7a3d3593a478 2024-11-04 03:44:22,832 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/b04175ad-0807-4f35-916c-7a3d3593a478 2024-11-04 03:44:22,842 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/31612060-f988-4113-8b7a-45e2c63c3628 2024-11-04 03:44:22,857 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44931273:ctest-vn-56663777', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44931273', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3060631060418154294', 'uuid-lslong': '9926177439616898302'}, 'enable': 'true', 'created': '2024-11-04T03:44:20', 'last-modified': '2024-11-04T03:44:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.061307'} 2024-11-04 03:44:22,864 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-04 03:44:22,864 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56663777 passed 2024-11-04 03:44:22,864 - DEBUG - ====Verifying policy data for ctest-vn-56663777 in API_Server ====== 2024-11-04 03:44:22,864 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2024-11-04 03:44:22,870 - DEBUG - Requesting: http://10.0.0.23:8082/domain/b087c328-9d92-4400-921b-83fed47c14b5 2024-11-04 03:44:22,884 - DEBUG - Requesting: http://10.0.0.23:8082/project/d4717d45-618a-4f2a-b453-74bb218446b8 2024-11-04 03:44:22,969 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/2a798bbb-c8c0-4f36-89c0-ddca49dc94fe 2024-11-04 03:44:22,986 - DEBUG - ==>Verifying data for policy with id: db1d1d39-4e1c-46f3-ba47-a446c89d3579, fqn: ['default-domain', 'ctest-TestBasicPolicy-44931273', 'ctest-policy-allow-all-10138491'] 2024-11-04 03:44:22,986 - INFO - VN ctest-vn-56663777 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-04 03:44:22,986 - DEBUG - Verifying the vn in opserver 2024-11-04 03:44:22,986 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44931273:ctest-vn-56663777 virtual network link through opserver 10.0.0.23 2024-11-04 03:44:22,986 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2024-11-04 03:44:23,286 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2024-11-04 03:44:23,356 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44931273:ctest-vn-56663777', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44931273:ctest-vn-56663777?flat'} 2024-11-04 03:44:23,356 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44931273:ctest-vn-56663777 is found in opserver 2024-11-04 03:44:23,367 - DEBUG - Do not have enough data to verify VN in agent 2024-11-04 03:44:23,372 - DEBUG - VRF ids for VN ctest-vn-56663777: {} 2024-11-04 03:44:23,372 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2024-11-04 03:44:23,379 - DEBUG - Requesting: http://10.0.0.23:8082/domain/b087c328-9d92-4400-921b-83fed47c14b5 2024-11-04 03:44:23,402 - DEBUG - Requesting: http://10.0.0.23:8082/project/d4717d45-618a-4f2a-b453-74bb218446b8 2024-11-04 03:44:23,487 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/5c6e7b18-5e96-4ba1-8fec-0e08056da2da 2024-11-04 03:44:23,507 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/5c6e7b18-5e96-4ba1-8fec-0e08056da2da 2024-11-04 03:44:23,526 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/62817396-ef59-4f0a-9dd5-43281d5eb2b8 2024-11-04 03:44:23,537 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/62817396-ef59-4f0a-9dd5-43281d5eb2b8 2024-11-04 03:44:23,548 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/934e5238-7562-4376-95e0-06774c7d2619 2024-11-04 03:44:23,557 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-04 03:44:23,557 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/5c6e7b18-5e96-4ba1-8fec-0e08056da2da 2024-11-04 03:44:23,573 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/62817396-ef59-4f0a-9dd5-43281d5eb2b8 2024-11-04 03:44:23,595 - INFO - Verified VN network id 9 for VN 5c6e7b18-5e96-4ba1-8fec-0e08056da2da 2024-11-04 03:44:23,595 - INFO - Verifications in API Server for VN ctest-vn-14375965 passed 2024-11-04 03:44:23,596 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/5c6e7b18-5e96-4ba1-8fec-0e08056da2da 2024-11-04 03:44:23,611 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/62817396-ef59-4f0a-9dd5-43281d5eb2b8 2024-11-04 03:44:23,621 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/62817396-ef59-4f0a-9dd5-43281d5eb2b8 2024-11-04 03:44:23,631 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/934e5238-7562-4376-95e0-06774c7d2619 2024-11-04 03:44:23,648 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44931273:ctest-vn-14375965', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44931273', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6660396243523881889', 'uuid-lslong': '10370679469541008090'}, 'enable': 'true', 'created': '2024-11-04T03:44:21', 'last-modified': '2024-11-04T03:44:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.601117'} 2024-11-04 03:44:23,657 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-04 03:44:23,657 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14375965 passed 2024-11-04 03:44:23,657 - DEBUG - ====Verifying policy data for ctest-vn-14375965 in API_Server ====== 2024-11-04 03:44:23,657 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2024-11-04 03:44:23,666 - DEBUG - Requesting: http://10.0.0.23:8082/domain/b087c328-9d92-4400-921b-83fed47c14b5 2024-11-04 03:44:23,682 - DEBUG - Requesting: http://10.0.0.23:8082/project/d4717d45-618a-4f2a-b453-74bb218446b8 2024-11-04 03:44:23,767 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/5c6e7b18-5e96-4ba1-8fec-0e08056da2da 2024-11-04 03:44:23,782 - DEBUG - ==>Verifying data for policy with id: db1d1d39-4e1c-46f3-ba47-a446c89d3579, fqn: ['default-domain', 'ctest-TestBasicPolicy-44931273', 'ctest-policy-allow-all-10138491'] 2024-11-04 03:44:23,782 - INFO - VN ctest-vn-14375965 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-04 03:44:23,782 - DEBUG - Verifying the vn in opserver 2024-11-04 03:44:23,782 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44931273:ctest-vn-14375965 virtual network link through opserver 10.0.0.23 2024-11-04 03:44:23,783 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2024-11-04 03:44:23,795 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44931273:ctest-vn-14375965', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44931273:ctest-vn-14375965?flat'} 2024-11-04 03:44:23,795 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44931273:ctest-vn-14375965 is found in opserver 2024-11-04 03:44:23,807 - DEBUG - Do not have enough data to verify VN in agent 2024-11-04 03:44:23,812 - DEBUG - VRF ids for VN ctest-vn-14375965: {} 2024-11-04 03:44:23,873 - DEBUG - Services list from nova: [, , ] 2024-11-04 03:44:25,044 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2195-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2195-1) 2024-11-04 03:44:26,256 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2195-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2195-1) 2024-11-04 03:44:26,256 - INFO - Waiting for VM ctest-TestBasicPolicy-44931273-07034149 to be up.. 2024-11-04 03:44:26,358 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-04 03:44:31,462 - DEBUG - VM is in ACTIVE state now 2024-11-04 03:44:31,462 - INFO - VM name : ctest-TestBasicPolicy-44931273-07034149 2024-11-04 03:44:31,555 - DEBUG - VM ctest-TestBasicPolicy-44931273-07034149 ID is 3a8e573d-1b3f-49f0-a843-188de945c20f 2024-11-04 03:44:31,574 - DEBUG - VM ctest-TestBasicPolicy-44931273-07034149 launched on Node cn-jenkins-deploy-platform-ansible-os-2195-1 2024-11-04 03:44:31,667 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/3a8e573d-1b3f-49f0-a843-188de945c20f 2024-11-04 03:44:31,679 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f60d1c23-99bd-418a-9d41-24c3c7b22855 2024-11-04 03:44:34,973 - 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 1031ms') 2024-11-04 03:44:34,973 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44931273-07034149 failed! 2024-11-04 03:44:35,035 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-44931273:ctest-vn-56663777 is 164.117.96.1 and allocation pool is NOT set 2024-11-04 03:44:37,096 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.501 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.501/5.269/10.037/4.768 ms') 2024-11-04 03:44:37,096 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44931273-07034149 passed 2024-11-04 03:44:37,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 03:44:37,255 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44931273-07034149, IP 164.117.96.3, Port 22 2024-11-04 03:44:37,421 - DEBUG - VM ctest-TestBasicPolicy-44931273-07034149 is ready for SSH connections 2024-11-04 03:44:37,421 - INFO - Waiting for VM ctest-TestBasicPolicy-44931273-83519333 to be up.. 2024-11-04 03:44:37,627 - DEBUG - VM is in ACTIVE state now 2024-11-04 03:44:37,627 - INFO - VM name : ctest-TestBasicPolicy-44931273-83519333 2024-11-04 03:44:37,801 - DEBUG - VM ctest-TestBasicPolicy-44931273-83519333 ID is a7e3c614-936f-49cf-9aba-617c5a9d47d7 2024-11-04 03:44:37,801 - DEBUG - VM ctest-TestBasicPolicy-44931273-83519333 launched on Node cn-jenkins-deploy-platform-ansible-os-2195-1 2024-11-04 03:44:37,964 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/a7e3c614-936f-49cf-9aba-617c5a9d47d7 2024-11-04 03:44:37,986 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/799df0be-82cf-4c06-bb23-5d413525295e 2024-11-04 03:44:39,346 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.601 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.601/1.762/2.923/1.161 ms') 2024-11-04 03:44:39,346 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-44931273-83519333 passed 2024-11-04 03:44:39,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 03:44:39,515 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44931273-83519333, IP 79.43.51.195, Port 22 2024-11-04 03:44:39,683 - DEBUG - VM ctest-TestBasicPolicy-44931273-83519333 is ready for SSH connections 2024-11-04 03:44:39,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 03:44:39,683 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.43.51.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2024-11-04 03:44:39,683 - DEBUG - ping -s 56 -c 3 -W 1 79.43.51.195 2024-11-04 03:44:43,728 - DEBUG - PING 79.43.51.195 (79.43.51.195): 56 data bytes 64 bytes from 79.43.51.195: seq=0 ttl=63 time=4.921 ms 64 bytes from 79.43.51.195: seq=1 ttl=63 time=0.912 ms 64 bytes from 79.43.51.195: seq=2 ttl=63 time=1.001 ms --- 79.43.51.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.912/2.278/4.921 ms 2024-11-04 03:44:43,728 - INFO - Ping to IP 79.43.51.195 from VM ctest-TestBasicPolicy-44931273-07034149 passed 2024-11-04 03:44:43,939 - DEBUG - Policy Update Response {"network-policy": {"uuid": "db1d1d39-4e1c-46f3-ba47-a446c89d3579", "href": "http://10.0.0.23:8082/network-policy/db1d1d39-4e1c-46f3-ba47-a446c89d3579"}} 2024-11-04 03:44:43,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 03:44:43,939 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.43.51.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2024-11-04 03:44:43,939 - DEBUG - ping -s 56 -c 3 -W 1 79.43.51.195 2024-11-04 03:44:47,145 - DEBUG - PING 79.43.51.195 (79.43.51.195): 56 data bytes --- 79.43.51.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-11-04 03:44:47,145 - WARNING - Ping to IP 79.43.51.195 from VM ctest-TestBasicPolicy-44931273-07034149 failed 2024-11-04 03:44:47,145 - INFO - Deleting VM ctest-TestBasicPolicy-44931273-83519333 2024-11-04 03:44:47,220 - INFO - Deleting VM ctest-TestBasicPolicy-44931273-07034149 2024-11-04 03:44:47,684 - INFO - Deleted policy ctest-policy-allow-all-10138491 2024-11-04 03:44:47,684 - INFO - Deleting VN ctest-vn-14375965 2024-11-04 03:44:47,741 - DEBUG - VN 5c6e7b18-5e96-4ba1-8fec-0e08056da2da still in use: Unable to complete operation on network 5c6e7b18-5e96-4ba1-8fec-0e08056da2da. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-71a601bd-ad6e-4b8a-9fd7-3fa710e3e889'] 2024-11-04 03:44:47,742 - WARNING - Deleting VN ctest-vn-14375965 failed..Will retry 2024-11-04 03:44:49,867 - DEBUG - Response for deleting network () 2024-11-04 03:44:49,867 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/62817396-ef59-4f0a-9dd5-43281d5eb2b8 2024-11-04 03:44:49,873 - DEBUG - Response Code: 404 2024-11-04 03:44:49,874 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2024-11-04 03:44:49,880 - DEBUG - Requesting: http://10.0.0.23:8082/domain/b087c328-9d92-4400-921b-83fed47c14b5 2024-11-04 03:44:49,938 - DEBUG - Requesting: http://10.0.0.23:8082/project/d4717d45-618a-4f2a-b453-74bb218446b8 2024-11-04 03:44:50,027 - INFO - Validated that VN ctest-vn-14375965 is not found in API Server 2024-11-04 03:44:50,037 - DEBUG - VN ctest-vn-14375965 is not present in Agent 10.0.0.23 2024-11-04 03:44:50,038 - INFO - Validated that VN ctest-vn-14375965 is not in any agent 2024-11-04 03:44:50,054 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14375965 info 2024-11-04 03:44:50,054 - INFO - Deleting VN ctest-vn-56663777 2024-11-04 03:44:50,195 - DEBUG - Response for deleting network () 2024-11-04 03:44:50,195 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/b04175ad-0807-4f35-916c-7a3d3593a478 2024-11-04 03:44:50,201 - DEBUG - Response Code: 404 2024-11-04 03:44:50,202 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2024-11-04 03:44:50,208 - DEBUG - Requesting: http://10.0.0.23:8082/domain/b087c328-9d92-4400-921b-83fed47c14b5 2024-11-04 03:44:50,265 - DEBUG - Requesting: http://10.0.0.23:8082/project/d4717d45-618a-4f2a-b453-74bb218446b8 2024-11-04 03:44:50,360 - INFO - Validated that VN ctest-vn-56663777 is not found in API Server 2024-11-04 03:44:50,373 - DEBUG - VN ctest-vn-56663777 is not present in Agent 10.0.0.23 2024-11-04 03:44:50,373 - INFO - Validated that VN ctest-vn-56663777 is not in any agent 2024-11-04 03:44:50,394 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56663777 info 2024-11-04 03:44:50,652 - DEBUG - No XMPP flaps were noticed during the test 2024-11-04 03:44:50,652 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2024-11-04 03:44:50,652 - INFO - -------------------------------------------------------------------------------- 2024-11-04 03:44:51,402 - INFO - Deleted project: ctest-TestBasicPolicy-44931273, ID : d4717d45-618a-4f2a-b453-74bb218446b8