2024-09-09 18:58:16,020 - INFO - Domain Default found not creating 2024-09-09 18:58:16,183 - INFO - Project ctest-TestBasicPolicy-52528386 not found, creating it 2024-09-09 18:58:16,668 - INFO - Created Project:ctest-TestBasicPolicy-52528386, ID : c0996595-8135-408f-9c81-6ef28a540f62 2024-09-09 18:58:18,179 - INFO - ================================================================================ 2024-09-09 18:58:18,180 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-09 18:58:18,180 - 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-09-09 18:58:18,436 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.10': '0'}} with 2024-09-09 18:58:18,436 - INFO - Initial checks done. Running the testcase now 2024-09-09 18:58:18,436 - INFO - 2024-09-09 18:58:18,992 - DEBUG - Response for create_network : {'network': {'id': 'f0b4c30b-57cf-4783-8790-167913854ec8', 'name': 'ctest-vn-65641978', 'tenant_id': 'c09965958135408f9c816ef28a540f62', 'project_id': 'c09965958135408f9c816ef28a540f62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52528386', 'ctest-vn-65641978'], 'port_security_enabled': True, 'description': ''}} 2024-09-09 18:58:19,154 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a4bea3c-4be6-4c6a-9d38-95217e817cde', 'name': '', 'tenant_id': 'c09965958135408f9c816ef28a540f62', 'network_id': 'f0b4c30b-57cf-4783-8790-167913854ec8', 'ip_version': 4, 'cidr': '83.2.238.0/26', 'allocation_pools': [{'start': '83.2.238.2', 'end': '83.2.238.62'}], 'gateway_ip': '83.2.238.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.2.238.2', 'tags': [], 'project_id': 'c09965958135408f9c816ef28a540f62'}} 2024-09-09 18:58:19,173 - INFO - Created VN ctest-vn-65641978 2024-09-09 18:58:19,225 - DEBUG - VN ctest-vn-65641978 UUID is f0b4c30b-57cf-4783-8790-167913854ec8 2024-09-09 18:58:19,539 - DEBUG - Response for create_network : {'network': {'id': 'a13d3af1-8583-4cae-b4ba-1cc8731977de', 'name': 'ctest-vn-25073194', 'tenant_id': 'c09965958135408f9c816ef28a540f62', 'project_id': 'c09965958135408f9c816ef28a540f62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52528386', 'ctest-vn-25073194'], 'port_security_enabled': True, 'description': ''}} 2024-09-09 18:58:19,739 - DEBUG - Response for create_subnet : {'subnet': {'id': '89f1c3b0-0f48-42ae-9a24-e62a4161edc0', 'name': '', 'tenant_id': 'c09965958135408f9c816ef28a540f62', 'network_id': 'a13d3af1-8583-4cae-b4ba-1cc8731977de', 'ip_version': 4, 'cidr': '178.115.134.0/26', 'allocation_pools': [{'start': '178.115.134.2', 'end': '178.115.134.62'}], 'gateway_ip': '178.115.134.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.115.134.2', 'tags': [], 'project_id': 'c09965958135408f9c816ef28a540f62'}} 2024-09-09 18:58:19,758 - INFO - Created VN ctest-vn-25073194 2024-09-09 18:58:19,809 - DEBUG - VN ctest-vn-25073194 UUID is a13d3af1-8583-4cae-b4ba-1cc8731977de 2024-09-09 18:58:19,922 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52528386:ctest-vn-65641978, 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-52528386:ctest-vn-25073194, 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-09-09 18:58:20,219 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f0b4c30b-57cf-4783-8790-167913854ec8', 'name': 'ctest-vn-65641978', 'tenant_id': 'c09965958135408f9c816ef28a540f62', 'project_id': 'c09965958135408f9c816ef28a540f62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0a4bea3c-4be6-4c6a-9d38-95217e817cde'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52528386', 'ctest-vn-65641978'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52528386', 'ctest-policy-allow-all-01147288']], 'subnet_ipam': [{'subnet_cidr': '83.2.238.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-09 18:58:20,486 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a13d3af1-8583-4cae-b4ba-1cc8731977de', 'name': 'ctest-vn-25073194', 'tenant_id': 'c09965958135408f9c816ef28a540f62', 'project_id': 'c09965958135408f9c816ef28a540f62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['89f1c3b0-0f48-42ae-9a24-e62a4161edc0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52528386', 'ctest-vn-25073194'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52528386', 'ctest-policy-allow-all-01147288']], 'subnet_ipam': [{'subnet_cidr': '178.115.134.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-09 18:58:20,610 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2024-09-09 18:58:20,909 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2024-09-09 18:58:20,943 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4bb35836-c53f-48af-a65b-728a595ccf72 2024-09-09 18:58:20,956 - DEBUG - Requesting: http://10.0.0.27:8082/project/c0996595-8135-408f-9c81-6ef28a540f62 2024-09-09 18:58:21,028 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f0b4c30b-57cf-4783-8790-167913854ec8 2024-09-09 18:58:21,038 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f0b4c30b-57cf-4783-8790-167913854ec8 2024-09-09 18:58:21,046 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ebc05b11-b1d8-48f5-802d-bea229b74234 2024-09-09 18:58:21,053 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ebc05b11-b1d8-48f5-802d-bea229b74234 2024-09-09 18:58:21,059 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/f94ed859-abd9-412a-b3c4-723d228c79ac 2024-09-09 18:58:21,065 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-09 18:58:21,065 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f0b4c30b-57cf-4783-8790-167913854ec8 2024-09-09 18:58:21,073 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ebc05b11-b1d8-48f5-802d-bea229b74234 2024-09-09 18:58:21,084 - INFO - Verified VN network id 8 for VN f0b4c30b-57cf-4783-8790-167913854ec8 2024-09-09 18:58:21,084 - INFO - Verifications in API Server for VN ctest-vn-65641978 passed 2024-09-09 18:58:21,084 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f0b4c30b-57cf-4783-8790-167913854ec8 2024-09-09 18:58:21,092 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ebc05b11-b1d8-48f5-802d-bea229b74234 2024-09-09 18:58:21,098 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ebc05b11-b1d8-48f5-802d-bea229b74234 2024-09-09 18:58:21,105 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/f94ed859-abd9-412a-b3c4-723d228c79ac 2024-09-09 18:58:21,117 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52528386:ctest-vn-65641978', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52528386', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17344702518395881347', 'uuid-lslong': '9768332301040963272'}, 'enable': 'true', 'created': '2024-09-09T18:58:18', 'last-modified': '2024-09-09T18:58:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924738'} 2024-09-09 18:58:21,124 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-09 18:58:21,124 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65641978 passed 2024-09-09 18:58:21,124 - DEBUG - ====Verifying policy data for ctest-vn-65641978 in API_Server ====== 2024-09-09 18:58:21,124 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2024-09-09 18:58:21,130 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4bb35836-c53f-48af-a65b-728a595ccf72 2024-09-09 18:58:21,141 - DEBUG - Requesting: http://10.0.0.27:8082/project/c0996595-8135-408f-9c81-6ef28a540f62 2024-09-09 18:58:21,214 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f0b4c30b-57cf-4783-8790-167913854ec8 2024-09-09 18:58:21,223 - DEBUG - ==>Verifying data for policy with id: b3e28188-6ead-4758-951f-5639205fa9cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-52528386', 'ctest-policy-allow-all-01147288'] 2024-09-09 18:58:21,223 - INFO - VN ctest-vn-65641978 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-09 18:58:21,223 - DEBUG - Verifying the vn in opserver 2024-09-09 18:58:21,223 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52528386:ctest-vn-65641978 virtual network link through opserver 10.0.0.27 2024-09-09 18:58:21,223 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2024-09-09 18:58:21,531 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2024-09-09 18:58:21,595 - DEBUG - Response Code: 500 2024-09-09 18:58:24,596 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52528386:ctest-vn-65641978 virtual network link through opserver 10.0.0.27 2024-09-09 18:58:24,596 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2024-09-09 18:58:24,609 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52528386:ctest-vn-65641978', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52528386:ctest-vn-65641978?flat'} 2024-09-09 18:58:24,609 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52528386:ctest-vn-65641978 is found in opserver 2024-09-09 18:58:24,619 - DEBUG - Do not have enough data to verify VN in agent 2024-09-09 18:58:24,624 - DEBUG - VRF ids for VN ctest-vn-65641978: {} 2024-09-09 18:58:24,624 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2024-09-09 18:58:24,630 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4bb35836-c53f-48af-a65b-728a595ccf72 2024-09-09 18:58:24,642 - DEBUG - Requesting: http://10.0.0.27:8082/project/c0996595-8135-408f-9c81-6ef28a540f62 2024-09-09 18:58:24,708 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a13d3af1-8583-4cae-b4ba-1cc8731977de 2024-09-09 18:58:24,719 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a13d3af1-8583-4cae-b4ba-1cc8731977de 2024-09-09 18:58:24,726 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0556d6a-91c3-4717-8829-b47a7c5a4c2c 2024-09-09 18:58:24,733 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0556d6a-91c3-4717-8829-b47a7c5a4c2c 2024-09-09 18:58:24,739 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/5bf03fbd-559e-44f8-b7d7-81e9010cfc39 2024-09-09 18:58:24,745 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-09 18:58:24,745 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a13d3af1-8583-4cae-b4ba-1cc8731977de 2024-09-09 18:58:24,753 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0556d6a-91c3-4717-8829-b47a7c5a4c2c 2024-09-09 18:58:24,764 - INFO - Verified VN network id 9 for VN a13d3af1-8583-4cae-b4ba-1cc8731977de 2024-09-09 18:58:24,764 - INFO - Verifications in API Server for VN ctest-vn-25073194 passed 2024-09-09 18:58:24,764 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a13d3af1-8583-4cae-b4ba-1cc8731977de 2024-09-09 18:58:24,773 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0556d6a-91c3-4717-8829-b47a7c5a4c2c 2024-09-09 18:58:24,779 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0556d6a-91c3-4717-8829-b47a7c5a4c2c 2024-09-09 18:58:24,786 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/5bf03fbd-559e-44f8-b7d7-81e9010cfc39 2024-09-09 18:58:24,798 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52528386:ctest-vn-25073194', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52528386', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11618507422687251630', 'uuid-lslong': '13022752919745296350'}, 'enable': 'true', 'created': '2024-09-09T18:58:19', 'last-modified': '2024-09-09T18:58:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.376913'} 2024-09-09 18:58:24,805 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-09 18:58:24,805 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25073194 passed 2024-09-09 18:58:24,805 - DEBUG - ====Verifying policy data for ctest-vn-25073194 in API_Server ====== 2024-09-09 18:58:24,805 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2024-09-09 18:58:24,810 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4bb35836-c53f-48af-a65b-728a595ccf72 2024-09-09 18:58:24,822 - DEBUG - Requesting: http://10.0.0.27:8082/project/c0996595-8135-408f-9c81-6ef28a540f62 2024-09-09 18:58:24,892 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a13d3af1-8583-4cae-b4ba-1cc8731977de 2024-09-09 18:58:24,901 - DEBUG - ==>Verifying data for policy with id: b3e28188-6ead-4758-951f-5639205fa9cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-52528386', 'ctest-policy-allow-all-01147288'] 2024-09-09 18:58:24,901 - INFO - VN ctest-vn-25073194 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-09 18:58:24,901 - DEBUG - Verifying the vn in opserver 2024-09-09 18:58:24,901 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52528386:ctest-vn-25073194 virtual network link through opserver 10.0.0.27 2024-09-09 18:58:24,901 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2024-09-09 18:58:24,911 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52528386:ctest-vn-25073194', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52528386:ctest-vn-25073194?flat'} 2024-09-09 18:58:24,911 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52528386:ctest-vn-25073194 is found in opserver 2024-09-09 18:58:24,922 - DEBUG - Do not have enough data to verify VN in agent 2024-09-09 18:58:24,926 - DEBUG - VRF ids for VN ctest-vn-25073194: {} 2024-09-09 18:58:24,994 - DEBUG - Services list from nova: [, , ] 2024-09-09 18:58:26,021 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1877-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1877-1) 2024-09-09 18:58:27,275 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1877-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1877-1) 2024-09-09 18:58:27,276 - INFO - Waiting for VM ctest-TestBasicPolicy-52528386-91926142 to be up.. 2024-09-09 18:58:27,384 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-09 18:58:32,466 - DEBUG - VM is in ACTIVE state now 2024-09-09 18:58:32,466 - INFO - VM name : ctest-TestBasicPolicy-52528386-91926142 2024-09-09 18:58:32,555 - DEBUG - VM ctest-TestBasicPolicy-52528386-91926142 ID is bc1b9a18-5f6f-4f0a-a877-913f9d2635df 2024-09-09 18:58:32,581 - DEBUG - VM ctest-TestBasicPolicy-52528386-91926142 launched on Node cn-jenkins-deploy-platform-ansible-os-1877-1 2024-09-09 18:58:32,663 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/bc1b9a18-5f6f-4f0a-a877-913f9d2635df 2024-09-09 18:58:32,675 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/9769362a-0430-4841-bb53-03e61c8226c2 2024-09-09 18:58:35,918 - 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 1003ms') 2024-09-09 18:58:35,919 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52528386-91926142 failed! 2024-09-09 18:58:35,977 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52528386:ctest-vn-65641978 is 83.2.238.1 and allocation pool is NOT set 2024-09-09 18:58:38,043 - 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=3.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.482 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.482/2.066/3.651/1.584 ms') 2024-09-09 18:58:38,043 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52528386-91926142 passed 2024-09-09 18:58:38,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 18:58:38,198 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52528386-91926142, IP 83.2.238.3, Port 22 2024-09-09 18:58:38,377 - DEBUG - VM ctest-TestBasicPolicy-52528386-91926142 is ready for SSH connections 2024-09-09 18:58:38,377 - INFO - Waiting for VM ctest-TestBasicPolicy-52528386-86368883 to be up.. 2024-09-09 18:58:38,468 - DEBUG - VM is in ACTIVE state now 2024-09-09 18:58:38,468 - INFO - VM name : ctest-TestBasicPolicy-52528386-86368883 2024-09-09 18:58:38,555 - DEBUG - VM ctest-TestBasicPolicy-52528386-86368883 ID is f3611859-5a8a-43e0-8fbf-33800de3796b 2024-09-09 18:58:38,555 - DEBUG - VM ctest-TestBasicPolicy-52528386-86368883 launched on Node cn-jenkins-deploy-platform-ansible-os-1877-1 2024-09-09 18:58:38,649 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f3611859-5a8a-43e0-8fbf-33800de3796b 2024-09-09 18:58:38,659 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f4298260-d5c8-478e-ae7b-037cac4a6101 2024-09-09 18:58:39,898 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=5.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.805 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.805/3.275/5.746/2.470 ms') 2024-09-09 18:58:39,898 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52528386-86368883 passed 2024-09-09 18:58:40,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 18:58:40,046 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52528386-86368883, IP 178.115.134.3, Port 22 2024-09-09 18:58:40,201 - DEBUG - VM ctest-TestBasicPolicy-52528386-86368883 is ready for SSH connections 2024-09-09 18:58:40,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 18:58:40,202 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.115.134.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2024-09-09 18:58:40,202 - DEBUG - ping -s 56 -c 3 -W 1 178.115.134.3 2024-09-09 18:58:44,166 - DEBUG - PING 178.115.134.3 (178.115.134.3): 56 data bytes 64 bytes from 178.115.134.3: seq=0 ttl=63 time=4.054 ms 64 bytes from 178.115.134.3: seq=1 ttl=63 time=0.946 ms 64 bytes from 178.115.134.3: seq=2 ttl=63 time=0.787 ms --- 178.115.134.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.787/1.929/4.054 ms 2024-09-09 18:58:44,167 - INFO - Ping to IP 178.115.134.3 from VM ctest-TestBasicPolicy-52528386-91926142 passed 2024-09-09 18:58:44,345 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b3e28188-6ead-4758-951f-5639205fa9cf", "href": "http://10.0.0.27:8082/network-policy/b3e28188-6ead-4758-951f-5639205fa9cf"}} 2024-09-09 18:58:44,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 18:58:44,346 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.115.134.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2024-09-09 18:58:44,346 - DEBUG - ping -s 56 -c 3 -W 1 178.115.134.3 2024-09-09 18:58:47,537 - DEBUG - PING 178.115.134.3 (178.115.134.3): 56 data bytes --- 178.115.134.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-09 18:58:47,537 - WARNING - Ping to IP 178.115.134.3 from VM ctest-TestBasicPolicy-52528386-91926142 failed 2024-09-09 18:58:47,537 - INFO - Deleting VM ctest-TestBasicPolicy-52528386-86368883 2024-09-09 18:58:47,605 - INFO - Deleting VM ctest-TestBasicPolicy-52528386-91926142 2024-09-09 18:58:47,978 - INFO - Deleted policy ctest-policy-allow-all-01147288 2024-09-09 18:58:47,978 - INFO - Deleting VN ctest-vn-25073194 2024-09-09 18:58:48,015 - DEBUG - VN a13d3af1-8583-4cae-b4ba-1cc8731977de still in use: Unable to complete operation on network a13d3af1-8583-4cae-b4ba-1cc8731977de. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-96d12aaa-4d34-4186-88ea-1ec63ca74d13'] 2024-09-09 18:58:48,015 - WARNING - Deleting VN ctest-vn-25073194 failed..Will retry 2024-09-09 18:58:50,117 - DEBUG - Response for deleting network () 2024-09-09 18:58:50,117 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0556d6a-91c3-4717-8829-b47a7c5a4c2c 2024-09-09 18:58:50,122 - DEBUG - Response Code: 404 2024-09-09 18:58:50,123 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2024-09-09 18:58:50,128 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4bb35836-c53f-48af-a65b-728a595ccf72 2024-09-09 18:58:50,183 - DEBUG - Requesting: http://10.0.0.27:8082/project/c0996595-8135-408f-9c81-6ef28a540f62 2024-09-09 18:58:50,254 - INFO - Validated that VN ctest-vn-25073194 is not found in API Server 2024-09-09 18:58:50,266 - DEBUG - VN ctest-vn-25073194 is not present in Agent 10.0.0.27 2024-09-09 18:58:50,266 - INFO - Validated that VN ctest-vn-25073194 is not in any agent 2024-09-09 18:58:50,282 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25073194 info 2024-09-09 18:58:50,282 - INFO - Deleting VN ctest-vn-65641978 2024-09-09 18:58:50,388 - DEBUG - Response for deleting network () 2024-09-09 18:58:50,389 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ebc05b11-b1d8-48f5-802d-bea229b74234 2024-09-09 18:58:50,394 - DEBUG - Response Code: 404 2024-09-09 18:58:50,394 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2024-09-09 18:58:50,400 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4bb35836-c53f-48af-a65b-728a595ccf72 2024-09-09 18:58:50,455 - DEBUG - Requesting: http://10.0.0.27:8082/project/c0996595-8135-408f-9c81-6ef28a540f62 2024-09-09 18:58:50,526 - INFO - Validated that VN ctest-vn-65641978 is not found in API Server 2024-09-09 18:58:50,537 - DEBUG - VN ctest-vn-65641978 is not present in Agent 10.0.0.27 2024-09-09 18:58:50,537 - INFO - Validated that VN ctest-vn-65641978 is not in any agent 2024-09-09 18:58:50,553 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65641978 info 2024-09-09 18:58:50,807 - DEBUG - No XMPP flaps were noticed during the test 2024-09-09 18:58:50,807 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2024-09-09 18:58:50,807 - INFO - -------------------------------------------------------------------------------- 2024-09-09 18:58:51,479 - INFO - Deleted project: ctest-TestBasicPolicy-52528386, ID : c0996595-8135-408f-9c81-6ef28a540f62