2024-08-21 11:53:18,297 - INFO - Domain Default found not creating 2024-08-21 11:53:18,482 - INFO - Project ctest-TestBasicPolicy-06843699 not found, creating it 2024-08-21 11:53:19,428 - INFO - Created Project:ctest-TestBasicPolicy-06843699, ID : 656ece0c-9529-482d-93a5-6fe6193b1974 2024-08-21 11:53:21,074 - INFO - ================================================================================ 2024-08-21 11:53:21,074 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-21 11:53:21,074 - 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-21 11:53:21,361 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.22': '0'}} with 2024-08-21 11:53:21,361 - INFO - Initial checks done. Running the testcase now 2024-08-21 11:53:21,361 - INFO - 2024-08-21 11:53:21,968 - DEBUG - Response for create_network : {'network': {'id': 'ea189edf-e14a-433b-ad55-123330362878', 'name': 'ctest-vn-92904434', 'tenant_id': '656ece0c9529482d93a56fe6193b1974', 'project_id': '656ece0c9529482d93a56fe6193b1974', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06843699', 'ctest-vn-92904434'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 11:53:22,190 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8d0e534-3426-4ca1-9561-e807eeab3bf5', 'name': '', 'tenant_id': '656ece0c9529482d93a56fe6193b1974', 'network_id': 'ea189edf-e14a-433b-ad55-123330362878', 'ip_version': 4, 'cidr': '213.203.55.192/26', 'allocation_pools': [{'start': '213.203.55.194', 'end': '213.203.55.254'}], 'gateway_ip': '213.203.55.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.203.55.194', 'tags': [], 'project_id': '656ece0c9529482d93a56fe6193b1974'}} 2024-08-21 11:53:22,216 - INFO - Created VN ctest-vn-92904434 2024-08-21 11:53:22,273 - DEBUG - VN ctest-vn-92904434 UUID is ea189edf-e14a-433b-ad55-123330362878 2024-08-21 11:53:23,435 - DEBUG - Response for create_network : {'network': {'id': 'fd83bf9b-e87a-499f-bd1c-734dc414d922', 'name': 'ctest-vn-53055218', 'tenant_id': '656ece0c9529482d93a56fe6193b1974', 'project_id': '656ece0c9529482d93a56fe6193b1974', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06843699', 'ctest-vn-53055218'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 11:53:23,626 - DEBUG - Response for create_subnet : {'subnet': {'id': '7077be82-0b89-4cbf-bb9f-19e6845a2340', 'name': '', 'tenant_id': '656ece0c9529482d93a56fe6193b1974', 'network_id': 'fd83bf9b-e87a-499f-bd1c-734dc414d922', 'ip_version': 4, 'cidr': '156.66.179.0/26', 'allocation_pools': [{'start': '156.66.179.2', 'end': '156.66.179.62'}], 'gateway_ip': '156.66.179.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.66.179.2', 'tags': [], 'project_id': '656ece0c9529482d93a56fe6193b1974'}} 2024-08-21 11:53:23,647 - INFO - Created VN ctest-vn-53055218 2024-08-21 11:53:23,701 - DEBUG - VN ctest-vn-53055218 UUID is fd83bf9b-e87a-499f-bd1c-734dc414d922 2024-08-21 11:53:23,829 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06843699:ctest-vn-92904434, 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-06843699:ctest-vn-53055218, 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-21 11:53:24,142 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ea189edf-e14a-433b-ad55-123330362878', 'name': 'ctest-vn-92904434', 'tenant_id': '656ece0c9529482d93a56fe6193b1974', 'project_id': '656ece0c9529482d93a56fe6193b1974', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f8d0e534-3426-4ca1-9561-e807eeab3bf5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06843699', 'ctest-vn-92904434'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06843699', 'ctest-policy-allow-all-27468803']], 'subnet_ipam': [{'subnet_cidr': '213.203.55.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-21 11:53:24,437 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fd83bf9b-e87a-499f-bd1c-734dc414d922', 'name': 'ctest-vn-53055218', 'tenant_id': '656ece0c9529482d93a56fe6193b1974', 'project_id': '656ece0c9529482d93a56fe6193b1974', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7077be82-0b89-4cbf-bb9f-19e6845a2340'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06843699', 'ctest-vn-53055218'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06843699', 'ctest-policy-allow-all-27468803']], 'subnet_ipam': [{'subnet_cidr': '156.66.179.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-21 11:53:24,589 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-21 11:53:24,890 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-21 11:53:24,923 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5804f0e4-b85e-4f82-aabe-70b8d2036d56 2024-08-21 11:53:24,942 - DEBUG - Requesting: http://10.0.0.41:8082/project/656ece0c-9529-482d-93a5-6fe6193b1974 2024-08-21 11:53:25,017 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/ea189edf-e14a-433b-ad55-123330362878 2024-08-21 11:53:25,028 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/ea189edf-e14a-433b-ad55-123330362878 2024-08-21 11:53:25,038 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4dd38a5f-b746-4ad8-8656-a429e923cbf2 2024-08-21 11:53:25,046 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4dd38a5f-b746-4ad8-8656-a429e923cbf2 2024-08-21 11:53:25,054 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c6861681-c656-4bbf-a26a-a0666cf0963c 2024-08-21 11:53:25,062 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-21 11:53:25,062 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/ea189edf-e14a-433b-ad55-123330362878 2024-08-21 11:53:25,072 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4dd38a5f-b746-4ad8-8656-a429e923cbf2 2024-08-21 11:53:25,085 - INFO - Verified VN network id 7 for VN ea189edf-e14a-433b-ad55-123330362878 2024-08-21 11:53:25,086 - INFO - Verifications in API Server for VN ctest-vn-92904434 passed 2024-08-21 11:53:25,086 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/ea189edf-e14a-433b-ad55-123330362878 2024-08-21 11:53:25,095 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4dd38a5f-b746-4ad8-8656-a429e923cbf2 2024-08-21 11:53:25,102 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4dd38a5f-b746-4ad8-8656-a429e923cbf2 2024-08-21 11:53:25,111 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c6861681-c656-4bbf-a26a-a0666cf0963c 2024-08-21 11:53:25,127 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06843699:ctest-vn-92904434', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06843699', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16868407088710828859', 'uuid-lslong': '12489909152643426424'}, 'enable': 'true', 'created': '2024-08-21T11:53:21', 'last-modified': '2024-08-21T11:53:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.008491'} 2024-08-21 11:53:25,135 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-21 11:53:25,135 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92904434 passed 2024-08-21 11:53:25,136 - DEBUG - ====Verifying policy data for ctest-vn-92904434 in API_Server ====== 2024-08-21 11:53:25,136 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-21 11:53:25,143 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5804f0e4-b85e-4f82-aabe-70b8d2036d56 2024-08-21 11:53:25,157 - DEBUG - Requesting: http://10.0.0.41:8082/project/656ece0c-9529-482d-93a5-6fe6193b1974 2024-08-21 11:53:25,231 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/ea189edf-e14a-433b-ad55-123330362878 2024-08-21 11:53:25,239 - DEBUG - ==>Verifying data for policy with id: c8475b75-0e6a-411e-8399-1e72c04e706b, fqn: ['default-domain', 'ctest-TestBasicPolicy-06843699', 'ctest-policy-allow-all-27468803'] 2024-08-21 11:53:25,239 - INFO - VN ctest-vn-92904434 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-21 11:53:25,239 - DEBUG - Verifying the vn in opserver 2024-08-21 11:53:25,239 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06843699:ctest-vn-92904434 virtual network link through opserver 10.0.0.41 2024-08-21 11:53:25,240 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-08-21 11:53:25,538 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-08-21 11:53:25,604 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06843699:ctest-vn-92904434', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06843699:ctest-vn-92904434?flat'} 2024-08-21 11:53:25,604 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06843699:ctest-vn-92904434 is found in opserver 2024-08-21 11:53:25,617 - DEBUG - Do not have enough data to verify VN in agent 2024-08-21 11:53:25,623 - DEBUG - VRF ids for VN ctest-vn-92904434: {} 2024-08-21 11:53:25,623 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-21 11:53:25,630 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5804f0e4-b85e-4f82-aabe-70b8d2036d56 2024-08-21 11:53:25,642 - DEBUG - Requesting: http://10.0.0.41:8082/project/656ece0c-9529-482d-93a5-6fe6193b1974 2024-08-21 11:53:25,715 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/fd83bf9b-e87a-499f-bd1c-734dc414d922 2024-08-21 11:53:25,727 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/fd83bf9b-e87a-499f-bd1c-734dc414d922 2024-08-21 11:53:25,738 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bfb5bf9f-7197-492a-8e38-dad57b996a1a 2024-08-21 11:53:25,748 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bfb5bf9f-7197-492a-8e38-dad57b996a1a 2024-08-21 11:53:25,757 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/7798072b-24f2-4743-84df-d2bb36c7f754 2024-08-21 11:53:25,767 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-21 11:53:25,767 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/fd83bf9b-e87a-499f-bd1c-734dc414d922 2024-08-21 11:53:25,778 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bfb5bf9f-7197-492a-8e38-dad57b996a1a 2024-08-21 11:53:25,795 - INFO - Verified VN network id 8 for VN fd83bf9b-e87a-499f-bd1c-734dc414d922 2024-08-21 11:53:25,795 - INFO - Verifications in API Server for VN ctest-vn-53055218 passed 2024-08-21 11:53:25,795 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/fd83bf9b-e87a-499f-bd1c-734dc414d922 2024-08-21 11:53:25,804 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bfb5bf9f-7197-492a-8e38-dad57b996a1a 2024-08-21 11:53:25,813 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bfb5bf9f-7197-492a-8e38-dad57b996a1a 2024-08-21 11:53:25,821 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/7798072b-24f2-4743-84df-d2bb36c7f754 2024-08-21 11:53:25,835 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06843699:ctest-vn-53055218', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06843699', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18267655189886028191', 'uuid-lslong': '13626893350355654946'}, 'enable': 'true', 'created': '2024-08-21T11:53:23', 'last-modified': '2024-08-21T11:53:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.475713'} 2024-08-21 11:53:25,842 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-21 11:53:25,842 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53055218 passed 2024-08-21 11:53:25,842 - DEBUG - ====Verifying policy data for ctest-vn-53055218 in API_Server ====== 2024-08-21 11:53:25,842 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-21 11:53:25,849 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5804f0e4-b85e-4f82-aabe-70b8d2036d56 2024-08-21 11:53:25,862 - DEBUG - Requesting: http://10.0.0.41:8082/project/656ece0c-9529-482d-93a5-6fe6193b1974 2024-08-21 11:53:25,934 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/fd83bf9b-e87a-499f-bd1c-734dc414d922 2024-08-21 11:53:25,943 - DEBUG - ==>Verifying data for policy with id: c8475b75-0e6a-411e-8399-1e72c04e706b, fqn: ['default-domain', 'ctest-TestBasicPolicy-06843699', 'ctest-policy-allow-all-27468803'] 2024-08-21 11:53:25,943 - INFO - VN ctest-vn-53055218 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-21 11:53:25,943 - DEBUG - Verifying the vn in opserver 2024-08-21 11:53:25,943 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06843699:ctest-vn-53055218 virtual network link through opserver 10.0.0.41 2024-08-21 11:53:25,943 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-08-21 11:53:25,955 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06843699:ctest-vn-53055218', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06843699:ctest-vn-53055218?flat'} 2024-08-21 11:53:25,955 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06843699:ctest-vn-53055218 is found in opserver 2024-08-21 11:53:25,967 - DEBUG - Do not have enough data to verify VN in agent 2024-08-21 11:53:25,972 - DEBUG - VRF ids for VN ctest-vn-53055218: {} 2024-08-21 11:53:26,034 - DEBUG - Services list from nova: [, , ] 2024-08-21 11:53:27,094 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1683-1) 2024-08-21 11:53:28,406 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1683-1) 2024-08-21 11:53:28,406 - INFO - Waiting for VM ctest-TestBasicPolicy-06843699-44075150 to be up.. 2024-08-21 11:53:28,526 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-21 11:53:33,627 - DEBUG - VM is in ACTIVE state now 2024-08-21 11:53:33,627 - INFO - VM name : ctest-TestBasicPolicy-06843699-44075150 2024-08-21 11:53:33,717 - DEBUG - VM ctest-TestBasicPolicy-06843699-44075150 ID is b5c5755a-b0e2-46a8-8629-d86bd97ec69a 2024-08-21 11:53:33,736 - DEBUG - VM ctest-TestBasicPolicy-06843699-44075150 launched on Node cn-jenkins-deploy-platform-ansible-os-1683-1 2024-08-21 11:53:33,825 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/b5c5755a-b0e2-46a8-8629-d86bd97ec69a 2024-08-21 11:53:33,849 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a1595b70-9be7-4183-a013-41e0e6515ce1 2024-08-21 11:53:37,122 - 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-08-21 11:53:37,122 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06843699-44075150 failed! 2024-08-21 11:53:37,177 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06843699:ctest-vn-92904434 is 213.203.55.193 and allocation pool is NOT set 2024-08-21 11:53:39,241 - 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=8.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.626 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 = 0.626/4.743/8.861/4.117 ms') 2024-08-21 11:53:39,242 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06843699-44075150 passed 2024-08-21 11:53:39,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:53:39,393 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06843699-44075150, IP 213.203.55.195, Port 22 2024-08-21 11:53:39,548 - DEBUG - VM ctest-TestBasicPolicy-06843699-44075150 is ready for SSH connections 2024-08-21 11:53:39,548 - INFO - Waiting for VM ctest-TestBasicPolicy-06843699-13903875 to be up.. 2024-08-21 11:53:39,638 - DEBUG - VM is in ACTIVE state now 2024-08-21 11:53:39,638 - INFO - VM name : ctest-TestBasicPolicy-06843699-13903875 2024-08-21 11:53:39,728 - DEBUG - VM ctest-TestBasicPolicy-06843699-13903875 ID is d7625eeb-29ff-47ef-87ac-e456051e7033 2024-08-21 11:53:39,728 - DEBUG - VM ctest-TestBasicPolicy-06843699-13903875 launched on Node cn-jenkins-deploy-platform-ansible-os-1683-1 2024-08-21 11:53:39,812 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d7625eeb-29ff-47ef-87ac-e456051e7033 2024-08-21 11:53:39,823 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/d98f1ac9-93ed-45f6-8d00-6e9a730a0017 2024-08-21 11:53:41,072 - 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=4.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.73 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.733/3.339/4.945/1.606 ms') 2024-08-21 11:53:41,072 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06843699-13903875 passed 2024-08-21 11:53:41,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:53:41,225 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06843699-13903875, IP 156.66.179.3, Port 22 2024-08-21 11:53:41,380 - DEBUG - VM ctest-TestBasicPolicy-06843699-13903875 is ready for SSH connections 2024-08-21 11:53:41,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:53:41,381 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.66.179.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-08-21 11:53:41,381 - DEBUG - ping -s 56 -c 3 -W 1 156.66.179.3 2024-08-21 11:53:45,380 - DEBUG - PING 156.66.179.3 (156.66.179.3): 56 data bytes 64 bytes from 156.66.179.3: seq=0 ttl=63 time=4.337 ms 64 bytes from 156.66.179.3: seq=1 ttl=63 time=1.001 ms 64 bytes from 156.66.179.3: seq=2 ttl=63 time=1.034 ms --- 156.66.179.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.001/2.124/4.337 ms 2024-08-21 11:53:45,380 - INFO - Ping to IP 156.66.179.3 from VM ctest-TestBasicPolicy-06843699-44075150 passed 2024-08-21 11:53:45,561 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c8475b75-0e6a-411e-8399-1e72c04e706b", "href": "http://10.0.0.41:8082/network-policy/c8475b75-0e6a-411e-8399-1e72c04e706b"}} 2024-08-21 11:53:45,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:53:45,561 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.66.179.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-08-21 11:53:45,561 - DEBUG - ping -s 56 -c 3 -W 1 156.66.179.3 2024-08-21 11:53:48,773 - DEBUG - PING 156.66.179.3 (156.66.179.3): 56 data bytes 64 bytes from 156.66.179.3: seq=0 ttl=63 time=1.558 ms --- 156.66.179.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.558/1.558/1.558 ms 2024-08-21 11:53:48,773 - WARNING - Ping to IP 156.66.179.3 from VM ctest-TestBasicPolicy-06843699-44075150 failed 2024-08-21 11:53:48,773 - INFO - Deleting VM ctest-TestBasicPolicy-06843699-13903875 2024-08-21 11:53:48,855 - INFO - Deleting VM ctest-TestBasicPolicy-06843699-44075150 2024-08-21 11:53:49,313 - INFO - Deleted policy ctest-policy-allow-all-27468803 2024-08-21 11:53:49,313 - INFO - Deleting VN ctest-vn-53055218 2024-08-21 11:53:49,353 - DEBUG - VN fd83bf9b-e87a-499f-bd1c-734dc414d922 still in use: Unable to complete operation on network fd83bf9b-e87a-499f-bd1c-734dc414d922. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8a402700-effb-42fe-a977-be008d94f8ba'] 2024-08-21 11:53:49,353 - WARNING - Deleting VN ctest-vn-53055218 failed..Will retry 2024-08-21 11:53:51,470 - DEBUG - Response for deleting network () 2024-08-21 11:53:51,470 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bfb5bf9f-7197-492a-8e38-dad57b996a1a 2024-08-21 11:53:51,481 - DEBUG - Response Code: 404 2024-08-21 11:53:51,481 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-21 11:53:51,488 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5804f0e4-b85e-4f82-aabe-70b8d2036d56 2024-08-21 11:53:51,546 - DEBUG - Requesting: http://10.0.0.41:8082/project/656ece0c-9529-482d-93a5-6fe6193b1974 2024-08-21 11:53:51,619 - INFO - Validated that VN ctest-vn-53055218 is not found in API Server 2024-08-21 11:53:51,631 - DEBUG - VN ctest-vn-53055218 is not present in Agent 10.0.0.41 2024-08-21 11:53:51,631 - INFO - Validated that VN ctest-vn-53055218 is not in any agent 2024-08-21 11:53:51,651 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53055218 info 2024-08-21 11:53:51,651 - INFO - Deleting VN ctest-vn-92904434 2024-08-21 11:53:51,773 - DEBUG - Response for deleting network () 2024-08-21 11:53:51,773 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4dd38a5f-b746-4ad8-8656-a429e923cbf2 2024-08-21 11:53:51,782 - DEBUG - Response Code: 404 2024-08-21 11:53:51,783 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-21 11:53:51,789 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5804f0e4-b85e-4f82-aabe-70b8d2036d56 2024-08-21 11:53:51,847 - DEBUG - Requesting: http://10.0.0.41:8082/project/656ece0c-9529-482d-93a5-6fe6193b1974 2024-08-21 11:53:51,917 - INFO - Validated that VN ctest-vn-92904434 is not found in API Server 2024-08-21 11:53:51,930 - DEBUG - VN ctest-vn-92904434 is not present in Agent 10.0.0.41 2024-08-21 11:53:51,930 - INFO - Validated that VN ctest-vn-92904434 is not in any agent 2024-08-21 11:53:51,948 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92904434 info 2024-08-21 11:53:52,203 - DEBUG - No XMPP flaps were noticed during the test
2024-08-21 11:53:52,203 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2024-08-21 11:53:52,203 - INFO - -------------------------------------------------------------------------------- 2024-08-21 11:53:52,902 - INFO - Deleted project: ctest-TestBasicPolicy-06843699, ID : 656ece0c-9529-482d-93a5-6fe6193b1974